Home
last modified time | relevance | path

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

12

/external/nanopb-c/generator/google/protobuf/internal/
Dencoder.py127 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 …]
Ddecoder.py190 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:
Dpython_message.py192 is_repeated = (field_descriptor.label == _FieldDescriptor.LABEL_REPEATED)
201 field_descriptor.number, is_repeated, is_packed)
203 field_descriptor.number, is_repeated, is_packed)
214 field_descriptor.number, is_repeated, is_packed,
220 if is_repeated and wire_format.IsTypePackable(field_descriptor.type):
/external/protobuf/python/google/protobuf/internal/
Dencoder.py133 def SpecificSizer(field_number, is_repeated, is_packed): argument
143 elif is_repeated:
162 def SpecificSizer(field_number, is_repeated, is_packed): argument
172 elif is_repeated:
191 def SpecificSizer(field_number, is_repeated, is_packed): argument
199 elif is_repeated:
233 def StringSizer(field_number, is_repeated, is_packed): argument
240 if is_repeated:
255 def BytesSizer(field_number, is_repeated, is_packed): argument
262 if is_repeated:
[all …]
Ddecoder.py207 def SpecificDecoder(field_number, is_repeated, is_packed, key, new_default): argument
226 elif is_repeated:
371 def EnumDecoder(field_number, is_repeated, is_packed, key, new_default): argument
403 elif is_repeated:
479 def StringDecoder(field_number, is_repeated, is_packed, key, new_default): argument
494 if is_repeated:
525 def BytesDecoder(field_number, is_repeated, is_packed, key, new_default): argument
531 if is_repeated:
562 def GroupDecoder(field_number, is_repeated, is_packed, key, new_default): argument
570 if is_repeated:
[all …]
Dpython_message.py202 is_repeated = (field_descriptor.label == _FieldDescriptor.LABEL_REPEATED)
211 field_descriptor.number, is_repeated, is_packed)
213 field_descriptor.number, is_repeated, is_packed)
224 field_descriptor.number, is_repeated, is_packed,
232 if is_repeated and wire_format.IsTypePackable(field_descriptor.type):
/external/protobuf/src/google/protobuf/
Dextension_set.cc129 bool is_repeated, bool is_packed) { in RegisterExtension() argument
133 ExtensionInfo info(type, is_repeated, is_packed); in RegisterExtension()
152 bool is_repeated, bool is_packed, in RegisterEnumExtension() argument
155 ExtensionInfo info(type, is_repeated, is_packed); in RegisterEnumExtension()
164 bool is_repeated, bool is_packed, in RegisterMessageExtension() argument
168 ExtensionInfo info(type, is_repeated, is_packed); in RegisterMessageExtension()
194 GOOGLE_DCHECK(!iter->second.is_repeated); in Has()
246 GOOGLE_DCHECK_EQ((EXTENSION).is_repeated ? REPEATED : OPTIONAL, LABEL); \
272 extension->is_repeated = false; \
302 extension->is_repeated = true; \
[all …]
Dwire_format.cc434 } else if (field->is_repeated() || in ParseAndMergeMessageSetField()
545 if (field->is_repeated()) { \ in ParseAndMergeField()
578 if (field->is_repeated()) { in ParseAndMergeField()
600 if (field->is_repeated()) { in ParseAndMergeField()
611 if (field->is_repeated()) { in ParseAndMergeField()
621 if (field->is_repeated()) { in ParseAndMergeField()
637 if (field->is_repeated()) { in ParseAndMergeField()
771 !field->is_repeated()) { in SerializeFieldWithCachedSizes()
778 if (field->is_repeated()) { in SerializeFieldWithCachedSizes()
796 const CPPTYPE value = field->is_repeated() ? \ in SerializeFieldWithCachedSizes()
[all …]
Dextension_set_heavy.cc100 if (iter->second.is_repeated) { in AppendToList()
138 GOOGLE_DCHECK_EQ((EXTENSION).is_repeated ? FieldDescriptor::LABEL_REPEATED \
167 extension->is_repeated = false; in MutableMessage()
214 extension->is_repeated = true; in AddMessage()
251 output->is_repeated = extension->is_repeated(); in Find()
318 if (is_repeated) { in SpaceUsedExcludingSelf()
394 if (is_repeated) { in SerializeFieldWithCachedSizesToArray()
507 if (type != WireFormatLite::TYPE_MESSAGE || is_repeated) { in SerializeMessageSetItemWithCachedSizesToArray()
655 if (type != WireFormatLite::TYPE_MESSAGE || is_repeated) { in SerializeMessageSetItemWithCachedSizes()
686 if (type != WireFormatLite::TYPE_MESSAGE || is_repeated) { in MessageSetItemByteSize()
Dtext_format.cc144 if (field->is_repeated() && index == -1) { in CheckFieldIndex()
147 } else if (!field->is_repeated() && index != -1) { in CheckFieldIndex()
443 if (!field->is_repeated() && reflection->HasField(*message, field)) { in ConsumeField()
470 if (field->is_repeated() && TryConsume("[")) { in ConsumeField()
562 if (field->is_repeated()) { in ConsumeFieldMessage()
599 if (field->is_repeated()) { \ in ConsumeFieldValue()
1454 field->is_repeated() && in PrintField()
1463 if (field->is_repeated()) { in PrintField()
1470 const int field_index = field->is_repeated() ? j : -1; in PrintField()
1478 field->is_repeated() in PrintField()
[all …]
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()
Ddynamic_message.cc304 if (!field->is_repeated()) { \ in DynamicMessage()
321 if (!field->is_repeated()) { in DynamicMessage()
332 if (!field->is_repeated()) { in DynamicMessage()
350 if (!field->is_repeated()) { in DynamicMessage()
405 if (field->is_repeated()) { in ~DynamicMessage()
478 !field->is_repeated()) { in CrossLinkPrototypes()
Dextension_set.h92 : type(type_param), is_repeated(isrepeated), is_packed(ispacked), in ExtensionInfo()
96 bool is_repeated; member
169 bool is_repeated, bool is_packed);
172 bool is_repeated, bool is_packed,
176 bool is_repeated, bool is_packed,
475 bool is_repeated; member
Ddescriptor.h448 bool is_repeated() const; // shorthand for label() == LABEL_REPEATED
1585 inline bool FieldDescriptor::is_repeated() const { in is_repeated() function
1590 return is_repeated() && IsTypePackable(type()); in is_packable()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_extension.cc77 vars["default"] = descriptor->is_repeated() ? in InitTemplateVars()
107 vars["type"] = descriptor->is_repeated() ? in InitTemplateVars()
150 if (descriptor_->is_repeated()) { in Generate()
Djava_context.cc64 if (field1->is_repeated()) { in IsConflicting()
65 if (field2->is_repeated()) { in IsConflicting()
90 if (field2->is_repeated()) { in IsConflicting()
Djava_field.cc61 if (field->is_repeated()) { in MakeImmutableGenerator()
/external/protobuf/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.cc155 if (field->is_repeated()) return 8; in EstimateAlignmentSize()
361 if (field->is_repeated()) { in GenerateFieldAccessorDeclarations()
406 if (field->is_repeated()) { in GenerateFieldAccessorDefinitions()
460 if (!field->is_repeated()) { in GenerateFieldAccessorDefinitions()
496 if (field->is_repeated() || field->is_extension()) return false; in CanClearByZeroing()
761 if (!descriptor_->field(i)->is_repeated()) { in GenerateClassDefinition()
1365 if (!field->is_repeated() && in GenerateSharedDestructorCode()
1412 if (!field->is_repeated() && in GenerateStructors()
1559 if (!field->is_repeated() && !field->containing_oneof()) { in GenerateClear()
1669 if (field->is_repeated()) { in GenerateClear()
[all …]
Dcpp_field.cc106 if (field->is_repeated()) { in MakeGenerator()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_field.cc66 if (field->is_repeated()) { in MakeGenerator()
Djavamicro_file.cc68 if (fields[i]->is_repeated()) { in UsesExtensions()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_field.cc97 if (field->is_repeated()) { in MakeGenerator()
Djavanano_extension.cc84 bool repeated = descriptor->is_repeated(); in SetVariables()
Djavanano_file.cc69 if (fields[i]->is_repeated()) { in UsesExtensions()

12