Home
last modified time | relevance | path

Searched refs:is_required (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/tools/aapt2/cmd/
DCommand.h94 const bool is_required, const size_t num_args, in Flag()
96 : name(name.to_string()), description(description.to_string()), is_required(is_required), in Flag()
101 const bool is_required; member
DCommand.cpp138 if (flag.is_required) { in Usage()
243 if (flag.is_required && !flag.found) { in Execute()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dreflection_ops.cc147 if (descriptor->field(i)->is_required()) { in IsInitialized()
233 if (descriptor->field(i)->is_required()) { in FindInitializationErrors()
Ddescriptor.h544 bool is_required() const; // shorthand for label() == LABEL_REQUIRED
1801 inline bool FieldDescriptor::is_required() const { in is_required() function
Ddescriptor_unittest.cc840 EXPECT_TRUE (foo_->is_required()); in TEST_F()
844 EXPECT_FALSE(bar_->is_required()); in TEST_F()
848 EXPECT_FALSE(baz_->is_required()); in TEST_F()
Ddescriptor.cc5219 if (field->is_required()) { in ValidateProto3Field()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_enum_field.cc167 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializationCode()
187 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializedSizeCode()
Djavanano_primitive_field.cc340 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializationCode()
354 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializedSizeCode()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_message.cc136 if (field->is_required()) { in HasRequiredFields()
409 if (descriptor->field(i)->is_required()) { in MessageGenerator()
3448 if (desc->field(i)->is_required()) { in RequiredFieldsBitMask()
3513 if (field->is_required()) { in GenerateByteSize()
3551 if (!field->is_required()) continue; in GenerateByteSize()
3564 if (!field->is_required()) continue; in GenerateByteSize()
3585 if (!field->is_required() && !field->is_repeated() && in GenerateByteSize()
3595 if (!field->is_required() && !field->is_repeated() && in GenerateByteSize()
3756 if (field->is_required()) { in GenerateIsInitialized()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc84 if (descriptor->is_required()) field_flags.push_back("GPBFieldRequired"); in SetCommonFieldVariables()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_message_builder.cc643 if (field->is_required()) { in GenerateIsInitialized()
Djava_helpers.cc745 if (field->is_required()) { in HasRequiredFields()
Djava_message_lite.cc692 if (field->is_required()) { in GenerateDynamicMethodIsInitialized()
Djava_message.cc878 if (field->is_required()) { in GenerateIsInitialized()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/
Djs_generator.cc947 } else if (field->is_required() && !is_primitive && !force_optional) { in JSFieldTypeAnnotation()