Home
last modified time | relevance | path

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

12

/external/strace/
Dxmalloc.h39 #define xcalloc strace_calloc macro
42 void *xcalloc(size_t nmemb, size_t size)
Dcount.c58 counts = xcalloc(nsyscalls, sizeof(*counts)); in count_syscall()
145 sorted_count = xcalloc(sizeof(sorted_count[0]), nsyscalls); in call_summary_pers()
Dxmalloc.c63 xcalloc(size_t nmemb, size_t size) in xcalloc() function
Dnumber_set.c131 return xcalloc(nmemb, sizeof(struct number_set)); in alloc_number_set_array()
Dperf.c97 attr = xcalloc(1, sizeof(*attr)); in fetch_perf_event_attr()
Dkvm.c67 struct vcpu_info *vcpu_info = xcalloc(1, sizeof(*vcpu_info)); in vcpu_alloc()
Dsyscall.c501 xcalloc(nsyscalls, sizeof(**inject_vec)); in tamper_with_syscall_entering()
1215 struct sysent_buf *s = xcalloc(1, sizeof(*s)); in get_scno()
Dfilter_qualify.c377 inject_vec[p] = xcalloc(nsyscall_vec[p], in qualify_inject_common()
Dbpf.c638 saved = xcalloc(1, sizeof(*saved)); in BEGIN_BPF_CMD_DECODER()
Dstrace.c748 newtcbs = xcalloc(tcbtabsize - old_tcbtabsize, sizeof(newtcbs[0])); in expand_tcbtab()
/external/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,
/external/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()
/external/erofs-utils/include/erofs/
Dflex-array.h143 (x) = xcalloc(1, st_add3(sizeof(*(x)), flex_array_len_, 1)); \
/external/elfutils/libelf/
Dnlist.c53 #define xcalloc(n, m) calloc (n, m) macro
/external/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()
/external/elfutils/libcpu/
Di386_parse.y296 struct instruction *newp = xcalloc (sizeof (*newp),

12