Home
last modified time | relevance | path

Searched refs:CreateMessage (Results 1 – 25 of 38) sorted by relevance

12

/third_party/protobuf/src/google/protobuf/
Darena_unittest.cc305 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST()
322 Arena::CreateMessage<TestEmptyMessage>(&arena); in TEST()
330 arena_message = Arena::CreateMessage<TestEmptyMessage>(&arena); in TEST()
340 Arena::CreateMessage<TestEmptyMessage>(&arena); in TEST()
349 Arena::CreateMessage<TestEmptyMessage>(&arena); in TEST()
368 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
369 arena2_message = Arena::CreateMessage<TestAllTypes>(&arena2); in TEST()
375 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
376 arena2_message = Arena::CreateMessage<TestAllTypes>(&arena2); in TEST()
386 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
[all …]
Dproto3_arena_lite_unittest.cc115 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST()
125 TestAllTypes* arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
126 TestAllTypes* arena2_message = Arena::CreateMessage<TestAllTypes>(&arena2); in TEST()
134 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST()
143 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST()
Dlite_arena_unittest.cc64 Arena::CreateMessage<protobuf_unittest::TestArenaMapLite>(arena_.get()); in TEST_F()
69 Arena::CreateMessage<protobuf_unittest::TestArenaMapLite>(arena_.get()); in TEST_F()
77 Arena::CreateMessage<protobuf_unittest::ForeignMessageArenaLite>( in TEST_F()
Dproto3_arena_unittest.cc120 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST()
130 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST()
151 TestAllTypes* arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
152 TestAllTypes* arena2_message = Arena::CreateMessage<TestAllTypes>(&arena2); in TEST()
160 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST()
169 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST()
179 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST()
188 TestAllTypes* message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST()
Dextension_set_unittest.cc211 Arena::CreateMessage<unittest::TestAllExtensions>(&arena); in TEST()
257 Arena::CreateMessage<unittest::TestAllExtensions>(&arena); in TEST()
388 Arena::CreateMessage<unittest::TestAllExtensions>(&arena1); in TEST()
396 Arena::CreateMessage<unittest::TestAllExtensions>(&arena1); in TEST()
406 Arena::CreateMessage<unittest::TestAllExtensions>(&arena1); in TEST()
417 Arena::CreateMessage<unittest::TestAllExtensions>(&arena); in TEST()
441 Arena::CreateMessage<unittest::TestAllExtensions>(&arena1); in TEST()
443 Arena::CreateMessage<unittest::TestAllExtensions>(arena2.get()); in TEST()
463 Arena::CreateMessage<unittest::TestAllExtensions>(&arena3); in TEST()
465 Arena::CreateMessage<unittest::TestAllExtensions>(&arena4); in TEST()
[all …]
Dextension_set.cc348 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()
409 Arena::CreateMessage<RepeatedField<double>>(arena_); in MutableRawRepeatedField()
413 Arena::CreateMessage<RepeatedField<float>>(arena_); in MutableRawRepeatedField()
417 Arena::CreateMessage<RepeatedField<bool>>(arena_); in MutableRawRepeatedField()
421 Arena::CreateMessage<RepeatedField<int>>(arena_); in MutableRawRepeatedField()
425 Arena::CreateMessage<RepeatedPtrField<std::string>>(arena_); in MutableRawRepeatedField()
[all …]
Drepeated_field_unittest.cc554 Arena::CreateMessage<RepeatedField<int>>(&arena); in TEST()
586 Arena::CreateMessage<RepeatedField<int>>(&arena); in TEST()
590 Arena::CreateMessage<RepeatedField<int>>(&arena); in TEST()
605 Arena::CreateMessage<RepeatedField<int>>(&source_arena); in TEST()
610 Arena::CreateMessage<RepeatedField<int>>(&destination_arena); in TEST()
621 Arena::CreateMessage<RepeatedField<int>>(&arena); in TEST()
638 Arena::CreateMessage<RepeatedField<int>>(&arena); in TEST()
660 Arena::CreateMessage<RepeatedField<int>>(&arena); in TEST()
1265 Arena::CreateMessage<RepeatedPtrField<std::string>>(&arena); in TEST()
1297 Arena::CreateMessage<RepeatedPtrField<std::string>>(&arena); in TEST()
[all …]
Dgenerated_message_reflection_unittest.cc527 Arena::CreateMessage<unittest::TestAllTypes>(&arena); in TEST()
593 Arena::CreateMessage<unittest::TestAllExtensions>(&arena); in TEST()
812 Arena::CreateMessage<unittest::TestOneof2>(&arena); in TEST()
934 Arena::CreateMessage<unittest::TestAllTypes>(&arena); in TEST()
958 Arena::CreateMessage<unittest::TestAllExtensions>(&arena); in TEST()
982 Arena::CreateMessage<unittest::TestOneof2>(&arena); in TEST()
Darena_test_util.h62 T* message = Arena::CreateMessage<T>(use_arena ? &arena : nullptr); in TestParseCorruptedString()
Dmap_type_handler.h90 static inline Type* CreateMessage(Arena* arena);
95 static inline Type* CreateMessage(Arena* arena) {
96 return Arena::CreateMessage<Type>(arena);
102 static inline Type* CreateMessage(Arena* arena) {
603 Arena::is_arena_constructable<Type>::type::value>::CreateMessage(arena);
Dmap_field.cc119 Arena::CreateMessage<RepeatedPtrField<Message> >(arena_); in SyncRepeatedFieldWithMap()
133 repeated_field_ = Arena::CreateMessage<RepeatedPtrField<Message> >(arena_); in SyncRepeatedFieldWithMapNoLock()
369 Arena::CreateMessage<RepeatedPtrField<Message> >( in SyncRepeatedFieldWithMapNoLock()
Drepeated_field.cc118 : Arena::CreateMessage<ImplicitWeakMessage>(arena_); in AddWeak()
Dmap_field_test.cc175 MapFieldType* map_field = Arena::CreateMessage<MapFieldType>(&arena); in TEST_F()
190 Arena::CreateMessage<MapFieldBaseStub>(&arena); in TEST_F()
Dimplicit_weak_message.h68 return Arena::CreateMessage<ImplicitWeakMessage>(arena); in New()
Dmap_field_lite.h93 return Arena::CreateMessage<EntryType>(map_.arena_); in NewEntry()
Dreflection_ops_unittest.cc517 auto* arena_message = Arena::CreateMessage<unittest::TestAllTypes>(&arena); in TEST()
530 auto* arena_message = Arena::CreateMessage<unittest::TestAllTypes>(&arena); in TEST()
Dmap_field_inl.h285 Arena::CreateMessage<RepeatedPtrField<Message> >( in SyncRepeatedFieldWithMapNoLock()
Dextension_set_heavy.cc252 Arena::CreateMessage<RepeatedPtrField<MessageLite> >(arena_); in MaybeNewRepeatedExtension()
Darena.h297 PROTOBUF_ALWAYS_INLINE static T* CreateMessage(Arena* arena, Args&&... args) { in CreateMessage() function
Dmap_test.cc3496 Arena::CreateMessage<unittest::TestArenaMap>(&arena); in TEST()
3501 Arena::CreateMessage<unittest::TestArenaMap>(&arena); in TEST()
3516 Arena::CreateMessage<unittest::TestArenaMap>(&arena); in TEST()
3518 Arena::CreateMessage<unittest::TestArenaMap>(&arena); in TEST()
3531 Arena::CreateMessage<unittest::TestArenaMap>(&arena); in TEST()
3554 Arena::CreateMessage<unittest::TestArenaMap>(&arena); in TEST()
/third_party/cef/tests/ceftests/
Dresource_manager_unittest.cc23 std::string CreateMessage(const std::string& name, const std::string& value) { in CreateMessage() function
116 return CreateContentsResourceHandler(CreateMessage(kDoneMsg, kNotHandled)); in GetResourceHandler()
187 EXPECT_EQ(CreateMessage(kDoneMsg, kNotHandled), state.messages_[0]); in TEST()
318 EXPECT_EQ(CreateMessage(kDoneMsg, kNotHandled), state.messages_[0]); in TestUrlParsing()
446 EXPECT_EQ(CreateMessage(kDoneMsg, kNotHandled), state.messages_[0]); in TEST()
493 EXPECT_EQ(CreateMessage(kDoneMsg, kNotHandled), state.messages_[0]); in TEST()
541 EXPECT_EQ(CreateMessage(kDoneMsg, kNotHandled), state.messages_[0]); in TEST()
602 EXPECT_EQ(CreateMessage(kDoneMsg, kNotHandled), state.messages_[0]); in TEST()
660 EXPECT_EQ(CreateMessage(kDoneMsg, kNotHandled), state.messages_[0]); in TEST()
725 const std::string& success1_message = CreateMessage(kDoneMsg, "Success1"); in TEST()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_move_unittest.cc92 Arena::CreateMessage<protobuf_unittest::TestAllTypes>(&arena); in TEST()
97 Arena::CreateMessage<protobuf_unittest::TestAllTypes>(&arena); in TEST()
108 Arena::CreateMessage<protobuf_unittest::TestAllTypes>(&arena1); in TEST()
113 Arena::CreateMessage<protobuf_unittest::TestAllTypes>(&arena2); in TEST()
126 Arena::CreateMessage<protobuf_unittest::TestAllTypes>(&arena); in TEST()
147 Arena::CreateMessage<protobuf_unittest::TestAllTypes>(&arena); in TEST()
/third_party/node/deps/v8/include/
Dv8-exception.h47 static Local<Message> CreateMessage(Isolate* isolate, Local<Value> exception);
/third_party/protobuf/benchmarks/cpp/
Dcpp_benchmark.cc128 Message* m = Arena::CreateMessage<T>(&arena); in BenchmarkCase()
/third_party/node/src/
Dnode_errors.cc596 message = Exception::CreateMessage(env_->isolate(), exception); in ~TryCatchScope()
1003 Local<Message> message = Exception::CreateMessage(isolate, exception); in TriggerUncaughtException()
1093 if (message.IsEmpty()) message = Exception::CreateMessage(isolate, error); in TriggerUncaughtException()

12