/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
process_state.cc | 29 #include "tensorflow/core/framework/allocator.h" 106 Allocator* ProcessState::GetGPUAllocator(const GPUOptions& options, 122 // Validate allocator types. 124 LOG(ERROR) << "Invalid allocator type: " << allocator_type; 177 Allocator* ProcessState::GetCPUAllocator(int numa_node) { 193 VisitableAllocator* allocator; local 204 allocator = new BFCAllocator(new BasicCPUAllocator(), cpu_mem_limit, 208 << cpu_mem_limit_in_mb << " MB for ProcessState CPU allocator"; 210 allocator = new PoolAllocator( 213 VLOG(2) << "Using PoolAllocator for ProcessState CPU allocator"; 279 VisitableAllocator* allocator = local [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_mman.cc | 61 static char allocator_placeholder[sizeof(Allocator)] ALIGNED(64); 62 Allocator *allocator() { function in namespace:__tsan 63 return reinterpret_cast<Allocator*>(&allocator_placeholder); 114 allocator()->Init(common_flags()->allocator_may_return_null); 122 allocator()->InitCache(&proc->alloc_cache); 127 allocator()->DestroyCache(&proc->alloc_cache); 132 allocator()->PrintStats(); 151 return allocator()->ReturnNullOrDie(); 152 void *p = allocator()->Allocate(&thr->proc()->alloc_cache, sz, align) [all...] |
/external/clang/test/CodeGenCXX/ |
exceptions.cpp | 10 struct allocator { struct in namespace:test0 11 allocator(); 12 allocator(const allocator&); 13 ~allocator(); 20 throw allocator();
|
/external/libchrome/base/containers/ |
stack_container.h | 20 // This allocator can be used with STL containers to provide a stack buffer 25 // STL likes to make copies of allocators, so the allocator itself can't hold 27 // StackAllocator::Source which contains the data. Copying the allocator 29 // based on our allocator will share the same stack buffer. 39 class StackAllocator : public std::allocator<T> { 41 typedef typename std::allocator<T>::pointer pointer; 42 typedef typename std::allocator<T>::size_type size_type; 44 // Backing store for the allocator. The container owner is responsible for 45 // maintaining this for as long as any containers using this allocator are 70 // Used by containers when they want to refer to an allocator of type U [all...] |
/external/clang/test/Analysis/Inputs/ |
system-header-simulator-cxx-std-suppression.h | 16 class allocator { class in namespace:std 35 template <class _Tp, class _Alloc = allocator<_Tp> > 51 template<class _CharT, class _Alloc = allocator<_CharT> >
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawImageObjectUtil.hpp | 70 vk::Allocator& allocator, 74 vk::Allocator& allocator, 84 vk::Allocator& allocator, 93 vk::Allocator& allocator, 112 vk::Allocator& allocator, [all...] |
/external/dng_sdk/source/ |
dng_filter_task.cpp | 60 dng_memory_allocator *allocator, 74 fSrcBuffer [threadIndex] . Reset (allocator->Allocate (srcBufferSize)); 76 fDstBuffer [threadIndex] . Reset (allocator->Allocate (dstBufferSize));
|
dng_memory_stream.h | 52 /// \param allocator Allocator to use to allocate memory in stream as needed. 56 dng_memory_stream (dng_memory_allocator &allocator,
|
dng_simple_image.h | 45 dng_memory_allocator &allocator);
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
shaped_buffer.h | 124 ShapedBuffer* shaped_buffer, DeviceMemoryAllocator* allocator); 128 DeviceMemoryAllocator* allocator, int device_ordinal); 133 DeviceMemoryAllocator* allocator); 135 // Return the allocator used to allocate the device memory held in this
|
/frameworks/base/libs/hwui/tests/unit/ |
SnapshotTests.cpp | 32 LinearAllocator allocator; local 36 child->serializeIntersectedClip(allocator, &rect, Matrix4::identity()); 44 child->serializeIntersectedClip(allocator, &rect, Matrix4::identity());
|
/hardware/google/av/codec2/vndk/include/ |
C2BufferPriv.h | 27 explicit C2BasicLinearBlockPool(const std::shared_ptr<C2Allocator> &allocator); 52 explicit C2BasicGraphicBlockPool(const std::shared_ptr<C2Allocator> &allocator); 77 C2PooledBlockPool(const std::shared_ptr<C2Allocator> &allocator, const local_id_t localId);
|
/art/compiler/jni/ |
jni_cfi_test.cc | 65 ArenaAllocator allocator(&pool); 68 JniCallingConvention::Create(&allocator, 76 &allocator, is_static, is_synchronized, shorty, isa)); 82 JNIMacroAssembler<kPointerSize>::Create(&allocator, isa));
|
/art/compiler/optimizing/ |
locations.cc | 32 ArenaAllocator* allocator) 33 : inputs_(instruction->InputCount(), allocator->Adapter(kArenaAllocLocationSummary)), 34 temps_(allocator->Adapter(kArenaAllocLocationSummary)), 46 stack_mask_ = ArenaBitVector::Create(allocator, 0, true, kArenaAllocLocationSummary);
|
/art/runtime/gc/allocator/ |
dlmalloc.h | 51 namespace allocator { namespace in namespace:art::gc 57 } // namespace allocator
|
/art/runtime/gc/space/ |
rosalloc_space.cc | 45 // template class MemoryToolMallocSpace<RosAllocSpace, allocator::RosAlloc*>; 48 art::gc::allocator::RosAlloc* rosalloc, uint8_t* begin, uint8_t* end, 65 allocator::RosAlloc* rosalloc = CreateRosAlloc(mem_map->Begin(), starting_size, initial_size, 133 allocator::RosAlloc* RosAllocSpace::CreateRosAlloc(void* begin, size_t morecore_start, 142 allocator::RosAlloc* rosalloc = new art::gc::allocator::RosAlloc( 145 art::gc::allocator::RosAlloc::kPageReleaseModeAll : 146 art::gc::allocator::RosAlloc::kPageReleaseModeSizeAndEnd, 179 void* allocator, uint8_t* begin, uint8_t* end, 184 mem_map, initial_size_, name, reinterpret_cast<allocator::RosAlloc*>(allocator), begin, end 413 namespace allocator { namespace in namespace:art::gc [all...] |
/external/clang/test/Modules/ |
pr27401.cpp | 14 template <class _Tp, class _Allocator = allocator>
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkYCbCrImageWithMemory.hpp | 45 vk::Allocator& allocator,
|
/external/libchrome/base/allocator/ |
allocator_extension.cc | 5 #include "base/allocator/allocator_extension.h" 16 namespace allocator { namespace in namespace:base 39 // TODO(sque): Use allocator shim layer instead. 59 } // namespace allocator
|
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
alloc_rfunction.fail.cpp | 58 std::function<int(int)> f2(std::allocator_arg, std::allocator<A>(), std::move(f));
|
/external/libcxx/test/support/ |
asan_testing.h | 22 if ( std::is_same<Alloc, std::allocator<T> >::value && c.data() != NULL)
|
/external/libxcam/wrapper/gstreamer/ |
gstxcambufferpool.h | 42 GstAllocator *allocator; member in struct:_GstXCamBufferPool
|
/external/skia/src/android/ |
SkBitmapRegionCodec.cpp | 19 bool SkBitmapRegionCodec::decodeRegion(SkBitmap* bitmap, SkBRDAllocator* allocator, 82 if (!bitmap->tryAllocPixels(allocator)) { 91 SkCodec::ZeroInitialized zeroInit = allocator ? allocator->zeroInit() :
|
SkBitmapRegionCodec.h | 26 bool decodeRegion(SkBitmap* bitmap, SkBRDAllocator* allocator,
|
/external/skia/src/core/ |
SkSpriteBlitter_ARGB32.cpp | 95 SkArenaAlloc* allocator) { 96 SkASSERT(allocator != nullptr); 110 return allocator->make<Sprite_D32_S32>(source, alpha); 114 return allocator->make<Sprite_D32_S32A_Xfer>(source, paint);
|