/external/libtextclassifier/native/utils/grammar/utils/ |
D | rules.h | 68 explicit RhsElement(const std::string& terminal, const bool is_optional) in RhsElement() 69 : is_terminal(true), terminal(terminal), is_optional(is_optional) {} in RhsElement() 70 explicit RhsElement(const int nonterminal, const bool is_optional) in RhsElement() 73 is_optional(is_optional) {} in RhsElement() 77 bool is_optional; member
|
D | rules.cc | 265 rhs[i].is_optional || !IsNonterminalOfName(rhs[i + 1], kFiller)) { in ResolveFillers() 279 if (rhs[i + 1].is_optional) { in ResolveFillers() 312 if (optimized_rhs[i].is_optional) { in Add() 333 bool is_optional = false; in Add() local 336 is_optional = true; in Add() 341 RhsElement(AddNonterminal(rhs_component.ToString()), is_optional)); in Add() 346 rhs_elements.push_back(RhsElement(rhs_component.ToString(), is_optional)); in Add()
|
/external/perfetto/src/trace_processor/db/ |
D | typed_column_internal.h | 96 static constexpr bool is_optional = false; 120 static constexpr bool is_optional = true; 150 static constexpr bool is_optional = false; 172 static constexpr bool is_optional = false;
|
D | typed_column.h | 122 return TH::is_optional ? Flag::kNoFlag : Flag::kNonNull; in default_flags() 134 (column->IsNullable() == TH::is_optional) && !column->IsId()) { in FromColumn()
|
/external/libchrome/components/json_schema/ |
D | json_schema_validator.cc | 610 bool is_optional = false; in ValidateObject() local 611 prop_schema->GetBoolean(schema::kOptional, &is_optional); in ValidateObject() 612 if (!is_optional) { in ValidateObject() 733 bool is_optional = false; in ValidateTuple() local 734 item_schema->GetBoolean(schema::kOptional, &is_optional); in ValidateTuple() 735 if (!is_optional) { in ValidateTuple()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_field.cc | 119 } else if (params.optional_field_accessors() && field->is_optional() in MakeGenerator()
|
/external/v8/src/parsing/ |
D | parser-base.h | 66 void UpdateArityAndFunctionLength(bool is_optional, bool is_rest) { in UpdateArityAndFunctionLength() 67 if (!is_optional && !is_rest && function_length == arity) { in UpdateArityAndFunctionLength() 3295 bool is_optional = false; in ParseLeftHandSideContinuation() local 3299 if (is_optional) { in ParseLeftHandSideContinuation() 3304 is_optional = true; in ParseLeftHandSideContinuation() 3315 result = factory()->NewProperty(result, index, pos, is_optional); in ParseLeftHandSideContinuation() 3322 if (is_optional) { in ParseLeftHandSideContinuation() 3329 result = factory()->NewProperty(result, key, pos, is_optional); in ParseLeftHandSideContinuation() 3371 CheckPossibleEvalCall(result, is_optional, scope()); in ParseLeftHandSideContinuation() 3375 is_optional); in ParseLeftHandSideContinuation() [all …]
|
D | parser.h | 881 bool is_optional = parameter->initializer() != nullptr; 889 is_optional, parameter->is_rest(), ast_value_factory(),
|
D | parser.cc | 59 bool is_optional = false; in DefaultConstructor() local 61 constructor_args_name, VariableMode::kTemporary, is_optional, is_rest, in DefaultConstructor()
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_field.cc | 84 if (descriptor->is_optional()) field_flags.push_back("GPBFieldOptional"); in SetCommonFieldVariables()
|
/external/python/cpython3/Tools/clinic/ |
D | clinic.py | 651 if not p.is_optional(): 657 if not p.is_optional(): 662 not converters[0].is_optional() and 858 if has_optional or p.is_optional(): 938 if not p.is_optional(): 2274 def is_optional(self): member in Parameter 2485 def is_optional(self): member in CConverter 2528 if self.is_optional() and '|' not in data.format_units: 4776 if p.converter.is_optional():
|
/external/u-boot/tools/buildman/ |
D | kconfiglib.py | 1628 not sym.choice.is_optional and \ 3165 node.item.is_optional = True 5061 val = 0 if self.is_optional else 1 5196 if self.is_optional: 5256 self.is_constant = self.is_optional = False 5272 if not self.is_optional: 5278 return (0, 1) if self.is_optional else (1,) 5717 if sc.__class__ is Choice and sc.is_optional:
|
/external/tensorflow/tensorflow/core/framework/ |
D | op_def.proto | 81 // TODO(josh11b): bool is_optional?
|
/external/protobuf/src/google/protobuf/ |
D | descriptor.h | 623 bool is_optional() const; // shorthand for label() == LABEL_OPTIONAL 2063 inline bool FieldDescriptor::is_optional() const { in is_optional() function
|
D | test_util.h | 1166 if (!field->is_optional() || in SetAllocatedOptionalMessageFieldsToNullViaReflection() 1186 if (!field->is_optional() || in SetAllocatedOptionalMessageFieldsToMessageViaReflection()
|
D | descriptor.cc | 1539 extension->is_optional() && extension->message_type() == type) { in FindExtensionByPrintableName() 2686 if (is_optional() && (print_label_flag == OMIT_LABEL || in DebugString() 5991 if (!field->is_optional() || in ValidateFieldOptions() 6970 extension->is_optional() && in FindExtension() 7253 type() == FieldDescriptor::TYPE_MESSAGE && is_optional() && in PrintableNameForExtension()
|
D | descriptor_unittest.cc | 984 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()
|
/external/python/cpython2/Lib/plat-mac/ |
D | gensuitemodule.py | 728 opt_arg = (has_arg and is_optional(accepts)) 1150 def is_optional(data): function
|
/external/elfutils/libdw/ |
D | known-dwarf.h | 102 DWARF_ONE_KNOWN_DW_AT (is_optional, DW_AT_is_optional) \
|
/external/v8/src/ast/ |
D | scopes.h | 979 bool is_optional, bool is_rest,
|
D | scopes.cc | 893 bool is_optional, bool is_rest, in DeclareParameter() argument 899 DCHECK(!is_optional || !is_rest); in DeclareParameter()
|
/external/protobuf/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 978 field->is_optional()) { in ReturnsNullWhenUnset() 1309 : (field->is_optional() ? "optional" : "required"); in FieldDefinition()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/ |
D | Dwarf.def | 215 HANDLE_DW_AT(0x21, is_optional, 2, DWARF)
|