Home
last modified time | relevance | path

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

12

/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/elfutils/lib/
Dlibeu.h36 extern void *xcalloc (size_t, size_t) __attribute__ ((__malloc__));
Dxmalloc.c54 xcalloc (size_t n, size_t s) in xcalloc() function
Dfixedsizehash.h111 xcalloc (sizeof (struct CONCAT(PREFIX,fshash)) in CONCAT()
DChangeLog247 (xmalloc, xcalloc, xrealloc, xstrdup, xstrndup, crc32, crc32_file,
/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/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/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/elfutils/libelf/
Dnlist.c53 #define xcalloc(n, m) calloc (n, m) macro
/third_party/elfutils/src/
Delfcompress.c366 sections = xcalloc (shnum / 8 + 1, sizeof (unsigned int)); in process_file()
538 scnnames = xcalloc (shnum, sizeof (char *)); in process_file()
Dstrip.c1203 shdr_info = xcalloc (shnum + 2, sizeof (struct shdr_info)); in handle_elf()
1811 debuglink_buf = xcalloc (1, shdr_info[cnt].data->d_size); in handle_elf()
1981 = xcalloc (shdr_info[cnt].data->d_size / elsize, in handle_elf()
Dunstrip.c522 Hash_Word *const new_hash = xcalloc (nent, sizeof new_hash[0]); \ in adjust_relocs()
575 GElf_Versym *versym = xcalloc (nent, sizeof versym[0]); in adjust_relocs()
Delflint.c2196 collected = { .p32 = xcalloc (bitmask_words, sizeof (Elf32_Word)) }; in check_gnu_hash()
3707 scnref = xcalloc (shnum, sizeof (int)); in check_sections()
3746 int *segment_flags = xcalloc (phnum, sizeof segment_flags[0]); in check_sections()
Dreadelf.c3238 uint32_t *counts = xcalloc (maxlength + 1, sizeof (uint32_t)); in print_hash_info()
3339 uint32_t *lengths = xcalloc (nbucket, sizeof (uint32_t)); in handle_sysv_hash()
3405 uint32_t *lengths = xcalloc (nbucket, sizeof (uint32_t)); in handle_sysv_hash64()
3483 lengths = xcalloc (nbucket, sizeof (uint32_t)); in handle_gnu_hash()
DChangeLog125 * elflint.c (check_sections): Remove cast of xcalloc return value.
131 handle_gnu_hash): Remove cast of xcalloc return value.
133 * strip.c (handle_elf): Remove casts of xcalloc and xmalloc return
/third_party/elfutils/libcpu/
Di386_parse.y296 struct instruction *newp = xcalloc (sizeof (*newp),

12