Home
last modified time | relevance | path

Searched refs:alloc (Results 1 – 25 of 26) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector.bool/
Dconstruct_iter_iter_alloc.pass.cpp38 std::allocator<bool> alloc; in main() local
39 … test<std::vector<bool> >(input_iterator<const bool*>(a), input_iterator<const bool*>(an), alloc); in main()
40 …st<std::vector<bool> >(forward_iterator<const bool*>(a), forward_iterator<const bool*>(an), alloc); in main()
41 …or<bool> >(bidirectional_iterator<const bool*>(a), bidirectional_iterator<const bool*>(an), alloc); in main()
42 …or<bool> >(random_access_iterator<const bool*>(a), random_access_iterator<const bool*>(an), alloc); in main()
43 test<std::vector<bool> >(a, an, alloc); in main()
47 min_allocator<bool> alloc; in main() local
48 …ol, min_allocator<bool>> >(input_iterator<const bool*>(a), input_iterator<const bool*>(an), alloc); in main()
49 …min_allocator<bool>> >(forward_iterator<const bool*>(a), forward_iterator<const bool*>(an), alloc); in main()
50 …r<bool>> >(bidirectional_iterator<const bool*>(a), bidirectional_iterator<const bool*>(an), alloc); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.cons/
Dconstruct_iter_iter_alloc.pass.cpp51 std::allocator<int> alloc; in main() local
52 test<std::vector<int> >(input_iterator<const int*>(a), input_iterator<const int*>(an), alloc); in main()
53 … test<std::vector<int> >(forward_iterator<const int*>(a), forward_iterator<const int*>(an), alloc); in main()
54 …ector<int> >(bidirectional_iterator<const int*>(a), bidirectional_iterator<const int*>(an), alloc); in main()
55 …ector<int> >(random_access_iterator<const int*>(a), random_access_iterator<const int*>(an), alloc); in main()
56 test<std::vector<int> >(a, an, alloc); in main()
62 min_allocator<int> alloc; in main() local
63 …r<int, min_allocator<int>> >(input_iterator<const int*>(a), input_iterator<const int*>(an), alloc); in main()
64 …t, min_allocator<int>> >(forward_iterator<const int*>(a), forward_iterator<const int*>(an), alloc); in main()
65 …ator<int>> >(bidirectional_iterator<const int*>(a), bidirectional_iterator<const int*>(an), alloc); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/dynarray/dynarray.cons/
Dalloc.pass.cpp39 void check_allocator ( const dynarray<T> &dyn, const Allocator &alloc ) { in check_allocator() argument
41 assert ( dyn[i].get_allocator() == alloc ); in check_allocator()
45 void test ( const std::initializer_list<T> &vals, const Allocator &alloc ) { in test() argument
48 dynA d1 ( vals, alloc ); in test()
51 check_allocator ( d1, alloc ); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.cons/
Dsize.pass.cpp22 void check_allocator(unsigned n, Allocator const &alloc = Allocator()) in check_allocator() argument
26 C d(n, alloc); in check_allocator()
27 assert(d.get_allocator() == alloc); in check_allocator()
/ndk/sources/host-tools/ndk-stack/binutils/
Daddr2line.c262 char *alloc = NULL; in translate_addresses() local
269 alloc = bfd_demangle (abfd, name, DMGL_ANSI | DMGL_PARAMS); in translate_addresses()
270 if (alloc != NULL) in translate_addresses()
271 name = alloc; in translate_addresses()
285 if (alloc != NULL) in translate_addresses()
286 free (alloc); in translate_addresses()
/ndk/sources/host-tools/ndk-stack/elff/
Delf_alloc.cc34 void* ElfAllocator::alloc(size_t size) { in alloc() function in ElfAllocator
61 return elf->allocator()->alloc(size); in operator new()
Delf_alloc.h95 void* alloc(size_t size);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.cons/
Dsize_type.pass.cpp22 test3(unsigned n, Allocator const &alloc = Allocator()) in test3() argument
28 C d(n, alloc); in test3()
31 assert(d.get_allocator() == alloc); in test3()
/ndk/sources/host-tools/sed-4.2.1/sed/
Dexecute.c91 size_t alloc; /* Allocated space for active. */ member
215 if (inactive > lb->alloc * 2)
218 lb->alloc += lb->active - lb->text;
222 if (lb->alloc > len)
226 lb->alloc *= 2;
227 if (lb->alloc < len)
228 lb->alloc = len;
229 if (lb->alloc < INITIAL_BUFFER_SIZE)
230 lb->alloc = INITIAL_BUFFER_SIZE;
232 lb->text = REALLOC(lb->text, inactive + lb->alloc, char);
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.cons/
Dsize.pass.cpp65 test3(unsigned n, Allocator const &alloc = Allocator()) in test3() argument
71 C d(n, alloc); in test3()
73 assert(d.get_allocator() == alloc); in test3()
/ndk/sources/host-tools/sed-4.2.1/lib/
Dregex_internal.c972 set->alloc = size; in re_node_set_alloc()
984 set->alloc = 1; in re_node_set_init_1()
989 set->alloc = set->nelem = 0; in re_node_set_init_1()
1000 set->alloc = 2; in re_node_set_init_2()
1033 dest->alloc = dest->nelem; in re_node_set_init_copy()
1034 dest->elems = re_malloc (Idx, dest->alloc); in re_node_set_init_copy()
1037 dest->alloc = dest->nelem = 0; in re_node_set_init_copy()
1062 if (src1->nelem + src2->nelem + dest->nelem > dest->alloc) in re_node_set_add_intersect()
1064 Idx new_alloc = src1->nelem + src2->nelem + dest->alloc; in re_node_set_add_intersect()
1069 dest->alloc = new_alloc; in re_node_set_add_intersect()
[all …]
Dregex_internal.h227 Idx alloc; member
561 Idx alloc; member
570 Idx alloc; member
655 Idx alloc; member
Dregexec.c1396 if (fs->num == fs->alloc) in push_fail_stack()
1400 * fs->alloc * 2)); in push_fail_stack()
1403 fs->alloc *= 2; in push_fail_stack()
1456 fs->stack = re_malloc (struct re_fail_stack_ent_t, fs->alloc); in set_regs()
1864 if (!state->inveclosure.alloc) in add_epsilon_src_nodes()
2934 if (BE (path->alloc < last_str + mctx->max_mb_elem_len + 1, 0)) in check_arrival()
2937 Idx old_alloc = path->alloc; in check_arrival()
2946 path->alloc = new_alloc; in check_arrival()
2948 sizeof (re_dfastate_t *) * (path->alloc - old_alloc)); in check_arrival()
Dregcomp.c3583 Idx alloc = 0; in build_charclass_op() local
3614 mbcset, &alloc, in build_charclass_op()
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
Dcxa_vector.cpp142 void* (*alloc)(size_t), void (*dealloc)(void*) ) { in __cxa_vec_new2()
145 char * const heap_block = static_cast<char *> ( alloc ( heap_size )); in __cxa_vec_new2()
171 void* (*alloc)(size_t), void (*dealloc)(void*, size_t) ) { in __cxa_vec_new3()
174 char * const heap_block = static_cast<char *> ( alloc ( heap_size )); in __cxa_vec_new3()
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/include/
Dcxxabi.h101 void* (*alloc)(size_t),
109 void* (*alloc)(size_t),
/ndk/sources/cxx-stl/gabi++/src/
Dcxxabi_vec.cc134 alloc_func alloc, in __cxa_vec_new2() argument
141 constructor, destructor, alloc, in __cxa_vec_new2()
150 alloc_func alloc, in __cxa_vec_new3() argument
167 char* base = static_cast<char*>(alloc(size)); in __cxa_vec_new3()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/detail/
Dsp_counted_impl.hpp104 return quick_allocator<this_type>::alloc(); in operator new()
174 return quick_allocator<this_type>::alloc(); in operator new()
/ndk/sources/cxx-stl/gabi++/include/
Dcxxabi.h162 void* (*alloc)(size_t),
170 void* (*alloc)(size_t),
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/experimental/
Ddynarray42 dynarray(size_type c, const Alloc& alloc);
45 dynarray(size_type c, const T& v, const Alloc& alloc);
48 dynarray(const dynarray& d, const Alloc& alloc);
51 dynarray(initializer_list<T>, const Alloc& alloc);
/ndk/sources/cxx-stl/stlport/src/
Dsparc_atomic64.s1 .section ".text",#alloc,#execinstr
Dsparc_atomic.s1 .section ".text",#alloc,#execinstr
/ndk/tests/device/test-libc++-shared-full/jni/
DAndroid.mk353 $(call gen-test, containers/associative/map/map.cons/alloc)
400 $(call gen-test, containers/associative/multimap/multimap.cons/alloc)
463 $(call gen-test, containers/associative/multiset/multiset.cons/alloc)
510 $(call gen-test, containers/associative/set/set.cons/alloc)
543 $(call gen-test, containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_alloc)
544 $(call gen-test, containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_alloc)
545 $(call gen-test, containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_cont_al…
546 $(call gen-test, containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_rcont_a…
547 $(call gen-test, containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_copy_alloc)
548 $(call gen-test, containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_move_alloc)
[all …]
/ndk/tests/device/test-libc++-static-full/jni/
DAndroid.mk344 $(call gen-test, containers/associative/map/map.cons/alloc)
391 $(call gen-test, containers/associative/multimap/multimap.cons/alloc)
454 $(call gen-test, containers/associative/multiset/multiset.cons/alloc)
501 $(call gen-test, containers/associative/set/set.cons/alloc)
534 $(call gen-test, containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_alloc)
535 $(call gen-test, containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_alloc)
536 $(call gen-test, containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_cont_al…
537 $(call gen-test, containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_rcont_a…
538 $(call gen-test, containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_copy_alloc)
539 $(call gen-test, containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_move_alloc)
[all …]
/ndk/sources/host-tools/sed-4.2.1/
DChangeLog1349 if buffer.alloc==0 we may have malloc()'d 1 byte anyway,
3113 multiply append.alloc by 2 instead of adding

12