Home
last modified time | relevance | path

Searched refs:Xcalloc (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/msgfmt/
H A Dgnu_handle.c251 p = Xcalloc(1, sizeof (struct catalog)); in catalog_init()
255 p->msg = Xcalloc(p->msg_size, sizeof (struct messages)); in catalog_init()
257 p->thash = Xcalloc(p->thash_size, sizeof (unsigned int)); in catalog_init()
274 tmp = Xcalloc(1, sizeof (struct catalog)); in catalog_init()
278 tmp->msg = Xcalloc(tmp->msg_size, in catalog_init()
281 tmp->thash = Xcalloc(tmp->thash_size, in catalog_init()
493 cur_catalog->thash = Xcalloc(cur_catalog->thash_size, in handle_message()
H A Dgnu_check.c414 id_norm = (char *)Xcalloc(1, osz); in check_format()
425 str_norm = (char *)Xcalloc(1, nsz); in check_format()
460 plural_norm = (char *)Xcalloc(1, nsz); in check_format()
467 pstr_norm = (char **)Xcalloc(str->no, sizeof (char *)); in check_format()
468 pstr_fmt = (int *)Xcalloc(str->no, sizeof (int)); in check_format()
472 pstr_norm[i] = (char *)Xcalloc(1, nsz); in check_format()
H A Dcommon.h78 extern void *Xcalloc(size_t, size_t);
H A Dutil.c79 Xcalloc(size_t nelem, size_t elsize) in Xcalloc() function
H A Dgnu_msgs.c104 hash_tbl = (unsigned int *)Xcalloc(hash_size, in output_all_gnu_mo_files()
H A Dgnu_msgs_rev.c105 hash_tbl = (unsigned int *)Xcalloc(hash_size, in output_all_gnu_mo_files()
H A Dmsgfmt.c934 less = (int *)Xcalloc(message_count, sizeof (int)); in output_one_mo_file()
935 more = (int *)Xcalloc(message_count, sizeof (int)); in output_one_mo_file()