Home
last modified time | relevance | path

Searched refs:is_repeated (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dencoder.py130 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 …]
Ddecoder.py199 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 …]
Dpython_message.py285 is_repeated = (field_descriptor.label == _FieldDescriptor.LABEL_REPEATED)
286 is_packable = (is_repeated and
308 field_descriptor.number, is_repeated, is_packed)
310 field_descriptor.number, is_repeated, is_packed)
336 field_descriptor.number, is_repeated, is_packed,
344 if is_repeated and wire_format.IsTypePackable(field_descriptor.type):
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dwire_format.cc451 } 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 …]
Dextension_set_heavy.cc101 if (iter->second.is_repeated) { in AppendToList()
139 GOOGLE_DCHECK_EQ((EXTENSION).is_repeated ? FieldDescriptor::LABEL_REPEATED \
168 extension->is_repeated = false; in MutableMessage()
244 extension->is_repeated = true; in MaybeNewRepeatedExtension()
294 output->is_repeated = extension->is_repeated(); in Find()
361 if (is_repeated) { in SpaceUsedExcludingSelf()
449 if (is_repeated) { in InternalSerializeFieldWithCachedSizesToArray()
573 if (type != WireFormatLite::TYPE_MESSAGE || is_repeated) { in InternalSerializeMessageSetItemWithCachedSizesToArray()
722 if (type != WireFormatLite::TYPE_MESSAGE || is_repeated) { in SerializeMessageSetItemWithCachedSizes()
753 if (type != WireFormatLite::TYPE_MESSAGE || is_repeated) { in MessageSetItemByteSize()
Dreflection_ops.cc71 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()
Dtext_format.cc166 if (field->is_repeated() && index == -1) { in CheckFieldIndex()
169 } else if (!field->is_repeated() && index != -1) { in CheckFieldIndex()
490 if (!field->is_repeated() && reflection->HasField(*message, field)) { in ConsumeField()
517 if (field->is_repeated() && TryConsume("[")) { in ConsumeField()
597 if (field->is_repeated()) { in ConsumeFieldMessage()
629 if (field->is_repeated()) { \ in ConsumeFieldValue()
1681 field->is_repeated() && in PrintField()
1690 if (field->is_repeated()) { in PrintField()
1712 const int field_index = field->is_repeated() ? j : -1; in PrintField()
1720 field->is_repeated() in PrintField()
[all …]
Ddynamic_message.cc355 if (!field->is_repeated()) { \ in SharedCtor()
372 if (!field->is_repeated()) { in SharedCtor()
383 if (!field->is_repeated()) { in SharedCtor()
403 if (!field->is_repeated()) { in SharedCtor()
471 if (field->is_repeated()) { in ~DynamicMessage()
550 !field->is_repeated()) { in CrossLinkPrototypes()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_extension.cc64 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()
Dcpp_message.cc161 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()
1229 if (!descriptor_->field(i)->is_repeated()) { in GenerateClassDefinition()
2068 if (!field->is_repeated() && in GenerateSharedDestructorCode()
2155 bool has_arena_constructor = descriptor_->field(i)->is_repeated(); in GenerateStructors()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_context.cc64 if (field1->is_repeated()) { in IsConflicting()
65 if (field2->is_repeated()) { in IsConflicting()
90 if (field2->is_repeated()) { in IsConflicting()
Djava_extension.cc77 vars["default"] = descriptor->is_repeated() ? in InitTemplateVars()
107 vars["type"] = descriptor->is_repeated() ? in InitTemplateVars()
Djava_extension_lite.cc68 if (descriptor_->is_repeated()) { in Generate()
Djava_field.cc73 if (field->is_repeated()) { in MakeImmutableGenerator()
146 if (field->is_repeated()) { in MakeImmutableLiteGenerator()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_extension.cc83 if (descriptor_->is_repeated()) options.push_back("GPBExtensionRepeated"); in GenerateStaticVariablesInitialization()
100 if (descriptor_->is_repeated()) { in GenerateStaticVariablesInitialization()
Dobjectivec_enum_field.cc55 if (!descriptor->is_repeated() && in SetEnumVariables()
Dobjectivec_field.cc83 if (descriptor->is_repeated()) field_flags.push_back("GPBFieldRepeated"); in SetCommonFieldVariables()
117 if (field->is_repeated()) { in Make()
Dobjectivec_helpers.cc450 if (field->is_repeated() && !field->is_map()) { in FieldName()
501 if (field->is_repeated() && HasSuffixString(worker, "Array")) { in UnCamelCaseFieldName()
666 if (field->is_repeated()) { in GPBGenericValueFieldName()
705 if (field->is_repeated()) { in DefaultValue()
776 if (field->is_repeated()) { in HasNonZeroDefaultValue()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dmessage_differencer.cc114 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()
629 int count = field1->is_repeated() ? in CompareWithFieldsInternal()
635 specific_field.index = field1->is_repeated() ? i : -1; in CompareWithFieldsInternal()
667 int count = field2->is_repeated() ? in CompareWithFieldsInternal()
[all …]
Dfield_comparator.cc69 if (field->is_repeated()) { \ in Compare()
95 if (field->is_repeated()) { in Compare()
Dfield_mask_util.cc143 if (!field->is_repeated() && in InternalIsValidPath()
368 if (field->is_repeated() || in MergeMessage()
380 if (!field->is_repeated()) { in MergeMessage()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/
Djs_generator.cc479 } else if (field->is_repeated()) { in JSIdent()
928 if (field->is_repeated() && in JSFieldTypeAnnotation()
975 } else if (is_writer && field->is_repeated()) { in JSBinaryReadWriteMethodName()
1012 if (desc->field(i)->is_repeated() && !desc->field(i)->is_map()) { in HasRepeatedFields()
1047 if (desc->field(i)->is_repeated() && !desc->field(i)->is_map()) { in RepeatedFieldNumberList()
1150 string qualifier = field->is_repeated() ? "repeated" : in FieldDefinition()
1181 if (field->is_repeated()) { in FieldComments()
1260 if (field->is_repeated()) { in HasFieldPresence()
2014 if (field->is_repeated()) { in GenerateClassFieldToObject()
2029 if ((!HasFieldPresence(field) && !field->is_repeated()) || in GenerateClassFieldToObject()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.cc459 if (descriptor->is_repeated()) { in CreateFieldGenerator()
481 if (descriptor->is_repeated()) { in CreateFieldGenerator()
491 if (descriptor->is_repeated()) { in CreateFieldGenerator()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_extension.cc84 bool repeated = descriptor->is_repeated(); in SetVariables()
Djavanano_field.cc98 if (field->is_repeated()) { in MakeGenerator()

12