Searched refs:is_required (Results 1 – 17 of 17) sorted by relevance
67 fn_name, fn_args, candidate_args, canonical_arg, is_required=False): argument98 elif is_required:
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_REQUIRED1794 inline bool FieldDescriptor::is_required() const { in is_required() function
841 EXPECT_TRUE (foo_->is_required()); in TEST_F()845 EXPECT_FALSE(bar_->is_required()); in TEST_F()849 EXPECT_FALSE(baz_->is_required()); in TEST_F()
5202 if (field->is_required()) { in ValidateProto3Field()
119 if (field->is_required()) { in HasRequiredFields()415 if (field->is_required()) { in GenerateIsInitialized()
179 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializationCode()199 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializedSizeCode()
368 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializationCode()395 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializedSizeCode()
229 (!field->is_required() || !keep_initialized_)) { in Sample()585 if (keep_initialized_ && field->is_required() && in InitializeAndTrim()590 if (max_depth <= 0 && !field->is_required()) { in InitializeAndTrim()
136 if (field->is_required()) { in HasRequiredFields()409 if (descriptor->field(i)->is_required()) { in MessageGenerator()3427 if (desc->field(i)->is_required()) { in RequiredFieldsBitMask()3492 if (field->is_required()) { in GenerateByteSize()3530 if (!field->is_required()) continue; in GenerateByteSize()3543 if (!field->is_required()) continue; in GenerateByteSize()3564 if (!field->is_required() && !field->is_repeated() && in GenerateByteSize()3574 if (!field->is_required() && !field->is_repeated() && in GenerateByteSize()3735 if (field->is_required()) { in GenerateIsInitialized()
84 if (descriptor->is_required()) field_flags.push_back("GPBFieldRequired"); in SetCommonFieldVariables()
568 if (field->is_required()) { in GenerateIsInitialized()
726 if (field->is_required()) { in HasRequiredFields()
687 if (field->is_required()) { in GenerateDynamicMethodIsInitialized()
861 if (field->is_required()) { in GenerateIsInitialized()
2008 int is_required; member2017 int is_required) in verify_attlist_decl_handler() argument2031 if (is_required != at->is_required) in verify_attlist_decl_handler()
927 } else if (field->is_required() && !is_primitive && !force_optional) { in JSFieldTypeAnnotation()