/external/protobuf/python/google/protobuf/internal/ |
D | encoder.py | 121 def SpecificSizer(field_number, is_repeated, is_packed): argument 131 elif is_repeated: 150 def SpecificSizer(field_number, is_repeated, is_packed): argument 160 elif is_repeated: 179 def SpecificSizer(field_number, is_repeated, is_packed): argument 187 elif is_repeated: 221 def StringSizer(field_number, is_repeated, is_packed): argument 228 if is_repeated: 243 def BytesSizer(field_number, is_repeated, is_packed): argument 250 if is_repeated: [all …]
|
D | decoder.py | 183 def SpecificDecoder(field_number, is_repeated, is_packed, key, new_default): argument 202 elif is_repeated: 304 def StringDecoder(field_number, is_repeated, is_packed, key, new_default): argument 311 if is_repeated: 342 def BytesDecoder(field_number, is_repeated, is_packed, key, new_default): argument 348 if is_repeated: 379 def GroupDecoder(field_number, is_repeated, is_packed, key, new_default): argument 387 if is_repeated: 426 def MessageDecoder(field_number, is_repeated, is_packed, key, new_default): argument 432 if is_repeated:
|
/external/protobuf/src/google/protobuf/ |
D | extension_set.cc | 114 bool is_repeated, bool is_packed) { in RegisterExtension() argument 118 ExtensionInfo info(type, is_repeated, is_packed); in RegisterExtension() 137 bool is_repeated, bool is_packed, in RegisterEnumExtension() argument 140 ExtensionInfo info(type, is_repeated, is_packed); in RegisterEnumExtension() 149 bool is_repeated, bool is_packed, in RegisterMessageExtension() argument 153 ExtensionInfo info(type, is_repeated, is_packed); in RegisterMessageExtension() 179 GOOGLE_DCHECK(!iter->second.is_repeated); in Has() 208 GOOGLE_DCHECK_EQ((EXTENSION).is_repeated ? REPEATED : OPTIONAL, LABEL); \ 234 extension->is_repeated = false; \ 264 extension->is_repeated = true; \ [all …]
|
D | wire_format.cc | 518 if (field->is_repeated()) { \ in ParseAndMergeField() 551 if (field->is_repeated()) { in ParseAndMergeField() 572 if (field->is_repeated()) { in ParseAndMergeField() 583 if (field->is_repeated()) { in ParseAndMergeField() 593 if (field->is_repeated()) { in ParseAndMergeField() 609 if (field->is_repeated()) { in ParseAndMergeField() 746 !field->is_repeated()) { in SerializeFieldWithCachedSizes() 753 if (field->is_repeated()) { in SerializeFieldWithCachedSizes() 771 const CPPTYPE value = field->is_repeated() ? \ in SerializeFieldWithCachedSizes() 806 field->is_repeated() ? \ in SerializeFieldWithCachedSizes() [all …]
|
D | extension_set_heavy.cc | 74 if (iter->second.is_repeated) { in AppendToList() 107 GOOGLE_DCHECK_EQ((EXTENSION).is_repeated ? FieldDescriptor::LABEL_REPEATED \ 131 extension->is_repeated = false; in MutableMessage() 150 extension->is_repeated = true; in AddMessage() 187 output->is_repeated = extension->is_repeated(); in Find() 254 if (is_repeated) { in SpaceUsedExcludingSelf() 326 if (is_repeated) { in SerializeFieldWithCachedSizesToArray() 432 if (type != WireFormatLite::TYPE_MESSAGE || is_repeated) { in SerializeMessageSetItemWithCachedSizesToArray()
|
D | dynamic_message.cc | 248 if (!field->is_repeated()) { \ in DynamicMessage() 265 if (!field->is_repeated()) { in DynamicMessage() 276 if (!field->is_repeated()) { in DynamicMessage() 294 if (!field->is_repeated()) { in DynamicMessage() 326 if (field->is_repeated()) { in ~DynamicMessage() 394 !field->is_repeated()) { in CrossLinkPrototypes()
|
D | text_format.cc | 291 !field->is_repeated() && reflection->HasField(*message, field)) { in ConsumeField() 326 if (field->is_repeated()) { in ConsumeFieldMessage() 343 if (field->is_repeated()) { \ in ConsumeFieldValue() 929 field->is_repeated() && in PrintField() 938 if (field->is_repeated()) { in PrintField() 960 if (!field->is_repeated()) { in PrintField() 1035 GOOGLE_DCHECK(field->is_repeated() || (index == -1)) in PrintFieldValue() 1041 generator.Print(TO_STRING(field->is_repeated() ? \ in PrintFieldValue() 1056 const string& value = field->is_repeated() ? in PrintFieldValue() 1073 if (field->is_repeated()) { in PrintFieldValue() [all …]
|
D | reflection_ops.cc | 65 if (field->is_repeated()) { in Merge() 154 if (field->is_repeated()) { in IsInitialized() 184 if (field->is_repeated()) { in DiscardUnknownFields() 240 if (field->is_repeated()) { in FindInitializationErrors()
|
D | extension_set.h | 92 inline ExtensionInfo(FieldType type, bool is_repeated, bool is_packed) in ExtensionInfo() 93 : type(type), is_repeated(is_repeated), is_packed(is_packed), in ExtensionInfo() 97 bool is_repeated; member 167 bool is_repeated, bool is_packed); 170 bool is_repeated, bool is_packed, 174 bool is_repeated, bool is_packed, 410 bool is_repeated; member
|
D | descriptor.h | 397 bool is_repeated() const; // shorthand for label() == LABEL_REPEATED 1297 inline bool FieldDescriptor::is_repeated() const { in is_repeated() function 1302 return is_repeated() && IsTypePackable(type()); in is_packable()
|
D | generated_message_reflection.cc | 223 if (field->is_repeated()) { in SpaceUsed() 343 if (field->is_repeated()) { in Swap() 465 } else if (!field->is_repeated()) { in ClearField() 651 if (field->is_repeated()) { in ListFields()
|
D | unknown_field_set_unittest.cc | 122 if (field->is_repeated()) { in TEST_F()
|
D | descriptor.cc | 1503 if (fields[i]->is_repeated()) { in RetrieveOptions() 2977 if (proto.has_default_value() && result->is_repeated()) { in BuildFieldOrExtension() 3739 if (!field->is_repeated()) { in ValidateMapKey() 3775 if (key_field->is_repeated()) { in ValidateMapKey() 3959 } else if (field->is_repeated()) { in InterpretSingleOption()
|
D | descriptor_unittest.cc | 600 EXPECT_FALSE(foo_->is_repeated()); in TEST_F() 604 EXPECT_FALSE(bar_->is_repeated()); in TEST_F() 608 EXPECT_TRUE (baz_->is_repeated()); in TEST_F()
|
D | test_util.cc | 2834 if (!field->is_repeated()) continue; in RemoveLastRepeatedsViaReflection() 2847 if (!field->is_repeated()) continue; in SwapRepeatedsViaReflection()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_message.cc | 223 if (field->is_repeated()) { in GenerateFieldAccessorDeclarations() 260 if (field->is_repeated()) { in GenerateFieldAccessorDefinitions() 281 if (!field->is_repeated()) { in GenerateFieldAccessorDefinitions() 830 if (!field->is_repeated() && in GenerateSharedDestructorCode() 871 if (!field->is_repeated() && in GenerateStructors() 963 if (!field->is_repeated()) { in GenerateClear() 1015 if (field->is_repeated()) { in GenerateClear() 1120 if (field->is_repeated()) { in GenerateMergeFrom() 1131 if (!field->is_repeated()) { in GenerateMergeFrom() 1270 if (i > 0 || (field->is_repeated() && !field->options().packed())) { in GenerateMergeFromCodedStream() [all …]
|
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_field.cc | 94 if (field->is_repeated()) { in MakeGenerator()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_extension.cc | 113 if (descriptor_->is_repeated()) { in Generate() 138 vars["default"] = descriptor_->is_repeated() ? "" : DefaultValue(descriptor_); in GenerateInitializationCode() 169 if (descriptor_->is_repeated()) { in GenerateInitializationCode()
|
D | java_field.cc | 76 if (field->is_repeated()) { in MakeGenerator()
|
D | java_file.cc | 68 if (fields[i]->is_repeated()) { in UsesExtensions()
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_field.cc | 66 if (field->is_repeated()) { in MakeGenerator()
|
D | javamicro_file.cc | 66 if (fields[i]->is_repeated()) { in UsesExtensions()
|
/external/protobuf/python/google/protobuf/ |
D | reflection.py | 259 is_repeated = (field_descriptor.label == _FieldDescriptor.LABEL_REPEATED) 268 field_descriptor.number, is_repeated, is_packed) 270 field_descriptor.number, is_repeated, is_packed) 281 field_descriptor.number, is_repeated, is_packed, 287 if is_repeated and wire_format.IsTypePackable(field_descriptor.type):
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 155 if (field.is_repeated()) { in StringifyDefaultValue()
|