Home
last modified time | relevance | path

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

/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/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/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/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/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.h96 void* (*alloc)(size_t),
104 void* (*alloc)(size_t),
/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++/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/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_atomic.s1 .section ".text",#alloc,#execinstr
Dsparc_atomic64.s1 .section ".text",#alloc,#execinstr
/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/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/sources/host-tools/make-3.81/
DChangeLog186 strcache, so there's never any need to alloc/free them.