| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/ |
| debug_mode_helper.h | 154 "the container must use a test allocator"); 354 // Allocator aware tests
|
| /system/core/libmemunreachable/ |
| ProcessMappings.cpp | 32 bool ProcessMappings(pid_t pid, allocator::vector<Mapping>& mappings) {
|
| /test/vts/compilation_tools/vtsc/test/golden/DRIVER/ |
| MemoryTest.driver.cpp | 4 #include <android/hidl/allocator/1.0/IAllocator.h> 129 sp<::android::hidl::allocator::V1_0::IAllocator> ashmemAllocator = ::android::hidl::allocator::V1_0::IAllocator::getService("ashmem"); 156 sp<::android::hidl::allocator::V1_0::IAllocator> ashmemAllocator = ::android::hidl::allocator::V1_0::IAllocator::getService("ashmem"); 193 sp<::android::hidl::allocator::V1_0::IAllocator> ashmemAllocator = ::android::hidl::allocator::V1_0::IAllocator::getService("ashmem");
|
| /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
| documenttest.cpp | 69 template <typename Allocator, typename StackAllocator>
71 typedef GenericDocument<UTF8<>, Allocator, StackAllocator> DocumentType;
223 // reset document, including allocator
345 template <typename Allocator>
353 typedef TypeParam Allocator;
354 typedef GenericDocument<UTF8<>, Allocator> Document;
355 Allocator allocator;
local 357 Document a(&allocator);
362 EXPECT_EQ(&a.GetAllocator(), &allocator);
448 Allocator allocator; local [all...] |
| /external/vulkan-validation-layers/include/vulkan/ |
| vulkan.hpp | 270 template <class Allocator = std::allocator<typename std::remove_const<T>::type>> 271 ArrayProxy(std::vector<typename std::remove_const<T>::type, Allocator> & data) 276 template <class Allocator = std::allocator<typename std::remove_const<T>::type>> 277 ArrayProxy(std::vector<typename std::remove_const<T>::type, Allocator> const& data) [all...] |
| /external/libchrome/base/ |
| feature_list.cc | 31 // An allocator entry for a feature in shared memory. The FeatureEntry is 97 PersistentMemoryAllocator* allocator) { 100 PersistentMemoryAllocator::Iterator iter(allocator); 158 void FeatureList::AddFeaturesToAllocator(PersistentMemoryAllocator* allocator) { 168 FeatureEntry* entry = allocator->New<FeatureEntry>(total_size); 178 allocator->MakeIterable(entry);
|
| /external/libchrome/base/trace_event/ |
| malloc_dump_provider.cc | 9 #include "base/allocator/allocator_extension.h" 10 #include "base/allocator/allocator_shim.h" 11 #include "base/allocator/features.h" 36 using allocator::AllocatorDispatch; 205 allocator::GetNumericProperty("generic.heap_size", &total_virtual_size); 207 res = allocator::GetNumericProperty("generic.total_physical_bytes", 210 res = allocator::GetNumericProperty("generic.current_allocated_bytes", 327 allocator::InsertAllocatorDispatch(&g_allocator_hooks);
|
| /art/compiler/optimizing/ |
| register_allocator_graph_color.cc | 434 ScopedArenaAllocator* allocator, 438 allocator_(allocator), 441 interval_node_map_(allocator->Adapter(kArenaAllocRegisterAllocator)), 442 prunable_nodes_(allocator->Adapter(kArenaAllocRegisterAllocator)), 443 pruned_nodes_(allocator->Adapter(kArenaAllocRegisterAllocator)), 444 simplify_worklist_(allocator->Adapter(kArenaAllocRegisterAllocator)), 445 freeze_worklist_(allocator->Adapter(kArenaAllocRegisterAllocator)), 446 spill_worklist_(HasGreaterNodePriority, allocator->Adapter(kArenaAllocRegisterAllocator)), 448 allocator->Adapter(kArenaAllocRegisterAllocator)), 449 adjacent_nodes_links_(allocator->Adapter(kArenaAllocRegisterAllocator)) [all...] |
| code_generator.cc | 151 ScopedArenaAllocator allocator(arena_stack); 152 void* memory = allocator.Alloc<CodeGenerationData>(kArenaAllocCodeGenerator); 154 ::new (memory) CodeGenerationData(std::move(allocator), instruction_set)); 204 CodeGenerationData(ScopedArenaAllocator&& allocator, InstructionSet instruction_set) 205 : allocator_(std::move(allocator)), 382 void CodeGenerator::Compile(CodeAllocator* allocator) { 385 // The register allocator already called `InitializeCodeGeneration`, 434 Finalize(allocator); 437 void CodeGenerator::Finalize(CodeAllocator* allocator) { 439 uint8_t* buffer = allocator->Allocate(code_size) 479 ArenaAllocator* allocator = invoke->GetBlock()->GetGraph()->GetAllocator(); local 581 ArenaAllocator* allocator = field_access->GetBlock()->GetGraph()->GetAllocator(); local 778 ArenaAllocator* allocator = graph->GetAllocator(); local 1100 ArenaAllocator* allocator = graph_->GetAllocator(); local 1598 ArenaAllocator* allocator = invoke->GetBlock()->GetGraph()->GetAllocator(); local [all...] |
| instruction_simplifier.cc | 286 ArenaAllocator* allocator = mul->GetBlock()->GetGraph()->GetAllocator(); local 319 new (allocator) HVecMultiplyAccumulate(allocator, 712 static HCondition* GetOppositeConditionSwapOps(ArenaAllocator* allocator, HInstruction* cond) { 717 return new (allocator) HEqual(rhs, lhs); 719 return new (allocator) HNotEqual(rhs, lhs); 721 return new (allocator) HGreaterThan(rhs, lhs); 723 return new (allocator) HGreaterThanOrEqual(rhs, lhs); 725 return new (allocator) HLessThan(rhs, lhs); 727 return new (allocator) HLessThanOrEqual(rhs, lhs) 1675 ArenaAllocator* allocator = GetGraph()->GetAllocator(); local 1917 ArenaAllocator* allocator = GetGraph()->GetAllocator(); local 2324 ArenaAllocator* allocator = GetGraph()->GetAllocator(); local 2668 ArenaAllocator* allocator = instruction->GetAllocator(); local [all...] |
| register_allocator_linear_scan.cc | 43 RegisterAllocatorLinearScan::RegisterAllocatorLinearScan(ScopedArenaAllocator* allocator, 46 : RegisterAllocator(allocator, codegen, liveness), 47 unhandled_core_intervals_(allocator->Adapter(kArenaAllocRegisterAllocator)), 48 unhandled_fp_intervals_(allocator->Adapter(kArenaAllocRegisterAllocator)), 50 handled_(allocator->Adapter(kArenaAllocRegisterAllocator)), 51 active_(allocator->Adapter(kArenaAllocRegisterAllocator)), 52 inactive_(allocator->Adapter(kArenaAllocRegisterAllocator)), 53 physical_core_register_intervals_(allocator->Adapter(kArenaAllocRegisterAllocator)), 54 physical_fp_register_intervals_(allocator->Adapter(kArenaAllocRegisterAllocator)), 55 temp_intervals_(allocator->Adapter(kArenaAllocRegisterAllocator)) [all...] |
| instruction_simplifier_mips.cc | 75 ArenaAllocator* allocator = graph->GetAllocator(); local 114 new (allocator) HIntermediateArrayAddressIndex(index, shift, kNoDexPc);
|
| scheduler_arm.h | 140 HSchedulerARM(ScopedArenaAllocator* allocator, 143 : HScheduler(allocator, arm_latency_visitor, selector) {}
|
| scheduler_arm64.h | 134 HSchedulerARM64(ScopedArenaAllocator* allocator, SchedulingNodeSelector* selector) 135 : HScheduler(allocator, &arm64_latency_visitor_, selector) {}
|
| /external/skia/tests/ |
| PathOpsAngleTest.cpp | 242 SkSTArenaAlloc<4096> allocator; 244 SkOpGlobalState state(&contour, &allocator SkDEBUGPARAMS(false) SkDEBUGPARAMS(nullptr)); 434 SkSTArenaAlloc<4096> allocator; local 436 SkOpGlobalState state(&contour, &allocator SkDEBUGPARAMS(false) SkDEBUGPARAMS(nullptr)); 442 allocator.reset(); 446 SkPoint* temp = (SkPoint*) allocator.make<FourPoints>(); 486 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); 506 SkSTArenaAlloc<4096> allocator; local 508 SkOpGlobalState state(&contour, &allocator SkDEBUGPARAMS(false) SkDEBUGPARAMS(nullptr)); 519 // contour.addConic(conicPts, 0.999935746f, &allocator); [all...] |
| /external/skqp/tests/ |
| PathOpsAngleTest.cpp | 242 SkSTArenaAlloc<4096> allocator; 244 SkOpGlobalState state(&contour, &allocator SkDEBUGPARAMS(false) SkDEBUGPARAMS(nullptr)); 434 SkSTArenaAlloc<4096> allocator; local 436 SkOpGlobalState state(&contour, &allocator SkDEBUGPARAMS(false) SkDEBUGPARAMS(nullptr)); 442 allocator.reset(); 446 SkPoint* temp = (SkPoint*) allocator.make<FourPoints>(); 486 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); 506 SkSTArenaAlloc<4096> allocator; local 508 SkOpGlobalState state(&contour, &allocator SkDEBUGPARAMS(false) SkDEBUGPARAMS(nullptr)); 519 // contour.addConic(conicPts, 0.999935746f, &allocator); [all...] |
| /frameworks/base/libs/hwui/ |
| ClipArea.cpp | 345 const ClipBase* ClipArea::serializeClip(LinearAllocator& allocator) { 360 serialization = allocator.create<ClipRect>(mClipRect); 363 serialization = allocator.create<ClipRectList>(mRectangleList); 367 serialization = allocator.create<ClipRegion>(mClipRegion); 401 const ClipBase* ClipArea::serializeIntersectedClip(LinearAllocator& allocator, 405 if (!recordedClip) return serializeClip(allocator); 418 auto rectClip = allocator.create<ClipRect>(recordedClip->rect); 452 ClipRegion* regionClip = allocator.create<ClipRegion>(); 469 auto rectListClip = allocator.create<ClipRectList>(mRectangleList);
|
| /device/google/contexthub/firmware/os/inc/ |
| syscallDo.h | 205 static inline void eOsSlabAllocatorDestroy(struct SlabAllocator* allocator) 207 (void)syscallDo1P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SLAB, SYSCALL_OS_MAIN_SLAB_DESTROY), allocator); local 210 static inline void* eOsSlabAllocatorAlloc(struct SlabAllocator* allocator) 212 return (void *)syscallDo1P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SLAB, SYSCALL_OS_MAIN_SLAB_ALLOC), allocator); 215 static inline void eOsSlabAllocatorFree(struct SlabAllocator* allocator, void* ptrP) 217 (void)syscallDo2P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SLAB, SYSCALL_OS_MAIN_SLAB_FREE), allocator, ptrP); local
|
| /external/deqp/external/vulkancts/modules/vulkan/geometry/ |
| vktGeometryTestsUtil.hpp | 58 vk::Allocator& allocator, 63 , m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement)) 86 vk::Allocator& allocator, 91 , m_allocation (allocator.allocate(getImageMemoryRequirements(vk, device, *m_image), memoryRequirement)) 179 de::MovePtr<vk::Allocation> bindImage (const vk::DeviceInterface& vk, const vk::VkDevice device, vk::Allocator& allocator, const vk::VkImage image, const vk::MemoryRequirement requirement); 180 de::MovePtr<vk::Allocation> bindBuffer (const vk::DeviceInterface& vk, const vk::VkDevice device, vk::Allocator& allocator, const vk::VkBuffer buffer, const vk::MemoryRequirement requirement) [all...] |
| /external/skia/src/pathops/ |
| SkPathOpsWinding.cpp | 104 SkArenaAlloc* allocator) { 114 testSegment->rayCheck(base, dir, hits, allocator); 119 SkArenaAlloc* allocator) { 177 SkOpRayHit* newHit = allocator->make<SkOpRayHit>(); 236 SkSTArenaAlloc<1024> allocator; local 255 contour->rayCheck(hitBase, dir, &hitHead, &allocator);
|
| /external/skqp/src/pathops/ |
| SkPathOpsWinding.cpp | 104 SkArenaAlloc* allocator) { 114 testSegment->rayCheck(base, dir, hits, allocator); 119 SkArenaAlloc* allocator) { 177 SkOpRayHit* newHit = allocator->make<SkOpRayHit>(); 236 SkSTArenaAlloc<1024> allocator; local 255 contour->rayCheck(hitBase, dir, &hitHead, &allocator);
|
| /prebuilts/go/darwin-x86/src/runtime/ |
| mfixalloc.go | 5 // Fixed-size object allocator. Returned memory is not zeroed. 13 // FixAlloc is a simple free-list allocator for fixed size objects. 51 // using the allocator to obtain chunks of memory.
|
| /prebuilts/go/linux-x86/src/runtime/ |
| mfixalloc.go | 5 // Fixed-size object allocator. Returned memory is not zeroed. 13 // FixAlloc is a simple free-list allocator for fixed size objects. 51 // using the allocator to obtain chunks of memory.
|
| /art/runtime/verifier/ |
| reg_type-inl.h | 211 inline void* RegType::operator new(size_t size, ScopedArenaAllocator* allocator) { 212 return allocator->Alloc(size, kArenaAllocMisc);
|
| /build/make/target/product/ |
| embedded.mk | 25 android.hidl.allocator@1.0-service \
|