Home
last modified time | relevance | path

Searched refs:allocator_ (Results 1 – 25 of 53) sorted by relevance

123

/third_party/skia/third_party/externals/tint/src/
Dblock_allocator.h110 Iterator begin() const { return Iterator(allocator_->objects_.begin()); } in begin()
112 Iterator end() const { return Iterator(allocator_->objects_.end()); } in end()
116 explicit View(BlockAllocator const* allocator) : allocator_(allocator) {} in View()
117 BlockAllocator const* const allocator_; variable
126 return ConstIterator(allocator_->objects_.begin()); in begin()
130 return ConstIterator(allocator_->objects_.end()); in end()
136 : allocator_(allocator) {} in ConstView()
137 BlockAllocator const* const allocator_; variable
/third_party/vixl/src/aarch32/
Dmacro-assembler-aarch32.h88 pool_end_ = allocator_.New<Label>(allocator_); in EmitPoolHeader()
297 pool_end_(NULL), allocator_(allocator) { in Assembler()
346 pool_end_(NULL), allocator_(allocator) { in Assembler()
650 ITScope it_scope(allocator_, this, &cond, guard); in Assembler()
677 ITScope it_scope(allocator_, this, &cond, guard); in Assembler()
702 ITScope it_scope(allocator_, this, &cond, guard); in Assembler()
728 ITScope it_scope(allocator_, this, &cond, guard); in Assembler()
755 ITScope it_scope(allocator_, this, &cond, guard); in Assembler()
780 ITScope it_scope(allocator_, this, &cond, guard); in Assembler()
805 ITScope it_scope(allocator_, this, &cond, guard); in Assembler()
[all …]
/third_party/node/deps/v8/src/heap/cppgc/
Dpage-memory.cc89 : allocator_(allocator), in PageMemoryRegion()
95 FreeMemoryRegion(allocator_, reserved_region()); in ~PageMemoryRegion()
121 Unprotect(allocator_, oom_handler_, GetPageMemory(index)); in Allocate()
127 Protect(allocator_, oom_handler_, GetPageMemory(index)); in Free()
132 Unprotect(allocator_, oom_handler_, GetPageMemory(i)); in UnprotectForTesting()
149 Unprotect(allocator_, oom_handler_, GetPageMemory()); in UnprotectForTesting()
191 : allocator_(allocator), oom_handler_(oom_handler) {} in PageBackend()
200 std::make_unique<NormalPageMemoryRegion>(allocator_, oom_handler_); in AllocateNormalPageMemory()
225 std::make_unique<LargePageMemoryRegion>(allocator_, oom_handler_, size); in AllocateLargePageMemory()
227 Unprotect(allocator_, oom_handler_, pm); in AllocateLargePageMemory()
Dpage-memory.h88 PageAllocator& allocator_; variable
233 PageAllocator& allocator_; variable
/third_party/node/deps/v8/src/base/
Dsmall-vector.h31 : allocator_(allocator) {} in allocator_() function
33 : allocator_(allocator) { in allocator_() function
38 : allocator_(allocator) { in allocator_() function
43 : allocator_(allocator) { in allocator_() function
48 : allocator_(allocator) { in allocator_() function
146 V8_NO_UNIQUE_ADDRESS Allocator allocator_;
180 return allocator_.allocate(number_of_elements); in AllocateDynamicStorage()
185 allocator_.deallocate(begin_, end_of_storage_ - begin_); in FreeDynamicStorage()
Dpage-allocator.cc77 : allocator_(allocator), ptr_(memory), size_(size) {} in SharedMemory()
82 if (allocator_->RemapShared(ptr_, new_address, size_)) { in RemapTo()
83 return std::make_unique<SharedMemoryMapping>(allocator_, new_address, in RemapTo()
90 ~SharedMemory() override { allocator_->FreePages(ptr_, size_); } in ~SharedMemory()
93 PageAllocator* allocator_; member in v8::base::SharedMemory
/third_party/node/deps/v8/src/zone/
Dzone.cc34 : allocator_(allocator), in Zone()
37 allocator_->TraceZoneCreation(this); in Zone()
84 allocator_->TraceZoneCreation(this); in Reset()
107 allocator_->TraceZoneDestruction(this); in DeleteAll()
128 allocator_->ReturnSegment(segment, supports_compression()); in ReleaseSegment()
164 allocator_->AllocateSegment(new_size, supports_compression()); in NewExpand()
178 allocator_->TraceAllocateSegment(segment); in NewExpand()
Dzone.h175 AccountingAllocator* allocator() const { return allocator_; } in allocator()
220 AccountingAllocator* allocator_; variable
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_type.cc271 BlockAllocator<Type> allocator_; member
413 state->void_ = state->allocator_.Create<spirv::Void>(); in Void()
420 state->bool_ = state->allocator_.Create<spirv::Bool>(); in Bool()
427 state->u32_ = state->allocator_.Create<spirv::U32>(); in U32()
434 state->f32_ = state->allocator_.Create<spirv::F32>(); in F32()
441 state->i32_ = state->allocator_.Create<spirv::I32>(); in I32()
449 return state->allocator_.Create<spirv::Pointer>(el, sc); in Pointer()
456 return state->allocator_.Create<spirv::Reference>(el, sc); in Reference()
462 return state->allocator_.Create<spirv::Vector>(el, size); in Vector()
471 return state->allocator_.Create<spirv::Matrix>(el, columns, rows); in Matrix()
[all …]
/third_party/node/deps/v8/src/parsing/
Dparse-info.cc175 allocator_(isolate->allocator()), in ReusableUnoptimizedCompileState()
179 ast_raw_string_zone_(allocator_, in ReusableUnoptimizedCompileState()
181 single_parse_zone_(allocator_, "unoptimized-compile-parse-zone"), in ReusableUnoptimizedCompileState()
189 allocator_(isolate->allocator()), in ReusableUnoptimizedCompileState()
193 ast_raw_string_zone_(allocator_, in ReusableUnoptimizedCompileState()
195 single_parse_zone_(allocator_, "unoptimized-compile-parse-zone"), in ReusableUnoptimizedCompileState()
Dparse-info.h204 AccountingAllocator* allocator() const { return allocator_; } in allocator()
213 AccountingAllocator* allocator_; variable
/third_party/node/deps/v8/src/utils/
Didentity-map.h112 : IdentityMapBase(heap), allocator_(allocator) {} in IdentityMapBase()
216 return allocator_.template NewArray<uintptr_t, Buffer>(length); in NewPointerArray()
219 allocator_.template DeleteArray<uintptr_t, Buffer>(array, length); in DeletePointerArray()
223 AllocationPolicy allocator_;
/third_party/vixl/src/
Dpool-manager.h397 : allocator_(allocator), objects_(allocator_.Adapter()), in PoolManager()
398 delete_on_destruction_(allocator_.Adapter()), in PoolManager()
534 AllocatorWrapper allocator_; variable
Dinvalset-vixl.h224 AllocatorWrapper allocator_; variable
339 : valid_cached_min_(false), sorted_(true), size_(0), allocator_(allocator), vector_(NULL) { in InvalSet()
389 vector_ = allocator_.New<Vector<ElementType>>( in insert()
390 preallocated_, preallocated_ + size_, allocator_.Adapter()); in insert()
/third_party/skia/third_party/externals/dawn/src/common/
DStackContainer.h146 StackContainer() : allocator_(&stack_data_), container_(allocator_) { in StackContainer()
183 Allocator allocator_; variable
/third_party/node/deps/v8/src/strings/
Dstring-stream.h142 : allocator_(allocator), in allocator_() function
146 buffer_(allocator_->allocate(kInitialCapacity)) { in allocator_()
206 StringAllocator* allocator_; variable
/third_party/node/deps/v8/src/wasm/
Dcanonical-types.h113 AccountingAllocator allocator_; variable
114 Zone zone_{&allocator_, "canonical type zone"};
/third_party/node/deps/v8/src/compiler/
Dzone-stats.cc66 : max_allocated_bytes_(0), total_deleted_bytes_(0), allocator_(allocator) {} in ZoneStats()
91 Zone* zone = new Zone(allocator_, zone_name, support_zone_compression); in NewEmptyZone()
/third_party/vixl/src/aarch64/
Ddisasm-aarch64.h300 std::optional<AllocatorWrapper> allocator_; variable
315 : Disassembler(allocator), cpu_features_auditor_(NULL), allocator_(allocator),
364 AllocatorWrapper allocator_; variable
Dmacro-assembler-aarch64.cc63 allocator_(allocator) {} in LiteralPool()
140 Label end_of_pool(allocator_); in Emit()
303 Label end(allocator_); in Emit()
318 for (BranchInfoSetIterator it(allocator_, &unresolved_branches_); !it.Done();) { in Emit()
380 allocator_(allocator) { in Emit()
445 recommended_checkpoint_(Pool::kNoCheckpointRequired), allocator_(allocator) { in Emit()
640 Label done(allocator_); in Emit()
670 Label done(allocator_); in Emit()
700 Label done(allocator_); in Emit()
729 Label done(allocator_); in Emit()
[all …]
Ddecoder-aarch64.h2962 allocator_(allocator),
2963 visitors_(allocator_.Adapter()),
2964 decode_nodes_(allocator_.Adapter()) {
2977 return allocator_; in GetAllocator()
3032 return allocator_; in GetAllocator()
3072 AllocatorWrapper allocator_; variable
3216 allocator_(decoder->GetAllocator()), in DecodeNode()
3218 name_(visitor.name, allocator_.Adapter()), in DecodeNode()
3219 sampled_bits_(allocator_.Adapter()), in DecodeNode()
3221 pattern_table_(allocator_.Adapter()), in DecodeNode()
[all …]
/third_party/node/deps/v8/src/heap/
Dscavenger-inl.h121 AllocationResult allocation = allocator_.Allocate( in SemiSpaceCopyObject()
131 allocator_.FreeLast(NEW_SPACE, target, object_size); in SemiSpaceCopyObject()
163 allocation = allocator_.Allocate(OLD_SPACE, object_size, in PromoteObject()
180 allocator_.FreeLast(OLD_SPACE, target, object_size); in PromoteObject()
Dmemory-allocator.h48 : heap_(heap), allocator_(allocator) { in Unmapper()
129 MemoryAllocator* const allocator_; variable
/third_party/node/src/api/
Denvironment.cc93 ret = allocator_->Allocate(size); in Allocate()
95 ret = allocator_->AllocateUninitialized(size); in Allocate()
102 void* ret = allocator_->AllocateUninitialized(size); in AllocateUninitialized()
110 void* ret = allocator_->Reallocate(data, old_size, size); in Reallocate()
118 allocator_->Free(data, size); in Free()
/third_party/node/deps/v8/src/asmjs/
Dasm-js.cc191 allocator_(allocator), in AsmJsCompilationJob()
214 AccountingAllocator* allocator_; member in v8::internal::AsmJsCompilationJob
230 Zone translate_zone(allocator_, ZONE_NAME); in ExecuteJobImpl()

123