/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...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/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;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/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;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/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;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/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;
|
/system/core/libmemunreachable/ |
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_;
|
ProcessMappings.h | 20 #include "Allocator.h" 34 bool ProcessMappings(pid_t pid, allocator::vector<Mapping>& mappings);
|
/art/compiler/optimizing/ |
register_allocator_test.cc | 37 // Note: the register allocator tests rely on the fact that constants have live 59 ArenaAllocator allocator(&pool); 60 HGraph* graph = CreateCFG(&allocator, data); 67 RegisterAllocator::Create(&allocator, &codegen, liveness, strategy); 73 * Unit testing of RegisterAllocator::ValidateIntervals. Register allocator 78 ArenaAllocator allocator(&pool); 79 HGraph* graph = CreateGraph(&allocator); 83 ArenaVector<LiveInterval*> intervals(allocator.Adapter()); 88 intervals.push_back(BuildInterval(ranges, arraysize(ranges), &allocator, 0)); 89 intervals.push_back(BuildInterval(ranges, arraysize(ranges), &allocator, 1)) [all...] |
graph_test.cc | 27 static HBasicBlock* createIfBlock(HGraph* graph, ArenaAllocator* allocator) { 28 HBasicBlock* if_block = new (allocator) HBasicBlock(graph); 31 HInstruction* equal = new (allocator) HEqual(instr, instr); 33 instr = new (allocator) HIf(equal); 38 static HBasicBlock* createGotoBlock(HGraph* graph, ArenaAllocator* allocator) { 39 HBasicBlock* block = new (allocator) HBasicBlock(graph); 41 HInstruction* got = new (allocator) HGoto(); 46 static HBasicBlock* createEntryBlock(HGraph* graph, ArenaAllocator* allocator) { 47 HBasicBlock* block = createGotoBlock(graph, allocator); 52 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...] |
graph_checker_test.cc | 30 HGraph* CreateSimpleCFG(ArenaAllocator* allocator) { 31 HGraph* graph = CreateGraph(allocator); 32 HBasicBlock* entry_block = new (allocator) HBasicBlock(graph); 33 entry_block->AddInstruction(new (allocator) HReturnVoid()); 36 HBasicBlock* exit_block = new (allocator) HBasicBlock(graph); 37 exit_block->AddInstruction(new (allocator) HExit()); 47 ArenaAllocator allocator(&pool); 48 HGraph* graph = CreateCFG(&allocator, data); 97 ArenaAllocator allocator(&pool); 99 HGraph* graph = CreateSimpleCFG(&allocator); [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/stlport/src/ |
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...] |
/prebuilts/ndk/r13/sources/cxx-stl/stlport/src/ |
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...] |
/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) {}
|
/hardware/interfaces/graphics/allocator/2.0/default/ |
service.cpp | 17 #define LOG_TAG "android.hardware.graphics.allocator@2.0-service" 19 #include <android/hardware/graphics/allocator/2.0/IAllocator.h> 23 using android::hardware::graphics::allocator::V2_0::IAllocator;
|
/bionic/linker/tests/ |
linker_memory_allocator_test.cpp | 42 * this one has size below allocator cap which is 2*sizeof(void*) 65 LinkerMemoryAllocator allocator; local 66 void* ptr = allocator.alloc(0); 68 allocator.free(ptr); 72 LinkerMemoryAllocator allocator; local 73 allocator.free(nullptr); 77 LinkerMemoryAllocator allocator; local 78 uint32_t* array = reinterpret_cast<uint32_t*>(allocator.alloc(512)); 92 uint32_t* reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 1024)); 103 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 62)) 131 LinkerMemoryAllocator allocator; local 154 LinkerMemoryAllocator allocator; local 174 LinkerMemoryAllocator allocator; local [all...] |
/external/clang/test/Analysis/ |
NewDelete-custom.cpp | 10 void *allocator(std::size_t size); 12 void *operator new[](std::size_t size) throw() { return allocator(size); } 13 void *operator new(std::size_t size) throw() { return allocator(size); } 14 void *operator new(std::size_t size, std::nothrow_t& nothrow) throw() { return allocator(size); }
|
/external/clang/test/Modules/Inputs/PR27401/ |
a.h | 16 class allocator {}; class
|
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/ |
derive_from.fail.cpp | 24 S f2(std::allocator_arg, std::allocator<int>{}, f1);
|
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
alloc_function.fail.cpp | 29 F f2(std::allocator_arg, std::allocator<int>(), f1);
|
/external/libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.trait/ |
uses_allocator.pass.cpp | 53 test<false, int, std::allocator<int> >(); 54 test<true, std::vector<int>, std::allocator<int> >(); 55 test<false, A, std::allocator<int> >(); 56 test<false, B, std::allocator<int> >(); 65 // static_assert((!std::uses_allocator<int, std::allocator<int> >::value), ""); 66 // static_assert(( std::uses_allocator<std::vector<int>, std::allocator<int> >::value), ""); 67 // static_assert((!std::uses_allocator<A, std::allocator<int> >::value), ""); 68 // static_assert((!std::uses_allocator<B, std::allocator<int> >::value), "");
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/allocator.uses/allocator.uses.trait/ |
uses_allocator.pass.cpp | 43 static_assert((!std::uses_allocator<int, std::allocator<int> >::value), ""); 44 static_assert(( std::uses_allocator<std::vector<int>, std::allocator<int> >::value), ""); 45 static_assert((!std::uses_allocator<A, std::allocator<int> >::value), ""); 46 static_assert((!std::uses_allocator<B, std::allocator<int> >::value), "");
|
/system/core/libmemunreachable/tests/ |
Allocator_test.cpp | 17 #include <Allocator.h> 42 Allocator<char[100]> allocator(heap); 43 void *ptr = allocator.allocate(); 45 allocator.deallocate(ptr); 49 Allocator<char[100]> allocator(heap); 50 void *ptr1 = allocator.allocate(); 52 void *ptr2 = allocator.allocate(); 55 allocator.deallocate(ptr1) [all...] |
/external/skia/src/core/ |
SkLinearBitmapPipeline.h | 37 SkArenaAlloc* allocator); 44 SkArenaAlloc* allocator); 54 SkArenaAlloc* allocator); 75 SkArenaAlloc* allocator); 79 SkArenaAlloc* allocator); 84 SkArenaAlloc* allocator); 92 SkArenaAlloc* allocator); 96 SkArenaAlloc* allocator); 101 SkArenaAlloc* allocator); 109 SkArenaAlloc* allocator); [all...] |