Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/common/spirv/
Dgen_spirv_builder_and_parser.py331 is_optional = quantifier == '?'
337 elif is_optional:
344 return (type_in, type_out, is_array, is_optional)
346 def get_operand_push_back_line(self, operand, operand_name, is_array, is_optional): argument
353 if is_optional:
390 def get_operand_parse_line(self, operand, operand_name, is_array, is_optional): argument
396 if is_optional:
450 type_in, type_out, is_array, is_optional = self.get_operand_type_in_and_out(operand)
458 self.get_operand_push_back_line(operand, operand_name, is_array, is_optional))
462 self.get_operand_parse_line(operand, operand_name, is_array, is_optional))
/third_party/skia/third_party/externals/angle2/scripts/
Dupdate_chrome_angle.py80 def do_copy(filename, is_optional): argument
91 elif not is_optional:
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dvaliditygenerator.py379 is_optional = param.get('optional').split(',')[0] == 'true'
380 if type_category != 'bitmask' and is_optional:
403is_optional = param.get('optional') is not None and param.get('optional').split(',')[0] == 'true'
413 if is_optional:
450 if optionallengths or is_optional:
457 if optionallengths and is_optional:
459 if is_optional:
781 is_optional = self.isHandleOptional(param, params)
785 if is_optional:
787 elif is_optional:
/third_party/ffmpeg/libavfilter/
Daf_lv2.c437 int is_optional = 0; in init() local
439 is_optional = lilv_port_has_property(s->plugin, lport, s->lv2_Optional); in init()
443 } else if (!lilv_port_is_a(s->plugin, lport, s->lv2_OutputPort) && !is_optional) { in init()
/third_party/gstreamer/gstplugins_bad/ext/lv2/
Dgstlv2utils.c857 const gboolean is_optional = lilv_port_has_property (lv2plugin, port, in gst_lv2_class_init() local
927 is_optional, is_input); in gst_lv2_class_init()
947 is_optional, is_input); in gst_lv2_class_init()
/third_party/protobuf/src/google/protobuf/
Ddescriptor.h694 bool is_optional() const; // shorthand for label() == LABEL_OPTIONAL
2173 inline bool FieldDescriptor::is_optional() const { in is_optional() function
2191 (file()->syntax() == FileDescriptor::SYNTAX_PROTO2 && is_optional() && in has_optional_keyword()
Dtest_util.h1166 if (!field->is_optional() || in SetAllocatedOptionalMessageFieldsToNullViaReflection()
1186 if (!field->is_optional() || in SetAllocatedOptionalMessageFieldsToMessageViaReflection()
Ddescriptor.cc1548 extension->is_optional() && extension->message_type() == type) { in FindExtensionByPrintableName()
2707 (is_optional() && !has_optional_keyword())) { in DebugString()
6120 if (!field->is_optional() || in ValidateFieldOptions()
7109 extension->is_optional() && in FindExtension()
7377 type() == FieldDescriptor::TYPE_MESSAGE && is_optional() && in PrintableNameForExtension()
Ddescriptor_unittest.cc984 EXPECT_FALSE(foo_->is_optional()); in TEST_F()
988 EXPECT_TRUE(bar_->is_optional()); in TEST_F()
992 EXPECT_FALSE(baz_->is_optional()); in TEST_F()
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc84 if (descriptor->is_optional()) field_flags.push_back("GPBFieldOptional"); in SetCommonFieldVariables()
/third_party/python/Tools/clinic/
Dclinic.py651 if not p.is_optional():
657 if not p.is_optional():
666 not converters[0].is_optional() and
868 if has_optional or p.is_optional():
951 if not p.is_optional():
2310 def is_optional(self): member in Parameter
2521 def is_optional(self): member in CConverter
2564 if self.is_optional() and '|' not in data.format_units:
4864 if p.converter.is_optional():
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc3244 } else if (field->is_optional() && !HasHasbit(field)) { in GenerateClassSpecificMergeFrom()
3473 } else if (field->is_optional() && !HasHasbit(field)) { in GenerateSerializeOneField()
/third_party/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc983 field->is_optional()) { in ReturnsNullWhenUnset()
1307 : (field->is_optional() ? "optional" : "required"); in FieldDefinition()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DDwarf.def238 HANDLE_DW_AT(0x21, is_optional, 2, DWARF)
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest16-pr18904.so.abi10522 …<parameter type-id='type-id-44' name='is_optional' filepath='../../../gcc/liboffloadmic/runtime/co…
10537 …<parameter type-id='type-id-44' name='is_optional' filepath='../../../gcc/liboffloadmic/runtime/co…