Home
last modified time | relevance | path

Searched refs:nentry (Results 1 – 7 of 7) sorted by relevance

/external/syslinux/com32/sysdump/
Dcpuid.c45 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()
Dmemmap.c23 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/
Dmalloc-overflow2.c10 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/python/cpython2/Lib/plat-mac/
Dapplesingle.py54 magic, version, ig, nentry = struct.unpack(AS_HEADER_FORMAT, header)
60 print 'Entries: %d' % (nentry,)
65 if nentry <= 0:
67 headers = [fileobj.read(AS_ENTRY_LENGTH) for i in xrange(nentry)]
/external/boringssl/src/crypto/x509/
Dx509name.c288 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/
Dbof.c38 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()
Dbof.h44 unsigned nentry; member