| /art/compiler/optimizing/ |
| 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...] |
| /external/skia/src/pathops/ |
| SkPathOpsTightBounds.cpp | 11 SkChunkAlloc allocator(4096); // FIXME: constant-ize, tune 16 SkOpEdgeBuilder builder(path, &contour, &allocator, &globalState); 17 if (!builder.finish(&allocator)) {
|
| /external/avahi/avahi-common/ |
| avahi-malloc.c | 40 static const AvahiAllocator *allocator = NULL; variable 106 if (!allocator) 109 assert(allocator->malloc); 110 return allocator->malloc(size); 119 if (!allocator) 122 if (allocator->calloc) 123 return allocator->calloc(1, size); 125 assert(allocator->malloc); 126 if ((p = allocator->malloc(size))) 137 if (!allocator) { [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); }
|
| /system/core/libmemunreachable/ |
| ProcessMappings.h | 20 #include "Allocator.h" 34 bool ProcessMappings(pid_t pid, allocator::vector<Mapping>& mappings);
|
| HeapWalker.h | 24 #include "Allocator.h" 51 HeapWalker(Allocator<HeapWalker> allocator) : allocator_(allocator), 52 allocations_(allocator), allocation_bytes_(0), 53 roots_(allocator), root_vals_(allocator), 54 segv_handler_(allocator), walking_ptr_(0) { 67 void Root(const allocator::vector<uintptr_t>& vals); 71 bool Leaked(allocator::vector<Range>&, size_t limit, size_t* num_leaks [all...] |
| /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/clang/test/SemaCXX/ |
| PR9902.cpp | 24 struct allocator {}; struct 28 allocator_traits<allocator<char>>::rebind_alloc<int> a;
|
| /external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Contacts/ |
| b2CircleContact.h | 30 b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator); 31 static void Destroy(b2Contact* contact, b2BlockAllocator* allocator);
|
| b2EdgeAndCircleContact.h | 30 b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator); 31 static void Destroy(b2Contact* contact, b2BlockAllocator* allocator);
|
| b2EdgeAndPolygonContact.h | 30 b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator); 31 static void Destroy(b2Contact* contact, b2BlockAllocator* allocator);
|
| b2PolygonAndCircleContact.h | 29 static b2Contact* Create(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator); 30 static void Destroy(b2Contact* contact, b2BlockAllocator* allocator);
|
| b2PolygonContact.h | 30 b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator); 31 static void Destroy(b2Contact* contact, b2BlockAllocator* allocator);
|
| /external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Joints/ |
| b2Joint.cpp | 37 b2Joint* b2Joint::Create(const b2JointDef* def, b2BlockAllocator* allocator) 45 void* mem = allocator->Allocate(sizeof(b2DistanceJoint)); 52 void* mem = allocator->Allocate(sizeof(b2MouseJoint)); 59 void* mem = allocator->Allocate(sizeof(b2PrismaticJoint)); 66 void* mem = allocator->Allocate(sizeof(b2RevoluteJoint)); 73 void* mem = allocator->Allocate(sizeof(b2PulleyJoint)); 80 void* mem = allocator->Allocate(sizeof(b2GearJoint)); 87 void* mem = allocator->Allocate(sizeof(b2WheelJoint)); 94 void* mem = allocator->Allocate(sizeof(b2WeldJoint)); 101 void* mem = allocator->Allocate(sizeof(b2FrictionJoint)) [all...] |
| /external/skia/src/core/ |
| SkBlitter_Sprite.cpp | 44 const SkPixmap& source, int left, int top, SkTBlitterAllocator* allocator) { 54 SkASSERT(allocator != nullptr); 60 blitter = SkSpriteBlitter::ChooseD16(source, paint, allocator); 64 blitter = SkSpriteBlitter::ChooseS32(source, paint, allocator); 66 blitter = SkSpriteBlitter::ChooseL32(source, paint, allocator); 70 blitter = SkSpriteBlitter::ChooseF16(source, paint, allocator);
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/ |
| vstring_fwd.h | 37 #include <bits/allocator.h> 50 typename _Alloc = std::allocator<_CharT>, 59 std::allocator<char>, __rc_string_base> __rc_string; 66 std::allocator<wchar_t>, __rc_string_base> __wrc_string; 76 std::allocator<char16_t>, __rc_string_base> __u16rc_string; 82 std::allocator<char32_t>, __rc_string_base> __u32rc_string;
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/ |
| vstring_fwd.h | 37 #include <bits/allocator.h> 50 typename _Alloc = std::allocator<_CharT>, 59 std::allocator<char>, __rc_string_base> __rc_string; 66 std::allocator<wchar_t>, __rc_string_base> __wrc_string; 76 std::allocator<char16_t>, __rc_string_base> __u16rc_string; 82 std::allocator<char32_t>, __rc_string_base> __u32rc_string;
|
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/ |
| vstring_fwd.h | 37 #include <bits/allocator.h> 50 typename _Alloc = std::allocator<_CharT>, 59 std::allocator<char>, __rc_string_base> __rc_string; 66 std::allocator<wchar_t>, __rc_string_base> __wrc_string; 76 std::allocator<char16_t>, __rc_string_base> __u16rc_string; 82 std::allocator<char32_t>, __rc_string_base> __u32rc_string;
|
| /prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/ |
| vstring_fwd.h | 37 #include <bits/allocator.h> 50 typename _Alloc = std::allocator<_CharT>, 59 std::allocator<char>, __rc_string_base> __rc_string; 66 std::allocator<wchar_t>, __rc_string_base> __wrc_string; 76 std::allocator<char16_t>, __rc_string_base> __u16rc_string; 82 std::allocator<char32_t>, __rc_string_base> __u32rc_string;
|
| /frameworks/base/libs/hwui/ |
| BakedOpState.cpp | 33 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, 53 clipState = snapshot.serializeIntersectedClip(allocator, 78 auto localMask = allocator.create<SkPath>(); 85 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, 88 clipState = snapshot.serializeIntersectedClip(allocator, localClip, *(snapshot.transform)); 94 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot) 96 , clipState(snapshot.mutateClipArea().serializeClip(allocator)) 110 BakedOpState* BakedOpState::tryConstruct(LinearAllocator& allocator, 113 BakedOpState* bakedState = allocator.create_trivial<BakedOpState>( 114 allocator, snapshot, recordedOp, false) [all...] |
| BakedOpState.h | 55 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, 59 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, 63 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot); 106 static BakedOpState* tryConstruct(LinearAllocator& allocator, 109 static BakedOpState* tryConstructUnbounded(LinearAllocator& allocator, 119 static BakedOpState* tryStrokeableOpConstruct(LinearAllocator& allocator, 122 static BakedOpState* tryShadowOpConstruct(LinearAllocator& allocator, 125 static BakedOpState* directConstruct(LinearAllocator& allocator, 142 BakedOpState(LinearAllocator& allocator, Snapshot& snapshot, 144 : computedState(allocator, snapshot, recordedOp, expandForStroke [all...] |
| /ndk/sources/cxx-stl/stlport/stlport/stl/ |
| _alloc.h | 56 // Malloc-based allocator. Typically slower than default alloc below. 86 // New-based allocator. Typically slower than default alloc below. 96 // Allocator adaptor to check size arguments for debugging. 98 // NDEBUG, but it's far better to just use the underlying allocator 145 // Default node allocator. 175 /* macro to convert the allocator for initialization 179 * not used implicitly to convert allocator parameter, so let us do it explicitly */ 191 // Another allocator adaptor: _Alloc_traits. This serves two 193 // either SGI-style allocators or standard-conforming allocator. 270 class allocator //: public _AllocatorAux<_Tp class in inherits:__stlport_class 364 class _STLP_CLASS_DECLSPEC allocator<void> { class 388 _STLP_EXPORT_TEMPLATE_CLASS allocator<char>; variable 390 _STLP_EXPORT_TEMPLATE_CLASS allocator<wchar_t>; variable 393 _STLP_EXPORT_TEMPLATE_CLASS allocator<void*>; variable [all...] |
| /prebuilts/ndk/current/sources/cxx-stl/stlport/stlport/stl/ |
| _alloc.h | 56 // Malloc-based allocator. Typically slower than default alloc below. 86 // New-based allocator. Typically slower than default alloc below. 96 // Allocator adaptor to check size arguments for debugging. 98 // NDEBUG, but it's far better to just use the underlying allocator 145 // Default node allocator. 175 /* macro to convert the allocator for initialization 179 * not used implicitly to convert allocator parameter, so let us do it explicitly */ 191 // Another allocator adaptor: _Alloc_traits. This serves two 193 // either SGI-style allocators or standard-conforming allocator. 270 class allocator //: public _AllocatorAux<_Tp class in inherits:__stlport_class 364 class _STLP_CLASS_DECLSPEC allocator<void> { class 388 _STLP_EXPORT_TEMPLATE_CLASS allocator<char>; variable 390 _STLP_EXPORT_TEMPLATE_CLASS allocator<wchar_t>; variable 393 _STLP_EXPORT_TEMPLATE_CLASS allocator<void*>; variable [all...] |
| /external/libcxx/test/std/containers/sequences/deque/deque.cons/ |
| size.pass.cpp | 21 template <class T, class Allocator> 26 typedef std::deque<T, Allocator> C; 30 C d(n, Allocator()); 43 template <class T, class Allocator> 47 typedef std::deque<T, Allocator> C; 63 template <class T, class Allocator> 65 test3(unsigned n, Allocator const &alloc = Allocator()) 68 typedef std::deque<T, Allocator> C; 78 template <class T, class Allocator> [all...] |
| /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.cons/ |
| size.pass.cpp | 21 template <class T, class Allocator> 26 typedef std::deque<T, Allocator> C; 30 C d(n, Allocator()); 43 template <class T, class Allocator> 47 typedef std::deque<T, Allocator> C; 63 template <class T, class Allocator> 65 test3(unsigned n, Allocator const &alloc = Allocator()) 68 typedef std::deque<T, Allocator> C; 78 template <class T, class Allocator> [all...] |