Searched refs:ScalarType (Results 1 – 15 of 15) sorted by relevance
23 ScalarType::ScalarType(Kind kind) in ScalarType() function in android::ScalarType27 const ScalarType *ScalarType::resolveToScalarType() const { in resolveToScalarType()31 bool ScalarType::isValidEnumStorageType() const { in isValidEnumStorageType()36 void ScalarType::addNamedTypesToSet(std::set<const FQName> &) const { in addNamedTypesToSet()40 bool ScalarType::isScalar() const { in isScalar()44 bool ScalarType::isElidableType() const { in isElidableType()48 bool ScalarType::canCheckEquality() const { in canCheckEquality()52 std::string ScalarType::typeName() const { in typeName()56 std::string ScalarType::getCppType(StorageMode, bool) const { in getCppType()74 std::string ScalarType::getJavaType(bool /* forInitializer */) const { in getJavaType()[all …]
57 static ConstantExpression Zero(ScalarType::Kind kind);58 static ConstantExpression One(ScalarType::Kind kind);59 static ConstantExpression ValueOf(ScalarType::Kind kind, uint64_t value);68 std::string value(ScalarType::Kind castKind) const;70 std::string cppValue(ScalarType::Kind castKind) const;72 std::string javaValue(ScalarType::Kind castKind) const;90 ScalarType::Kind mValueKind;101 std::string rawValue(ScalarType::Kind castKind) const;
39 #define SK(__x__) ScalarType::Kind::KIND_##__x__58 static inline bool isSupported(ScalarType::Kind kind) { in isSupported()59 return SK(BOOL) == kind || ScalarType(kind).isValidEnumStorageType(); in isSupported()63 ScalarType::Kind integralPromotion(ScalarType::Kind in) { in integralPromotion()68 ScalarType::Kind usualArithmeticConversion(ScalarType::Kind lft, in usualArithmeticConversion()69 ScalarType::Kind rgt) { in usualArithmeticConversion()80 ScalarType::Kind unsignedRank = isLftSigned ? rgt : lft; in usualArithmeticConversion()81 ScalarType::Kind signedRank = isLftSigned ? lft : rgt; in usualArithmeticConversion()156 ConstantExpression ConstantExpression::Zero(ScalarType::Kind kind) { in Zero()163 ConstantExpression ConstantExpression::One(ScalarType::Kind kind) { in One()[all …]
25 struct ScalarType : public Type { struct40 ScalarType(Kind kind); argument45 const ScalarType *resolveToScalarType() const override;110 DISALLOW_COPY_AND_ASSIGN(ScalarType);
43 const ScalarType *resolveToScalarType() const override;127 std::string value(ScalarType::Kind castKind) const;128 std::string cppValue(ScalarType::Kind castKind) const;129 std::string javaValue(ScalarType::Kind castKind) const;131 void autofill(const EnumValue *prev, const ScalarType *type);159 const ScalarType *resolveToScalarType() const override;
69 const ScalarType *EnumType::resolveToScalarType() const { in resolveToScalarType()131 const ScalarType *scalarType = mStorageType->resolveToScalarType(); in emitReaderWriter()157 const ScalarType *scalarType = mStorageType->resolveToScalarType(); in emitTypeDeclarations()205 const ScalarType *scalarType = mStorageType->resolveToScalarType(); in emitEnumBitwiseOperator()249 const ScalarType *scalarType = mStorageType->resolveToScalarType(); in emitBitFieldBitwiseAssignmentOperator()296 const ScalarType *scalarType = mStorageType->resolveToScalarType(); in emitTypeDefinitions()353 const ScalarType *scalarType = mStorageType->resolveToScalarType(); in emitJavaTypeDeclarations()439 const ScalarType *scalarType = mStorageType->resolveToScalarType(); in emitVtsTypeDeclarations()555 const ScalarType *scalarType = mStorageType->resolveToScalarType(); in emitExportedHeader()669 std::string EnumValue::value(ScalarType::Kind castKind) const { in value()[all …]
28 const ScalarType *resolveToScalarType() const override;
29 const ScalarType *TypeDef::resolveToScalarType() const { in resolveToScalarType()
43 #include "ScalarType.h"60 yylval->type = new ScalarType(ScalarType::kind); \
31 struct ScalarType;55 virtual const ScalarType *resolveToScalarType() const;
33 struct ScalarType;
109 const ScalarType *Type::resolveToScalarType() const { in resolveToScalarType()114 const ScalarType *scalarType = resolveToScalarType(); in isValidEnumStorageType()
80 "ScalarType.cpp",
302 out << byteToString(ConstantExpression::ValueOf(ScalarType::Kind::KIND_UINT8, e)); in emitDigestChain()
731 $$ = new ConstantExpression(ConstantExpression::Zero(ScalarType::KIND_INT32));