Home
last modified time | relevance | path

Searched refs:arena_ (Results 1 – 16 of 16) sorted by relevance

/third_party/protobuf/src/google/protobuf/
Dlite_arena_unittest.cc45 arena_.reset(new Arena(options)); in LiteArenaTest()
48 Arena::CreateArray<char>(arena_.get(), 1); in LiteArenaTest()
51 std::unique_ptr<Arena> arena_; member in google::protobuf::__anon202bf9cd0111::LiteArenaTest
64 Arena::CreateMessage<protobuf_unittest::TestArenaMapLite>(arena_.get()); in TEST_F()
69 Arena::CreateMessage<protobuf_unittest::TestArenaMapLite>(arena_.get()); in TEST_F()
78 arena_.get()); in TEST_F()
Dmap_field.cc43 if (repeated_field_ != NULL && arena_ == NULL) delete repeated_field_; in ~MapFieldBase()
115 if (arena_ == nullptr) { in SyncRepeatedFieldWithMap()
119 Arena::CreateMessage<RepeatedPtrField<Message> >(arena_); in SyncRepeatedFieldWithMap()
133 repeated_field_ = Arena::CreateMessage<RepeatedPtrField<Message> >(arena_); in SyncRepeatedFieldWithMapNoLock()
175 if (MapFieldBase::arena_ == nullptr) { in Clear()
206 TYPE* value = Arena::Create<TYPE>(MapFieldBase::arena_); \ in AllocateMapValue()
223 Message* value = message.New(MapFieldBase::arena_); in AllocateMapValue()
256 if (MapFieldBase::arena_ == nullptr) { in DeleteMapValue()
365 if (MapFieldBase::arena_ == NULL) { in SyncRepeatedFieldWithMapNoLock()
370 MapFieldBase::arena_); in SyncRepeatedFieldWithMapNoLock()
[all …]
Dextension_set.cc188 : arena_(arena), in ExtensionSet()
193 : Arena::CreateArray<KeyValue>(arena_, flat_capacity_)} {} in ExtensionSet()
196 : arena_(NULL), in ExtensionSet()
201 : Arena::CreateArray<KeyValue>(arena_, flat_capacity_)} {} in ExtensionSet()
205 if (arena_ == NULL) { in ~ExtensionSet()
348 Arena::CreateMessage<RepeatedField<LOWERCASE>>(arena_); \
393 Arena::CreateMessage<RepeatedField<int32>>(arena_); in MutableRawRepeatedField()
397 Arena::CreateMessage<RepeatedField<int64>>(arena_); in MutableRawRepeatedField()
401 Arena::CreateMessage<RepeatedField<uint32>>(arena_); in MutableRawRepeatedField()
405 Arena::CreateMessage<RepeatedField<uint64>>(arena_); in MutableRawRepeatedField()
[all …]
Dmap.h108 MapAllocator() : arena_(nullptr) {} in MapAllocator()
109 explicit MapAllocator(Arena* arena) : arena_(arena) {} in MapAllocator()
112 : arena_(allocator.arena()) {} in MapAllocator()
117 if (arena_ == nullptr) {
121 Arena::CreateArray<uint8>(arena_, n * sizeof(value_type)));
126 if (arena_ == nullptr) { in deallocate()
166 return arena_ == other.arena_;
171 return arena_ != other.arena_;
182 Arena* arena() const { return arena_; } in arena()
186 Arena* const arena_; variable
[all …]
Dmap_field_lite.h93 return Arena::CreateMessage<EntryType>(map_.arena_); in NewEntry()
98 return EntryType::EnumWrap(key, t, map_.arena_); in NewEnumEntryWrapper()
103 return EntryType::Wrap(key, t, map_.arena_); in NewEntryWrapper()
Dextension_set_heavy.cc178 extension->message_value = prototype->New(arena_); in MutableMessage()
205 if (arena_ == NULL) { in ReleaseMessage()
209 if (arena_ != NULL) { in ReleaseMessage()
233 if (arena_ == NULL) { in UnsafeArenaReleaseMessage()
252 Arena::CreateMessage<RepeatedPtrField<MessageLite> >(arena_); in MaybeNewRepeatedExtension()
277 result = prototype->New(arena_); in AddMessage()
Drepeated_field.cc117 ? prototype->New(arena_) in AddWeak()
118 : Arena::CreateMessage<ImplicitWeakMessage>(arena_); in AddWeak()
Dmap_field_inl.h281 if (this->MapFieldBase::arena_ == NULL) { in SyncRepeatedFieldWithMapNoLock()
286 this->MapFieldBase::arena_); in SyncRepeatedFieldWithMapNoLock()
305 down_cast<EntryType*>(default_entry->New(this->MapFieldBase::arena_)); in SyncRepeatedFieldWithMapNoLock()
Darena.cc197 head_ = arena_->NewBlock(head_, n); in AllocateAlignedFallback()
323 serial->arena_ = arena; in New()
Drepeated_field.h591 if (arena_) (void)arena_->SpaceAllocated();
724 inline Arena* GetArena() const { return arena_; }
739 Arena* arena_;
1653 : arena_(NULL), current_size_(0), total_size_(0), rep_(NULL) {}
1656 : arena_(arena), current_size_(0), total_size_(0), rep_(NULL) {}
1660 if (rep_ != NULL && arena_ == NULL) {
1738 TypeHandler::Delete(cast<TypeHandler>(rep_->elements[index]), arena_);
1752 TypeHandler::NewFromPrototype(prototype, arena_);
1769 TypeHandler::New(arena_, std::move(value));
1993 arena_);
Dmap_field.h279 : arena_(NULL), repeated_field_(NULL), state_(STATE_MODIFIED_MAP) {} in MapFieldBase()
281 : arena_(arena), repeated_field_(NULL), state_(STATE_MODIFIED_MAP) { in MapFieldBase()
356 Arena* arena_; variable
Darena_impl.h236 ArenaImpl* arena_; // Containing arena. variable
Dextension_set.h294 Arena* GetArena() const { return arena_; } in GetArena()
833 Arena* arena_; variable
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dlow_level_alloc.cc284 : arena_(arena) {
292 arena_->mu.Lock();
296 arena_->mu.Unlock(); in Leave()
314 LowLevelAlloc::Arena *arena_; member in absl::base_internal::__anon9c271cd50311::ArenaLock
/third_party/libabigail/tests/data/test-annotate/
Dtest19-pr19023-libtcmalloc_and_profiler.so.abi1250 <!-- HeapLeakChecker::Allocator::arena_ -->
1276 <!-- MemoryRegionMap::arena_ -->
4820 <!-- static LowLevelAlloc::Arena* HeapLeakChecker::Allocator::arena_ -->
4821 …<var-decl name='arena_' type-id='type-id-101' mangled-name='_ZN15HeapLeakChecker9Allocator6arena_E…
6860 <!-- static LowLevelAlloc::Arena* MemoryRegionMap::arena_ -->
6861 …<var-decl name='arena_' type-id='type-id-101' mangled-name='_ZN15MemoryRegionMap6arena_E' visibili…
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest19-pr19023-libtcmalloc_and_profiler.so.abi2810 …<var-decl name='arena_' type-id='type-id-101' mangled-name='_ZN15HeapLeakChecker9Allocator6arena_E…
4176 …<var-decl name='arena_' type-id='type-id-101' mangled-name='_ZN15MemoryRegionMap6arena_E' visibili…