/external/libprotobuf-mutator/src/ |
D | field_instance.h | 44 assert(descriptor_->is_repeated()); in ConstFieldInstance() 52 assert(!descriptor_->is_repeated()); in ConstFieldInstance() 101 *value = is_repeated() in Load() 107 *value = is_repeated() in Load() 113 *value = is_repeated() ? reflection().GetRepeatedUInt32(*message_, in Load() 119 *value = is_repeated() ? reflection().GetRepeatedUInt64(*message_, in Load() 125 *value = is_repeated() ? reflection().GetRepeatedDouble(*message_, in Load() 131 *value = is_repeated() in Load() 137 *value = is_repeated() in Load() 144 is_repeated() in Load() [all …]
|
D | mutator.cc | 84 !field.containing_oneof() && !field.is_repeated(); in IsProto3SimpleField() 204 if (field->is_repeated()) { in Sample() 243 if (field->is_repeated()) { in Sample() 294 if (field->is_repeated()) { in Sample() 311 if (field->is_repeated()) { in Sample() 517 if (field->is_repeated()) { in CrossOverImpl() 593 if (field->is_repeated()) in InitializeAndTrim() 600 if (field->is_repeated()) { in InitializeAndTrim()
|
/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/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/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()
|
/external/tensorflow/tensorflow/python/util/protobuf/ |
D | compare.py | 139 is_repeated = True 141 is_repeated = False 164 if is_repeated:
|
/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/tensorflow/tensorflow/core/kernels/ |
D | decode_proto_op.cc | 213 is_repeated = field_desc->is_repeated(); in FieldInfo() 231 bool is_repeated; member 257 if (*count_ptr_ == 0 || field.is_repeated) { in ReadValue() 355 if (!field.is_repeated && *count_ptr_ > 1) { in ReadPackedValues() 498 if (field.is_repeated) { in ReadValue() 524 const int stride = field.is_repeated ? 1 : 0; in ReadPackedValues()
|
/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/perfetto/tools/proto_to_cpp/ |
D | proto_to_cpp.cc | 327 if (!field->is_repeated()) { in GenHeader() 364 if (!field->is_repeated()) { in GenHeader() 424 if (!field->is_repeated()) { in GenCpp() 465 if (!field->is_repeated()) { in GenCpp()
|
/external/tensorflow/tensorflow/tools/proto_text/ |
D | gen_proto_text_functions_lib.cc | 329 } else if (field.is_repeated()) { in AppendFieldAppend() 468 } else if (field->is_repeated()) { in AppendParseMessageFunction() 485 if (field->is_repeated()) { in AppendParseMessageFunction() 504 if (!field->is_repeated() && !map_append) { in AppendParseMessageFunction() 592 if (field->is_repeated()) { in AppendParseMessageFunction()
|
/external/perfetto/src/protozero/protoc_plugin/ |
D | protozero_generator.cc | 343 setter["action"] = field->is_repeated() ? "add" : "set"; in GenerateSimpleFieldDescriptor() 457 std::string action = field->is_repeated() ? "add" : "set"; in GenerateNestedMessageFieldDescriptor() 475 if (field->is_repeated()) in GenerateDecoder() 561 if (field->is_repeated()) { in GenerateDecoder()
|