Searched refs:nentry (Results 1 – 6 of 6) sorted by relevance
/external/syslinux/com32/sysdump/ |
D | cpuid.c | 45 int nentry, nalloc; in dump_cpuid() local 57 nentry = nalloc = 0; in dump_cpuid() 78 if (nentry >= nalloc) { in dump_cpuid() 84 buf[nentry].eax = leaf; in dump_cpuid() 85 buf[nentry].ecx = count; in dump_cpuid() 86 buf[nentry].data = data; in dump_cpuid() 87 nentry++; in dump_cpuid() 91 } while (memcmp(&data, &buf[nentry-1].data, sizeof data) && in dump_cpuid() 96 if (nentry) in dump_cpuid() 97 cpio_writefile(be, "cpuid", buf, nentry*sizeof *buf); in dump_cpuid()
|
D | memmap.c | 23 int nentry, nalloc; in dump_e820() local 28 nentry = nalloc = 0; in dump_e820() 44 if (nentry >= nalloc) { in dump_e820() 50 memcpy(buf[nentry].data, curr->data, sizeof curr->data); in dump_e820() 51 buf[nentry].ebx = ireg.ebx.l; in dump_e820() 52 buf[nentry].len = oreg.ecx.l; in dump_e820() 53 nentry++; in dump_e820() 58 if (nentry) in dump_e820() 59 cpio_writefile(be, "memmap/15e820", buf, nentry*sizeof *buf); in dump_e820()
|
/external/clang/test/Analysis/ |
D | malloc-overflow2.c | 10 int nentry; member 17 t->nentry = ((t->offset_max >> 2) + 31) / 32; in table_build() 18 …t->table = (unsigned *)malloc(sizeof(unsigned) * t->nentry); // expected-warning {{the computation… in table_build() 25 return t->nentry; in table_build() 29 t->nentry = (sizeof(struct table) * 2 + 31) / 32; in table_build_1() 30 t->table = (unsigned *)malloc(sizeof(unsigned) * t->nentry); // no-warning in table_build_1() 31 return t->nentry; in table_build_1()
|
/external/boringssl/src/crypto/x509/ |
D | x509name.c | 288 X509_NAME_ENTRY *nentry; in X509_NAME_ENTRY_create_by_txt() local 296 nentry = X509_NAME_ENTRY_create_by_OBJ(ne, obj, type, bytes, len); in X509_NAME_ENTRY_create_by_txt() 298 return nentry; in X509_NAME_ENTRY_create_by_txt()
|
/external/libdrm/radeon/ |
D | bof.c | 38 if (bof->array_size < bof->nentry) in bof_entry_grow() 40 array = realloc(bof->array, (bof->nentry + 16) * sizeof(void*)); in bof_entry_grow() 44 bof->nentry += 16; in bof_entry_grow()
|
D | bof.h | 44 unsigned nentry; member
|