Home
last modified time | relevance | path

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

1234

/external/grpc-grpc/test/http2_test/
Dmessages_pb2.py59 number=1, type=8, cpp_type=7, label=1,
90 number=1, type=14, cpp_type=8, label=1,
97 number=2, type=12, cpp_type=9, label=1,
128 number=1, type=5, cpp_type=1, label=1,
135 number=2, type=9, cpp_type=9, label=1,
166 number=1, type=14, cpp_type=8, label=1,
173 number=2, type=5, cpp_type=1, label=1,
180 number=3, type=11, cpp_type=10, label=1,
187 number=4, type=8, cpp_type=7, label=1,
194 number=5, type=8, cpp_type=7, label=1,
[all …]
/external/perfetto/src/protozero/protoc_plugin/
Dprotozero_generator.cc346 std::string cpp_type; in GenerateSimpleFieldDescriptor() local
351 cpp_type = "bool"; in GenerateSimpleFieldDescriptor()
356 cpp_type = "int32_t"; in GenerateSimpleFieldDescriptor()
361 cpp_type = "int64_t"; in GenerateSimpleFieldDescriptor()
366 cpp_type = "uint32_t"; in GenerateSimpleFieldDescriptor()
371 cpp_type = "uint64_t"; in GenerateSimpleFieldDescriptor()
376 cpp_type = "int32_t"; in GenerateSimpleFieldDescriptor()
381 cpp_type = "int64_t"; in GenerateSimpleFieldDescriptor()
386 cpp_type = "uint32_t"; in GenerateSimpleFieldDescriptor()
391 cpp_type = "uint64_t"; in GenerateSimpleFieldDescriptor()
[all …]
/external/grpc-grpc/examples/python/route_guide/
Droute_guide_pb2.py37 number=1, type=5, cpp_type=1, label=1,
44 number=2, type=5, cpp_type=1, label=1,
75 number=1, type=11, cpp_type=10, label=1,
82 number=2, type=11, cpp_type=10, label=1,
113 number=1, type=9, cpp_type=9, label=1,
120 number=2, type=11, cpp_type=10, label=1,
151 number=1, type=11, cpp_type=10, label=1,
158 number=2, type=9, cpp_type=9, label=1,
189 number=1, type=5, cpp_type=1, label=1,
196 number=2, type=5, cpp_type=1, label=1,
[all …]
/external/grpc-grpc/examples/python/multiplex/
Droute_guide_pb2.py37 number=1, type=5, cpp_type=1, label=1,
44 number=2, type=5, cpp_type=1, label=1,
75 number=1, type=11, cpp_type=10, label=1,
82 number=2, type=11, cpp_type=10, label=1,
113 number=1, type=9, cpp_type=9, label=1,
120 number=2, type=11, cpp_type=10, label=1,
151 number=1, type=11, cpp_type=10, label=1,
158 number=2, type=9, cpp_type=9, label=1,
189 number=1, type=5, cpp_type=1, label=1,
196 number=2, type=5, cpp_type=1, label=1,
[all …]
/external/protobuf/python/google/protobuf/
Djson_format.py153 field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE) or
177 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
179 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_ENUM:
186 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_STRING:
192 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_BOOL:
194 elif field.cpp_type in _INT64_TYPES:
196 elif field.cpp_type in _FLOAT_TYPES:
371 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
389 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
522 if value_field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
[all …]
/external/flatbuffers/tests/
Dmonster_test.fbs82 testhashu32_fnv1a:uint (id:21, hash:"fnv1a_32", cpp_type:"Stat");
93 single_weak_reference:ulong(id:36, hash:"fnv1a_64", cpp_type:"ReferrableT");
94 vector_of_weak_references:[ulong](id:37, hash:"fnv1a_64", cpp_type:"ReferrableT");
96 …co_owning_reference:ulong(id:39, hash:"fnv1a_64", cpp_type:"ReferrableT", cpp_ptr_type:"naked"); …
97 …vector_of_co_owning_references:[ulong](id:40, hash:"fnv1a_64", cpp_type:"ReferrableT", cpp_ptr_typ…
98 …non_owning_reference:ulong(id:41, hash:"fnv1a_64", cpp_type:"ReferrableT", cpp_ptr_type:"naked", c…
99 …vector_of_non_owning_references:[ulong](id:42, hash:"fnv1a_64", cpp_type:"ReferrableT", cpp_ptr_ty…
/external/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc68 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ReleaseExtension()
81 } else if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ReleaseExtension()
102 descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in subscript()
121 descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in subscript()
132 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in subscript()
170 descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ass_subscript()
Dmap_container.cc135 switch (field_descriptor->cpp_type()) { in PythonToMapKey()
172 field_descriptor->cpp_type()); in PythonToMapKey()
180 switch (field_descriptor->cpp_type()) { in MapKeyToPython()
196 field_descriptor->cpp_type()); in MapKeyToPython()
205 switch (field_descriptor->cpp_type()) { in MapValueRefToPython()
227 field_descriptor->cpp_type()); in MapValueRefToPython()
238 switch (field_descriptor->cpp_type()) { in PythonToMapValueRef()
304 field_descriptor->cpp_type()); in PythonToMapValueRef()
/external/protobuf/src/google/protobuf/
Ddynamic_message.cc114 switch (field->cpp_type()) { in FieldSpaceUsed()
139 switch (field->cpp_type()) { in FieldSpaceUsed()
170 switch (field->cpp_type()) { in OneofFieldSpaceUsed()
353 switch (field->cpp_type()) { in SharedCtor()
449 if (field->cpp_type() == FieldDescriptor::CPPTYPE_STRING) { in ~DynamicMessage()
464 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ~DynamicMessage()
473 switch (field->cpp_type()) { in ~DynamicMessage()
510 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_STRING) { in ~DynamicMessage()
523 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ~DynamicMessage()
550 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in CrossLinkPrototypes()
[all …]
Dreflection.h98 internal::RefTypeTraits<T>::cpp_type, NULL); in RepeatedFieldRef()
163 message, field, internal::RefTypeTraits<T>::cpp_type, NULL); in MutableRepeatedFieldRef()
220 internal::RefTypeTraits<T>::cpp_type, in RepeatedFieldRef()
295 message, field, internal::RefTypeTraits<T>::cpp_type, in MutableRepeatedFieldRef()
511 static const FieldDescriptor::CppType cpp_type = \
531 static const FieldDescriptor::CppType cpp_type =
532 PrimitiveTraits<T>::cpp_type;
547 static const FieldDescriptor::CppType cpp_type =
562 static const FieldDescriptor::CppType cpp_type =
590 static const FieldDescriptor::CppType cpp_type =
Drepeated_field_reflection.h249 static const FieldDescriptor::CppType cpp_type = \
269 static const FieldDescriptor::CppType cpp_type =
270 PrimitiveTraits<T>::cpp_type;
285 static const FieldDescriptor::CppType cpp_type =
300 static const FieldDescriptor::CppType cpp_type =
328 static const FieldDescriptor::CppType cpp_type =
Dgenerated_message_reflection.cc123 " Field type: " << cpptype_names_[field->cpp_type()]; in ReportReflectionUsageTypeError()
148 if (field->cpp_type() != FieldDescriptor::CPPTYPE_##CPPTYPE) \
294 switch (field->cpp_type()) { in SpaceUsed()
339 switch (field->cpp_type()) { in SpaceUsed()
397 switch (field->cpp_type()) { in SwapField()
439 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field->cpp_type(); in SwapField()
442 switch (field->cpp_type()) { in SwapField()
508 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field->cpp_type(); in SwapField()
536 switch (field1->cpp_type()) { in SwapOneofField()
560 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field1->cpp_type(); in SwapOneofField()
[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()
Dextension_set.cc56 inline WireFormatLite::CppType cpp_type(FieldType type) { in cpp_type() function
259 GOOGLE_DCHECK_EQ(cpp_type((EXTENSION).type), WireFormatLite::CPPTYPE_##CPPTYPE)
283 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_##UPPERCASE); \
313 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_##UPPERCASE); \
438 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM); in SetEnum()
467 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM); in AddEnum()
499 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_STRING); in MutableString()
528 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_STRING); in AddString()
569 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE); in MutableMessage()
602 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE); in SetAllocatedMessage()
[all …]
Dmap_field.cc192 map_val.SetType(val_des->cpp_type()); in InsertOrLookupMapValue()
195 switch (val_des->cpp_type()) { in InsertOrLookupMapValue()
285 switch (key_des->cpp_type()) { in SyncRepeatedFieldWithMapNoLock()
312 switch (val_des->cpp_type()) { in SyncRepeatedFieldWithMapNoLock()
367 switch (key_des->cpp_type()) { in SyncMapWithRepeatedFieldNoLock()
394 map_val.SetType(val_des->cpp_type()); in SyncMapWithRepeatedFieldNoLock()
395 switch (val_des->cpp_type()) { in SyncMapWithRepeatedFieldNoLock()
Dextension_set_heavy.cc128 inline FieldDescriptor::CppType cpp_type(FieldType type) { in cpp_type() function
142 GOOGLE_DCHECK_EQ(cpp_type((EXTENSION).type), FieldDescriptor::CPPTYPE_##CPPTYPE)
167 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE); in MutableMessage()
220 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE); in MaybeNewRepeatedExtension()
274 if (extension->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in Find()
280 } else if (extension->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in Find()
339 switch (cpp_type(type)) { in SpaceUsedExcludingSelf()
367 switch (cpp_type(type)) { in SpaceUsedExcludingSelf()
/external/libprotobuf-mutator/src/
Dmutator.cc83 field.cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE && in IsProto3SimpleField()
193 if (current_field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in Sample()
213 if (field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in Sample()
225 if (field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) in Sample()
242 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in Sample()
293 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in Sample()
304 if (field->cpp_type() != match_.cpp_type()) continue; in Sample()
305 if (match_.cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in Sample()
307 } else if (match_.cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in Sample()
537 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in CrossOverImpl()
[all …]
/external/protobuf/python/google/protobuf/internal/
Dpython_message.py286 return value_type.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE
418 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
433 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
505 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: # Composite
519 if field.cpp_type == _FieldDescriptor.CPPTYPE_ENUM:
524 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
535 if field.cpp_type == _FieldDescriptor.CPPTYPE_ENUM:
593 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
791 elif item[0].cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
821 if (is_proto3 and field.cpp_type != _FieldDescriptor.CPPTYPE_MESSAGE and
[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.cc138 switch (field->cpp_type()) { in MakeGenerator()
157 switch (field->cpp_type()) { in MakeGenerator()
172 switch (field->cpp_type()) { in MakeGenerator()
Dcpp_map_field.cc63 (*variables)["key_cpp"] = PrimitiveTypeName(key->cpp_type()); in SetMessageVariables()
64 switch (val->cpp_type()) { in SetMessageVariables()
74 (*variables)["val_cpp"] = PrimitiveTypeName(val->cpp_type()); in SetMessageVariables()
195 switch (value_field->cpp_type()) { in GenerateMergeFromCodedStream()
/external/protobuf/src/google/protobuf/util/
Dfield_comparator.cc67 switch (field->cpp_type()) { in Compare()
128 << " of CppType = " << field->cpp_type(); in Compare()
142 GOOGLE_CHECK(FieldDescriptor::CPPTYPE_FLOAT == field->cpp_type() || in SetFractionAndMargin()
143 FieldDescriptor::CPPTYPE_DOUBLE == field->cpp_type()) in SetFractionAndMargin()
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc281 GOOGLE_CHECK(field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE); in SubmessageTypeRef()
751 switch (field->cpp_type()) { in JSFieldDefault()
866 switch (field->cpp_type()) { in JSTypeName()
901 (field->cpp_type() != FieldDescriptor::CPPTYPE_ENUM && in JSFieldTypeAnnotation()
902 field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE && in JSFieldTypeAnnotation()
1050 assert(field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM || in RelativeTypeName()
1051 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE); in RelativeTypeName()
1056 string type = (field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) ? in RelativeTypeName()
1111 if (field->cpp_type() == FieldDescriptor::CPPTYPE_BOOL) { in FieldComments()
1198 (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) || in HasFieldPresence()
[all …]
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc131 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateField()
135 } else if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in GenerateField()
153 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateField()
157 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in GenerateField()
342 if ((field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in UsesTypeFromFile()
/external/tensorflow/tensorflow/tools/proto_text/
Dgen_proto_text_functions_lib.cc226 string cpp_class = d.cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE in GetCppClass()
254 switch (field.cpp_type()) { in AppendFieldValueAppend()
509 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in AppendParseMessageFunction()
522 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_STRING) { in AppendParseMessageFunction()
530 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in AppendParseMessageFunction()
568 switch (field->cpp_type()) { in AppendParseMessageFunction()
731 switch (f->cpp_type()) { in GetAllFileDescriptorsFromMessage()

1234