Lines Matching refs:type

47   static constexpr Type FromShorty(char type);
48 static constexpr char TypeId(DataType::Type type);
50 static constexpr size_t SizeShift(Type type) { in SizeShift() argument
51 switch (type) { in SizeShift()
71 LOG(FATAL) << "Invalid type " << static_cast<int>(type); in SizeShift()
76 static constexpr size_t Size(Type type) { in Size() argument
77 switch (type) { in Size()
98 LOG(FATAL) << "Invalid type " << static_cast<int>(type); in Size()
103 static bool IsFloatingPointType(Type type) { in IsFloatingPointType() argument
104 return type == Type::kFloat32 || type == Type::kFloat64; in IsFloatingPointType()
107 static bool IsIntegralType(Type type) { in IsIntegralType() argument
110 switch (type) { in IsIntegralType()
126 static bool IsIntOrLongType(Type type) { in IsIntOrLongType() argument
127 return type == Type::kInt32 || type == Type::kInt64; in IsIntOrLongType()
130 static bool Is64BitType(Type type) { in Is64BitType() argument
131 return type == Type::kUint64 || type == Type::kInt64 || type == Type::kFloat64; in Is64BitType()
134 static bool IsUnsignedType(Type type) { in IsUnsignedType() argument
135 return type == Type::kBool || type == Type::kUint8 || type == Type::kUint16 || in IsUnsignedType()
136 type == Type::kUint32 || type == Type::kUint64; in IsUnsignedType()
140 static Type Kind(Type type) { in Kind() argument
141 switch (type) { in Kind()
154 return type; in Kind()
158 static int64_t MinValueOfIntegralType(Type type) { in MinValueOfIntegralType() argument
159 switch (type) { in MinValueOfIntegralType()
184 static int64_t MaxValueOfIntegralType(Type type) { in MaxValueOfIntegralType() argument
185 switch (type) { in MaxValueOfIntegralType()
219 static Type ToSigned(Type type) { in ToSigned() argument
220 switch (type) { in ToSigned()
230 return type; in ToSigned()
234 static Type ToUnsigned(Type type) { in ToUnsigned() argument
235 switch (type) { in ToUnsigned()
245 return type; in ToUnsigned()
249 static const char* PrettyDescriptor(Type type);