Home
last modified time | relevance | path

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

12

/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pb2.py189 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 …]
Dtext_format.py98 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:
Ddescriptor.py428 def __init__(self, name, full_name, index, number, type, cpp_type, label, argument
445 self.cpp_type = cpp_type
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dprotorpc_test_pb2.py74 number=1, type=9, cpp_type=9, label=2,
102 number=1, type=11, cpp_type=10, label=1,
109 number=2, type=11, cpp_type=10, label=3,
137 number=1, type=9, cpp_type=9, label=1,
165 number=1, type=1, cpp_type=5, label=1,
172 number=2, type=2, cpp_type=6, label=1,
179 number=3, type=3, cpp_type=2, label=1,
186 number=4, type=4, cpp_type=4, label=1,
193 number=5, type=5, cpp_type=1, label=1,
200 number=6, type=8, cpp_type=7, label=1,
[all …]
/external/nanopb-c/generator/proto/
Dnanopb_pb2.py58 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,
Dplugin_pb2.py27 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/
Dplugin_pb2.py31 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/
Ddynamic_message.cc97 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 …]
Dreflection_ops.cc74 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()
Dgenerated_message_reflection.cc119 " 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 …]
Dextension_set.cc56 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 …]
Dextension_set_heavy.cc127 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()
Dtext_format.cc262 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()
/external/nanopb-c/generator/google/protobuf/internal/
Dpython_message.py266 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 …]
Dtype_checkers.py56 def GetTypeChecker(cpp_type, field_type): argument
67 if (cpp_type == _FieldDescriptor.CPPTYPE_STRING and
70 return _VALUE_CHECKERS[cpp_type]
/external/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc94 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()
Drepeated_scalar_container.cc122 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()
Dmessage.cc120 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/src/google/protobuf/compiler/cpp/
Dcpp_extension.cc68 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()
Dcpp_field.cc107 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/internal/
Dcpp_message.py307 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):
Dpython_message.py278 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 …]
Dtype_checkers.py73 if (field.cpp_type == _FieldDescriptor.CPPTYPE_STRING and
76 if field.cpp_type == _FieldDescriptor.CPPTYPE_ENUM:
78 return _VALUE_CHECKERS[field.cpp_type]
Ddescriptor_test.py79 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/
Dtext_format.py144 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:

12