/external/nanopb-c/generator/google/protobuf/ |
D | descriptor_pb2.py | 189 number=1, type=11, cpp_type=10, label=3, 217 number=1, type=9, cpp_type=9, label=1, 224 number=2, type=9, cpp_type=9, label=1, 231 number=3, type=9, cpp_type=9, label=3, 238 number=10, type=5, cpp_type=1, label=3, 245 number=11, type=5, cpp_type=1, label=3, 252 number=4, type=11, cpp_type=10, label=3, 259 number=5, type=11, cpp_type=10, label=3, 266 number=6, type=11, cpp_type=10, label=3, 273 number=7, type=11, cpp_type=10, label=3, [all …]
|
D | text_format.py | 98 if field.cpp_type != descriptor.FieldDescriptor.CPPTYPE_MESSAGE: 115 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE: 124 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_ENUM: 130 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_STRING: 137 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_BOOL: 212 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
|
D | descriptor.py | 428 def __init__(self, name, full_name, index, number, type, cpp_type, label, argument 445 self.cpp_type = cpp_type
|
/external/nanopb-c/generator/proto/ |
D | nanopb_pb2.py | 58 number=1010, type=11, cpp_type=10, label=1, 66 number=1010, type=11, cpp_type=10, label=1, 74 number=1010, type=11, cpp_type=10, label=1, 82 number=1010, type=11, cpp_type=10, label=1, 98 number=1, type=5, cpp_type=1, label=1, 105 number=2, type=5, cpp_type=1, label=1, 112 number=3, type=14, cpp_type=8, label=1, 119 number=4, type=8, cpp_type=7, label=1, 126 number=5, type=8, cpp_type=7, label=1,
|
D | plugin_pb2.py | 27 number=1, type=9, cpp_type=9, label=3, 34 number=2, type=9, cpp_type=9, label=1, 41 number=15, type=11, cpp_type=10, label=3, 69 number=1, type=9, cpp_type=9, label=1, 76 number=2, type=9, cpp_type=9, label=1, 83 number=15, type=9, cpp_type=9, label=1, 110 number=1, type=9, cpp_type=9, label=1, 117 number=15, type=11, cpp_type=10, label=3,
|
/external/nanopb-c/generator/google/protobuf/compiler/ |
D | plugin_pb2.py | 31 number=1, type=9, cpp_type=9, label=3, 38 number=2, type=9, cpp_type=9, label=1, 45 number=15, type=11, cpp_type=10, label=3, 73 number=1, type=9, cpp_type=9, label=1, 80 number=2, type=9, cpp_type=9, label=1, 87 number=15, type=9, cpp_type=9, label=1, 114 number=1, type=9, cpp_type=9, label=1, 121 number=15, type=11, cpp_type=10, label=3,
|
/external/protobuf/src/google/protobuf/ |
D | dynamic_message.cc | 97 switch (field->cpp_type()) { in FieldSpaceUsed() 117 switch (field->cpp_type()) { in FieldSpaceUsed() 148 switch (field->cpp_type()) { in OneofFieldSpaceUsed() 301 switch (field->cpp_type()) { in DynamicMessage() 390 if (field->cpp_type() == FieldDescriptor::CPPTYPE_STRING) { in ~DynamicMessage() 397 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ~DynamicMessage() 406 switch (field->cpp_type()) { in ~DynamicMessage() 439 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_STRING) { in ~DynamicMessage() 450 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ~DynamicMessage() 477 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in CrossLinkPrototypes() [all …]
|
D | reflection_ops.cc | 74 switch (field->cpp_type()) { in Merge() 99 switch (field->cpp_type()) { in Merge() 159 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in IsInitialized() 190 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in DiscardUnknownFields() 245 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in FindInitializationErrors()
|
D | generated_message_reflection.cc | 119 " Field type: " << cpptype_names_[field->cpp_type()]; in ReportReflectionUsageTypeError() 144 if (field->cpp_type() != FieldDescriptor::CPPTYPE_##CPPTYPE) \ 251 switch (field->cpp_type()) { in SpaceUsed() 290 switch (field->cpp_type()) { in SpaceUsed() 347 switch (field->cpp_type()) { in SwapField() 371 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field->cpp_type(); in SwapField() 374 switch (field->cpp_type()) { in SwapField() 406 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field->cpp_type(); in SwapField() 434 switch (field1->cpp_type()) { in SwapOneofField() 458 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field1->cpp_type(); in SwapOneofField() [all …]
|
D | extension_set.cc | 56 inline WireFormatLite::CppType cpp_type(FieldType type) { in cpp_type() function 247 GOOGLE_DCHECK_EQ(cpp_type((EXTENSION).type), WireFormatLite::CPPTYPE_##CPPTYPE) 271 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_##UPPERCASE); \ 301 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_##UPPERCASE); \ 415 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM); in SetEnum() 444 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM); in AddEnum() 475 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_STRING); in MutableString() 504 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_STRING); in AddString() 544 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE); in MutableMessage() 576 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE); in SetAllocatedMessage() [all …]
|
D | extension_set_heavy.cc | 127 inline FieldDescriptor::CppType cpp_type(FieldType type) { in cpp_type() function 141 GOOGLE_DCHECK_EQ(cpp_type((EXTENSION).type), FieldDescriptor::CPPTYPE_##CPPTYPE) 166 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE); in MutableMessage() 213 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE); in AddMessage() 254 if (extension->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in Find() 260 } else if (extension->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in Find() 319 switch (cpp_type(type)) { in SpaceUsedExcludingSelf() 347 switch (cpp_type(type)) { in SpaceUsedExcludingSelf()
|
D | text_format.cc | 262 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ParseField() 462 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ConsumeField() 473 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ConsumeField() 484 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ConsumeField() 605 switch(field->cpp_type()) { in ConsumeFieldValue() 1455 field->cpp_type() != FieldDescriptor::CPPTYPE_STRING && in PrintField() 1456 field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in PrintField() 1474 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in PrintField() 1553 switch (field->cpp_type()) { in PrintFieldValue()
|
D | descriptor.h | 442 CppType cpp_type() const; // C++ type of this field. 543 static const char* CppTypeName(CppType cpp_type); 1641 inline FieldDescriptor::CppType FieldDescriptor::cpp_type() const { in cpp_type() function 1657 inline const char* FieldDescriptor::CppTypeName(CppType cpp_type) { in CppTypeName() argument 1658 return kCppTypeToName[cpp_type]; in CppTypeName()
|
/external/nanopb-c/generator/google/protobuf/internal/ |
D | python_message.py | 266 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 275 type_checker = type_checkers.GetTypeChecker(field.cpp_type, field.type) 281 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 317 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: # Composite 323 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 380 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 443 type_checker = type_checkers.GetTypeChecker(field.cpp_type, field.type) 568 elif item[0].cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 600 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 659 if extension_handle.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: [all …]
|
D | type_checkers.py | 56 def GetTypeChecker(cpp_type, field_type): argument 67 if (cpp_type == _FieldDescriptor.CPPTYPE_STRING and 70 return _VALUE_CHECKERS[cpp_type]
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_extension.cc | 68 switch (descriptor_->cpp_type()) { in ExtensionGenerator() 86 type_traits_.append(PrimitiveTypeName(descriptor_->cpp_type())); in ExtensionGenerator() 141 if (descriptor_->cpp_type() == FieldDescriptor::CPPTYPE_STRING) { in GenerateDefinition() 179 switch (descriptor_->cpp_type()) { in GenerateRegistration()
|
D | cpp_field.cc | 107 switch (field->cpp_type()) { in MakeGenerator() 122 switch (field->cpp_type()) { in MakeGenerator() 137 switch (field->cpp_type()) { in MakeGenerator()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | extension_dict.cc | 94 if (descriptor->cpp_type() == in ReleaseExtension() 108 } else if (descriptor->cpp_type() == in ReleaseExtension() 132 descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in subscript() 143 descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in subscript() 154 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in subscript() 202 descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ass_subscript()
|
D | repeated_scalar_container.cc | 122 switch (field_descriptor->cpp_type()) { in AssignItem() 187 field_descriptor->cpp_type()); in AssignItem() 211 switch (field_descriptor->cpp_type()) { in Item() 287 field_descriptor->cpp_type()); in Item() 370 switch (field_descriptor->cpp_type()) { in Append() 434 field_descriptor->cpp_type()); in Append()
|
D | message.cc | 120 if (descriptor->cpp_type() == google::protobuf::FieldDescriptor::CPPTYPE_MESSAGE) { in VisitCompositeField() 131 } else if (descriptor->cpp_type() == in VisitCompositeField() 414 if (existing_field->cpp_type() != google::protobuf::FieldDescriptor::CPPTYPE_MESSAGE) { in CheckAndGetInteger() 688 if (descriptor->cpp_type() == google::protobuf::FieldDescriptor::CPPTYPE_MESSAGE) { in CheckAndGetInteger() 703 } else if (descriptor->cpp_type() == in CheckAndGetInteger() 924 if (!has_field && field_descriptor->cpp_type() == in CheckAndGetInteger() 1162 if (field_descriptor->cpp_type() == google::protobuf::FieldDescriptor::CPPTYPE_ENUM) { in CheckAndGetInteger() 1633 switch (field_descriptor->cpp_type()) { in CheckAndGetInteger() 1698 field_descriptor->cpp_type()); in CheckAndGetInteger() 1760 switch (field_descriptor->cpp_type()) { in CheckAndGetInteger() [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | cpp_message.py | 307 cdescriptor.cpp_type == _CPPTYPE_MESSAGE): 320 cdescriptor.cpp_type != _CPPTYPE_MESSAGE): 359 cdescriptor.cpp_type == _CPPTYPE_MESSAGE): 364 if cdescriptor.cpp_type == _CPPTYPE_MESSAGE: 440 if field.cpp_type == _CPPTYPE_MESSAGE: 444 elif field.cpp_type == _CPPTYPE_MESSAGE: 482 if field_cdescriptor.cpp_type == _CPPTYPE_MESSAGE: 488 elif field_cdescriptor.cpp_type == _CPPTYPE_MESSAGE: 530 child_cdescriptor.cpp_type == _CPPTYPE_MESSAGE): 545 child_cdescriptor.cpp_type == _CPPTYPE_MESSAGE):
|
D | python_message.py | 278 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 293 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 333 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: # Composite 339 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 396 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 594 elif item[0].cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 635 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 705 if extension_handle.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 903 (field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE and 910 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: [all …]
|
D | type_checkers.py | 73 if (field.cpp_type == _FieldDescriptor.CPPTYPE_STRING and 76 if field.cpp_type == _FieldDescriptor.CPPTYPE_ENUM: 78 return _VALUE_CHECKERS[field.cpp_type]
|
D | descriptor_test.py | 79 type=5, cpp_type=1, label=1, 630 self.assertEqual(result.fields[0].cpp_type, 632 self.assertEqual(result.fields[1].cpp_type, 664 self.assertEqual(result.fields[0].cpp_type,
|
/external/protobuf/python/google/protobuf/ |
D | text_format.py | 144 if field.cpp_type != descriptor.FieldDescriptor.CPPTYPE_MESSAGE: 171 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE: 184 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_ENUM: 190 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_STRING: 203 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_BOOL: 208 elif field.cpp_type in _FLOAT_TYPES and float_format is not None: 358 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
|