Home
last modified time | relevance | path

Searched refs:FieldType (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs45 private FieldType fieldType;
132 private static FieldType GetFieldTypeFromProtoType(FieldDescriptorProto.Types.Type type) in GetFieldTypeFromProtoType()
137 return FieldType.Double; in GetFieldTypeFromProtoType()
139 return FieldType.Float; in GetFieldTypeFromProtoType()
141 return FieldType.Int64; in GetFieldTypeFromProtoType()
143 return FieldType.UInt64; in GetFieldTypeFromProtoType()
145 return FieldType.Int32; in GetFieldTypeFromProtoType()
147 return FieldType.Fixed64; in GetFieldTypeFromProtoType()
149 return FieldType.Fixed32; in GetFieldTypeFromProtoType()
151 return FieldType.Bool; in GetFieldTypeFromProtoType()
[all …]
DSingleFieldAccessor.cs64 descriptor.FieldType == FieldType.Message ? null in SingleFieldAccessor()
DFieldType.cs38 public enum FieldType enum
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmap_field_lite.h45 WireFormatLite::FieldType key_wire_type,
46 WireFormatLite::FieldType value_wire_type,
95 WireFormatLite::FieldType key_wire_type,
96 WireFormatLite::FieldType value_wire_type,
106 WireFormatLite::FieldType key_wire_type,
107 WireFormatLite::FieldType value_wire_type,
117 WireFormatLite::FieldType key_wire_type,
118 WireFormatLite::FieldType value_wire_type,
126 WireFormatLite::FieldType key_wire_type,
127 WireFormatLite::FieldType value_wire_type,
[all …]
Dmap_field_inl.h166 WireFormatLite::FieldType kKeyFieldType,
167 WireFormatLite::FieldType kValueFieldType,
173 WireFormatLite::FieldType kKeyFieldType,
174 WireFormatLite::FieldType kValueFieldType,
184 WireFormatLite::FieldType kKeyFieldType,
185 WireFormatLite::FieldType kValueFieldType,
192 WireFormatLite::FieldType kKeyFieldType,
193 WireFormatLite::FieldType kValueFieldType,
203 WireFormatLite::FieldType kKeyFieldType,
204 WireFormatLite::FieldType kValueFieldType,
[all …]
Dmap_type_handler.h102 template <WireFormatLite::FieldType field_type, typename Type>
105 #define TYPE_TRAITS(FieldType, CType, WireFormatType, IsMessage, IsEnum) \
107 class MapWireFieldTypeTraits<WireFormatLite::TYPE_##FieldType, Type> { \
137 template <WireFormatLite::FieldType field_type, typename Type>
202 #define MAP_HANDLER(FieldType) \
204 class MapTypeHandler<WireFormatLite::TYPE_##FieldType, Type> { \
206 typedef typename MapWireFieldTypeTraits<WireFormatLite::TYPE_##FieldType, \
209 typedef typename MapWireFieldTypeTraits<WireFormatLite::TYPE_##FieldType, \
212 MapWireFieldTypeTraits<WireFormatLite::TYPE_##FieldType, \
215 MapWireFieldTypeTraits<WireFormatLite::TYPE_##FieldType, \
[all …]
Dextension_set.h80 typedef uint8 FieldType; typedef
94 inline ExtensionInfo(FieldType type_param, bool isrepeated, bool ispacked) in ExtensionInfo()
98 FieldType type;
172 int number, FieldType type,
175 int number, FieldType type,
179 int number, FieldType type,
224 FieldType ExtensionType(int number) const;
247 void SetInt32 (int number, FieldType type, int32 value, desc);
248 void SetInt64 (int number, FieldType type, int64 value, desc);
249 void SetUInt32(int number, FieldType type, uint32 value, desc);
[all …]
Dmap_entry.h47 WireFormatLite::FieldType kKeyFieldType,
48 WireFormatLite::FieldType kValueFieldType,
109 WireFormatLite::FieldType kKeyFieldType,
110 WireFormatLite::FieldType kValueFieldType,
290 template <typename K, typename V, WireFormatLite::FieldType k_wire_type,
291 WireFormatLite::FieldType, int default_enum>
298 template <typename Key, typename Value, WireFormatLite::FieldType kKeyFieldType,
299 WireFormatLite::FieldType kValueFieldType, int default_enum_value>
Dmap_entry_lite.h43 WireFormatLite::FieldType kKeyFieldType,
44 WireFormatLite::FieldType kValueFieldType,
48 WireFormatLite::FieldType kKeyFieldType,
49 WireFormatLite::FieldType kValueFieldType,
93 WireFormatLite::FieldType kKeyFieldType,
94 WireFormatLite::FieldType kValueFieldType,
434 template <typename K, typename V, WireFormatLite::FieldType k_wire_type,
435 WireFormatLite::FieldType v_wire_type, int default_enum>
468 template <typename K, typename V, WireFormatLite::FieldType k_wire_type,
469 WireFormatLite::FieldType v_wire_type, int default_enum>
[all …]
Dwire_format_lite.h96 enum FieldType { enum
134 static CppType FieldTypeToCppType(FieldType type);
138 WireFormatLite::FieldType type) { in WireTypeForFieldType()
158 static inline int TagSize(int field_number, WireFormatLite::FieldType type);
253 template <typename CType, enum FieldType DeclaredType> INL
259 template <typename CType, enum FieldType DeclaredType> INL
267 template <typename CType, enum FieldType DeclaredType>
278 template <typename CType, enum FieldType DeclaredType> INL
284 template <typename CType, enum FieldType DeclaredType> INL
289 template <typename CType, enum FieldType DeclaredType>
[all …]
Dmap_field.h215 WireFormatLite::FieldType kKeyFieldType,
216 WireFormatLite::FieldType kValueFieldType,
377 internal::WireFormatLite::FieldType kKeyFieldType,
378 internal::WireFormatLite::FieldType kValueFieldType,
Dextension_set.cc51 inline WireFormatLite::FieldType real_type(FieldType type) { in real_type()
53 return static_cast<WireFormatLite::FieldType>(type); in real_type()
56 inline WireFormatLite::CppType cpp_type(FieldType type) { in cpp_type()
131 int number, FieldType type, in RegisterExtension()
154 int number, FieldType type, in RegisterEnumExtension()
166 int number, FieldType type, in RegisterMessageExtension()
228 FieldType ExtensionSet::ExtensionType(int number) const { in ExtensionType()
278 void ExtensionSet::Set##CAMELCASE(int number, FieldType type, \
308 void ExtensionSet::Add##CAMELCASE(int number, FieldType type, \
347 void* ExtensionSet::MutableRawRepeatedField(int number, FieldType field_type, in MutableRawRepeatedField()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DMapEntryLite.java49 public final WireFormat.FieldType keyType;
51 public final WireFormat.FieldType valueType;
55 WireFormat.FieldType keyType, K defaultKey, in Metadata()
56 WireFormat.FieldType valueType, V defaultValue) { in Metadata()
73 WireFormat.FieldType keyType, K defaultKey, in MapEntryLite()
74 WireFormat.FieldType valueType, V defaultValue) { in MapEntryLite()
104 WireFormat.FieldType keyType, K defaultKey, in newDefaultInstance()
105 WireFormat.FieldType valueType, V defaultValue) { in newDefaultInstance()
124 WireFormat.FieldType type, T value) throws IOException { in parseField()
DFieldSet.java59 WireFormat.FieldType getLiteType(); in getLiteType()
385 private static void verifyType(final WireFormat.FieldType type, in verifyType()
486 static int getWireFormatForFieldType(final WireFormat.FieldType type, in getWireFormatForFieldType()
573 final WireFormat.FieldType type, in readPrimitiveField()
643 final WireFormat.FieldType type, in writeElement()
648 if (type == WireFormat.FieldType.GROUP) { in writeElement()
668 final WireFormat.FieldType type, in writeElementNoTag()
716 WireFormat.FieldType type = descriptor.getLiteType(); in writeField()
809 final WireFormat.FieldType type, final int number, final Object value) { in computeElementSize()
811 if (type == WireFormat.FieldType.GROUP) { in computeElementSize()
[all …]
DMapEntry.java61 WireFormat.FieldType keyType, in Metadata()
62 WireFormat.FieldType valueType) { in Metadata()
84 WireFormat.FieldType keyType, K defaultKey, in MapEntry()
85 WireFormat.FieldType valueType, V defaultValue) { in MapEntry()
124 WireFormat.FieldType keyType, K defaultKey, in newDefaultInstance()
125 WireFormat.FieldType valueType, V defaultValue) { in newDefaultInstance()
DWireFormat.java109 public enum FieldType { enum in WireFormat
145 FieldType(final JavaType javaType, final int wireType) { in FieldType() method in WireFormat.FieldType
221 FieldType type, in readPrimitiveField()
DExtensionLite.java45 public abstract WireFormat.FieldType getLiteType(); in getLiteType()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonFormatter.cs346 switch (accessor.Descriptor.FieldType) in IsDefaultValue()
348 case FieldType.Bool: in IsDefaultValue()
350 case FieldType.Bytes: in IsDefaultValue()
352 case FieldType.String: in IsDefaultValue()
354 case FieldType.Double: in IsDefaultValue()
356 case FieldType.SInt32: in IsDefaultValue()
357 case FieldType.Int32: in IsDefaultValue()
358 case FieldType.SFixed32: in IsDefaultValue()
359 case FieldType.Enum: in IsDefaultValue()
361 case FieldType.Fixed32: in IsDefaultValue()
[all …]
DJsonParser.cs308 return field.FieldType == FieldType.Message && in IsGoogleProtobufValueField()
326 var fieldType = field.FieldType; in ParseSingleValue()
327 if (fieldType == FieldType.Message) in ParseSingleValue()
334 fieldType = field.FieldType; in ParseSingleValue()
350 if (fieldType == FieldType.Bool) in ParseSingleValue()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs151 Assert.AreEqual(FieldType.Int32, primitiveField.FieldType); in FieldDescriptor()
155 Assert.AreEqual(FieldType.Enum, enumField.FieldType); in FieldDescriptor()
159 Assert.AreEqual(FieldType.Message, messageField.FieldType); in FieldDescriptor()
/frameworks/compile/slang/tests/F_reflection3264_struct_mismatch/
Dreflection3264_struct_mismatch.rs73 struct FieldType { struct
81 struct FieldType ii; struct
Dstderr.txt.expect11 reflection3264_struct_mismatch.rs:73:8: error: field 'b' of exported structure 'FieldType' has type…
12 reflection3264_struct_mismatch.rs:73:8: error: field 'e' of exported structure 'FieldType' has type…
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/
Dconstants.js171 jspb.BinaryConstants.FieldType = {
220 var fieldTypes = jspb.BinaryConstants.FieldType;
/frameworks/compile/mclinker/include/mcld/ADT/
DSizeTraits.h165 template <size_t SizeOfStr, typename FieldType>
168 char FIELD_TOO_SMALL[SizeOfStr <= FieldType(~0U) ? 1 : -1];
/frameworks/av/media/codec2/vndk/include/util/
DC2InterfaceHelper.h390 using FieldType = Field<
396 FieldType<S> F(S &field) {
413 return FieldType<S>(helper, _mTypedParam->index());
418 const FieldType<S> F(S &field) const {
419 return const_cast<const FieldType<S>>(const_cast<Param *>(this)->F(field));

12