Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmap_field_lite.h88 Arena* arena_; variable
100 : arena_(NULL) { in MapFieldLite()
111 : arena_(arena) { in MapFieldLite()
230 if (arena_ == NULL) { in NewEntry()
233 return Arena::CreateMessage<EntryType>(arena_); in NewEntry()
245 return EntryType::EnumWrap(key, t, arena_); in NewEnumEntryWrapper()
256 return EntryType::Wrap(key, t, arena_); in NewEntryWrapper()
Dmap.h524 : arena_(NULL), in arena_() function
530 : arena_(arena), in arena_() function
536 : arena_(NULL), in Map()
544 : arena_(NULL), in arena_() function
553 if (arena_ == NULL) { in ~Map()
565 arena_, 0, hasher(), equal_to<Key>(), in Init()
566 MapAllocator<std::pair<const Key, MapPair<Key, T>*> >(arena_)); in Init()
569 Arena::Create<InnerMap>(arena_, 0, hasher(), Allocator(arena_)); in Init()
586 MapAllocator() : arena_(NULL) {} in MapAllocator()
587 explicit MapAllocator(Arena* arena) : arena_(arena) {} in MapAllocator()
[all …]
Dextension_set.cc181 : arena_(arena) { in ExtensionSet()
182 if (arena_ != NULL) { in ExtensionSet()
183 arena_->OwnDestructor(&extensions_); in ExtensionSet()
187 ExtensionSet::ExtensionSet() : arena_(NULL) {} in ExtensionSet()
191 if (arena_ == NULL) { in ~ExtensionSet()
318 Arena::CreateMessage<RepeatedField<LOWERCASE> >(arena_); \
363 Arena::CreateMessage<RepeatedField<int32> >(arena_); in MutableRawRepeatedField()
367 Arena::CreateMessage<RepeatedField<int64> >(arena_); in MutableRawRepeatedField()
371 Arena::CreateMessage<RepeatedField<uint32> >(arena_); in MutableRawRepeatedField()
375 Arena::CreateMessage<RepeatedField<uint64> >(arena_); in MutableRawRepeatedField()
[all …]
Dmetadata.h90 return PtrValue<Container>()->arena_; in arena()
142 Arena* arena_; member
150 container->arena_ = my_arena; in mutable_unknown_fields_slow()
Dmap_field.h63 : arena_(NULL), in MapFieldBase()
69 : arena_(arena), in MapFieldBase()
138 Arena* arena_; variable
Dextension_set_heavy.cc173 extension->message_value = prototype->New(arena_); in MutableMessage()
200 if (arena_ == NULL) { in ReleaseMessage()
204 if (arena_ != NULL) { in ReleaseMessage()
228 if (arena_ == NULL) { in UnsafeArenaReleaseMessage()
246 ::google::protobuf::Arena::CreateMessage<RepeatedPtrField<MessageLite> >(arena_); in MaybeNewRepeatedExtension()
269 result = prototype->New(arena_); in AddMessage()
Dmap_field.cc66 if (repeated_field_ != NULL && arena_ == NULL) delete repeated_field_; in ~MapFieldBase()
127 repeated_field_ = Arena::CreateMessage<RepeatedPtrField<Message> >(arena_); in SyncRepeatedFieldWithMapNoLock()
269 if (MapFieldBase::arena_ == NULL) { in SyncRepeatedFieldWithMapNoLock()
274 MapFieldBase::arena_); in SyncRepeatedFieldWithMapNoLock()
Dmap_entry_lite.h495 MapEntryLite() : default_instance_(NULL), arena_(NULL) {
503 : default_instance_(NULL), arena_(arena) {
511 return arena_;
522 Arena* arena_;
Dmap_field_inl.h396 if (MapFieldBase::arena_ == NULL) { in SyncRepeatedFieldWithMapNoLock()
401 MapFieldBase::arena_); in SyncRepeatedFieldWithMapNoLock()
416 down_cast<EntryType*>(default_entry_->New(MapFieldBase::arena_)); in SyncRepeatedFieldWithMapNoLock()
Drepeated_field.h503 return arena_;
519 Arena* arena_;
1345 : arena_(NULL),
1352 : arena_(arena),
1360 if (rep_ != NULL && arena_ == NULL) {
1425 TypeHandler::Delete(cast<TypeHandler>(rep_->elements[index]), arena_);
1439 TypeHandler::NewFromPrototype(prototype, arena_);
1670 cast<TypeHandler>(rep_->elements[current_size_]), arena_);
Dextension_set.h279 ::google::protobuf::Arena* GetArenaNoVirtual() const { return arena_; } in GetArenaNoVirtual()
633 ::google::protobuf::Arena* arena_;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dupb.c5427 upb_arena_init(&e->arena_); in upb_env_init()
5432 upb_arena_init2(&e->arena_, mem, n, alloc); in upb_env_init2()
5437 upb_arena_uninit(&e->arena_); in upb_env_uninit()
5456 return upb_malloc(&e->arena_.alloc, size); in upb_env_malloc()
5460 return upb_realloc(&e->arena_.alloc, ptr, oldsize, size); in upb_env_realloc()
5464 upb_free(&e->arena_.alloc, ptr); in upb_env_free()
5468 return upb_arena_addcleanup(&e->arena_, func, ud); in upb_env_addcleanup()
5472 return upb_arena_bytesallocated(&e->arena_); in upb_env_bytesallocated()
Dupb.h700 Environment(void *mem, size_t len, Allocator *a) : arena_(mem, len, a) {
732 upb_arena arena_;