/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:
|
D | python_message.py | 192 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/ |
D | encoder.py | 133 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 …]
|
D | decoder.py | 207 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 …]
|
D | python_message.py | 202 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/ |
D | extension_set.cc | 129 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 …]
|
D | wire_format.cc | 434 } 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 …]
|
D | extension_set_heavy.cc | 100 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()
|
D | text_format.cc | 144 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 …]
|
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 | dynamic_message.cc | 304 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()
|
D | extension_set.h | 92 : 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
|
D | descriptor.h | 448 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/ |
D | java_extension.cc | 77 vars["default"] = descriptor->is_repeated() ? in InitTemplateVars() 107 vars["type"] = descriptor->is_repeated() ? in InitTemplateVars() 150 if (descriptor_->is_repeated()) { in Generate()
|
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_field.cc | 61 if (field->is_repeated()) { in MakeImmutableGenerator()
|
/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 | 155 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 …]
|
D | cpp_field.cc | 106 if (field->is_repeated()) { in MakeGenerator()
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_field.cc | 66 if (field->is_repeated()) { in MakeGenerator()
|
D | javamicro_file.cc | 68 if (fields[i]->is_repeated()) { in UsesExtensions()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_field.cc | 97 if (field->is_repeated()) { in MakeGenerator()
|
D | javanano_extension.cc | 84 bool repeated = descriptor->is_repeated(); in SetVariables()
|
D | javanano_file.cc | 69 if (fields[i]->is_repeated()) { in UsesExtensions()
|