Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_field.cc119 } else if (params.optional_field_accessors() && field->is_optional() in MakeGenerator()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc85 if (descriptor->is_optional()) field_flags.push_back("GPBFieldOptional"); in SetCommonFieldVariables()
/external/protobuf/src/google/protobuf/
Ddescriptor.h545 bool is_optional() const; // shorthand for label() == LABEL_OPTIONAL
1798 inline bool FieldDescriptor::is_optional() const { in is_optional() function
Ddescriptor_unittest.cc842 EXPECT_FALSE(foo_->is_optional()); in TEST_F()
846 EXPECT_TRUE (bar_->is_optional()); in TEST_F()
850 EXPECT_FALSE(baz_->is_optional()); in TEST_F()
Dtext_format.cc1386 && field->is_optional() in PrintFieldName()
Dgenerated_message_reflection.cc1863 extension->is_optional() && in FindKnownExtensionByName()
Dtest_util.cc3286 if (!field->is_optional() || in SetAllocatedOptionalMessageFieldsToNullViaReflection()
3306 if (!field->is_optional() || in SetAllocatedOptionalMessageFieldsToMessageViaReflection()
Ddescriptor.cc5288 if (!field->is_optional() || in ValidateFieldOptions()
6083 extension->is_optional() && in FindExtension()
/external/tensorflow/tensorflow/core/framework/
Dop_def.proto77 // TODO(josh11b): bool is_optional?
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc924 if (field->is_optional() && is_primitive && in JSFieldTypeAnnotation()
1089 (field->is_optional() ? "optional" : "required"); in FieldDefinition()
1964 } else if (field->is_optional() && !field->has_default_value()) { in GenerateClassFieldToObject()
2255 } else if (field->is_optional() && !field->has_default_value()) { in GenerateClassField()
/external/python/cpython2/Lib/plat-mac/
Dgensuitemodule.py728 opt_arg = (has_arg and is_optional(accepts))
1150 def is_optional(data): function
/external/v8/src/parsing/
Dparser.h1084 bool is_optional = parameter->initializer != nullptr;
1087 use_name ? VAR : TEMPORARY, is_optional, parameter->is_rest,
Dparser.cc192 bool is_optional = false; in DefaultConstructor() local
194 constructor_args_name, TEMPORARY, is_optional, is_rest, &is_duplicate, in DefaultConstructor()
694 bool is_optional = false; in DoParseProgram() local
695 auto var = scope->DeclareParameter(name, VAR, is_optional, is_rest, in DoParseProgram()
Dparser-base.h71 void UpdateArityAndFunctionLength(bool is_optional, bool is_rest) { in UpdateArityAndFunctionLength()
72 if (!is_optional && !is_rest && function_length == arity) { in UpdateArityAndFunctionLength()
/external/v8/src/ast/
Dscopes.h694 bool is_optional, bool is_rest, bool* is_duplicate,
Dscopes.cc948 const AstRawString* name, VariableMode mode, bool is_optional, bool is_rest, in DeclareParameter() argument
953 DCHECK(!is_optional || !is_rest); in DeclareParameter()
/external/python/cpython3/Tools/clinic/
Dclinic.py665 not converters[0].is_optional() and
2347 def is_optional(self): member in CConverter
2392 if self.is_optional() and '|' not in data.format_units:
4119 if p.converter.is_optional():
/external/elfutils/libdw/
Dknown-dwarf.h102 DWARF_ONE_KNOWN_DW_AT (is_optional, DW_AT_is_optional) \