Searched refs:nalloc (Results 1 – 10 of 10) sorted by relevance
/third_party/re2/re2/ |
D | onepass.cc | 421 int nalloc = 1; in IsOnePass() local 463 if (nalloc >= maxnodes) { in IsOnePass() 466 "Not OnePass: hit node limit %d >= %d", nalloc, maxnodes); in IsOnePass() 469 nextindex = nalloc; in IsOnePass() 471 nodebyid[ip->out()] = nalloc; in IsOnePass() 472 nalloc++; in IsOnePass() 614 dfa_mem_ -= nalloc*statesize; in IsOnePass() 615 onepass_nodes_ = PODArray<uint8_t>(nalloc*statesize); in IsOnePass() 616 memmove(onepass_nodes_.data(), nodes.data(), nalloc*statesize); in IsOnePass()
|
/third_party/boost/tools/build/src/engine/ |
D | object.cpp | 109 size_t nalloc = n; in allocate() 110 if ( nalloc < STRING_BLOCK ) in allocate() 111 nalloc = STRING_BLOCK; in allocate() 115 nalloc * sizeof( new_block->data[ 0 ] ) ); in allocate() 122 if ( remaining < nalloc - n ) in allocate() 125 storage_finish = new_block->data + nalloc; in allocate()
|
/third_party/boost/boost/container/detail/ |
D | node_alloc_holder.hpp | 340 NodeAlloc &nalloc = this->node_alloc(); in allocate_many_and_construct() local 341 node_allocator_version_traits_type::allocate_individual(nalloc, n, chain); in allocate_many_and_construct() 348 Deallocator node_deallocator(NodePtr(), nalloc); in allocate_many_and_construct() 349 dtl::scoped_destructor<NodeAlloc> sdestructor(nalloc, 0); in allocate_many_and_construct() 358 boost::container::construct_in_place(nalloc, p->get_real_data_ptr(), beg); in allocate_many_and_construct() 398 NodeAlloc & nalloc = this->node_alloc(); in erase_range() local 400 allocator_destroyer_and_chain_builder<NodeAlloc> chain_builder(nalloc, chain); in erase_range() 402 nalloc.deallocate_individual(chain); in erase_range()
|
/third_party/expat/tests/ |
D | minicheck.c | 89 int nalloc = tc->allocated + 100; in tcase_add_test() local 90 size_t new_size = sizeof(tcase_test_function) * nalloc; in tcase_add_test() 94 tc->allocated = nalloc; in tcase_add_test()
|
/third_party/skia/third_party/externals/expat/expat/tests/ |
D | minicheck.c | 89 int nalloc = tc->allocated + 100; in tcase_add_test() local 90 size_t new_size = sizeof(tcase_test_function) * nalloc; in tcase_add_test() 94 tc->allocated = nalloc; in tcase_add_test()
|
/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_sanity.c | 329 int nalloc; member 378 if (j == reg->nalloc) { in find_or_add_value() 379 reg->nalloc += 5; in find_or_add_value() 380 reg->nalloc *= 2; in find_or_add_value() 381 reg->values = realloc( reg->values, reg->nalloc * sizeof(union fi) ); in find_or_add_value()
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_sanity.c | 607 int nalloc; member 656 if (j == reg->nalloc) { in find_or_add_value() 657 reg->nalloc += 5; in find_or_add_value() 658 reg->nalloc *= 2; in find_or_add_value() 659 reg->values = realloc( reg->values, reg->nalloc * sizeof(union fi) ); in find_or_add_value()
|
/third_party/curl/lib/ |
D | urlapi.c | 1480 size_t nalloc = strlen(part); in curl_url_set() local 1482 if(nalloc > CURL_MAX_INPUT_LENGTH) in curl_url_set() 1489 char *enc = malloc(nalloc * 3 + 1); /* for worst case! */ in curl_url_set()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
D | doio.c | 5244 int nalloc; in parse_memalloc() local 5255 nalloc = string_to_tokens(arg, allocargs, 32, ":"); in parse_memalloc() 5262 if (nalloc >= 2) { in parse_memalloc() 5271 if (nalloc >= 1) { in parse_memalloc() 5294 if (nalloc > 2) { in parse_memalloc() 5315 if (nalloc >= 2) { in parse_memalloc() 5320 if (nalloc >= 3) { in parse_memalloc() 5325 if (nalloc >= 4) { in parse_memalloc()
|
/third_party/alsa-lib/src/ |
D | conf.c | 968 size_t nalloc = s->alloc * 2; in add_char_local_string() local 970 s->buf = malloc(nalloc); in add_char_local_string() 975 char *ptr = realloc(s->buf, nalloc); in add_char_local_string() 980 s->alloc = nalloc; in add_char_local_string()
|