Home
last modified time | relevance | path

Searched refs:elsize (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dxmalloc.c41 static /*@only@*/ void *def_xcalloc(size_t nelem, size_t elsize);
52 /*@only@*/ void * (*yasm_xcalloc) (size_t nelem, size_t elsize) = def_xcalloc;
77 def_xcalloc(size_t nelem, size_t elsize) in def_xcalloc() argument
81 if (nelem == 0 || elsize == 0) in def_xcalloc()
82 nelem = elsize = 1; in def_xcalloc()
84 newmem = calloc(nelem, elsize); in def_xcalloc()
Dcoretype.h371 extern /*@only@*/ void * (*yasm_xcalloc) (size_t nelem, size_t elsize);
/external/chromium_org/third_party/icu/source/tools/tzcode/
Dialloc.c26 icalloc(nelem, elsize) in icalloc() argument
28 int elsize;
30 if (nelem == 0 || elsize == 0)
31 nelem = elsize = 1;
32 return calloc((size_t) nelem, (size_t) elsize);
Dprivate.h175 char * icalloc(int nelem, int elsize);
/external/icu/icu4c/source/tools/tzcode/
Dialloc.c26 icalloc(nelem, elsize) in icalloc() argument
28 int elsize;
30 if (nelem == 0 || elsize == 0)
31 nelem = elsize = 1;
32 return calloc((size_t) nelem, (size_t) elsize);
Dprivate.h175 char * icalloc(int nelem, int elsize);
/external/elfutils/0.153/src/
Dstrip.c802 size_t elsize = gelf_fsize (elf, ELF_T_SYM, 1, in handle_elf() local
806 inner < shdr_info[cnt].data->d_size / elsize; in handle_elf()
1177 size_t elsize = gelf_fsize (elf, ELF_T_SYM, 1, in handle_elf() local
1189 >= shdr_info[cnt].data->d_size / elsize); in handle_elf()
1202 >= shdr_info[cnt].data->d_size / elsize); in handle_elf()
1207 / elsize, sizeof (Elf32_Word)); in handle_elf()
1213 inner < shdr_info[cnt].data->d_size / elsize; in handle_elf()
1314 = destidx * elsize; in handle_elf()
1469 size_t elsize = gelf_fsize (elf, ELF_T_SYM, 1, in handle_elf() local
1474 bucket[1] = symd->d_size / elsize; in handle_elf()
[all …]
Delflint.c2440 size_t elsize = elf32_fsize (ELF_T_WORD, 1, EV_CURRENT); in check_group() local
2444 if (data->d_size % elsize != 0) in check_group()
2449 if (data->d_size < elsize) in check_group()
2455 if (data->d_size < 2 * elsize) in check_group()
2459 else if (data->d_size < 3 * elsize) in check_group()
2468 memcpy (&val, data->d_buf, elsize); in check_group()
2474 for (cnt = elsize; cnt < data->d_size; cnt += elsize) in check_group()
2479 memcpy (&val, (char *) data->d_buf + cnt, elsize); in check_group()
2485 idx, section_name (ebl, idx), cnt / elsize); in check_group()
2494 idx, section_name (ebl, idx), cnt / elsize, in check_group()
[all …]
/external/chromium_org/third_party/npapi/npspy/extern/nspr/
Dprmem.h66 NSPR_API(void *) PR_Calloc(PRUint32 nelem, PRUint32 elsize);