Home
last modified time | relevance | path

Searched refs:xcalloc (Results 1 – 21 of 21) sorted by relevance

/third_party/popt/src/
Dsystem.h23 void * xcalloc (size_t nmemb, size_t size);
46 #define xcalloc(_nmemb, _size) (calloc((_nmemb), (_size)) ? : vmefail()) macro
51 #define xcalloc(_nmemb, _size) calloc((_nmemb), (_size)) macro
/third_party/gettext/gnulib-local/lib/
Dxalloc.h47 extern void *xcalloc (size_t nmemb, size_t size);
126 ((T *) xcalloc (N, sizeof (T)))
Dxmalloc.c106 xcalloc (size_t n, size_t s) in xcalloc() function
DChangeLog.0243 * xmalloc.h (xmalloc, xcalloc, xrealloc, xstrdup): Likewise.
244 * xmalloc.c (fixup_null_alloc, xmalloc, xcalloc, xrealloc): Likewise.
863 * hash.c: Include xmalloc.h. Don't declare xmalloc, xcalloc.
1264 (xcalloc): New declaration.
1266 (init_hash): Use xcalloc instead of xmalloc.
1267 (insert_entry_2): Add keylen argument. Use xcalloc instead of xmalloc.
/third_party/gettext/libtextstyle/gnulib-local/lib/
Dglibconfig.in.h148 #define g_new0(t,n) ((t *) xcalloc (n, sizeof (t)))
150 #define g_try_new0(t,n) ((t *) xcalloc (n, sizeof (t)))
/third_party/musl/src/regex/
Dtre-mem.c62 mem = xcalloc(1, sizeof(*mem)); in tre_mem_new_impl()
Dtre.h228 #define xcalloc calloc macro
Dregcomp.c2743 tnfa = xcalloc(1, sizeof(tre_tnfa_t)); in regcomp()
2770 tnfa->minimal_tags = xcalloc((unsigned)tnfa->num_tags * 2 + 1, in regcomp()
2775 submatch_data = xcalloc((unsigned)parse_ctx.submatch_id, in regcomp()
2829 transitions = xcalloc((unsigned)add + 1, sizeof(*transitions)); in regcomp()
2849 initial = xcalloc((unsigned)i + 1, sizeof(tre_tnfa_transition_t)); in regcomp()
/third_party/musl/porting/liteos_m/kernel/src/regex/
Dtre-mem.c62 mem = xcalloc(1, sizeof(*mem)); in tre_mem_new_impl()
Dtre.h229 #define xcalloc calloc macro
Dregcomp.c2743 tnfa = xcalloc(1, sizeof(tre_tnfa_t)); in regcomp()
2770 tnfa->minimal_tags = xcalloc((unsigned)tnfa->num_tags * 2 + 1, in regcomp()
2775 submatch_data = xcalloc((unsigned)parse_ctx.submatch_id, in regcomp()
2829 transitions = xcalloc((unsigned)add + 1, sizeof(*transitions)); in regcomp()
2849 initial = xcalloc((unsigned)i + 1, sizeof(tre_tnfa_transition_t)); in regcomp()
/third_party/musl/porting/uniproton/kernel/src/regex/
Dtre-mem.c62 mem = xcalloc(1, sizeof(*mem)); in tre_mem_new_impl()
Dtre.h229 #define xcalloc calloc macro
Dregcomp.c2743 tnfa = xcalloc(1, sizeof(tre_tnfa_t)); in regcomp()
2770 tnfa->minimal_tags = xcalloc((unsigned)tnfa->num_tags * 2 + 1, in regcomp()
2775 submatch_data = xcalloc((unsigned)parse_ctx.submatch_id, in regcomp()
2829 transitions = xcalloc((unsigned)add + 1, sizeof(*transitions)); in regcomp()
2849 initial = xcalloc((unsigned)i + 1, sizeof(tre_tnfa_transition_t)); in regcomp()
/third_party/musl/porting/liteos_m_iccarm/kernel/src/regex/
Dtre-mem.c62 mem = xcalloc(1, sizeof(*mem)); in tre_mem_new_impl()
Dtre.h230 #define xcalloc calloc macro
Dregcomp.c2744 tnfa = xcalloc(1, sizeof(tre_tnfa_t)); in regcomp()
2771 tnfa->minimal_tags = xcalloc((unsigned)tnfa->num_tags * 2 + 1, in regcomp()
2776 submatch_data = xcalloc((unsigned)parse_ctx.submatch_id, in regcomp()
2830 transitions = xcalloc((unsigned)add + 1, sizeof(*transitions)); in regcomp()
2850 initial = xcalloc((unsigned)i + 1, sizeof(tre_tnfa_transition_t)); in regcomp()
/third_party/gettext/gettext-tools/src/
Dread-mo.c351 seen = (char *) xcalloc (header.nstrings, 1); in read_mo_file()
Dits.c1320 pop = (struct its_rule_ty *) xcalloc (1, method_table->size); in its_rule_alloc()
DChangeLog.13315 * msgl-check.c (check_plural_eval): Use XCALLOC instead of xcalloc.
7530 * format-perl.c: Use GNU coding style. Prefer xmalloc over xcalloc.
7533 xcalloc.
/third_party/gettext/gnulib-local/
DChangeLog.01624 * lib/hash.c (hash_init, resize): Use XCALLOC instead of xcalloc.