Home
last modified time | relevance | path

Searched refs:pool_ (Results 1 – 13 of 13) sorted by relevance

/aosp12/frameworks/base/tools/aapt2/compile/
H A DPseudolocaleGenerator.cpp226 : pool_(pool), method_(method), localizer_(method) {} in Visitor()
229 CloningValueTransformer cloner(pool_); in Visit()
232 Visitor sub_visitor(pool_, method_); in Visit()
272 std::unique_ptr<String> localized = util::make_unique<String>(pool_->MakeRef(result)); in Visit()
279 item = PseudolocalizeStyledString(string, method_, pool_); in Visit()
287 StringPool* pool_; member in aapt::__anonca41245c0110::Visitor
/aosp12/art/compiler/utils/
H A Djni_macro_assembler_test.h58 allocator_.reset(new ArenaAllocator(&pool_)); in SetUp()
92 MallocArenaPool pool_; variable
H A Dassembler_test.h737 allocator_.reset(new ArenaAllocator(&pool_)); in SetUp()
1559 MallocArenaPool pool_; variable
/aosp12/art/libartbase/base/
H A Darena_allocator.cc208 : pool_(pool), in ArenaAllocator()
269 pool_->FreeArenaChain(arena_head_); in ~ArenaAllocator()
273 Arena* new_arena = pool_->AllocArena(std::max(arena_allocator::kArenaDefaultSize, bytes)); in AllocFromNewArena()
H A Darena_allocator.h354 return pool_; in GetArenaPool()
373 ArenaPool* pool_; variable
/aosp12/frameworks/base/tools/aapt2/
H A DStringPool.cpp84 return entry_->pool_->styles_.size() + entry_->index_; in index()
188 entry->pool_ = this; in MakeRefImpl()
197 if (ref.entry_->pool_ == this) { in MakeRef()
254 entry->pool_ = this; in Merge()
H A DValueTransformer_inline.h22 inline ValueTransformer::ValueTransformer(StringPool* new_pool) : pool_(new_pool) { in ValueTransformer()
H A DValueTransformer.h104 StringPool* const pool_;
H A DStringPool.h137 const StringPool* pool_; variable
H A DResourceValues.cpp1093 auto new_value = std::make_unique<RawString>(pool_->MakeRef(value->value)); in TransformDerived()
1098 auto new_value = std::make_unique<String>(pool_->MakeRef(value->value)); in TransformDerived()
1104 auto new_value = std::make_unique<StyledString>(pool_->MakeRef(value->value)); in TransformDerived()
1111 auto new_value = std::make_unique<FileReference>(pool_->MakeRef(value->path)); in TransformDerived()
/aosp12/art/compiler/optimizing/
H A Doptimizing_unit_test.h128 : pool_(), allocator_(&pool_), arena_stack_(&pool_), scoped_allocator_(&arena_stack_) { } in ArenaPoolAndAllocator()
135 MallocArenaPool pool_;
/aosp12/frameworks/base/tools/aapt2/link/
H A DReferenceLinker.cpp176 transformed = util::make_unique<String>(pool_->MakeRef(string_builder.to_string())); in ParseValueWithAttribute()
/aosp12/art/libprofile/profile/
H A Dprofile_compilation_info_test.cc41 allocator_.reset(new ArenaAllocator(&pool_)); in SetUp()
230 MallocArenaPool pool_; member in art::ProfileCompilationInfoTest