Searched refs:is_required (Results 1 – 15 of 15) sorted by relevance
94 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
138 if (flag.is_required) { in Usage()243 if (flag.is_required && !flag.found) { in Execute()
147 if (descriptor->field(i)->is_required()) { in IsInitialized()233 if (descriptor->field(i)->is_required()) { in FindInitializationErrors()
544 bool is_required() const; // shorthand for label() == LABEL_REQUIRED1801 inline bool FieldDescriptor::is_required() const { in is_required() function
840 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()
5219 if (field->is_required()) { in ValidateProto3Field()
167 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializationCode()187 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializedSizeCode()
340 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializationCode()354 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializedSizeCode()
136 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()
84 if (descriptor->is_required()) field_flags.push_back("GPBFieldRequired"); in SetCommonFieldVariables()
643 if (field->is_required()) { in GenerateIsInitialized()
745 if (field->is_required()) { in HasRequiredFields()
692 if (field->is_required()) { in GenerateDynamicMethodIsInitialized()
878 if (field->is_required()) { in GenerateIsInitialized()
947 } else if (field->is_required() && !is_primitive && !force_optional) { in JSFieldTypeAnnotation()