/system/core/libmemunreachable/ |
LeakFolding.h | 24 LeakFolding(Allocator<void> allocator, HeapWalker& heap_walker) 25 : allocator_(allocator), heap_walker_(heap_walker), 26 leak_map_(allocator), leak_graph_(allocator), leak_scc_(allocator) {} 36 bool Leaked(allocator::vector<Leak>& leaked, 41 Allocator<void> allocator_; 57 SCCInfo(Allocator<SCCInfo> allocator) : node(this, allocator) [all...] |
ThreadCapture.h | 22 #include "Allocator.h" 26 allocator::vector<uintptr_t> regs; 30 using TidList = allocator::vector<pid_t>; 31 using ThreadInfoList = allocator::vector<ThreadInfo>; 37 ThreadCapture(pid_t pid, Allocator<ThreadCapture> allocator); 51 Allocator<ThreadCaptureImpl>::unique_ptr impl_;
|
/bionic/linker/tests/ |
linker_block_allocator_test.cpp | 35 * this one has size below allocator cap which is 2*sizeof(void*) 52 LinkerTypeAllocator<test_struct_nominal> allocator; local 54 test_struct_nominal* ptr1 = allocator.alloc(); 57 test_struct_nominal* ptr2 = allocator.alloc(); 65 allocator.free(ptr1); 66 allocator.free(ptr2); 70 LinkerTypeAllocator<test_struct_small> allocator; local 72 char* ptr1 = reinterpret_cast<char*>(allocator.alloc()); 73 char* ptr2 = reinterpret_cast<char*>(allocator.alloc()); 83 LinkerTypeAllocator<test_struct_larger> allocator; local 108 LinkerTypeAllocator<test_struct_larger> allocator; local [all...] |
linker_memory_allocator_test.cpp | 30 * this one has size below allocator cap which is 2*sizeof(void*) 53 LinkerMemoryAllocator allocator; local 54 void* ptr = allocator.alloc(0); 56 allocator.free(ptr); 60 LinkerMemoryAllocator allocator; local 61 allocator.free(nullptr); 65 LinkerMemoryAllocator allocator; local 66 uint32_t* array = reinterpret_cast<uint32_t*>(allocator.alloc(512)); 80 uint32_t* reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 1024)); 91 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 62)) 119 LinkerMemoryAllocator allocator; local 142 LinkerMemoryAllocator allocator; local 162 LinkerMemoryAllocator 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/current/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...] |
/ndk/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...] |
string.cpp | 33 template class _STLP_CLASS_DECLSPEC allocator<char>; variable in typeref:class:_STLP_CLASS_DECLSPEC 37 template class _STLP_CLASS_DECLSPEC _STLP_alloc_proxy<char*, char, allocator<char> >; 38 template class _STLP_CLASS_DECLSPEC _String_base<char, allocator<char> >; 43 template class _STLP_CLASS_DECLSPEC basic_string<char, char_traits<char>, allocator<char> >; 44 template class _STLP_CLASS_DECLSPEC __construct_checker<basic_string<char, char_traits<char>, allocator<char> > >; 55 template class _STLP_CLASS_DECLSPEC basic_string<char, char_traits<char>, allocator<char> >; 63 template class _STLP_CLASS_DECLSPEC allocator<wchar_t>; variable in typeref:class:_STLP_CLASS_DECLSPEC 67 template class _STLP_CLASS_DECLSPEC _String_base<wchar_t, allocator<wchar_t> >; 72 template class _STLP_CLASS_DECLSPEC basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >; 73 template class _STLP_CLASS_DECLSPEC __construct_checker<basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > > [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); 33 HGraph* graph = CreateGraph(&allocator); 34 HBasicBlock* entry = new (&allocator) HBasicBlock(graph); 37 HInstruction* parameter = new (&allocator) HParameterValue(graph->GetDexFile(), 43 HBasicBlock* block = new (&allocator) HBasicBlock(graph); 47 block->AddInstruction(new (&allocator) HInstanceFieldGet(parameter, 56 block->AddInstruction(new (&allocator) HInstanceFieldGet(parameter, 66 block->AddInstruction(new (&allocator) HInstanceFieldGet(parameter, 77 block->AddInstruction(new (&allocator) HInstanceFieldSet(parameter, 87 block->AddInstruction(new (&allocator) HInstanceFieldGet(parameter [all...] |
register_allocator_test.cc | 33 // Note: the register allocator tests rely on the fact that constants have live 40 ArenaAllocator allocator(&pool); 41 HGraph* graph = CreateCFG(&allocator, data); 47 RegisterAllocator register_allocator(&allocator, &codegen, liveness); 53 * Unit testing of RegisterAllocator::ValidateIntervals. Register allocator 58 ArenaAllocator allocator(&pool); 59 HGraph* graph = CreateGraph(&allocator); 63 ArenaVector<LiveInterval*> intervals(allocator.Adapter()); 68 intervals.push_back(BuildInterval(ranges, arraysize(ranges), &allocator, 0)); 69 intervals.push_back(BuildInterval(ranges, arraysize(ranges), &allocator, 1)) [all...] |
graph_test.cc | 28 static HBasicBlock* createIfBlock(HGraph* graph, ArenaAllocator* allocator) { 29 HBasicBlock* if_block = new (allocator) HBasicBlock(graph); 32 HInstruction* equal = new (allocator) HEqual(instr, instr); 34 instr = new (allocator) HIf(equal); 39 static HBasicBlock* createGotoBlock(HGraph* graph, ArenaAllocator* allocator) { 40 HBasicBlock* block = new (allocator) HBasicBlock(graph); 42 HInstruction* got = new (allocator) HGoto(); 47 static HBasicBlock* createEntryBlock(HGraph* graph, ArenaAllocator* allocator) { 48 HBasicBlock* block = createGotoBlock(graph, allocator); 53 static HBasicBlock* createReturnBlock(HGraph* graph, ArenaAllocator* allocator) { [all...] |
parallel_move_test.cc | 55 explicit TestParallelMoveResolverWithSwap(ArenaAllocator* allocator) 56 : ParallelMoveResolverWithSwap(allocator) {} 98 explicit TestParallelMoveResolverNoSwap(ArenaAllocator* allocator) 99 : ParallelMoveResolverNoSwap(allocator), scratch_index_(kScratchRegisterStartIndexForTest) {} 153 static HParallelMove* BuildParallelMove(ArenaAllocator* allocator, 156 HParallelMove* moves = new (allocator) HParallelMove(allocator); 184 ArenaAllocator allocator(&pool); 187 TypeParam resolver(&allocator); 189 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))) [all...] |
/ndk/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/current/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/skia/src/pathops/ |
SkAddIntersections.h | 16 SkChunkAlloc* allocator);
|
/external/skia/tests/ |
GrAllocatorTest.cpp | 26 static void check_allocator_helper(GrTAllocator<C>* allocator, int cnt, int popCnt, 29 // Adds cnt items to the allocator, tests the cnts and iterators, pops popCnt items and checks 30 // again. Finally it resets the allocator and checks again. 31 static void check_allocator(GrTAllocator<C>* allocator, int cnt, int popCnt, 33 SkASSERT(allocator); 34 SkASSERT(allocator->empty()); 38 allocator->push_back(C(i)); 40 allocator->push_back() = C(i); 43 check_allocator_helper(allocator, cnt, popCnt, reporter); 44 allocator->reset() [all...] |
TextureStorageAllocator.cpp | 22 TestStorageAllocator* allocator = static_cast<TestStorageAllocator*>(ctx); local 23 if (!allocator->m_allowAllocation) 30 GR_GL_CALL(allocator->m_gl, GenTextures(1, &id)); 31 GR_GL_CALL(allocator->m_gl, BindTexture(target, id)); 32 GR_GL_CALL(allocator->m_gl, TexParameteri(target, GR_GL_TEXTURE_MAG_FILTER, GR_GL_NEAREST)); 33 GR_GL_CALL(allocator->m_gl, TexParameteri(target, GR_GL_TEXTURE_MIN_FILTER, GR_GL_NEAREST)); 34 GR_GL_CALL(allocator->m_gl, TexParameteri(target, GR_GL_TEXTURE_WRAP_S, GR_GL_CLAMP_TO_EDGE)); 35 GR_GL_CALL(allocator->m_gl, TexParameteri(target, GR_GL_TEXTURE_WRAP_T, GR_GL_CLAMP_TO_EDGE)); 36 GR_GL_CALL(allocator->m_gl, TexImage2D(target, 0, GR_GL_RGBA, width, height, 0, GR_GL_RGBA, 42 allocator->m_mostRecentlyAllocatedStorage = id 46 TestStorageAllocator* allocator = static_cast<TestStorageAllocator*>(ctx); local 61 TestStorageAllocator allocator; local 96 TestStorageAllocator allocator; local [all...] |
/external/clang/test/CodeCompletion/ |
templates.cpp | 3 class allocator { class in namespace:std 8 template<typename T, typename Alloc = std::allocator<T> > 21 // CHECK-CC1: allocator<<#typename T#>>
|
/external/webrtc/webrtc/p2p/base/ |
p2ptransport.cc | 23 P2PTransport::P2PTransport(const std::string& name, PortAllocator* allocator) 24 : Transport(name, allocator) {}
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/container/ |
container_fwd.hpp | 52 ,class Allocator = std::allocator<T> > 57 ,class Allocator = std::allocator<T> > 62 ,class Allocator = std::allocator<T> > 67 ,class Allocator = std::allocator<T> > 72 ,class Allocator = std::allocator<T> [all...] |
/external/dbus/dbus/ |
dbus-dataslot.h | 53 * An allocator that tracks a set of slot IDs. 73 dbus_bool_t _dbus_data_slot_allocator_init (DBusDataSlotAllocator *allocator); 74 dbus_bool_t _dbus_data_slot_allocator_alloc (DBusDataSlotAllocator *allocator, 77 void _dbus_data_slot_allocator_free (DBusDataSlotAllocator *allocator, 80 dbus_bool_t _dbus_data_slot_list_set (DBusDataSlotAllocator *allocator, 87 void* _dbus_data_slot_list_get (DBusDataSlotAllocator *allocator,
|