| /art/compiler/optimizing/ |
| intrinsics_x86_64.cc | 131 static void CreateFPToIntLocations(ArenaAllocator* allocator, HInvoke* invoke) { 133 new (allocator) LocationSummary(invoke, LocationSummary::kNoCall, kIntrinsified); 138 static void CreateIntToFPLocations(ArenaAllocator* allocator, HInvoke* invoke) { 140 new (allocator) LocationSummary(invoke, LocationSummary::kNoCall, kIntrinsified); 185 static void CreateIntToIntLocations(ArenaAllocator* allocator, HInvoke* invoke) { 187 new (allocator) LocationSummary(invoke, LocationSummary::kNoCall, kIntrinsified); 243 static void CreateFloatToFloatPlusTemps(ArenaAllocator* allocator, HInvoke* invoke) { 246 new (allocator) LocationSummary(invoke, LocationSummary::kNoCall, kIntrinsified); 289 static void CreateIntToIntPlusTemp(ArenaAllocator* allocator, HInvoke* invoke) { 291 new (allocator) LocationSummary(invoke, LocationSummary::kNoCall, kIntrinsified) [all...] |
| induction_var_range.cc | 421 ArenaAllocator* allocator = graph->GetAllocator(); local 422 trip_expr = Insert(block, new (allocator) HSelect(taken_test, trip_expr, zero, kNoDexPc)); 1108 ArenaAllocator* allocator = graph->GetAllocator(); local 1195 ArenaAllocator* allocator = graph->GetAllocator(); local 1207 ArenaAllocator* allocator = graph->GetAllocator(); local 1313 ArenaAllocator* allocator = graph->GetAllocator(); local 1340 ArenaAllocator* allocator = graph->GetAllocator(); local [all...] |
| /external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
| vktSynchronizationOperation.cpp | 96 Allocator& allocator = context.getAllocator(); local 112 m_vertexBuffer = de::MovePtr<Buffer>(new Buffer(vk, device, allocator, makeBufferCreateInfo(vertexDataSizeBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible)); 128 m_indexBuffer = de::MovePtr<Buffer>(new Buffer(vk, device, allocator, makeBufferCreateInfo(indexBufferSizeBytes, VK_BUFFER_USAGE_INDEX_BUFFER_BIT), MemoryRequirement::HostVisible)); 597 Allocator& allocator = m_context.getAllocator(); local 600 m_hostBuffer = de::MovePtr<Buffer>(new Buffer(vk, device, allocator, makeBufferCreateInfo(m_resource.getBuffer().size, hostBufferUsage), MemoryRequirement::HostVisible)); 702 Allocator& allocator = m_context.getAllocator(); local 705 vk, device, allocator, makeBufferCreateInfo(m_bufferSize, VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_DS (…) 986 Allocator& allocator = context.getAllocator(); local 1083 Allocator& allocator = context.getAllocator(); local 1150 Allocator& allocator = m_context.getAllocator(); local 1277 Allocator& allocator = m_context.getAllocator(); local 1777 Allocator& allocator = m_context.getAllocator(); local 1837 Allocator& allocator = m_context.getAllocator(); local 1970 Allocator& allocator = m_context.getAllocator(); local 2055 Allocator& allocator = m_context.getAllocator(); local 2274 Allocator& allocator = context.getAllocator(); local 2764 Allocator& allocator = context.getAllocator(); local 2906 Allocator& allocator = m_context.getAllocator(); local 3208 Allocator& allocator = context.getAllocator(); local 3461 Allocator& allocator = context.getAllocator(); local [all...] |
| /art/runtime/jit/ |
| profile_compilation_info.h | 139 explicit DexPcData(ArenaAllocator* allocator) 142 classes(std::less<ClassReference>(), allocator->Adapter(kArenaAllocProfile)) {} 467 DexFileData(ArenaAllocator* allocator, 472 : allocator_(allocator), 476 method_map(std::less<uint16_t>(), allocator->Adapter(kArenaAllocProfile)), 477 class_set(std::less<dex::TypeIndex>(), allocator->Adapter(kArenaAllocProfile)), 479 bitmap_storage(allocator->Adapter(kArenaAllocProfile)) { 512 // The allocator used to allocate new inline cache maps. [all...] |
| profile_saver.cc | 300 ScopedArenaAllocator* allocator, 338 ScopedArenaVector<ObjPtr<mirror::Class>> classes(allocator->Adapter()); 392 ScopedArenaAllocator allocator(&stack); 393 MethodReferenceCollection hot_methods(allocator.Adapter(), allocator.Adapter()); 394 MethodReferenceCollection sampled_methods(allocator.Adapter(), allocator.Adapter()); 395 TypeReferenceCollection resolved_classes(allocator.Adapter(), allocator.Adapter()); 407 &allocator, [all...] |
| /external/skia/src/core/ |
| SkBitmap.cpp | 211 bool SkBitmap::tryAllocPixels(Allocator* allocator) { 214 if (nullptr == allocator) { 215 allocator = &stdalloc; 217 return allocator->allocPixelRef(this); 332 /** We explicitly use the same allocator for our pixels that SkMask does, 532 Allocator *allocator, SkIPoint* offset) const { 555 if (!tmpBitmap.tryAllocPixels(allocator)) { 579 if (!tmpBitmap.tryAllocPixels(allocator)) { [all...] |
| /external/skqp/src/core/ |
| SkBitmap.cpp | 211 bool SkBitmap::tryAllocPixels(Allocator* allocator) { 214 if (nullptr == allocator) { 215 allocator = &stdalloc; 217 return allocator->allocPixelRef(this); 332 /** We explicitly use the same allocator for our pixels that SkMask does, 531 Allocator *allocator, SkIPoint* offset) const { 554 if (!tmpBitmap.tryAllocPixels(allocator)) { 578 if (!tmpBitmap.tryAllocPixels(allocator)) { [all...] |
| /external/deqp/external/vulkancts/modules/vulkan/image/ |
| vktImageCompressionTranscodingSupport.cpp | 433 Allocator& allocator = m_context.getDefaultAllocator(); local 447 imageData[imageNdx].addImage(MovePtr<Image>(new Image(vk, device, allocator, imageData[imageNdx].getImageInfo(infoNdx), MemoryRequirement::Any))); 556 Allocator& allocator = m_context.getDefaultAllocator(); local 558 Buffer imageBuffer (vk, device, allocator, 730 Allocator& allocator = m_context.getDefaultAllocator(); local 733 Buffer imageBufferResult (vk, device, allocator, 887 Allocator& allocator = m_context.getDefaultAllocator(); local 1484 Allocator& allocator = m_context.getDefaultAllocator(); local 1504 Allocator& allocator = m_context.getDefaultAllocator(); local 1638 Allocator& allocator = m_context.getDefaultAllocator(); local 1845 Allocator& allocator = m_context.getDefaultAllocator(); local 2060 Allocator& allocator = m_context.getDefaultAllocator(); local 2200 Allocator& allocator = m_context.getDefaultAllocator(); local [all...] |
| vktImageSizeTests.cpp | 273 Allocator& allocator = m_context.getDefaultAllocator(); local 278 vk, device, allocator, 361 Allocator& allocator = m_context.getDefaultAllocator(); local 365 m_image = de::MovePtr<Image>(new Image(vk, device, allocator, makeImageCreateInfo(m_texture, m_format), MemoryRequirement::Any)); 437 Allocator& allocator = m_context.getDefaultAllocator(); local 442 m_imageBuffer = de::MovePtr<Buffer>(new Buffer(vk, device, allocator,
|
| /external/deqp/external/vulkancts/modules/vulkan/compute/ |
| vktComputeBasicComputeShaderTests.cpp | 196 Allocator& allocator = m_context.getDefaultAllocator(); local 204 const Buffer buffer(vk, device, allocator, makeBufferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); 367 Allocator& allocator = m_context.getDefaultAllocator(); local 375 const Buffer buffer(vk, device, allocator, makeBufferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); 540 Allocator& allocator = m_context.getDefaultAllocator(); local 548 const Buffer buffer(vk, device, allocator, makeBufferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); 705 Allocator& allocator = m_context.getDefaultAllocator() [all...] |
| /external/v8/src/compiler/ |
| graph-visualizer.cc | 21 #include "src/compiler/register-allocator.h" 245 AccountingAllocator allocator; local 246 Zone tmp_zone(&allocator, ZONE_NAME); 639 AccountingAllocator allocator; local 640 Zone tmp_zone(&allocator, ZONE_NAME); 647 AccountingAllocator allocator; local 648 Zone tmp_zone(&allocator, ZONE_NAME); 657 AccountingAllocator allocator; local 658 Zone tmp_zone(&allocator, ZONE_NAME); 668 AccountingAllocator allocator; local [all...] |
| /external/python/cpython3/Objects/ |
| obmalloc.c | 258 /* unknown allocator */ 334 PyMem_GetAllocator(PyMemAllocatorDomain domain, PyMemAllocatorEx *allocator) 338 case PYMEM_DOMAIN_RAW: *allocator = _PyMem_Raw; break; 339 case PYMEM_DOMAIN_MEM: *allocator = _PyMem; break; 340 case PYMEM_DOMAIN_OBJ: *allocator = _PyObject; break; 343 allocator->ctx = NULL; 344 allocator->malloc = NULL; 345 allocator->calloc = NULL; 346 allocator->realloc = NULL; 347 allocator->free = NULL [all...] |
| /external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
| vktTessellationGeometryPassthroughTests.cpp | 427 Allocator& allocator = m_context.getDefaultAllocator(); local 430 const Buffer tessLevelsBuffer (vk, device, allocator, makeBufferCreateInfo(sizeof(TessLevels), VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); 444 const Buffer vertexBuffer (vk, device, allocator, makeBufferCreateInfo(vertexDataSizeBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible); 474 const Image colorAttachmentImage (vk, device, allocator, 482 const Buffer colorBuffer1 (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); 483 const Buffer colorBuffer2 (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible);
|
| /external/libchrome/base/ |
| feature_list_unittest.cc | 483 // Create an allocator and store the overrides. 486 SharedPersistentMemoryAllocator allocator(std::move(shm), 1, "", false); 487 feature_list->AddFeaturesToAllocator(&allocator); 497 feature_list2->InitializeFromSharedMemory(&allocator); 518 // Create an allocator and store the overrides. 521 SharedPersistentMemoryAllocator allocator(std::move(shm), 1, "", false); 522 feature_list->AddFeaturesToAllocator(&allocator); 525 feature_list2->InitializeFromSharedMemory(&allocator);
|
| /frameworks/native/libs/ui/ |
| GraphicBuffer.cpp | 109 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); 110 allocator.free(handle); 146 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); 147 allocator.free(handle); 168 GraphicBufferAllocator& allocator = GraphicBufferAllocator::get(); local 170 status_t err = allocator.allocate(inWidth, inHeight, inFormat, inLayerCount,
|
| /art/compiler/utils/arm64/ |
| jni_macro_assembler_arm64.h | 45 explicit Arm64JNIMacroAssembler(ArenaAllocator* allocator) 46 : JNIMacroAssemblerFwd(allocator), 47 exception_blocks_(allocator->Adapter(kArenaAllocAssembler)) {}
|
| /art/libartbase/base/ |
| safe_map.h | 31 typename Allocator = std::allocator<std::pair<const K, V>>> 34 typedef SafeMap<K, V, Comparator, Allocator> Self; 37 typedef typename ::std::map<K, V, Comparator, Allocator>::key_compare key_compare; 38 typedef typename ::std::map<K, V, Comparator, Allocator>::value_compare value_compare; 39 typedef typename ::std::map<K, V, Comparator, Allocator>::allocator_type allocator_type; 40 typedef typename ::std::map<K, V, Comparator, Allocator>::iterator iterator; 41 typedef typename ::std::map<K, V, Comparator, Allocator>::const_iterator const_iterator; 42 typedef typename ::std::map<K, V, Comparator, Allocator>::size_type size_type; 43 typedef typename ::std::map<K, V, Comparator, Allocator>::key_type key_type [all...] |
| /dalvik/dx/src/com/android/dx/ssa/back/ |
| SsaToRop.java | 97 // allocator = new NullRegisterAllocator(ssaMeth, interference); 98 // allocator = new FirstFitAllocator(ssaMeth, interference); 100 RegisterAllocator allocator = local 104 RegisterMapper mapper = allocator.allocateRegisters(); 117 if (allocator.wantsParamsMovedHigh()) {
|
| /external/libchrome/base/metrics/ |
| field_trial.h | 551 // contain the shared memory handle that contains the field trial allocator. 608 // Grabs the lock if necessary and adds the field trial to the allocator. This 625 // Clears all the params in the allocator. 628 // Dumps field trial state to an allocator so that it can be analyzed after a 631 PersistentMemoryAllocator* allocator); 633 // Retrieves field trial state from an allocator so that it can be analyzed 635 // memory segment and so are only valid as long as the allocator is valid. 638 PersistentMemoryAllocator const& allocator); 669 // This function recreates the allocator, iterates through all the field 675 // Instantiate the field trial allocator, add all existing field trials to it [all...] |
| /external/libcxx/test/std/containers/sequences/list/list.cons/ |
| input_iterator.pass.cpp | 13 // list(InputIterator first, InputIterator last, const Allocator& = Allocator()); 41 std::allocator<int>()); 140 std::allocator<T> a; 159 std::allocator<T> a;
|
| /external/libcxx/test/support/ |
| uses_alloc_types.hpp | 21 // There are two forms of uses-allocator construction: 24 // 'UA_None' represents non-uses allocator construction. 60 // Implements form (1) of uses-allocator construction from the specified 62 // non-uses allocator construction from 'N' arguments. This test type 63 // blows up when form (2) of uses-allocator is even considered. 67 // Implements form (2) of uses-allocator construction from the specified 69 // non-uses allocator construction from 'N' arguments. 73 // Implements both form (1) and (2) of uses-allocator construction from 75 // provides non-uses allocator construction from 'N' arguments. 79 // Implements both form (1) and (2) of uses-allocator construction fro 158 Alloc allocator; member in struct:UsesAllocatorType::UsesAllocatorTestBaseStorage [all...] |
| /external/libvterm/src/ |
| vterm.c | 37 /* Need to bootstrap using the allocator function directly */ 40 vt->allocator = funcs; 75 return (*vt->allocator->malloc)(size, vt->allocdata); 80 (*vt->allocator->free)(ptr, vt->allocdata);
|
| /external/tensorflow/tensorflow/core/kernels/data/ |
| dense_to_sparse_batch_dataset_op.cc | 158 Tensor dense_shape(ctx->allocator({}), DT_INT64, {row_ndims + 1}); 218 Tensor indices(ctx->allocator({}), DT_INT64, 221 ctx->allocator({}),
|
| /external/tensorflow/tensorflow/core/kernels/ |
| reverse_op_test.cc | 22 #include "tensorflow/core/framework/allocator.h" 58 Tensor expected(allocator(), DataTypeToEnum<T>::value, TensorShape({})); 78 Tensor expected(allocator(), DataTypeToEnum<T>::value, 104 Tensor expected(allocator(), DataTypeToEnum<T>::value,
|
| /hardware/google/av/codec2/vndk/v4l2/ |
| C2VdaBqBlockPool.cpp | 71 C2VdaBqBlockPool::C2VdaBqBlockPool(const std::shared_ptr<C2Allocator>& allocator, 73 : C2BufferQueueBlockPool(allocator, localId), 74 mAllocator(allocator), 89 // Producer will not be configured in byte-buffer mode. Allocate buffers from allocator
|