| /third_party/protobuf/python/google/protobuf/ |
| D | json_format.py | 259 field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE) or 284 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE: 286 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_ENUM: 297 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_STRING: 303 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_BOOL: 305 elif field.cpp_type in _INT64_TYPES: 307 elif field.cpp_type in _FLOAT_TYPES: 315 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_FLOAT: 543 if (field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE 560 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE: [all …]
|
| D | text_format.py | 457 and field.cpp_type != descriptor.FieldDescriptor.CPPTYPE_MESSAGE 458 and field.cpp_type != descriptor.FieldDescriptor.CPPTYPE_STRING): 547 field.cpp_type != descriptor.FieldDescriptor.CPPTYPE_MESSAGE): 603 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE: 605 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_ENUM: 611 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_STRING: 624 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_BOOL: 629 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_FLOAT: 634 elif (field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_DOUBLE and 956 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE: [all …]
|
| /third_party/flatbuffers/tests/ |
| D | monster_test.fbs | 103 testhashu32_fnv1a:uint (id:21, hash:"fnv1a_32", cpp_type:"Stat"); 114 single_weak_reference:ulong(id:36, hash:"fnv1a_64", cpp_type:"ReferrableT"); 115 vector_of_weak_references:[ulong](id:37, hash:"fnv1a_64", cpp_type:"ReferrableT"); 117 …co_owning_reference:ulong(id:39, hash:"fnv1a_64", cpp_type:"ReferrableT", cpp_ptr_type:"naked"); … 118 …vector_of_co_owning_references:[ulong](id:40, hash:"fnv1a_64", cpp_type:"ReferrableT", cpp_ptr_typ… 119 …non_owning_reference:ulong(id:41, hash:"fnv1a_64", cpp_type:"ReferrableT", cpp_ptr_type:"naked", c… 120 …vector_of_non_owning_references:[ulong](id:42, hash:"fnv1a_64", cpp_type:"ReferrableT", cpp_ptr_ty…
|
| /third_party/protobuf/src/google/protobuf/ |
| D | reflection_ops.cc | 109 switch (field->cpp_type()) { in Merge() 142 switch (field->cpp_type()) { in Merge() 211 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in IsInitialized() 214 if (message_type->field(1)->cpp_type() == in IsInitialized() 276 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in IsInitialized() 280 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in IsInitialized() 320 return map_field->message_type()->field(1)->cpp_type() == in IsMapValueMessageTyped() 336 if (field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in DiscardUnknownFields() 407 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in FindInitializationErrors()
|
| D | dynamic_message.cc | 132 switch (field->cpp_type()) { in FieldSpaceUsed() 165 switch (field->cpp_type()) { in FieldSpaceUsed() 204 switch (field->cpp_type()) { in OneofFieldSpaceUsed() 396 switch (field->cpp_type()) { in SharedCtor() 514 if (field->cpp_type() == FieldDescriptor::CPPTYPE_STRING) { in ~DynamicMessage() 528 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ~DynamicMessage() 537 switch (field->cpp_type()) { in ~DynamicMessage() 574 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_STRING) { in ~DynamicMessage() 588 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ~DynamicMessage() 610 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in CrossLinkPrototypes() [all …]
|
| D | reflection.h | 94 internal::RefTypeTraits<T>::cpp_type, in RepeatedFieldRef() 146 message, field, internal::RefTypeTraits<T>::cpp_type, NULL); in MutableRepeatedFieldRef() 202 internal::RefTypeTraits<T>::cpp_type, in RepeatedFieldRef() 263 message, field, internal::RefTypeTraits<T>::cpp_type, in MutableRepeatedFieldRef() 480 static const FieldDescriptor::CppType cpp_type = \ 500 static constexpr FieldDescriptor::CppType cpp_type = 501 PrimitiveTraits<T>::cpp_type; 514 static constexpr FieldDescriptor::CppType cpp_type = 527 static constexpr FieldDescriptor::CppType cpp_type = 551 static constexpr FieldDescriptor::CppType cpp_type =
|
| D | extension_set_heavy.cc | 133 inline FieldDescriptor::CppType cpp_type(FieldType type) { in cpp_type() function 147 GOOGLE_DCHECK_EQ(cpp_type((EXTENSION).type), FieldDescriptor::CPPTYPE_##CPPTYPE) 172 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE); in MutableMessage() 249 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE); in MaybeNewRepeatedExtension() 305 if (extension->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in Find() 311 } else if (extension->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in Find() 422 switch (cpp_type(type)) { in SpaceUsedExcludingSelfLong() 452 switch (cpp_type(type)) { in SpaceUsedExcludingSelfLong()
|
| D | generated_message_reflection.cc | 151 << cpptype_names_[field->cpp_type()]; in ReportReflectionUsageTypeError() 190 if (field->cpp_type() != FieldDescriptor::CPPTYPE_##CPPTYPE) \ 254 switch (field->cpp_type()) { in SpaceUsedLong() 300 switch (field->cpp_type()) { in SpaceUsedLong() 365 switch (field->cpp_type()) { in SwapField() 404 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field->cpp_type(); in SwapField() 407 switch (field->cpp_type()) { in SwapField() 481 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field->cpp_type(); in SwapField() 508 switch (field1->cpp_type()) { in SwapOneofField() 532 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field1->cpp_type(); in SwapOneofField() [all …]
|
| D | map_field.cc | 200 map_val->SetType(val_des->cpp_type()); in AllocateMapValue() 203 switch (val_des->cpp_type()) { in AllocateMapValue() 303 switch (field_descriptor->cpp_type()) { in MergeFrom() 381 switch (key_des->cpp_type()) { in SyncRepeatedFieldWithMapNoLock() 408 switch (val_des->cpp_type()) { in SyncRepeatedFieldWithMapNoLock() 464 switch (key_des->cpp_type()) { in SyncMapWithRepeatedFieldNoLock() 500 map_val.SetType(val_des->cpp_type()); in SyncMapWithRepeatedFieldNoLock() 501 switch (val_des->cpp_type()) { in SyncMapWithRepeatedFieldNoLock()
|
| D | extension_set.cc | 64 inline WireFormatLite::CppType cpp_type(FieldType type) { in cpp_type() function 287 GOOGLE_DCHECK_EQ(cpp_type((EXTENSION).type), WireFormatLite::CPPTYPE_##CPPTYPE) 311 GOOGLE_DCHECK_EQ(cpp_type(extension->type), \ 343 GOOGLE_DCHECK_EQ(cpp_type(extension->type), \ 468 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM); in SetEnum() 496 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM); in AddEnum() 528 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_STRING); in MutableString() 558 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_STRING); in AddString() 599 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE); in MutableMessage() 632 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE); in SetAllocatedMessage() [all …]
|
| /third_party/skia/third_party/externals/angle2/src/common/spirv/ |
| D | gen_spirv_builder_and_parser.py | 332 cpp_type = self.get_kind_cpp_type(kind) 335 type_in = 'const ' + cpp_type + 'List &' 336 type_out = cpp_type + 'List *' 338 type_in = 'const ' + cpp_type + ' *' 339 type_out = cpp_type + ' *' 341 type_in = cpp_type 342 type_out = cpp_type + ' *'
|
| /third_party/protobuf/python/google/protobuf/internal/ |
| D | python_message.py | 284 return value_type.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE 341 field_descriptor.cpp_type != _FieldDescriptor.CPPTYPE_MESSAGE): 356 elif field_descriptor.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 443 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 458 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 536 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: # Composite 550 if field.cpp_type == _FieldDescriptor.CPPTYPE_ENUM: 555 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 566 if field.cpp_type == _FieldDescriptor.CPPTYPE_ENUM: 624 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: [all …]
|
| D | extension_dict.py | 89 elif extension_handle.cpp_type == FieldDescriptor.CPPTYPE_MESSAGE: 156 extension_handle.cpp_type == FieldDescriptor.CPPTYPE_MESSAGE): 208 if extension_handle.cpp_type == FieldDescriptor.CPPTYPE_MESSAGE:
|
| /third_party/protobuf/src/google/protobuf/util/ |
| D | field_comparator.cc | 65 switch (field->cpp_type()) { in Compare() 125 << " of CppType = " << field->cpp_type(); in Compare() 147 GOOGLE_CHECK(FieldDescriptor::CPPTYPE_FLOAT == field->cpp_type() || in SetFractionAndMargin() 148 FieldDescriptor::CPPTYPE_DOUBLE == field->cpp_type()) in SetFractionAndMargin()
|
| D | field_mask_util.cc | 156 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GetFieldDescriptors() 373 (field_descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE && in RemovePath() 393 if (field_descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in RemovePath() 470 field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in MergeMessage() 482 switch (field->cpp_type()) { in MergeMessage() 518 switch (field->cpp_type()) { in MergeMessage() 570 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in AddRequiredFieldPath() 573 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in AddRequiredFieldPath() 610 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in TrimMessage()
|
| /third_party/protobuf/src/google/protobuf/compiler/cpp/ |
| D | cpp_extension.cc | 67 switch (descriptor_->cpp_type()) { in ExtensionGenerator() 85 type_traits_.append(PrimitiveTypeName(options_, descriptor_->cpp_type())); in ExtensionGenerator() 151 if (descriptor_->cpp_type() == FieldDescriptor::CPPTYPE_STRING) { in GenerateDefinition()
|
| D | cpp_field.cc | 144 switch (field->cpp_type()) { in MakeGenerator() 160 switch (field->cpp_type()) { in MakeGenerator() 171 switch (field->cpp_type()) { in MakeGenerator()
|
| D | cpp_map_field.cc | 60 (*variables)["key_cpp"] = PrimitiveTypeName(options, key->cpp_type()); in SetMessageVariables() 61 switch (val->cpp_type()) { in SetMessageVariables() 69 (*variables)["val_cpp"] = PrimitiveTypeName(options, val->cpp_type()); in SetMessageVariables()
|
| D | cpp_message.cc | 145 switch (field->cpp_type()) { in IsPOD() 173 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE); in CanBeManipulatedAsRawBytes() 215 if (field->cpp_type() == FieldDescriptor::CPPTYPE_STRING) { in EmitFieldNonDefaultCondition() 217 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in EmitFieldNonDefaultCondition() 220 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_DOUBLE || in EmitFieldNonDefaultCondition() 221 field->cpp_type() == FieldDescriptor::CPPTYPE_FLOAT) { in EmitFieldNonDefaultCondition() 245 return field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE || in HasHasMethod() 256 vars["key_cpp"] = PrimitiveTypeName(options, key->cpp_type()); in CollectMapInfo() 257 switch (val->cpp_type()) { in CollectMapInfo() 265 vars["val_cpp"] = PrimitiveTypeName(options, val->cpp_type()); in CollectMapInfo() [all …]
|
| /third_party/protobuf/src/google/protobuf/compiler/ruby/ |
| D | ruby_generator.cc | 131 switch(field->cpp_type()) { in DefaultValueForField() 186 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateField() 190 } else if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in GenerateField() 208 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateField() 212 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in GenerateField() 468 if ((field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in UsesTypeFromFile()
|
| /third_party/protobuf/python/google/protobuf/pyext/ |
| D | map_container.cc | 131 switch (field_descriptor->cpp_type()) { in PythonToMapKey() 168 field_descriptor->cpp_type()); in PythonToMapKey() 177 switch (field_descriptor->cpp_type()) { in MapKeyToPython() 193 field_descriptor->cpp_type()); in MapKeyToPython() 203 switch (field_descriptor->cpp_type()) { in MapValueRefToPython() 225 field_descriptor->cpp_type()); in MapValueRefToPython() 237 switch (field_descriptor->cpp_type()) { in PythonToMapValueRef() 303 field_descriptor->cpp_type()); in PythonToMapValueRef()
|
| D | extension_dict.cc | 144 descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in subscript() 156 descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in subscript() 168 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in subscript() 222 descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ass_subscript()
|
| D | repeated_scalar_container.cc | 116 switch (field_descriptor->cpp_type()) { in AssignItem() 185 field_descriptor->cpp_type()); in AssignItem() 211 switch (field_descriptor->cpp_type()) { in Item() 272 field_descriptor->cpp_type()); in Item() 349 switch (field_descriptor->cpp_type()) { in Subscript() 416 field_descriptor->cpp_type()); in Subscript()
|
| D | message.cc | 876 if (existing_field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in MaybeReleaseOverlappingOneofField() 895 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in FixupMessageAfterMerge() 1070 if (field_descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in DeleteRepeatedField() 1129 if (value_descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in InitAttributes() 1161 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in InitAttributes() 1190 } else if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in InitAttributes() 1223 } else if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in InitAttributes() 1243 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in InitAttributes() 1586 field_descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in InternalReleaseFieldByDescriptor() 1593 field_descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in InternalReleaseFieldByDescriptor() [all …]
|
| /third_party/protobuf/src/google/protobuf/compiler/js/ |
| D | js_generator.cc | 255 GOOGLE_CHECK(field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE); in SubmessageTypeRef() 807 switch (field->cpp_type()) { in IsIntegralFieldWithStringJSType() 828 switch (field->cpp_type()) { in JSFieldDefault() 944 switch (field->cpp_type()) { in JSTypeName() 982 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in ReturnsNullWhenUnset() 1005 field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in DeclaredReturnTypeIsNullable() 1238 assert(field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM || in RelativeTypeName() 1239 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE); in RelativeTypeName() 1244 std::string type = (field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) in RelativeTypeName() 1951 if (field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM && in FindRequiresForField() [all …]
|