Home
last modified time | relevance | path

Searched refs:nalloc (Results 1 – 15 of 15) sorted by relevance

/external/qemu/util/
Diov.c265 qiov->nalloc = alloc_hint; in qemu_iovec_init()
275 qiov->nalloc = -1; in qemu_iovec_init_external()
283 assert(qiov->nalloc != -1); in qemu_iovec_add()
285 if (qiov->niov == qiov->nalloc) { in qemu_iovec_add()
286 qiov->nalloc = 2 * qiov->nalloc + 1; in qemu_iovec_add()
287 qiov->iov = g_realloc(qiov->iov, qiov->nalloc * sizeof(struct iovec)); in qemu_iovec_add()
315 assert(dst->nalloc != -1); in qemu_iovec_concat_iov()
347 assert(qiov->nalloc != -1); in qemu_iovec_destroy()
351 qiov->nalloc = 0; in qemu_iovec_destroy()
357 assert(qiov->nalloc != -1); in qemu_iovec_reset()
/external/qemu/
Ddma-helpers.c17 qsg->nalloc = alloc_hint; in qemu_sglist_init()
24 if (qsg->nsg == qsg->nalloc) { in qemu_sglist_add()
25 qsg->nalloc = 2 * qsg->nalloc + 1; in qemu_sglist_add()
26 qsg->sg = g_realloc(qsg->sg, qsg->nalloc * sizeof(ScatterGatherEntry)); in qemu_sglist_add()
/external/chromium_org/third_party/re2/re2/
Donepass.cc411 int nalloc = 1; in IsOnePass() local
450 if (nalloc >= maxnodes) { in IsOnePass()
454 nalloc, maxnodes); in IsOnePass()
457 nextindex = nalloc; in IsOnePass()
460 nalloc++; in IsOnePass()
593 nodep = new uint8[nalloc*statesize]; in IsOnePass()
594 memmove(nodep, nodes, nalloc*statesize); in IsOnePass()
601 dfa_mem_ -= nalloc*statesize; in IsOnePass()
/external/regex-re2/re2/
Donepass.cc411 int nalloc = 1; in IsOnePass() local
450 if (nalloc >= maxnodes) { in IsOnePass()
454 nalloc, maxnodes); in IsOnePass()
457 nextindex = nalloc; in IsOnePass()
460 nalloc++; in IsOnePass()
593 nodep = new uint8[nalloc*statesize]; in IsOnePass()
594 memmove(nodep, nodes, nalloc*statesize); in IsOnePass()
601 dfa_mem_ -= nalloc*statesize; in IsOnePass()
/external/expat/tests/
Dminicheck.c61 int nalloc = tc->allocated + 100; in tcase_add_test() local
62 size_t new_size = sizeof(tcase_test_function) * nalloc; in tcase_add_test()
69 tc->allocated = nalloc; in tcase_add_test()
/external/ltrace/
Dglob.c87 size_t nalloc = nsize * 2; in append() local
88 char *nbuf = realloc(*bufp, nalloc); in append()
91 *allocp = nalloc; in append()
/external/elfutils/0.153/src/
Dunstrip.c883 struct section sections[], size_t nalloc) in find_alloc_section() argument
886 size_t l = 0, u = nalloc; in find_alloc_section()
900 for (; i < nalloc && sections[i].shdr.sh_addr == addr; in find_alloc_section()
929 size_t nalloc, size_t nsections) in find_alloc_sections_prelink() argument
932 for (size_t i = 0; i < nalloc; ++i) in find_alloc_sections_prelink()
936 for (size_t i = nalloc; i < nsections; ++i) in find_alloc_sections_prelink()
1082 for (size_t i = 0; shdr != NULL && i < nalloc; ++i) in find_alloc_sections_prelink()
1102 for (size_t j = 0; j < nalloc; ++j) in find_alloc_sections_prelink()
1267 size_t nalloc = stripped_shnum - 1; in copy_elided_sections() local
1268 while (nalloc > 0 && !(sections[nalloc - 1].shdr.sh_flags & SHF_ALLOC)) in copy_elided_sections()
[all …]
/external/qemu/include/sysemu/
Ddma.h26 int nalloc; member
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
Dradeon_sanity.c331 int nalloc; member
380 if (j == reg->nalloc) { in find_or_add_value()
381 reg->nalloc += 5; in find_or_add_value()
382 reg->nalloc *= 2; in find_or_add_value()
384 reg->nalloc * sizeof(union fi) ); in find_or_add_value()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_sanity.c331 int nalloc; member
380 if (j == reg->nalloc) { in find_or_add_value()
381 reg->nalloc += 5; in find_or_add_value()
382 reg->nalloc *= 2; in find_or_add_value()
384 reg->nalloc * sizeof(union fi) ); in find_or_add_value()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_sanity.c609 int nalloc; member
658 if (j == reg->nalloc) { in find_or_add_value()
659 reg->nalloc += 5; in find_or_add_value()
660 reg->nalloc *= 2; in find_or_add_value()
662 reg->nalloc * sizeof(union fi) ); in find_or_add_value()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
Dr200_sanity.c609 int nalloc; member
658 if (j == reg->nalloc) { in find_or_add_value()
659 reg->nalloc += 5; in find_or_add_value()
660 reg->nalloc *= 2; in find_or_add_value()
662 reg->nalloc * sizeof(union fi) ); in find_or_add_value()
/external/qemu/block/
Draw.c154 qemu_iovec_init(&b->qiov, qiov->nalloc); in raw_aio_writev()
/external/valgrind/main/coregrind/m_debuginfo/
Dlzoconf.h312 lzo_alloc_func_t nalloc; /* [not used right now] */ member
/external/qemu/include/
Dqemu-common.h329 int nalloc; member