Home
last modified time | relevance | path

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

12

/third_party/rust/crates/bindgen/bindgen/codegen/
Ddyngen.rs132 is_required: bool, in push()
145 let member = if is_required { in push()
157 let fn_ = if is_required { in push()
187 self.constructor_inits.push(if is_required { in push()
/third_party/protobuf/src/google/protobuf/
Dreflection_ops.cc203 if (field->is_required() && !reflection->HasField(message, field)) { in IsInitialized()
261 if (descriptor->field(i)->is_required()) { in IsInitialized()
394 if (descriptor->field(i)->is_required()) { in FindInitializationErrors()
Ddescriptor.h693 bool is_required() const; // shorthand for label() == LABEL_REQUIRED
2169 inline bool FieldDescriptor::is_required() const { in is_required() function
Ddynamic_message.cc119 return (field->has_optional_keyword() || field->is_required()) && in HasHasbit()
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()
Ddescriptor.cc6031 if (field->is_required()) { in ValidateProto3Field()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_extensions.py64 is_required = False variable in Extension
84 self.is_required = required
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc863 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_builder.cc630 if (field->is_required()) { in GenerateIsInitialized()
Djava_message_field_lite.cc71 (*variables)["required"] = descriptor->is_required() ? "true" : "false"; in SetMessageVariables()
Djava_string_field_lite.cc86 (*variables)["required"] = descriptor->is_required() ? "true" : "false"; in SetPrimitiveVariables()
Djava_message_lite.cc537 if (descriptor_->field(i)->is_required() || in GenerateDynamicMethodNewBuildMessageInfo()
Djava_primitive_field_lite.cc84 (*variables)["required"] = descriptor->is_required() ? "true" : "false"; in SetPrimitiveVariables()
Djava_enum_field_lite.cc84 (*variables)["required"] = descriptor->is_required() ? "true" : "false"; in SetEnumVariables()
Djava_message.cc890 if (field->is_required()) { in GenerateIsInitialized()
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc83 if (descriptor->is_required()) field_flags.push_back("GPBFieldRequired"); in SetCommonFieldVariables()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc403 return v.front()->is_required(); in IsRequired()
623 if (descriptor->field(i)->is_required()) { in MessageGenerator()
3698 if (!field->is_required()) { in RequiredFieldsBitMask()
3742 if (field->is_required()) { in GenerateByteSize()
3791 if (!field->is_required()) continue; in GenerateByteSize()
3804 if (!field->is_required()) continue; in GenerateByteSize()
Dcpp_helpers.cc804 if (descriptor->is_required()) return true; in IsStringInlined()
1153 !field->is_required() && !field->is_map() && !field->is_extension() && in IsImplicitWeakField()
1179 if (field->is_required()) { in GetSCCAnalysis()
Dcpp_helpers.h443 return (field->has_optional_keyword() || field->is_required()) && in HasHasbit()
/third_party/node/tools/gyp/pylib/gyp/
Dxcodeproj_file.py918 (is_list, property_type, is_strong, is_required) = attributes[0:4]
919 if is_required and property not in self._properties:
928 (is_list, property_type, is_strong, is_required) = attributes[0:4]
930 is_required
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dxcodeproj_file.py918 (is_list, property_type, is_strong, is_required) = attributes[0:4]
919 if is_required and property not in self._properties:
928 (is_list, property_type, is_strong, is_required) = attributes[0:4]
930 is_required
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dvaliditygenerator.py1367 def is_required(name): function
1378 if is_required(name)]
/third_party/protobuf/src/google/protobuf/util/
Dfield_mask_util.cc558 if (field->is_required()) { in AddRequiredFieldPath()
/third_party/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc1000 if (field->is_required() || field->type() == FieldDescriptor::TYPE_ENUM) { in DeclaredReturnTypeIsNullable()
2865 !field->is_required())) { in GenerateClassField()
/third_party/skia/third_party/externals/expat/expat/tests/
Druntests.c1850 int is_required; member
1857 const XML_Char *default_value, int is_required) { in verify_attlist_decl_handler() argument
1870 if (is_required != at->is_required) in verify_attlist_decl_handler()

12