Home
last modified time | relevance | path

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

12345

/external/v8/src/
Dfield-type.cc15 FieldType* FieldType::None() { in None()
18 return reinterpret_cast<FieldType*>(Smi::FromInt(2)); in None()
22 FieldType* FieldType::Any() { in Any()
23 return reinterpret_cast<FieldType*>(Smi::FromInt(1)); in Any()
27 Handle<FieldType> FieldType::None(Isolate* isolate) { in None()
32 Handle<FieldType> FieldType::Any(Isolate* isolate) { in Any()
37 FieldType* FieldType::Class(i::Map* map) { return FieldType::cast(map); } in Class()
40 Handle<FieldType> FieldType::Class(i::Handle<i::Map> map, Isolate* isolate) { in Class()
45 FieldType* FieldType::cast(Object* object) { in cast()
47 return reinterpret_cast<FieldType*>(object); in cast()
[all …]
Dfield-type.h17 class FieldType : public Object {
19 static FieldType* None();
20 static FieldType* Any();
21 static Handle<FieldType> None(Isolate* isolate);
22 static Handle<FieldType> Any(Isolate* isolate);
23 static FieldType* Class(i::Map* map);
24 static Handle<FieldType> Class(i::Handle<i::Map> map, Isolate* isolate);
25 static FieldType* cast(Object* object);
36 bool NowIs(FieldType* other);
37 bool NowIs(Handle<FieldType> other);
Dmap-updater.h56 Handle<FieldType> field_type);
123 inline FieldType* GetFieldType(int descriptor) const;
129 inline Handle<FieldType> GetOrComputeFieldType(
137 inline Handle<FieldType> GetOrComputeFieldType(
144 Handle<FieldType> new_field_type);
168 Handle<FieldType> new_field_type_;
Dmap-updater.cc64 FieldType* MapUpdater::GetFieldType(int descriptor) const { in GetFieldType()
74 Handle<FieldType> MapUpdater::GetOrComputeFieldType( in GetOrComputeFieldType()
87 Handle<FieldType> MapUpdater::GetOrComputeFieldType( in GetOrComputeFieldType()
104 Handle<FieldType> field_type) { in ReconfigureToDataField()
124 Handle<FieldType> old_field_type = in ReconfigureToDataField()
179 Handle<FieldType> new_field_type) { in GeneralizeField()
287 FieldType* old_field_type = in FindRootMap()
353 Handle<FieldType> old_field_type = in FindTargetMap()
506 Handle<FieldType> old_field_type = in BuildDescriptorArray()
509 Handle<FieldType> target_field_type = in BuildDescriptorArray()
[all …]
/external/protobuf/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()
/external/protobuf/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>
199 #define MAP_HANDLER(FieldType) \
201 class MapTypeHandler<WireFormatLite::TYPE_##FieldType, Type> { \
203 typedef typename MapWireFieldTypeTraits<WireFormatLite::TYPE_##FieldType, \
206 typedef typename MapWireFieldTypeTraits<WireFormatLite::TYPE_##FieldType, \
209 MapWireFieldTypeTraits<WireFormatLite::TYPE_##FieldType, \
212 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_lite.h42 WireFormatLite::FieldType kKeyFieldType,
43 WireFormatLite::FieldType kValueFieldType,
47 WireFormatLite::FieldType kKeyFieldType,
48 WireFormatLite::FieldType kValueFieldType,
60 WireFormatLite::FieldType kKeyFieldType,
61 WireFormatLite::FieldType kValueFieldType,
293 template <typename K, typename V, WireFormatLite::FieldType k_wire_type,
294 WireFormatLite::FieldType v_wire_type, int default_enum>
327 template <typename K, typename V, WireFormatLite::FieldType k_wire_type,
328 WireFormatLite::FieldType v_wire_type, int default_enum>
[all …]
Dmap_entry.h47 WireFormatLite::FieldType kKeyFieldType,
48 WireFormatLite::FieldType kValueFieldType,
109 WireFormatLite::FieldType kKeyFieldType,
110 WireFormatLite::FieldType kValueFieldType,
288 template <typename K, typename V, WireFormatLite::FieldType k_wire_type,
289 WireFormatLite::FieldType, int default_enum>
296 template <typename Key, typename Value, WireFormatLite::FieldType kKeyFieldType,
297 WireFormatLite::FieldType kValueFieldType, int default_enum_value>
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 …]
/external/libchrome/base/json/
Djson_value_converter.h109 template <typename FieldType>
113 virtual bool Convert(const base::Value& value, FieldType* field) const = 0;
116 template <typename StructType, typename FieldType>
120 FieldType StructType::* field, in FieldConverter()
121 ValueConverter<FieldType>* converter) in FieldConverter()
132 FieldType StructType::* field_pointer_;
133 std::unique_ptr<ValueConverter<FieldType>> value_converter_;
137 template <typename FieldType>
197 template <typename FieldType>
198 class ValueFieldConverter : public ValueConverter<FieldType> {
[all …]
/external/protobuf/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 …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMapEntryLite.java48 public final WireFormat.FieldType keyType;
49 public final WireFormat.FieldType valueType;
53 WireFormat.FieldType keyType, in Metadata()
54 WireFormat.FieldType valueType) { in Metadata()
79 WireFormat.FieldType keyType, K defaultKey, in MapEntryLite()
80 WireFormat.FieldType valueType, V defaultValue) { in MapEntryLite()
110 WireFormat.FieldType keyType, K defaultKey, in newDefaultInstance()
111 WireFormat.FieldType valueType, V defaultValue) { in newDefaultInstance()
123 int number, WireFormat.FieldType type, Object value, in writeField()
143 int number, WireFormat.FieldType type, Object value) { in getFieldSize()
[all …]
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()
642 final WireFormat.FieldType type, in writeElement()
647 if (type == WireFormat.FieldType.GROUP) { in writeElement()
667 final WireFormat.FieldType type, in writeElementNoTag()
715 WireFormat.FieldType type = descriptor.getLiteType(); in writeField()
808 final WireFormat.FieldType type, in computeElementSize()
811 if (type == WireFormat.FieldType.GROUP) { in computeElementSize()
[all …]
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitcodeHeader.h53 } FieldType; typedef
96 static const char *TypeName(FieldType FType);
114 FieldType GetType() const { return FType; } in GetType()
130 void DecodeTypedID(FixedSubfield Subfield, Tag &ID, FieldType &FType) { in DecodeTypedID()
135 ? kUnknownType : static_cast<FieldType>(PossibleFType)); in DecodeTypedID()
147 FieldType FType;
/external/bcc/src/cc/frontends/b/
Dtype_helper.h23 enum FieldType { enum
35 static inline size_t enum_to_size(const FieldType t) { in enum_to_size()
79 static inline FieldType bits_to_enum(int v) { in bits_to_enum()
101 static inline size_t align_offset(size_t offset, FieldType ft) { in align_offset()
/external/tensorflow/tensorflow/core/framework/
Dtensor_util.cc189 using FieldType = typename internal::TensorProtoHelper<T>::FieldType; in CompressTensorContent() typedef
212 if (new_num_values * (is_complex<T>::value ? 2 : 1) * sizeof(FieldType) > in CompressTensorContent()
217 if (sizeof(FieldType) == sizeof(T)) { in CompressTensorContent()
218 FieldType* dst_ptr = in CompressTensorContent()
268 using FieldType = typename internal::TensorProtoHelper<T>::FieldType; in CompressRepeatedField() typedef
288 num_truncated_proto_values * sizeof(FieldType); in CompressRepeatedField()
290 const int64 num_bytes_before = num_proto_values * sizeof(FieldType); in CompressRepeatedField()
Dtensor_util.h76 std::declval<TensorProto>().FIELDNAME##_val(0)) FieldType; \
198 using FieldType = typename TensorProtoFieldHelper<T>::FieldType;
225 FieldType* dst = AppendUninitialized(n, proto);
240 static FieldType* AppendUninitialized(size_t n, TensorProto* proto) {
244 return reinterpret_cast<FieldType*>(field->AddNAlreadyReserved(n));
/external/deqp/framework/platform/android/
DtcuAndroidUtil.cpp221 template<typename FieldType>
222 FieldType getStaticFieldValue (JNIEnv* env, jclass cls, jfieldID fieldId);
268 template<typename FieldType>
269 FieldType getStaticField (JNIEnv* env, const char* className, const char* fieldName) in getStaticField()
272 const jfieldID fieldId = env->GetStaticFieldID(cls, fieldName, getJNITypeStr<FieldType>()); in getStaticField()
277 return getStaticFieldValue<FieldType>(env, cls, fieldId); in getStaticField()
282 template<typename FieldType>
283 FieldType getFieldValue (JNIEnv* env, jobject obj, jfieldID fieldId);
299 template<typename FieldType>
300 FieldType getField (JNIEnv* env, jobject obj, const char* fieldName) in getField()
[all …]
/external/v8/src/objects/
Dmap.h476 V8_WARN_UNUSED_RESULT static Handle<FieldType> GeneralizeFieldType(
477 Representation rep1, Handle<FieldType> type1, Representation rep2,
478 Handle<FieldType> type2, Isolate* isolate);
482 Handle<FieldType> new_field_type);
487 FieldType* field_type);
499 Handle<FieldType>* field_type);
506 Handle<FieldType> new_field_type);
658 Handle<FieldType> type);
659 static FieldType* UnwrapFieldType(MaybeObject* wrapped_type);
663 Handle<FieldType> type, PropertyAttributes attributes,
[all …]
/external/protobuf/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()
/external/clang/include/clang/Basic/
DAllDiagnostics.h29 template <size_t SizeOfStr, typename FieldType>
31 char FIELD_TOO_SMALL[SizeOfStr <= FieldType(~0U) ? 1 : -1];

12345