/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | arena_unittest.cc | 163 Arena arena; in TEST() local 164 EXPECT_TRUE(Arena::Create<int32>(&arena) != NULL); in TEST() 165 EXPECT_TRUE(Arena::Create<int64>(&arena) != NULL); in TEST() 166 EXPECT_TRUE(Arena::Create<float>(&arena) != NULL); in TEST() 167 EXPECT_TRUE(Arena::Create<double>(&arena) != NULL); in TEST() 168 EXPECT_TRUE(Arena::Create<string>(&arena) != NULL); in TEST() 169 arena.Own(new int32); in TEST() 170 arena.Own(new int64); in TEST() 171 arena.Own(new float); in TEST() 172 arena.Own(new double); in TEST() [all …]
|
D | arena.h | 128 void* (*on_arena_init)(Arena* arena); 129 void (*on_arena_reset)(Arena* arena, void* cookie, uint64 space_used); 130 void (*on_arena_destruction)(Arena* arena, void* cookie, uint64 space_used); 250 static T* CreateMessage(::google::protobuf::Arena* arena) { in CreateMessage() argument 251 if (arena == NULL) { in CreateMessage() 254 return arena->CreateMessageInternal<T>(static_cast<T*>(0)); in CreateMessage() 262 static T* CreateMessage(::google::protobuf::Arena* arena, const Arg& arg) { in CreateMessage() argument 263 if (arena == NULL) { in CreateMessage() 266 return arena->CreateMessageInternal<T>(static_cast<T*>(0), in CreateMessage() 275 static T* CreateMessage(::google::protobuf::Arena* arena, in CreateMessage() argument [all …]
|
D | arenastring.h | 58 const ::std::string& value, ::google::protobuf::Arena* arena) { in Set() 60 CreateInstance(arena, &value); in Set() 72 ::google::protobuf::Arena* arena) { in Mutable() 74 CreateInstance(arena, default_value); in Mutable() 84 ::google::protobuf::Arena* arena) { in Release() 89 if (arena != NULL) { in Release() 118 ::std::string* value, ::google::protobuf::Arena* arena) { in SetAllocated() 119 if (arena == NULL && ptr_ != default_value) { in SetAllocated() 120 Destroy(default_value, arena); in SetAllocated() 124 if (arena != NULL) { in SetAllocated() [all …]
|
D | map_type_handler.h | 84 static inline Type* CreateMessage(Arena* arena); 89 static inline Type* CreateMessage(Arena* arena) { 90 return Arena::CreateMessage<Type>(arena); 96 static inline Type* CreateMessage(Arena* arena) { 97 return Arena::Create<Type>(arena); 177 static inline void Merge(const Type& from, Type** to, Arena* arena); 178 static inline void Clear(Type** value, Arena* arena); 179 static inline void ClearMaybeByDefaultEnum(Type** value, Arena* arena, 181 static inline void Initialize(Type** x, Arena* arena); 185 Arena* arena); [all …]
|
D | proto3_arena_unittest.cc | 126 Arena arena; in TEST() local 127 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() 136 Arena arena; in TEST() local 137 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() 166 Arena arena; in TEST() local 167 TestAllTypes *arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() 175 Arena arena; in TEST() local 176 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() 185 Arena arena; in TEST() local 186 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() [all …]
|
D | arenastring_unittest.cc | 83 google::protobuf::Arena arena; in TEST() local 88 field.Set(&default_value, WrapString("Test short"), &arena); in TEST() 90 field.Set(&default_value, WrapString("Test long long long long value"), &arena); in TEST() 93 field.Set(&default_value, string(""), &arena); in TEST() 94 field.Destroy(&default_value, &arena); in TEST() 98 ::std::string* mut = field2.Mutable(&default_value, &arena); in TEST() 99 EXPECT_EQ(mut, field2.Mutable(&default_value, &arena)); in TEST() 106 field2.Destroy(&default_value, &arena); in TEST()
|
D | lite_arena_unittest.cc | 46 google::protobuf::Arena arena(options); in TEST() local 56 google::protobuf::Arena::CreateMessage<protobuf_unittest::TestArenaMapLite>(&arena); in TEST() 61 google::protobuf::Arena::CreateMessage<protobuf_unittest::TestArenaMapLite>(&arena); in TEST() 68 google::protobuf::Arena arena; in TEST() local 71 &arena); in TEST()
|
D | wrappers.pb.h | 78 DoubleValue* New(::google::protobuf::Arena* arena) const; 103 explicit DoubleValue(::google::protobuf::Arena* arena); 106 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); 109 return _internal_metadata_.arena(); in GetArenaNoVirtual() 173 FloatValue* New(::google::protobuf::Arena* arena) const; 198 explicit FloatValue(::google::protobuf::Arena* arena); 201 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); 204 return _internal_metadata_.arena(); in GetArenaNoVirtual() 268 Int64Value* New(::google::protobuf::Arena* arena) const; 293 explicit Int64Value(::google::protobuf::Arena* arena); [all …]
|
D | metadata.h | 62 explicit InternalMetadataWithArena(Arena* arena) in InternalMetadataWithArena() argument 63 : ptr_ (arena) {} in InternalMetadataWithArena() 66 if (have_unknown_fields() && arena() == NULL) { in ~InternalMetadataWithArena() 88 GOOGLE_ATTRIBUTE_ALWAYS_INLINE Arena* arena() const { in arena() function 146 Arena* my_arena = arena(); in mutable_unknown_fields_slow()
|
D | repeated_field.cc | 54 Arena* arena = GetArenaNoVirtual(); in InternalExtend() local 61 if (arena == NULL) { in InternalExtend() 66 ::google::protobuf::Arena::CreateArray<char>(arena, in InternalExtend() 77 if (arena == NULL) { in InternalExtend()
|
D | proto3_arena_lite_unittest.cc | 126 Arena arena; in TEST() local 127 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() 145 Arena arena; in TEST() local 146 TestAllTypes *arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() 154 Arena arena; in TEST() local 155 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST()
|
D | map_entry_lite.h | 248 MessageLite* New(Arena* arena) const { 249 MapEntryLite* entry = Arena::CreateMessage<MapEntryLite>(arena); 298 Arena* arena) { 301 arena, key, value); 306 static MapEntryLite* Wrap(const Key& key, const Value& value, Arena* arena) { 310 arena, key, value); 443 MapEntryWrapper(Arena* arena, const K& key, const V& value) 444 : MapEntryLite<K, V, k_wire_type, v_wire_type, default_enum>(arena), 477 MapEnumEntryWrapper(Arena* arena, const K& key, const V& value) 478 : MapEntryLite<K, V, k_wire_type, v_wire_type, default_enum>(arena), [all …]
|
D | wrappers.pb.cc | 316 DoubleValue::DoubleValue(::google::protobuf::Arena* arena) in DoubleValue() argument 318 _internal_metadata_(arena) { in DoubleValue() 320 RegisterArenaDtor(arena); in DoubleValue() 360 void DoubleValue::RegisterArenaDtor(::google::protobuf::Arena* arena) { in RegisterArenaDtor() argument 379 DoubleValue* DoubleValue::New(::google::protobuf::Arena* arena) const { in New() 380 return ::google::protobuf::Arena::CreateMessage<DoubleValue>(arena); in New() 578 FloatValue::FloatValue(::google::protobuf::Arena* arena) in FloatValue() argument 580 _internal_metadata_(arena) { in FloatValue() 582 RegisterArenaDtor(arena); in FloatValue() 622 void FloatValue::RegisterArenaDtor(::google::protobuf::Arena* arena) { in RegisterArenaDtor() argument [all …]
|
D | map_field.h | 68 explicit MapFieldBase(Arena* arena) in MapFieldBase() argument 69 : arena_(arena), in MapFieldBase() 76 arena->OwnDestructor(&mutex_); in MapFieldBase() 188 explicit TypeDefinedMapFieldBase(Arena* arena) : MapFieldBase(arena) {} in TypeDefinedMapFieldBase() argument 245 explicit MapField(Arena* arena); 250 MapField(Arena* arena, const Message* default_entry); 301 DynamicMapField(const Message* default_entry, Arena* arena);
|
D | empty.pb.cc | 115 Empty::Empty(::google::protobuf::Arena* arena) in Empty() argument 117 _internal_metadata_(arena) { in Empty() 119 RegisterArenaDtor(arena); in Empty() 158 void Empty::RegisterArenaDtor(::google::protobuf::Arena* arena) { in RegisterArenaDtor() argument 177 Empty* Empty::New(::google::protobuf::Arena* arena) const { in New() 178 return ::google::protobuf::Arena::CreateMessage<Empty>(arena); in New()
|
D | arena_nc.cc | 40 google::protobuf::Arena arena; in ArenaPrivateConstructor() local 41 protobuf_unittest::TestAllTypes message(&arena); in ArenaPrivateConstructor()
|
D | repeated_field.h | 110 explicit RepeatedField(Arena* arena); 246 Arena* arena; member 273 return (rep_ == NULL) ? NULL : rep_->arena; in GetArenaNoVirtual() 286 if (rep->arena == NULL) { in InternalDeallocate() 393 explicit RepeatedPtrFieldBase(::google::protobuf::Arena* arena); 563 static inline GenericType* New(Arena* arena) { 565 arena, static_cast<GenericType*>(0)); 571 const GenericType* prototype, ::google::protobuf::Arena* arena = NULL); 572 static inline void Delete(GenericType* value, Arena* arena) { 573 if (arena == NULL) { [all …]
|
D | empty.pb.h | 70 Empty* New(::google::protobuf::Arena* arena) const; 95 explicit Empty(::google::protobuf::Arena* arena); 98 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); 101 return _internal_metadata_.arena(); in GetArenaNoVirtual()
|
D | timestamp.pb.h | 70 Timestamp* New(::google::protobuf::Arena* arena) const; 95 explicit Timestamp(::google::protobuf::Arena* arena); 98 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); 101 return _internal_metadata_.arena(); in GetArenaNoVirtual()
|
D | map_entry.h | 191 Message* New(Arena* arena) const { in New() argument 192 MapEntry* entry = Arena::CreateMessage<MapEntry>(arena); in New() 267 explicit MapEntry(Arena* arena) in MapEntry() argument 268 : _internal_metadata_(arena), in MapEntry() 270 entry_lite_(arena) {} in MapEntry()
|
D | timestamp.pb.cc | 120 Timestamp::Timestamp(::google::protobuf::Arena* arena) in Timestamp() argument 122 _internal_metadata_(arena) { in Timestamp() 124 RegisterArenaDtor(arena); in Timestamp() 165 void Timestamp::RegisterArenaDtor(::google::protobuf::Arena* arena) { in RegisterArenaDtor() argument 184 Timestamp* Timestamp::New(::google::protobuf::Arena* arena) const { in New() 185 return ::google::protobuf::Arena::CreateMessage<Timestamp>(arena); in New()
|
D | message_lite.cc | 153 MessageLite* MessageLite::New(::google::protobuf::Arena* arena) const { in New() 155 if (arena != NULL) { in New() 156 arena->Own(message); in New() 355 const MessageLite* prototype, google::protobuf::Arena* arena) { in NewFromPrototype() argument 356 return prototype->New(arena); in NewFromPrototype()
|
D | map_field_test.cc | 63 explicit MapFieldBaseStub(Arena* arena) : MapFieldBase(arena) {} in MapFieldBaseStub() argument 173 Arena arena(options); in TEST_F() local 181 Arena::CreateMessage<MapFieldType>(&arena, default_entry_); in TEST_F() 196 Arena::CreateMessage<MapFieldBaseStub>(&arena); in TEST_F()
|
D | map_field_lite.h | 55 explicit MapFieldLite(Arena* arena); 110 default_enum_value>::MapFieldLite(Arena* arena) in MapFieldLite() argument 111 : arena_(arena) { in MapFieldLite() 112 map_ = Arena::CreateMessage<Map<Key, T> >(arena); in MapFieldLite()
|
D | map_field_inl.h | 177 Arena* arena) in MapField() argument 178 : TypeDefinedMapFieldBase<Key, T>(arena), in MapField() 180 arena), in MapField() 196 Arena* arena, const Message* default_entry) in MapField() argument 197 : TypeDefinedMapFieldBase<Key, T>(arena), in MapField() 199 arena), in MapField()
|