Home
last modified time | relevance | path

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

12

/external/rust/crates/bindgen/src/codegen/
Ddyngen.rs120 is_required: bool, in push()
131 let member = if is_required { in push()
143 let fn_ = if is_required { in push()
164 self.constructor_inits.push(if is_required { in push()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_device_info.py265 is_required : bool = False variable in Extension
274 self.is_required = required
/external/protobuf/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()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_message.cc119 if (field->is_required()) { in HasRequiredFields()
415 if (field->is_required()) { in GenerateIsInitialized()
/external/protobuf/src/google/protobuf/
Dreflection_ops.cc183 if (descriptor->field(i)->is_required()) { in IsInitialized()
308 if (descriptor->field(i)->is_required()) { in FindInitializationErrors()
Ddescriptor.h622 bool is_required() const; // shorthand for label() == LABEL_REQUIRED
2059 inline bool FieldDescriptor::is_required() const { in is_required() function
Ddescriptor_unittest.cc983 EXPECT_TRUE(foo_->is_required()); in TEST_F()
987 EXPECT_FALSE(bar_->is_required()); in TEST_F()
991 EXPECT_FALSE(baz_->is_required()); in TEST_F()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc864 if (field->is_required()) { in HasRequiredFields()
968 int extra_bits = field->is_required() ? kRequiredBit : 0; in GetExperimentalJavaFieldType()
972 if (field->is_required() || (GetJavaType(field) == JAVATYPE_MESSAGE && in GetExperimentalJavaFieldType()
Djava_message_lite.cc539 if (descriptor_->field(i)->is_required() || in GenerateDynamicMethodNewBuildMessageInfo()
Djava_string_field_lite.cc88 (*variables)["required"] = descriptor->is_required() ? "true" : "false"; in SetPrimitiveVariables()
Djava_message_builder.cc634 if (field->is_required()) { in GenerateIsInitialized()
Djava_message_field_lite.cc72 (*variables)["required"] = descriptor->is_required() ? "true" : "false"; in SetMessageVariables()
Djava_primitive_field_lite.cc84 (*variables)["required"] = descriptor->is_required() ? "true" : "false"; in SetPrimitiveVariables()
Djava_enum_field_lite.cc85 (*variables)["required"] = descriptor->is_required() ? "true" : "false"; in SetEnumVariables()
Djava_message.cc883 if (field->is_required()) { in GenerateIsInitialized()
/external/libprotobuf-mutator/src/
Dmutator.cc253 (!field->is_required() || !keep_initialized_)) { in SampleImpl()
449 (field->is_required() || descriptor->options().map_entry()) && in Run()
456 if (max_depth < 0 && !field->is_required()) { in Run()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc374 return v.front()->is_required(); in IsRequired()
413 a->is_required() == b->is_required(); in operator ()()
658 if (descriptor->field(i)->is_required()) { in MessageGenerator()
4012 if (!field->is_required()) { in RequiredFieldsBitMask()
4079 if (field->is_required()) { in GenerateByteSize()
4140 if (!field->is_required()) continue; in GenerateByteSize()
4153 if (!field->is_required()) continue; in GenerateByteSize()
Dcpp_helpers.cc760 if (descriptor->is_required()) return true; in IsStringInlined()
1128 !field->is_required() && !field->is_map() && in IsImplicitWeakField()
1154 if (field->is_required()) { in GetSCCAnalysis()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc83 if (descriptor->is_required()) field_flags.push_back("GPBFieldRequired"); in SetCommonFieldVariables()
/external/rust/crates/protobuf-codegen/src/
Dmessage.rs100 FieldKind::Singular(ref singular) => singular.flag.is_required(), in required_fields()
/external/protobuf/src/google/protobuf/util/
Dfield_mask_util.cc558 if (field->is_required()) { in AddRequiredFieldPath()
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc995 if (field->is_required() || field->type() == FieldDescriptor::TYPE_ENUM) { in DeclaredReturnTypeIsNullable()
2883 !field->is_required())) { in GenerateClassField()
/external/rust/crates/protobuf-codegen/src/field/
Dmod.rs139 pub fn is_required(&self) -> bool { in is_required() method
/external/expat/tests/
Druntests.c1842 int is_required; member
1849 const XML_Char *default_value, int is_required) { in verify_attlist_decl_handler() argument
1862 if (is_required != at->is_required) in verify_attlist_decl_handler()

12