/external/nanopb-c/generator/google/protobuf/internal/ |
D | encoder.py | 127 def SpecificSizer(field_number, is_repeated, is_packed): argument 137 elif is_repeated: 156 def SpecificSizer(field_number, is_repeated, is_packed): argument 166 elif is_repeated: 185 def SpecificSizer(field_number, is_repeated, is_packed): argument 193 elif is_repeated: 227 def StringSizer(field_number, is_repeated, is_packed): argument 234 if is_repeated: 249 def BytesSizer(field_number, is_repeated, is_packed): argument 256 if is_repeated: [all …]
|
D | decoder.py | 190 def SpecificDecoder(field_number, is_repeated, is_packed, key, new_default): argument 209 elif is_repeated: 377 def StringDecoder(field_number, is_repeated, is_packed, key, new_default): argument 384 if is_repeated: 415 def BytesDecoder(field_number, is_repeated, is_packed, key, new_default): argument 421 if is_repeated: 452 def GroupDecoder(field_number, is_repeated, is_packed, key, new_default): argument 460 if is_repeated: 499 def MessageDecoder(field_number, is_repeated, is_packed, key, new_default): argument 505 if is_repeated:
|
/external/protobuf/python/google/protobuf/internal/ |
D | encoder.py | 130 def SpecificSizer(field_number, is_repeated, is_packed): argument 140 elif is_repeated: 159 def SpecificSizer(field_number, is_repeated, is_packed): argument 169 elif is_repeated: 188 def SpecificSizer(field_number, is_repeated, is_packed): argument 196 elif is_repeated: 230 def StringSizer(field_number, is_repeated, is_packed): argument 237 if is_repeated: 252 def BytesSizer(field_number, is_repeated, is_packed): argument 259 if is_repeated: [all …]
|
D | decoder.py | 199 def SpecificDecoder(field_number, is_repeated, is_packed, key, new_default): argument 218 elif is_repeated: 353 def EnumDecoder(field_number, is_repeated, is_packed, key, new_default): argument 385 elif is_repeated: 461 def StringDecoder(field_number, is_repeated, is_packed, key, new_default): argument 476 if is_repeated: 507 def BytesDecoder(field_number, is_repeated, is_packed, key, new_default): argument 513 if is_repeated: 544 def GroupDecoder(field_number, is_repeated, is_packed, key, new_default): argument 552 if is_repeated: [all …]
|
/external/protobuf/src/google/protobuf/ |
D | extension_set.cc | 132 bool is_repeated, bool is_packed) { in RegisterExtension() argument 136 ExtensionInfo info(type, is_repeated, is_packed); in RegisterExtension() 155 bool is_repeated, bool is_packed, in RegisterEnumExtension() argument 158 ExtensionInfo info(type, is_repeated, is_packed); in RegisterEnumExtension() 167 bool is_repeated, bool is_packed, in RegisterMessageExtension() argument 171 ExtensionInfo info(type, is_repeated, is_packed); in RegisterMessageExtension() 206 GOOGLE_DCHECK(!iter->second.is_repeated); in Has() 258 GOOGLE_DCHECK_EQ((EXTENSION).is_repeated ? REPEATED : OPTIONAL, LABEL); \ 284 extension->is_repeated = false; \ 314 extension->is_repeated = true; \ [all …]
|
D | wire_format.cc | 451 } else if (field->is_repeated() || in ParseAndMergeMessageSetField() 579 if (field->is_repeated()) { \ in ParseAndMergeField() 611 if (field->is_repeated()) { in ParseAndMergeField() 620 if (field->is_repeated()) { in ParseAndMergeField() 653 if (field->is_repeated()) { in ParseAndMergeField() 664 if (field->is_repeated()) { in ParseAndMergeField() 674 if (field->is_repeated()) { in ParseAndMergeField() 690 if (field->is_repeated()) { in ParseAndMergeField() 824 !field->is_repeated()) { in SerializeFieldWithCachedSizes() 831 if (field->is_repeated()) { in SerializeFieldWithCachedSizes() [all …]
|
D | extension_set_heavy.cc | 101 if (iter->second.is_repeated) { in AppendToList() 139 GOOGLE_DCHECK_EQ((EXTENSION).is_repeated ? FieldDescriptor::LABEL_REPEATED \ 168 extension->is_repeated = false; in MutableMessage() 221 extension->is_repeated = true; in MaybeNewRepeatedExtension() 271 output->is_repeated = extension->is_repeated(); in Find() 338 if (is_repeated) { in SpaceUsedExcludingSelf() 414 if (is_repeated) { in SerializeFieldWithCachedSizesToArray() 527 if (type != WireFormatLite::TYPE_MESSAGE || is_repeated) { in SerializeMessageSetItemWithCachedSizesToArray() 675 if (type != WireFormatLite::TYPE_MESSAGE || is_repeated) { in SerializeMessageSetItemWithCachedSizes() 706 if (type != WireFormatLite::TYPE_MESSAGE || is_repeated) { in MessageSetItemByteSize()
|
D | reflection_ops.cc | 71 if (field->is_repeated()) { in Merge() 161 if (field->is_repeated()) { in IsInitialized() 191 if (field->is_repeated()) { in DiscardUnknownFields() 247 if (field->is_repeated()) { in FindInitializationErrors()
|
D | text_format.cc | 166 if (field->is_repeated() && index == -1) { in CheckFieldIndex() 169 } else if (!field->is_repeated() && index != -1) { in CheckFieldIndex() 488 if (!field->is_repeated() && reflection->HasField(*message, field)) { in ConsumeField() 515 if (field->is_repeated() && TryConsume("[")) { in ConsumeField() 595 if (field->is_repeated()) { in ConsumeFieldMessage() 627 if (field->is_repeated()) { \ in ConsumeFieldValue() 1649 field->is_repeated() && in PrintField() 1658 if (field->is_repeated()) { in PrintField() 1680 const int field_index = field->is_repeated() ? j : -1; in PrintField() 1688 field->is_repeated() in PrintField() [all …]
|
D | dynamic_message.cc | 356 if (!field->is_repeated()) { \ in SharedCtor() 373 if (!field->is_repeated()) { in SharedCtor() 384 if (!field->is_repeated()) { in SharedCtor() 404 if (!field->is_repeated()) { in SharedCtor() 472 if (field->is_repeated()) { in ~DynamicMessage() 551 !field->is_repeated()) { in CrossLinkPrototypes()
|
/external/perfetto/include/perfetto/protozero/ |
D | proto_field_descriptor.h | 52 bool is_repeated) in ProtoFieldDescriptor() argument 53 : name_(name), type_(type), number_(number), is_repeated_(is_repeated) {} in ProtoFieldDescriptor() 58 bool is_repeated() const { return is_repeated_; } in is_repeated() function
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_extension.cc | 64 if (descriptor_->is_repeated()) { in ExtensionGenerator() 174 vars["is_repeated"] = descriptor_->is_repeated() ? "true" : "false"; in GenerateRegistration() 175 vars["is_packed" ] = (descriptor_->is_repeated() && in GenerateRegistration()
|
D | cpp_message.cc | 161 if (field->is_repeated()) return 8; in EstimateAlignmentSize() 299 if (!field->is_repeated() && !field->containing_oneof()) { in EmitFieldNonDefaultCondition() 516 if (field->is_repeated()) { in GenerateFieldAccessorDeclarations() 586 } else if (!field->is_repeated()) { in GenerateDependentFieldAccessorDefinitions() 732 if (!field->is_repeated()) { in GenerateFieldClear() 769 if (field->is_repeated()) { in GenerateFieldAccessorDefinitions() 810 if (field->is_repeated() || field->is_extension()) return false; in CanClearByZeroing() 1213 if (!descriptor_->field(i)->is_repeated()) { in GenerateClassDefinition() 2052 if (!field->is_repeated() && in GenerateSharedDestructorCode() 2139 bool has_arena_constructor = descriptor_->field(i)->is_repeated(); in GenerateStructors() [all …]
|
/external/protobuf/src/google/protobuf/util/ |
D | message_differencer.cc | 114 if (field->is_repeated()) { in IsMatchInternal() 236 GOOGLE_CHECK(field->is_repeated()) << "Field must be repeated: " in TreatAsSet() 249 GOOGLE_CHECK(field->is_repeated()) << "Field must be repeated: " in TreatAsList() 263 GOOGLE_CHECK(field->is_repeated()) << "Field must be repeated: " in TreatAsMap() 299 GOOGLE_CHECK(field->is_repeated()) << "Field must be repeated: " in TreatAsMapWithMultipleFieldPathsAsKey() 317 GOOGLE_CHECK(!parent_field->is_repeated()) in TreatAsMapWithMultipleFieldPathsAsKey() 334 GOOGLE_CHECK(field->is_repeated()) << "Field must be repeated: " in TreatAsMapUsingKeyComparator() 626 int count = field1->is_repeated() ? in CompareWithFieldsInternal() 632 specific_field.index = field1->is_repeated() ? i : -1; in CompareWithFieldsInternal() 664 int count = field2->is_repeated() ? in CompareWithFieldsInternal() [all …]
|
D | field_comparator.cc | 69 if (field->is_repeated()) { \ in Compare() 95 if (field->is_repeated()) { in Compare()
|
/external/tensorflow/tensorflow/python/util/protobuf/ |
D | compare.py | 129 is_repeated = True 131 is_repeated = False 154 if is_repeated:
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_context.cc | 64 if (field1->is_repeated()) { in IsConflicting() 65 if (field2->is_repeated()) { in IsConflicting() 90 if (field2->is_repeated()) { in IsConflicting()
|
D | java_extension.cc | 77 vars["default"] = descriptor->is_repeated() ? in InitTemplateVars() 107 vars["type"] = descriptor->is_repeated() ? in InitTemplateVars()
|
D | java_extension_lite.cc | 68 if (descriptor_->is_repeated()) { in Generate()
|
D | java_field.cc | 73 if (field->is_repeated()) { in MakeImmutableGenerator() 146 if (field->is_repeated()) { in MakeImmutableLiteGenerator()
|
/external/protobuf/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 464 } else if (field->is_repeated()) { in JSIdent() 908 if (field->is_repeated() && in JSFieldTypeAnnotation() 955 } else if (is_writer && field->is_repeated()) { in JSBinaryReadWriteMethodName() 980 if (desc->field(i)->is_repeated()) { in HasRepeatedFields() 1015 if (desc->field(i)->is_repeated()) { in RepeatedFieldNumberList() 1088 string qualifier = field->is_repeated() ? "repeated" : in FieldDefinition() 1118 if (field->is_repeated()) { in FieldComments() 1930 if (field->is_repeated()) { in GenerateClassFieldToObject() 1945 if ((!HasFieldPresence(field) && !field->is_repeated()) || in GenerateClassFieldToObject() 1960 if (field->is_repeated()) { in GenerateClassFieldToObject() [all …]
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_extension.cc | 83 if (descriptor_->is_repeated()) options.push_back("GPBExtensionRepeated"); in GenerateStaticVariablesInitialization() 100 if (descriptor_->is_repeated()) { in GenerateStaticVariablesInitialization()
|
/external/perfetto/tools/proto_to_cpp/ |
D | proto_to_cpp.cc | 323 if (!field->is_repeated()) { in GenHeader() 356 if (!field->is_repeated()) { in GenHeader() 397 if (!field->is_repeated()) { in GenCpp() 438 if (!field->is_repeated()) { in GenCpp()
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_helpers.cc | 459 if (descriptor->is_repeated()) { in CreateFieldGenerator() 481 if (descriptor->is_repeated()) { in CreateFieldGenerator() 491 if (descriptor->is_repeated()) { in CreateFieldGenerator()
|
/external/tensorflow/tensorflow/tools/proto_text/ |
D | gen_proto_text_functions_lib.cc | 324 } else if (field.is_repeated()) { in AppendFieldAppend() 463 } else if (field->is_repeated()) { in AppendParseMessageFunction() 480 if (field->is_repeated()) { in AppendParseMessageFunction() 499 if (!field->is_repeated() && !map_append) { in AppendParseMessageFunction() 581 if (field->is_repeated()) { in AppendParseMessageFunction()
|