Searched refs:IsUnsignedInt (Results 1 – 3 of 3) sorted by relevance
43 static bool IsUnsignedInt(FormatMode mode) { in IsUnsignedInt() function49 return IsSignedInt(mode) || IsUnsignedInt(mode); in IsInt()70 return IsUnsignedInt(mode) && num_bits == 8; in IsUint8()73 return IsUnsignedInt(mode) && num_bits == 16; in IsUint16()76 return IsUnsignedInt(mode) && num_bits == 32; in IsUint32()79 return IsUnsignedInt(mode) && num_bits == 64; in IsUint64()
242 TEST_F(TypeTest, IsUnsignedInt) { in TEST_F() argument243 EXPECT_FALSE(Type::IsUnsignedInt(FormatMode::kSInt)); in TEST_F()244 EXPECT_FALSE(Type::IsUnsignedInt(FormatMode::kSNorm)); in TEST_F()245 EXPECT_FALSE(Type::IsUnsignedInt(FormatMode::kSScaled)); in TEST_F()246 EXPECT_TRUE(Type::IsUnsignedInt(FormatMode::kSRGB)); in TEST_F()247 EXPECT_TRUE(Type::IsUnsignedInt(FormatMode::kUNorm)); in TEST_F()248 EXPECT_TRUE(Type::IsUnsignedInt(FormatMode::kUInt)); in TEST_F()249 EXPECT_TRUE(Type::IsUnsignedInt(FormatMode::kUScaled)); in TEST_F()250 EXPECT_FALSE(Type::IsUnsignedInt(FormatMode::kSFloat)); in TEST_F()251 EXPECT_FALSE(Type::IsUnsignedInt(FormatMode::kUFloat)); in TEST_F()
3833 bool IsUnsignedInt; member3862 if (Result->IsUnsignedInt) in clang_EvalResult_getAsLongLong()3868 return ((ExprEvalResult *)E)->IsUnsignedInt; in clang_EvalResult_isUnsignedInt()3877 if (Result->IsUnsignedInt) in clang_EvalResult_getAsUnsigned()3912 result->IsUnsignedInt = false; in evaluateExpr()3919 result->IsUnsignedInt = true; in evaluateExpr()