| /system/core/libmemunreachable/ |
| Binder.cpp | 37 static bool BinderReferencesToVector(allocator::vector<uintptr_t>& refs, 60 bool BinderReferences(allocator::vector<uintptr_t>& refs) { 63 allocator::vector<uintptr_t> binder_refs{refs.get_allocator()}; 70 allocator::vector<uintptr_t> hwbinder_refs{refs.get_allocator()};
|
| MemUnreachable.cpp | 30 #include "Allocator.h" 54 MemUnreachable(pid_t pid, Allocator<void> allocator) 55 : pid_(pid), allocator_(allocator), heap_walker_(allocator_) {} 56 bool CollectAllocations(const allocator::vector<ThreadInfo>& threads, 57 const allocator::vector<Mapping>& mappings, 58 const allocator::vector<uintptr_t>& refs); 59 bool GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, size_t* num_leaks, 65 bool ClassifyMappings(const allocator::vector<Mapping>& mappings, 66 allocator::vector<Mapping>& heap_mappings [all...] |
| /external/tensorflow/tensorflow/core/kernels/ |
| fused_batch_norm_op_test.cc | 17 #include "tensorflow/core/framework/allocator.h" 52 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 6, 2})); 57 Tensor expected_mean(allocator(), DT_FLOAT, TensorShape({2})); 61 Tensor expected_variance(allocator(), DT_FLOAT, TensorShape({2})); 86 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 6, 2})); 114 Tensor expected_x(allocator(), DT_FLOAT, TensorShape({1, 1, 6, 2})); 119 Tensor expected_scale(allocator(), DT_FLOAT, TensorShape({2})); 123 Tensor expected_offset(allocator(), DT_FLOAT, TensorShape({2}));
|
| identity_n_op_test.cc | 45 Tensor expected0(allocator(), DT_INT32, TensorShape({6})); 48 Tensor expected1(allocator(), DT_DOUBLE, TensorShape({6})); 58 Tensor expected(allocator(), DT_INT32, TensorShape({2, 3})); 70 Tensor expected0(allocator(), DT_STRING, TensorShape({6})); 73 Tensor expected1(allocator(), DT_INT32, TensorShape({8}));
|
| immutable_constant_op.cc | 23 class MemmappedTensorAllocator : public Allocator { 70 // When the allocator is owned by TensorBuffer it will be deleted on 87 std::unique_ptr<MemmappedTensorAllocator> allocator( 91 allocator->InitializeFromRegion(region_name_, ctx->env())); 92 ctx->set_output(0, Tensor(allocator.get(), dtype_, shape_)); 93 OP_REQUIRES_OK(ctx, allocator->allocation_status()); 94 // Allocator is owned by the tensor from this point. 95 allocator.release()->set_delete_on_deallocate();
|
| quantize_op_test.cc | 47 Tensor expected(allocator(), DT_QUINT8, TensorShape({7})); 68 Tensor expected(allocator(), DT_QUINT8, TensorShape({8})); 77 Tensor expected_output_min(allocator(), DT_FLOAT, TensorShape({})); 81 Tensor expected_output_max(allocator(), DT_FLOAT, TensorShape({})); 99 Tensor expected(allocator(), DT_QUINT8, TensorShape({3})); 107 Tensor expected_output_min(allocator(), DT_FLOAT, TensorShape({})); 111 Tensor expected_output_max(allocator(), DT_FLOAT, TensorShape({})); 130 Tensor expected(allocator(), DT_QINT8, TensorShape({7})); 137 Tensor expected_output_min(allocator(), DT_FLOAT, TensorShape({})); 141 Tensor expected_output_max(allocator(), DT_FLOAT, TensorShape({})) [all...] |
| colorspace_op_test.cc | 16 #include "tensorflow/core/framework/allocator.h" 46 Tensor expected(allocator(), data_type, TensorShape({3})); 56 Tensor expected(allocator(), data_type, TensorShape({3})); 66 Tensor expected(allocator(), data_type, TensorShape({3})); 80 Tensor expected(allocator(), data_type, TensorShape({3})); 94 Tensor expected(allocator(), data_type, TensorShape({3})); 108 Tensor expected(allocator(), data_type, TensorShape({3})); 121 Tensor expected(allocator(), data_type, TensorShape({3})); 142 Tensor expected(allocator(), data_type, TensorShape({3})); 152 Tensor expected(allocator(), data_type, TensorShape({3})) [all...] |
| sequence_ops_test.cc | 16 #include "tensorflow/core/framework/allocator.h" 65 Tensor expected(allocator(), DT_INT32, TensorShape({5})); 80 Tensor expected(allocator(), DT_FLOAT, TensorShape({5})); 95 Tensor expected(allocator(), DT_DOUBLE, TensorShape({20000})); 112 Tensor expected(allocator(), DT_FLOAT, TensorShape({3})); 127 Tensor expected(allocator(), DT_FLOAT, TensorShape({1})); 142 Tensor expected(allocator(), DT_DOUBLE, TensorShape({6}));
|
| /external/compiler-rt/lib/sanitizer_common/tests/ |
| sanitizer_allocator_testlib.cc | 46 SecondaryAllocator> Allocator; 48 static Allocator allocator; member in namespace:__anon17201 59 allocator.SwallowCache(&cache); 65 allocator.Init(false /*may_return_null*/); 78 void *p = allocator.Allocate(&cache, size, 8); 87 allocator.Deallocate(&cache, p); 94 void *p = allocator.Allocate(&cache, size, 8, false); 106 p = allocator.Reallocate(&cache, p, size, 8); 116 void *p = allocator.Allocate(&cache, size, alignment) [all...] |
| /art/compiler/trampolines/ |
| trampoline_compiler.cc | 60 ArenaAllocator* allocator, EntryPointCallingConvention abi, ThreadOffset32 offset) { 64 ArmVIXLAssembler assembler(allocator); 101 ArenaAllocator* allocator, EntryPointCallingConvention abi, ThreadOffset64 offset) { 102 Arm64Assembler assembler(allocator); 140 ArenaAllocator* allocator, EntryPointCallingConvention abi, ThreadOffset32 offset) { 141 MipsAssembler assembler(allocator); 172 ArenaAllocator* allocator, EntryPointCallingConvention abi, ThreadOffset64 offset) { 173 Mips64Assembler assembler(allocator); 203 static std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline(ArenaAllocator* allocator, 205 X86Assembler assembler(allocator); [all...] |
| /external/clang/test/CodeGenCXX/ |
| global-init.cpp | 58 struct allocator { allocator(); ~allocator(); }; struct in namespace:test2 59 struct A { A(const allocator &a = allocator()); ~A(); };
|
| mangle-subst-std.cpp | 25 template<typename> struct allocator { }; struct in namespace:std 29 void f(std::allocator<char>, std::allocator<int>) { } 41 typedef std::basic_string<char, std::char_traits<char>, std::allocator<char> > string; 96 typedef basic_string<char, std::char_traits<char>, std::allocator<char> > not_string;
|
| /external/compiler-rt/lib/sanitizer_common/ |
| sanitizer_symbolizer_posix_libcdep.cc | 278 LowLevelAllocator *allocator) 279 : addr2line_path_(addr2line_path), allocator_(allocator), 412 static SymbolizerTool *ChooseExternalSymbolizer(LowLevelAllocator *allocator) { 420 return new(*allocator) LLVMSymbolizer(path, allocator); 424 return new(*allocator) AtosSymbolizer(path, allocator); 431 return new(*allocator) Addr2LinePool(path, allocator); 443 return new(*allocator) LLVMSymbolizer(found_path, allocator) [all...] |
| /art/compiler/optimizing/ |
| nodes_vector.h | 75 ArenaAllocator* allocator, 84 allocator, 205 ArenaAllocator* allocator, 211 allocator, 232 ArenaAllocator* allocator, 239 allocator, 263 ArenaAllocator* allocator, 270 allocator, 324 HVecReplicateScalar(ArenaAllocator* allocator, 330 kVecReplicateScalar, allocator, scalar, packed_type, vector_length, dex_pc) [all...] |
| stack_map_stream.h | 63 explicit StackMapStream(ScopedArenaAllocator* allocator, InstructionSet instruction_set) 64 : allocator_(allocator), 66 stack_maps_(allocator->Adapter(kArenaAllocStackMapStream)), 67 location_catalog_entries_(allocator->Adapter(kArenaAllocStackMapStream)), 68 location_catalog_entries_indices_(allocator->Adapter(kArenaAllocStackMapStream)), 69 dex_register_locations_(allocator->Adapter(kArenaAllocStackMapStream)), 70 inline_infos_(allocator->Adapter(kArenaAllocStackMapStream)), 71 stack_masks_(allocator->Adapter(kArenaAllocStackMapStream)), 72 register_masks_(allocator->Adapter(kArenaAllocStackMapStream)), 73 method_indices_(allocator->Adapter(kArenaAllocStackMapStream)) [all...] |
| bounds_check_elimination_test.cc | 359 ArenaAllocator* allocator, 363 HBasicBlock* entry = new (allocator) HBasicBlock(graph); 366 HInstruction* parameter = new (allocator) HParameterValue( 374 HBasicBlock* block = new (allocator) HBasicBlock(graph); 377 block->AddInstruction(new (allocator) HGoto()); 379 HBasicBlock* loop_header = new (allocator) HBasicBlock(graph); 380 HBasicBlock* loop_body = new (allocator) HBasicBlock(graph); 381 HBasicBlock* exit = new (allocator) HBasicBlock(graph); 391 HPhi* phi = new (allocator) HPhi(allocator, 0, 0, DataType::Type::kInt32) [all...] |
| /external/v8/src/base/ |
| hashmap.h | 41 AllocationPolicy allocator = AllocationPolicy()); 46 AllocationPolicy allocator = AllocationPolicy()); 58 AllocationPolicy allocator = AllocationPolicy()); 65 AllocationPolicy allocator = AllocationPolicy()); 68 AllocationPolicy allocator = AllocationPolicy()); 105 void Reset(AllocationPolicy allocator) { 106 Initialize(capacity_, allocator); 111 void Initialize(uint32_t capacity, AllocationPolicy allocator); 125 AllocationPolicy allocator = AllocationPolicy()); 126 void Resize(AllocationPolicy allocator); 173 return LookupOrInsert(key, hash, []() { return Value(); }, allocator); member in namespace:v8::base [all...] |
| /external/google-breakpad/src/common/ |
| memory.h | 56 // This is very simple allocator which fetches pages from the kernel directly. 103 // Checks whether the page allocator owns the passed-in pointer. 164 struct PageStdAllocator : public std::allocator<T> { 165 typedef typename std::allocator<T>::pointer pointer; 166 typedef typename std::allocator<T>::size_type size_type; 168 explicit PageStdAllocator(PageAllocator& allocator): allocator_(allocator) {} 199 wasteful_vector(PageAllocator* allocator, unsigned size_hint = 16) 200 : std::vector<T, PageStdAllocator<T> >(PageStdAllocator<T>(*allocator)) { 208 google_breakpad::PageAllocator& allocator) { [all...] |
| /art/compiler/jni/quick/ |
| calling_convention.cc | 50 ArenaAllocator* allocator, 60 new (allocator) arm::ArmManagedRuntimeCallingConvention( 66 new (allocator) arm64::Arm64ManagedRuntimeCallingConvention( 72 new (allocator) mips::MipsManagedRuntimeCallingConvention( 78 new (allocator) mips64::Mips64ManagedRuntimeCallingConvention( 84 new (allocator) x86::X86ManagedRuntimeCallingConvention( 90 new (allocator) x86_64::X86_64ManagedRuntimeCallingConvention( 151 std::unique_ptr<JniCallingConvention> JniCallingConvention::Create(ArenaAllocator* allocator, 162 new (allocator) arm::ArmJniCallingConvention( 168 new (allocator) arm64::Arm64JniCallingConvention [all...] |
| /external/tensorflow/tensorflow/core/framework/ |
| log_memory.cc | 79 void* ptr, Allocator* allocator) { 85 allocation.set_allocation_id(allocator->AllocationId(ptr)); 86 allocation.set_allocator_name(allocator->Name()); 92 Allocator* allocator, bool deferred) { 96 deallocation.set_allocation_id(allocator->AllocationId(ptr)); 97 deallocation.set_allocator_name(allocator->Name());
|
| /frameworks/base/libs/hwui/tests/unit/ |
| ClipAreaTests.cpp | 124 LinearAllocator allocator; local 127 EXPECT_EQ(nullptr, area.serializeClip(allocator)); 132 auto serializedClip = area.serializeClip(allocator); 137 EXPECT_EQ(serializedClip, area.serializeClip(allocator)) 146 auto serializedClip = area.serializeClip(allocator); 153 EXPECT_EQ(serializedClip, area.serializeClip(allocator)) 162 auto serializedClip = area.serializeClip(allocator); 170 EXPECT_EQ(serializedClip, area.serializeClip(allocator)) 177 LinearAllocator allocator; local 182 auto serializedClip = area.serializeClip(allocator); 189 LinearAllocator allocator; local 263 LinearAllocator allocator; local 287 LinearAllocator allocator; local [all...] |
| /frameworks/native/vulkan/nulldrv/ |
| null_driver.cpp | 40 VkAllocationCallbacks allocator; member in struct:VkInstance_T 100 VkAllocationCallbacks allocator; member in struct:VkDevice_T 293 const VkAllocationCallbacks* allocator, 295 if (!allocator) 296 allocator = &kDefaultAllocCallbacks; 299 static_cast<VkInstance_T*>(allocator->pfnAllocation( 300 allocator->pUserData, sizeof(VkInstance_T), alignof(VkInstance_T), 306 instance->allocator = *allocator; 343 const VkAllocationCallbacks* /*allocator*/) { 707 VkAllocationCallbacks allocator; member in struct:null_driver::CommandPool [all...] |
| /external/deqp/external/vulkancts/framework/vulkan/ |
| vkBufferWithMemory.hpp | 41 vk::Allocator& allocator, 46 , m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement))
|
| vkImageWithMemory.hpp | 40 vk::Allocator& allocator, 45 , m_allocation (allocator.allocate(getImageMemoryRequirements(vk, device, *m_image), memoryRequirement))
|
| /external/deqp/external/vulkancts/modules/vulkan/api/ |
| vktApiComputeInstanceResultBuffer.hpp | 48 vk::Allocator &allocator, 62 vk::Allocator &allocator,
|