Home
last modified time | relevance | path

Searched refs:is_optional (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_field.cc119 } else if (params.optional_field_accessors() && field->is_optional() in MakeGenerator()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc85 if (descriptor->is_optional()) field_flags.push_back("GPBFieldOptional"); in SetCommonFieldVariables()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor.h545 bool is_optional() const; // shorthand for label() == LABEL_OPTIONAL
1805 inline bool FieldDescriptor::is_optional() const { in is_optional() function
Ddescriptor_unittest.cc841 EXPECT_FALSE(foo_->is_optional()); in TEST_F()
845 EXPECT_TRUE (bar_->is_optional()); in TEST_F()
849 EXPECT_FALSE(baz_->is_optional()); in TEST_F()
Dtext_format.cc1418 && field->is_optional() in PrintFieldName()
Dgenerated_message_reflection.cc1864 extension->is_optional() && in FindKnownExtensionByName()
Ddescriptor.cc5307 if (!field->is_optional() || in ValidateFieldOptions()
6102 extension->is_optional() && in FindExtension()
Dtest_util.cc3286 if (!field->is_optional() || in SetAllocatedOptionalMessageFieldsToNullViaReflection()
3306 if (!field->is_optional() || in SetAllocatedOptionalMessageFieldsToMessageViaReflection()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/
Djs_generator.cc944 if (field->is_optional() && is_primitive && in JSFieldTypeAnnotation()
1151 (field->is_optional() ? "optional" : "required"); in FieldDefinition()
2047 } else if (field->is_optional() && !field->has_default_value()) { in GenerateClassFieldToObject()