Searched refs:IsInitialized (Results 1 - 25 of 36) sorted by relevance

12

/external/protobuf/src/google/protobuf/
H A Dreflection_ops.h61 static bool IsInitialized(const Message& message);
H A Dreflection_ops_unittest.cc289 TEST(ReflectionOpsTest, IsInitialized) {
292 EXPECT_FALSE(ReflectionOps::IsInitialized(message));
294 EXPECT_FALSE(ReflectionOps::IsInitialized(message));
296 EXPECT_FALSE(ReflectionOps::IsInitialized(message));
298 EXPECT_TRUE(ReflectionOps::IsInitialized(message));
306 EXPECT_TRUE(ReflectionOps::IsInitialized(message));
310 EXPECT_FALSE(ReflectionOps::IsInitialized(message));
316 EXPECT_TRUE(ReflectionOps::IsInitialized(message));
320 EXPECT_FALSE(ReflectionOps::IsInitialized(message));
326 EXPECT_TRUE(ReflectionOps::IsInitialized(messag
[all...]
H A Dmessage_lite.cc122 if (!message->IsInitialized()) {
229 GOOGLE_DCHECK(IsInitialized()) << InitializationErrorMessage("serialize", *this);
273 GOOGLE_DCHECK(IsInitialized()) << InitializationErrorMessage("serialize", *this);
300 GOOGLE_DCHECK(IsInitialized()) << InitializationErrorMessage("serialize", *this);
H A Dextension_set_unittest.cc294 TEST(ExtensionSetTest, IsInitialized) {
295 // Test that IsInitialized() returns false if required fields in nested
299 EXPECT_TRUE(message.IsInitialized());
302 EXPECT_FALSE(message.IsInitialized());
305 EXPECT_FALSE(message.IsInitialized());
307 EXPECT_FALSE(message.IsInitialized());
309 EXPECT_TRUE(message.IsInitialized());
312 EXPECT_FALSE(message.IsInitialized());
315 EXPECT_FALSE(message.IsInitialized());
317 EXPECT_FALSE(message.IsInitialized());
[all...]
H A Dmessage_lite.h93 virtual bool IsInitialized() const = 0;
158 // followed by IsInitialized().
H A Dmessage.cc90 bool Message::IsInitialized() const { function in class:google::protobuf::Message
91 return ReflectionOps::IsInitialized(*this);
105 GOOGLE_CHECK(IsInitialized())
H A Dreflection_ops.cc135 bool ReflectionOps::IsInitialized(const Message& message) { function in class:google::protobuf::internal::ReflectionOps
159 .IsInitialized()) {
164 if (!reflection->GetMessage(message, field).IsInitialized()) {
H A Ddescriptor.pb.cc828 bool FileDescriptorSet::IsInitialized() const { function in class:google::protobuf::FileDescriptorSet
831 if (!this->file(i).IsInitialized()) return false;
1359 bool FileDescriptorProto::IsInitialized() const { function in class:google::protobuf::FileDescriptorProto
1362 if (!this->message_type(i).IsInitialized()) return false;
1365 if (!this->enum_type(i).IsInitialized()) return false;
1368 if (!this->service(i).IsInitialized()) return false;
1371 if (!this->extension(i).IsInitialized()) return false;
1374 if (!this->options().IsInitialized()) return false;
1627 bool DescriptorProto_ExtensionRange::IsInitialized() const { function in class:google::protobuf::DescriptorProto_ExtensionRange
2092 bool DescriptorProto::IsInitialized() cons function in class:google::protobuf::DescriptorProto
2758 bool FieldDescriptorProto::IsInitialized() const { function in class:google::protobuf::FieldDescriptorProto
3076 bool EnumDescriptorProto::IsInitialized() const { function in class:google::protobuf::EnumDescriptorProto
3392 bool EnumValueDescriptorProto::IsInitialized() const { function in class:google::protobuf::EnumValueDescriptorProto
3705 bool ServiceDescriptorProto::IsInitialized() const { function in class:google::protobuf::ServiceDescriptorProto
4096 bool MethodDescriptorProto::IsInitialized() const { function in class:google::protobuf::MethodDescriptorProto
4656 bool FileOptions::IsInitialized() const { function in class:google::protobuf::FileOptions
4966 bool MessageOptions::IsInitialized() const { function in class:google::protobuf::MessageOptions
5396 bool FieldOptions::IsInitialized() const { function in class:google::protobuf::FieldOptions
5624 bool EnumOptions::IsInitialized() const { function in class:google::protobuf::EnumOptions
5848 bool EnumValueOptions::IsInitialized() const { function in class:google::protobuf::EnumValueOptions
6072 bool ServiceOptions::IsInitialized() const { function in class:google::protobuf::ServiceOptions
6296 bool MethodOptions::IsInitialized() const { function in class:google::protobuf::MethodOptions
6563 bool UninterpretedOption_NamePart::IsInitialized() const { function in class:google::protobuf::UninterpretedOption_NamePart
6993 bool UninterpretedOption::IsInitialized() const { function in class:google::protobuf::UninterpretedOption
[all...]
H A Ddescriptor.pb.h185 bool IsInitialized() const;
279 bool IsInitialized() const;
461 bool IsInitialized() const;
558 bool IsInitialized() const;
726 bool IsInitialized() const;
952 bool IsInitialized() const;
1066 bool IsInitialized() const;
1175 bool IsInitialized() const;
1289 bool IsInitialized() const;
1414 bool IsInitialized() cons
[all...]
H A Dmessage.h211 // Verifies that IsInitialized() returns true. GOOGLE_CHECK-fails otherwise, with
216 // This is much, much slower than IsInitialized() as it is implemented
218 // have already determined that an error exists by calling IsInitialized().
289 virtual bool IsInitialized() const;
/external/protobuf/python/google/protobuf/
H A Dmessage.py120 def IsInitialized(self): member in class:Message
H A Dreflection.py793 if not self.IsInitialized():
854 """Adds the IsInitialized and FindInitializationError methods to the
860 def IsInitialized(self, errors=None): function in function:_AddIsInitializedMethod
885 if not element.IsInitialized():
889 elif value._is_present_in_parent and not value.IsInitialized():
896 cls.IsInitialized = IsInitialized
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_unittest.cc526 // Test that IsInitialized() returns false if required fields are missing.
529 EXPECT_FALSE(message.IsInitialized());
531 EXPECT_FALSE(message.IsInitialized());
533 EXPECT_FALSE(message.IsInitialized());
535 EXPECT_TRUE(message.IsInitialized());
539 // Test that IsInitialized() returns false if required fields in nested
543 EXPECT_TRUE(message.IsInitialized());
546 EXPECT_FALSE(message.IsInitialized());
551 EXPECT_TRUE(message.IsInitialized());
554 EXPECT_FALSE(message.IsInitialized());
[all...]
/external/v8/src/
H A Dv8.cc84 if (isolate->IsInitialized()) return true;
H A Dplatform-cygwin.cc686 if (!sampler->isolate()->IsInitialized()) return;
694 if (!sampler->isolate()->IsInitialized()) return;
H A Dplatform-freebsd.cc682 if (isolate == NULL || !isolate->IsInitialized() || !isolate->IsInUse()) {
816 if (!sampler->isolate()->IsInitialized()) return;
H A Dplatform-macos.cc805 if (!sampler->isolate()->IsInitialized()) return;
813 if (!sampler->isolate()->IsInitialized()) return;
H A Dplatform-solaris.cc674 if (isolate == NULL || !isolate->IsInitialized() || !isolate->IsInUse()) {
820 if (!sampler->isolate()->IsInitialized()) return;
H A Dv8threads.cc64 if (!isolate_->IsInitialized()) {
H A Dplatform-linux.cc1032 if (isolate == NULL || !isolate->IsInitialized() || !isolate->IsInUse()) {
1198 if (!sampler->isolate()->IsInitialized()) return;
/external/chromium/chrome/browser/safe_browsing/
H A Dclient_side_detection_host.cc334 verdict->IsInitialized()) {
/external/chromium/chrome/browser/ui/views/location_bar/
H A Dlocation_bar_view.h121 bool IsInitialized() const;
/external/protobuf/src/google/protobuf/compiler/
H A Dplugin.pb.cc444 bool CodeGeneratorRequest::IsInitialized() const { function in class:google::protobuf::compiler::CodeGeneratorRequest
447 if (!this->proto_file(i).IsInitialized()) return false;
788 bool CodeGeneratorResponse_File::IsInitialized() const { function in class:google::protobuf::compiler::CodeGeneratorResponse_File
1054 bool CodeGeneratorResponse::IsInitialized() const { function in class:google::protobuf::compiler::CodeGeneratorResponse
H A Dplugin.pb.h77 bool IsInitialized() const;
200 bool IsInitialized() const;
317 bool IsInitialized() const;
/external/protobuf/python/google/protobuf/internal/
H A Dreflection_test.py1109 self.assertTrue(proto.IsInitialized())
1115 self.assertFalse(proto.IsInitialized())
1175 self.assertFalse(proto.IsInitialized(errors))
2146 self.assertTrue(proto.IsInitialized())
2175 self.assertTrue(proto.IsInitialized())
2187 self.assertTrue(proto.IsInitialized())
2189 self.assertTrue(proto.optional_message.IsInitialized())
2202 self.assertTrue(proto.IsInitialized())

Completed in 260 milliseconds

12