/bionic/linker/tests/ |
linker_block_allocator_test.cpp | 47 * this one has size below allocator cap which is 2*sizeof(void*) 64 LinkerTypeAllocator<test_struct_nominal> allocator; local 66 test_struct_nominal* ptr1 = allocator.alloc(); 69 test_struct_nominal* ptr2 = allocator.alloc(); 77 allocator.free(ptr1); 78 allocator.free(ptr2); 82 LinkerTypeAllocator<test_struct_small> allocator; local 84 char* ptr1 = reinterpret_cast<char*>(allocator.alloc()); 85 char* ptr2 = reinterpret_cast<char*>(allocator.alloc()); 95 LinkerTypeAllocator<test_struct_larger> allocator; local 120 LinkerTypeAllocator<test_struct_larger> allocator; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
allocator.h | 38 /** @file bits/allocator.h 46 #include <bits/c++allocator.h> // Define the base class to std::allocator. 61 /// allocator<void> specialization. 63 class allocator<void> class 74 { typedef allocator<_Tp1> other; }; 78 // 2103. std::allocator propagate_on_container_move_assignment 84 * @brief The @a standard allocator, as per [20.4]. 92 class allocator: public __allocator_base<_Tp> class in inherits:__allocator_base 105 { typedef allocator<_Tp1> other; } 113 allocator() throw() { } function in class:allocator 115 allocator(const allocator& __a) throw() function in class:allocator 119 allocator(const allocator<_Tp1>&) throw() { } function in class:allocator [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
allocator.h | 38 /** @file bits/allocator.h 46 #include <bits/c++allocator.h> // Define the base class to std::allocator. 61 /// allocator<void> specialization. 63 class allocator<void> class 74 { typedef allocator<_Tp1> other; }; 78 // 2103. std::allocator propagate_on_container_move_assignment 84 * @brief The @a standard allocator, as per [20.4]. 92 class allocator: public __allocator_base<_Tp> class in inherits:__allocator_base 105 { typedef allocator<_Tp1> other; } 113 allocator() throw() { } function in class:allocator 115 allocator(const allocator& __a) throw() function in class:allocator 119 allocator(const allocator<_Tp1>&) throw() { } function in class:allocator [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
allocator.h | 38 /** @file bits/allocator.h 46 #include <bits/c++allocator.h> // Define the base class to std::allocator. 61 /// allocator<void> specialization. 63 class allocator<void> class 74 { typedef allocator<_Tp1> other; }; 78 // 2103. std::allocator propagate_on_container_move_assignment 84 * @brief The @a standard allocator, as per [20.4]. 92 class allocator: public __allocator_base<_Tp> class in inherits:__allocator_base 105 { typedef allocator<_Tp1> other; } 113 allocator() throw() { } function in class:allocator 115 allocator(const allocator& __a) throw() function in class:allocator 119 allocator(const allocator<_Tp1>&) throw() { } function in class:allocator [all...] |
/prebuilts/ndk/r10/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
allocator.h | 38 /** @file bits/allocator.h 46 #include <bits/c++allocator.h> // Define the base class to std::allocator. 61 /// allocator<void> specialization. 63 class allocator<void> class 74 { typedef allocator<_Tp1> other; }; 78 // 2103. std::allocator propagate_on_container_move_assignment 84 * @brief The @a standard allocator, as per [20.4]. 92 class allocator: public __allocator_base<_Tp> class in inherits:__allocator_base 105 { typedef allocator<_Tp1> other; } 113 allocator() throw() { } function in class:allocator 115 allocator(const allocator& __a) throw() function in class:allocator 119 allocator(const allocator<_Tp1>&) throw() { } function in class:allocator [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
allocator.h | 38 /** @file bits/allocator.h 46 #include <bits/c++allocator.h> // Define the base class to std::allocator. 61 /// allocator<void> specialization. 63 class allocator<void> class 74 { typedef allocator<_Tp1> other; }; 78 // 2103. std::allocator propagate_on_container_move_assignment 84 * @brief The @a standard allocator, as per [20.4]. 92 class allocator: public __allocator_base<_Tp> class in inherits:__allocator_base 105 { typedef allocator<_Tp1> other; } 113 allocator() throw() { } function in class:allocator 115 allocator(const allocator& __a) throw() function in class:allocator 119 allocator(const allocator<_Tp1>&) throw() { } function in class:allocator [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
allocator.h | 38 /** @file bits/allocator.h 46 #include <bits/c++allocator.h> // Define the base class to std::allocator. 61 /// allocator<void> specialization. 63 class allocator<void> class 74 { typedef allocator<_Tp1> other; }; 78 // 2103. std::allocator propagate_on_container_move_assignment 84 * @brief The @a standard allocator, as per [20.4]. 92 class allocator: public __allocator_base<_Tp> class in inherits:__allocator_base 105 { typedef allocator<_Tp1> other; } 113 allocator() throw() { } function in class:allocator 115 allocator(const allocator& __a) throw() function in class:allocator 119 allocator(const allocator<_Tp1>&) throw() { } function in class:allocator [all...] |
/system/libhidl/transport/allocator/1.0/default/ |
service.cpp | 1 #define LOG_TAG "android.hidl.allocator@1.0-service" 6 #include <android/hidl/allocator/1.0/IAllocator.h> 11 using android::hidl::allocator::V1_0::IAllocator; 12 using android::hidl::allocator::V1_0::implementation::AshmemAllocator; 19 sp<IAllocator> allocator = new AshmemAllocator(); local 21 status_t status = allocator->registerAsService("ashmem"); 24 LOG(FATAL) << "Unable to register allocator service: " << status;
|
/external/e2fsprogs/contrib/android/ |
basefs_allocator.c | 40 struct base_fs_allocator *allocator; local 45 allocator = malloc(sizeof(*allocator)); 46 if (!allocator) 55 allocator->cur_entry = NULL; 56 allocator->entries = entries; 58 /* Overhide the default allocator */ 60 fs->priv_data = allocator; 65 free(allocator); 76 struct base_fs_allocator *allocator = fs->priv_data local 101 struct base_fs_allocator *allocator = fs->priv_data; local 120 struct base_fs_allocator *allocator = fs->priv_data; local 137 struct base_fs_allocator *allocator = fs->priv_data; local [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/stlport/src/ |
dll_main.cpp | 114 template class _STLP_CLASS_DECLSPEC allocator<_STLP_PRIV _Slist_node_base*>; variable in typeref:class:_STLP_CLASS_DECLSPEC 118 allocator<_Slist_node_base*> >; 120 allocator<_Slist_node_base*> >; 127 allocator<_Slist_node_base*> >; 132 allocator<_STLP_PRIV _Slist_node_base*> >; 137 template class _STLP_CLASS_DECLSPEC allocator<locale::facet*>; variable in typeref:class:_STLP_CLASS_DECLSPEC 140 template class _STLP_CLASS_DECLSPEC _STLP_alloc_proxy<locale::facet**, locale::facet*, allocator<locale::facet*> >; 141 template class _STLP_CLASS_DECLSPEC _Vector_base<locale::facet*, allocator<locale::facet*> >; 148 template class _STLP_CLASS_DECLSPEC __construct_checker<_STLP_PRIV _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> > >; 149 template class _STLP_CLASS_DECLSPEC _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> > 158 template class _STLP_CLASS_DECLSPEC allocator<void*>; variable in typeref:class:_STLP_CLASS_DECLSPEC 161 template class _STLP_CLASS_DECLSPEC allocator<_VoidPtr_Node>; variable in typeref:class:_STLP_CLASS_DECLSPEC 167 template class _STLP_CLASS_DECLSPEC _STLP_PTR_IMPL_NAME(vector)<void*, allocator<void*> >; variable 172 template class _STLP_CLASS_DECLSPEC _STLP_PTR_IMPL_NAME(list)<void*, allocator<void*> >; variable 177 template class _STLP_CLASS_DECLSPEC _STLP_PTR_IMPL_NAME(slist)<void*, allocator<void*> >; variable 183 template class _STLP_CLASS_DECLSPEC _STLP_PTR_IMPL_NAME(deque)<void*, allocator<void*> >; variable [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/stlport/src/ |
dll_main.cpp | 114 template class _STLP_CLASS_DECLSPEC allocator<_STLP_PRIV _Slist_node_base*>; variable in typeref:class:_STLP_CLASS_DECLSPEC 118 allocator<_Slist_node_base*> >; 120 allocator<_Slist_node_base*> >; 127 allocator<_Slist_node_base*> >; 132 allocator<_STLP_PRIV _Slist_node_base*> >; 137 template class _STLP_CLASS_DECLSPEC allocator<locale::facet*>; variable in typeref:class:_STLP_CLASS_DECLSPEC 140 template class _STLP_CLASS_DECLSPEC _STLP_alloc_proxy<locale::facet**, locale::facet*, allocator<locale::facet*> >; 141 template class _STLP_CLASS_DECLSPEC _Vector_base<locale::facet*, allocator<locale::facet*> >; 148 template class _STLP_CLASS_DECLSPEC __construct_checker<_STLP_PRIV _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> > >; 149 template class _STLP_CLASS_DECLSPEC _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> > 158 template class _STLP_CLASS_DECLSPEC allocator<void*>; variable in typeref:class:_STLP_CLASS_DECLSPEC 161 template class _STLP_CLASS_DECLSPEC allocator<_VoidPtr_Node>; variable in typeref:class:_STLP_CLASS_DECLSPEC 167 template class _STLP_CLASS_DECLSPEC _STLP_PTR_IMPL_NAME(vector)<void*, allocator<void*> >; variable 172 template class _STLP_CLASS_DECLSPEC _STLP_PTR_IMPL_NAME(list)<void*, allocator<void*> >; variable 177 template class _STLP_CLASS_DECLSPEC _STLP_PTR_IMPL_NAME(slist)<void*, allocator<void*> >; variable 183 template class _STLP_CLASS_DECLSPEC _STLP_PTR_IMPL_NAME(deque)<void*, allocator<void*> >; variable [all...] |
/art/tools/cpp-define-generator/ |
constant_rosalloc.def | 20 #include "gc/allocator/rosalloc.h" // art::gc::allocator::RosAlloc 26 DEFINE_ROSALLOC_CONSTANT(MAX_THREAD_LOCAL_BRACKET_SIZE, int32_t, art::gc::allocator::RosAlloc::kMaxThreadLocalBracketSize) 27 DEFINE_ROSALLOC_CONSTANT(BRACKET_QUANTUM_SIZE_SHIFT, int32_t, art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSizeShift) 29 DEFINE_ROSALLOC_CONSTANT(BRACKET_QUANTUM_SIZE_MASK, int32_t, static_cast<int32_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1)) 31 uint32_t, ~static_cast<uint32_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1)) 33 uint64_t, ~static_cast<uint64_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1)) 34 DEFINE_ROSALLOC_CONSTANT(RUN_FREE_LIST_OFFSET, int32_t, art::gc::allocator::RosAlloc::RunFreeListOffset()) 35 DEFINE_ROSALLOC_CONSTANT(RUN_FREE_LIST_HEAD_OFFSET, int32_t, art::gc::allocator::RosAlloc::RunFreeListHeadOffset()) 36 DEFINE_ROSALLOC_CONSTANT(RUN_FREE_LIST_SIZE_OFFSET, int32_t, art::gc::allocator::RosAlloc::RunFreeListSizeOffset() [all...] |
/art/compiler/optimizing/ |
nodes_test.cc | 31 ArenaAllocator allocator(&pool); 33 HGraph* graph = CreateGraph(&allocator); 34 HBasicBlock* entry = new (&allocator) HBasicBlock(graph); 37 HInstruction* parameter = new (&allocator) HParameterValue( 40 entry->AddInstruction(new (&allocator) HGoto()); 42 HBasicBlock* first_block = new (&allocator) HBasicBlock(graph); 45 HInstruction* null_check = new (&allocator) HNullCheck(parameter, 0); 47 first_block->AddInstruction(new (&allocator) HReturnVoid()); 49 HBasicBlock* exit_block = new (&allocator) HBasicBlock(graph); 52 exit_block->AddInstruction(new (&allocator) HExit()) [all...] |
gvn_test.cc | 30 ArenaAllocator allocator(&pool); 32 HGraph* graph = CreateGraph(&allocator); 33 HBasicBlock* entry = new (&allocator) HBasicBlock(graph); 36 HInstruction* parameter = new (&allocator) HParameterValue(graph->GetDexFile(), 42 HBasicBlock* block = new (&allocator) HBasicBlock(graph); 46 block->AddInstruction(new (&allocator) HInstanceFieldGet(parameter, 55 block->AddInstruction(new (&allocator) HInstanceFieldGet(parameter, 65 block->AddInstruction(new (&allocator) HInstanceFieldGet(parameter, 76 block->AddInstruction(new (&allocator) HInstanceFieldSet(parameter, 86 block->AddInstruction(new (&allocator) HInstanceFieldGet(parameter [all...] |
linear_order.h | 28 // Storage is obtained through 'allocator' and the linear order it computed 36 ArenaAllocator* allocator,
|
/prebuilts/ndk/r10/sources/cxx-stl/stlport/stlport/stl/ |
_string_fwd.h | 31 class _Alloc = allocator<_CharT> > 40 typedef basic_string<char, char_traits<char>, allocator<char> > string; 43 typedef basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > wstring;
|
/prebuilts/ndk/r11/sources/cxx-stl/stlport/stlport/stl/ |
_string_fwd.h | 31 class _Alloc = allocator<_CharT> > 40 typedef basic_string<char, char_traits<char>, allocator<char> > string; 43 typedef basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > wstring;
|
/prebuilts/ndk/r13/sources/cxx-stl/stlport/stlport/stl/ |
_string_fwd.h | 31 class _Alloc = allocator<_CharT> > 40 typedef basic_string<char, char_traits<char>, allocator<char> > string; 43 typedef basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > wstring;
|
/art/runtime/base/ |
arena_object.h | 31 void* operator new(size_t size, ArenaAllocator* allocator) { 32 return allocator->Alloc(size, kAllocKind); 55 void* operator new(size_t size, ArenaAllocator* allocator) { 56 return allocator->Alloc(size, kAllocKind);
|
/external/libcxx/test/std/containers/unord/unord.map/ |
allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::unordered_map<int, int, std::hash<int>, std::less<int>, std::allocator<long> > m;
|
/external/libcxx/test/std/containers/unord/unord.multimap/ |
allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::unordered_multimap<int, int, std::hash<int>, std::less<int>, std::allocator<long> > m;
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::unordered_multiset<int, std::hash<int>, std::less<int>, std::allocator<long> > v;
|
/external/libcxx/test/std/containers/unord/unord.set/ |
allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::unordered_set<int, std::hash<int>, std::less<int>, std::allocator<long> > v;
|
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
alloc_F.fail.cpp | 28 std::function<void(int)> f(std::allocator_arg, std::allocator<int>(), foo);
|
alloc_nullptr.fail.cpp | 26 std::function<int(int)> f(std::allocator_arg, std::allocator<int>(), nullptr);
|