/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
H A D | stack.h | 41 : allocator_(rhs.allocator_), in Stack() 48 rhs.allocator_ = 0; in Stack() 67 allocator_ = rhs.allocator_; 74 rhs.allocator_ = 0; 86 internal::Swap(allocator_, rhs.allocator_); in Swap() 138 return allocator_ != 0; in HasAllocator() 142 RAPIDJSON_ASSERT(allocator_); in GetAllocator() 143 return *allocator_; in GetAllocator() 155 if (!allocator_) in Expand() 156 ownAllocator_ = allocator_ = RAPIDJSON_NEW(Allocator()); in Expand() [all …]
|
/aosp12/art/runtime/ |
H A D | linear_alloc.cc | 23 LinearAlloc::LinearAlloc(ArenaPool* pool) : lock_("linear alloc"), allocator_(pool) { in LinearAlloc() 28 return allocator_.Realloc(ptr, old_size, new_size); in Realloc() 33 return allocator_.Alloc(size); in Alloc() 38 return allocator_.AllocAlign16(size); in AllocAlign16() 43 return allocator_.BytesUsed(); in GetUsedMemory() 48 return allocator_.GetArenaPool(); in GetArenaPool() 53 return allocator_.Contains(ptr); in Contains() 57 return allocator_.Contains(ptr); in ContainsUnsafe()
|
/aosp12/art/compiler/optimizing/ |
H A D | instruction_builder.cc | 147 allocator_, in GetLocalsForWithAllocation() 197 allocator_, in InitializeBlockLocals() 298 allocator_, in InitializeInstruction() 485 allocator_, in BuildIntrinsic() 1021 HInvoke* invoke = new (allocator_) HInvokeUnresolved(allocator_, in BuildInvoke() 1041 allocator_, in BuildInvoke() 1105 invoke = new (allocator_) HInvokeStaticOrDirect(allocator_, in BuildInvoke() 1123 invoke = new (allocator_) HInvokeVirtual(allocator_, in BuildInvoke() 1143 invoke = new (allocator_) HInvokeInterface(allocator_, in BuildInvoke() 1195 HInvoke* invoke = new (allocator_) HInvokePolymorphic(allocator_, in BuildInvokePolymorphic() [all …]
|
H A D | bounds_check_elimination.cc | 330 allocator_, in Narrow() 350 return new (allocator_) ValueRange(allocator_, lower, upper); in Add() 671 &allocator_, in HandleIfBetweenTwoMonotonicValueRanges() 680 &allocator_, in HandleIfBetweenTwoMonotonicValueRanges() 901 ValueRange* range = new (&allocator_) ValueRange(&allocator_, lower, upper); in VisitBoundsCheck() 1082 range = new (&allocator_) ValueRange(&allocator_, in TryToAssignRangeIfOptimizedRemWithConstantDivisor() 1089 range = new (&allocator_) ValueRange(&allocator_, in TryToAssignRangeIfOptimizedRemWithConstantDivisor() 1214 &allocator_, in FindAndHandlePartialArrayLength() 1240 &allocator_, in VisitAnd() 1266 &allocator_, in VisitRem() [all …]
|
H A D | gvn.cc | 41 : allocator_(allocator), in ValueSet() 54 : allocator_(allocator), in ValueSet() 92 buckets_[index] = new (allocator_) Node(instruction, hash_code, buckets_[index]); in Add() 177 buckets_[new_index] = node->Dup(allocator_, buckets_[new_index]); in PopulateFromInternal() 233 clone_current = node->Dup(allocator_, nullptr); in CloneBucket() 332 ScopedArenaAllocator* const allocator_; member in art::ValueSet 359 allocator_(graph->GetArenaStack()), in GlobalValueNumberer() 375 ScopedArenaAllocator allocator_; member in art::GlobalValueNumberer 414 sets_[graph_->GetEntryBlock()->GetBlockId()] = new (&allocator_) ValueSet(&allocator_); in Run() 432 set = new (&allocator_) ValueSet(&allocator_); in VisitBasicBlock() [all …]
|
H A D | block_builder.cc | 31 : allocator_(graph->GetAllocator()), in HBasicBlockBuilder() 55 block = new (allocator_) HBasicBlock(graph_, semantic_dex_pc); in MaybeCreateBlockAt() 339 HBasicBlock* new_catch_block = new (allocator_) HBasicBlock(graph_, address); in InsertTryBoundaryBlocks() 340 new_catch_block->AddInstruction(new (allocator_) HGoto(address)); in InsertTryBoundaryBlocks() 365 HTryBoundary* try_entry = new (allocator_) HTryBoundary( in InsertTryBoundaryBlocks() 402 ArenaSet<uint32_t> targets(allocator_->Adapter(kArenaAllocGraphBuilder)); in InsertSynthesizedLoopsForOsr() 430 HBasicBlock* loop_block = new (allocator_) HBasicBlock(graph_, block->GetDexPc()); in InsertSynthesizedLoopsForOsr() 447 graph_->SetEntryBlock(new (allocator_) HBasicBlock(graph_, kNoDexPc)); in Build() 448 graph_->SetExitBlock(new (allocator_) HBasicBlock(graph_, kNoDexPc)); in Build() 470 HBasicBlock* entry_block = new (allocator_) HBasicBlock(graph_, kNoDexPc); in BuildIntrinsic() [all …]
|
H A D | intrinsics_x86_64.cc | 153 CreateFPToIntLocations(allocator_, invoke); in VisitDoubleDoubleToRawLongBits() 156 CreateIntToFPLocations(allocator_, invoke); in VisitDoubleLongBitsToDouble() 167 CreateFPToIntLocations(allocator_, invoke); in VisitFloatFloatToRawIntBits() 170 CreateIntToFPLocations(allocator_, invoke); in VisitFloatIntBitsToFloat() 211 CreateIntToIntLocations(allocator_, invoke); in VisitIntegerReverseBytes() 219 CreateIntToIntLocations(allocator_, invoke); in VisitLongReverseBytes() 227 CreateIntToIntLocations(allocator_, invoke); in VisitShortReverseBytes() 242 CreateFPToFPLocations(allocator_, invoke); in VisitMathSqrt() 414 CreateFPToFPCallLocations(allocator_, invoke); in VisitMathCos() 422 CreateFPToFPCallLocations(allocator_, invoke); in VisitMathSin() [all …]
|
H A D | ssa_liveness_analysis.h | 411 new (allocator_) LiveRange(start, end, first_range_); in AddRange() 438 new (allocator_) LiveRange(start, end, nullptr); in AddLoopRange() 468 new (allocator_) LiveRange(from, from + 2, nullptr); in SetFrom() 664 LiveInterval* new_interval = new (allocator_) LiveInterval(allocator_, type_); in SplitAt() 854 high_or_low_interval_ = new (allocator_) LiveInterval( 864 UsePosition* new_use = use.Clone(allocator_); 870 EnvUsePosition* new_env_use = env_use.Clone(allocator_); 989 : allocator_(allocator), 1095 ScopedArenaAllocator* const allocator_; variable 1178 allocator_(allocator), in SsaLivenessAnalysis() [all …]
|
H A D | register_allocation_resolver.cc | 28 : allocator_(codegen->GetGraph()->GetAllocator()), in RegisterAllocationResolver() 537 move = new (allocator_) HParallelMove(allocator_); in AddInputMoveFor() 585 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAt() 600 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAt() 616 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAt() 648 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAtExitOf() 670 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAtEntryOf() 694 move = new (allocator_) HParallelMove(allocator_); in InsertMoveAfter()
|
H A D | intrinsics_arm64.cc | 201 CreateFPToIntLocations(allocator_, invoke); in VisitDoubleDoubleToRawLongBits() 204 CreateIntToFPLocations(allocator_, invoke); in VisitDoubleLongBitsToDouble() 215 CreateFPToIntLocations(allocator_, invoke); in VisitFloatFloatToRawIntBits() 218 CreateIntToFPLocations(allocator_, invoke); in VisitFloatIntBitsToFloat() 293 CreateIntToIntLocations(allocator_, invoke); in VisitIntegerReverseBytes() 301 CreateIntToIntLocations(allocator_, invoke); in VisitLongReverseBytes() 309 CreateIntToIntLocations(allocator_, invoke); in VisitShortReverseBytes() 501 CreateFPToFPLocations(allocator_, invoke); in VisitMathSqrt() 511 CreateFPToFPLocations(allocator_, invoke); in VisitMathCeil() 521 CreateFPToFPLocations(allocator_, invoke); in VisitMathFloor() [all …]
|
H A D | intrinsics_x86.cc | 46 : allocator_(codegen->GetGraph()->GetAllocator()), in IntrinsicLocationsBuilderX86() 292 CreateIntToIntLocations(allocator_, invoke); in VisitIntegerReverseBytes() 300 CreateLongToLongLocations(allocator_, invoke); in VisitLongReverseBytes() 321 CreateIntToIntLocations(allocator_, invoke); in VisitShortReverseBytes() 336 CreateFPToFPLocations(allocator_, invoke); in VisitMathSqrt() 596 CreateFPToFPCallLocations(allocator_, invoke); in VisitMathCos() 604 CreateFPToFPCallLocations(allocator_, invoke); in VisitMathSin() 612 CreateFPToFPCallLocations(allocator_, invoke); in VisitMathAcos() 620 CreateFPToFPCallLocations(allocator_, invoke); in VisitMathAsin() 628 CreateFPToFPCallLocations(allocator_, invoke); in VisitMathAtan() [all …]
|
/aosp12/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_buf_mgr.cpp | 54 allocator_ = new Allocator(); in BufferManager() 55 allocator_->Init(); in BufferManager() 80 if (allocator_) { in ~BufferManager() 81 delete allocator_; in ~BufferManager() 233 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() 404 if (allocator_->IsUBwcEnabled(format, prod_usage, cons_usage)) { in GetHandleFlags() 423 if (!allocator_->UseUncached(prod_usage, cons_usage)) { in GetHandleFlags() 469 err = allocator_->AllocateMem(&data, prod_usage, cons_usage); in AllocateBuffer() 660 if (allocator_->GetYUVPlaneInfo(hnd, ycbcr)) { in Perform() 692 if (allocator_->GetRgbDataAddress(hnd, rgb_data)) { in Perform() [all …]
|
/aosp12/hardware/qcom/display/msm8996/libgralloc1/ |
H A D | gr_buf_mgr.cpp | 54 allocator_ = new Allocator(); in BufferManager() 55 allocator_->Init(); in BufferManager() 80 if (allocator_) { in ~BufferManager() 81 delete allocator_; in ~BufferManager() 222 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() 227 int ion_handle_meta = allocator_->ImportBuffer(hnd->fd_metadata); in ImportHandleLocked() 431 if (!allocator_->UseUncached(prod_usage, cons_usage)) { in GetHandleFlags() 477 err = allocator_->AllocateMem(&data, prod_usage, cons_usage); in AllocateBuffer() 668 if (allocator_->GetYUVPlaneInfo(hnd, ycbcr)) { in Perform() 700 if (allocator_->GetRgbDataAddress(hnd, rgb_data)) { in Perform() [all …]
|
/aosp12/art/libartbase/base/ |
H A D | arena_containers.h | 143 allocator_(allocator) { 148 allocator_(other.allocator_) { in ArenaAllocatorAdapter() 155 ArenaAllocator* allocator_; 179 allocator_(allocator) { in ArenaAllocatorAdapter() 184 allocator_(other.allocator_) { in ArenaAllocatorAdapter() 200 return allocator_->AllocArray<T>(n, ArenaAllocatorAdapterKind::Kind()); 203 allocator_->MakeInaccessible(p, sizeof(T) * n); in deallocate() 216 ArenaAllocator* allocator_; 229 return lhs.allocator_ == rhs.allocator_;
|
H A D | arena_bit_vector.cc | 66 return allocator_->Alloc(size, this->Kind()); in Alloc() 73 : ArenaBitVectorAllocatorKind(kind), allocator_(allocator) { } in ArenaBitVectorAllocator() 75 ArenaAlloc* const allocator_; member in art::ArenaBitVectorAllocator
|
/aosp12/hardware/qcom/sdm845/display/gralloc/ |
H A D | gr_buf_mgr.cpp | 42 allocator_ = new Allocator(); in BufferManager() 43 allocator_->Init(); in BufferManager() 52 if (allocator_) { in ~BufferManager() 53 delete allocator_; in ~BufferManager() 88 info.format = allocator_->GetImplDefinedFormat(info.usage, info.format); in ValidateBufferSize() 109 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() 114 int ion_handle_meta = allocator_->ImportBuffer(hnd->fd_metadata); in ImportHandleLocked() 295 if (!allocator_->UseUncached(usage)) { in GetHandleFlags() 331 data.uncached = allocator_->UseUncached(usage); in AllocateBuffer() 334 err = allocator_->AllocateMem(&data, usage); in AllocateBuffer() [all …]
|
/aosp12/art/runtime/verifier/ |
H A D | reg_type_cache.cc | 179 char* ptr = allocator_.AllocArray<char>(str.length()); in AddString() 291 allocator_(allocator), in RegTypeCache() 397 ArenaBitVector types(&allocator_, in FromUnresolvedMerge() 513 entry = new (&allocator_) UnresolvedUninitializedRefType(descriptor, in Uninitialized() 527 entry = new (&allocator_) UninitializedReferenceType(klass, in Uninitialized() 558 entry = new (&allocator_) ReferenceType(klass, "", entries_.size()); in FromUninitialized() 577 entry = new (&allocator_) PreciseReferenceType(klass, in FromUninitialized() 623 entry = new (&allocator_) PreciseConstType(value, entries_.size()); in FromCat1NonSmallConstant() 625 entry = new (&allocator_) ImpreciseConstType(value, entries_.size()); in FromCat1NonSmallConstant() 640 entry = new (&allocator_) PreciseConstLoType(value, entries_.size()); in FromCat2ConstLo() [all …]
|
/aosp12/art/compiler/utils/ |
H A D | assembler.cc | 29 : allocator_(allocator) { in AssemblerBuffer() 31 contents_ = allocator_->AllocArray<uint8_t>(kInitialBufferCapacity, kArenaAllocAssembler); in AssemblerBuffer() 48 if (allocator_->IsRunningOnMemoryTool()) { in ~AssemblerBuffer() 49 allocator_->MakeInaccessible(contents_, Capacity()); in ~AssemblerBuffer() 84 allocator_->Realloc(contents_, old_capacity, new_capacity, kArenaAllocAssembler)); in ExtendCapacity()
|
H A D | jni_macro_assembler_test.h | 58 allocator_.reset(new ArenaAllocator(&pool_)); in SetUp() 59 assembler_.reset(CreateAssembler(allocator_.get())); in SetUp() 66 allocator_.reset(); in TearDown() 93 std::unique_ptr<ArenaAllocator> allocator_; variable
|
/aosp12/frameworks/native/vulkan/libvulkan/ |
H A D | api.cpp | 60 allocator_(allocator), in OverrideLayerNames() 69 allocator_.pfnFree(allocator_.pUserData, names_); in ~OverrideLayerNames() 70 allocator_.pfnFree(allocator_.pUserData, implicit_layers_.elements); in ~OverrideLayerNames() 71 allocator_.pfnFree(allocator_.pUserData, implicit_layers_.name_pool); in ~OverrideLayerNames() 330 const VkAllocationCallbacks& allocator_; member in vulkan::api::__anon83539dd30110::OverrideLayerNames 348 allocator_(allocator), in OverrideExtensionNames() 355 allocator_.pfnFree(allocator_.pUserData, names_); in ~OverrideExtensionNames() 397 const VkAllocationCallbacks& allocator_; member in vulkan::api::__anon83539dd30110::OverrideExtensionNames 500 const VkAllocationCallbacks& allocator_; member in vulkan::api::__anon83539dd30110::LayerChain 526 allocator_(allocator), in LayerChain() [all …]
|
/aosp12/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
H A D | gr_buf_mgr.cpp | 53 allocator_ = new Allocator(); in BufferManager() 54 allocator_->Init(); in BufferManager() 79 if (allocator_) { in ~BufferManager() 80 delete allocator_; in ~BufferManager() 196 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base), hnd->size, hnd->offset, in FreeBuffer() 202 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base_metadata), meta_size, in FreeBuffer() 225 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() 230 int ion_handle_meta = allocator_->ImportBuffer(hnd->fd_metadata); in ImportHandleLocked() 442 if (!allocator_->UseUncached(prod_usage, cons_usage)) { in GetHandleFlags() 487 data.uncached = allocator_->UseUncached(prod_usage, cons_usage); in AllocateBuffer() [all …]
|
/aosp12/hardware/qcom/display/msm8909/gralloc/ |
H A D | gr_buf_mgr.cpp | 53 allocator_ = new Allocator(); in BufferManager() 54 allocator_->Init(); in BufferManager() 79 if (allocator_) { in ~BufferManager() 80 delete allocator_; in ~BufferManager() 202 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base), hnd->size, hnd->offset, in FreeBuffer() 208 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base_metadata), meta_size, in FreeBuffer() 231 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() 236 int ion_handle_meta = allocator_->ImportBuffer(hnd->fd_metadata); in ImportHandleLocked() 445 if (!allocator_->UseUncached(prod_usage, cons_usage)) { in GetHandleFlags() 490 data.uncached = allocator_->UseUncached(prod_usage, cons_usage); in AllocateBuffer() [all …]
|
/aosp12/system/memory/libmemunreachable/ |
H A D | LeakFolding.cpp | 31 SCCList<LeakInfo> scc_list{allocator_}; in ComputeDAG() 34 Allocator<SCCInfo> scc_allocator = allocator_; in ComputeDAG() 72 Allocator<LeakInfo> leak_allocator = allocator_; in FoldLeaks() 78 std::forward_as_tuple(range, allocator_)); in FoldLeaks()
|
/aosp12/hardware/google/camera/common/sensor_listener/ |
H A D | goog_gralloc_wrapper.cc | 33 allocator_ = IAllocator::getService(); in GoogGrallocWrapper() 34 if (allocator_ == nullptr) { in GoogGrallocWrapper() 65 return allocator_; in GetAllocator() 70 allocator_->dumpDebugInfo([&debug_info](const auto& tmp_debug_info) { in DumpDebugInfo() 96 allocator_->allocate( in Allocate()
|
/aosp12/art/runtime/mirror/ |
H A D | class_loader.h | 60 GetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_))); in GetAllocator() 64 SetField64<false>(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_), in SetAllocator() 85 uint64_t allocator_; variable
|