/aosp12/art/libartbase/base/ |
H A D | bit_utils_test.cc | 186 EXPECT_TRUE(IsInt<int32_t>(1, -1)); in TEST() 187 EXPECT_TRUE(IsInt<int32_t>(1, 0)); in TEST() 188 EXPECT_FALSE(IsInt<int32_t>(1, 1)); in TEST() 190 EXPECT_TRUE(IsInt<int32_t>(4, -8)); in TEST() 191 EXPECT_TRUE(IsInt<int32_t>(4, 7)); in TEST() 192 EXPECT_FALSE(IsInt<int32_t>(4, 8)); in TEST() 201 EXPECT_TRUE(IsInt<int64_t>(1, -1)); in TEST() 202 EXPECT_TRUE(IsInt<int64_t>(1, 0)); in TEST() 203 EXPECT_FALSE(IsInt<int64_t>(1, 1)); in TEST() 205 EXPECT_TRUE(IsInt<int64_t>(4, -8)); in TEST() [all …]
|
H A D | bit_utils.h | 246 inline bool IsInt(size_t N, T value) { in IsInt() function 265 constexpr bool IsInt(T value) { in IsInt() function
|
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
H A D | valuetest.cpp | 108 EXPECT_TRUE(y.IsInt()); in TEST() 138 EXPECT_TRUE(y.IsInt()); in TEST() 273 EXPECT_TRUE(v2.IsInt()); in TEST() 279 EXPECT_TRUE(v1.IsInt()); in TEST() 372 EXPECT_TRUE(x.IsInt()); in TEST() 389 EXPECT_TRUE(nx.IsInt()); in TEST() 397 EXPECT_TRUE(y.IsInt()); in TEST() 419 EXPECT_TRUE(x.IsInt()); in TEST() 445 EXPECT_FALSE(z.IsInt()); in TEST() 458 EXPECT_TRUE(x.IsInt()); in TEST() [all …]
|
/aosp12/art/compiler/optimizing/ |
H A D | locations.cc | 68 if (IsInt<32>(value)) { in RegisterOrInt32Constant() 79 if (IsInt<32>(value)) { in FpuRegisterOrInt32Constant()
|
H A D | code_generator_x86_64.cc | 3578 DCHECK(IsInt<32>(value)); in VisitSub() 3640 IsInt<32>(mul->InputAt(1)->AsLongConstant()->GetValue())) { in VisitMul() 3688 if (IsInt<32>(value)) { in VisitMul() 4050 if (IsInt<32>(imm)) { in GenerateDivRemWithAnyConstant() 7270 bool is_int32_value = IsInt<32>(value); in HandleBitwiseOperation() 7782 if (IsInt<32>(value)) { in Compare64BitValue() 7833 if (IsInt<32>(value)) { in Store64BitValueToStack() 7983 if (IsInt<32>(v)) { in MoveInt64ToAddress()
|
H A D | loop_optimization.cc | 103 if (IsInt<8>(value)) { in IsSignExtensionAndGet() 110 if (IsInt<16>(value)) { in IsSignExtensionAndGet()
|
H A D | code_generator_vector_arm64_sve.cc | 57 return IsInt<8>(value); in SVECanEncodeConstantAsImmediate()
|
H A D | instruction_simplifier.cc | 1472 IsInt<32>(value) && in VisitAnd()
|
H A D | nodes.cc | 885 DCHECK(IsInt(DataType::Size(type) * kBitsPerByte, value)); in GetConstant()
|
H A D | intrinsics_x86_64.cc | 1731 DCHECK(IsInt<32>(v)); in GenPoke()
|
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/ |
H A D | tutorial.cpp | 60 …assert(document["i"].IsInt()); // In this case, IsUint()/IsInt64()/IsUInt64() also return tru… in main() 97 assert(!document["i"].IsInt()); // No longer can be cast as int or uint. in main()
|
/aosp12/packages/apps/Test/connectivity/sl4n/facades/bluetooth/ |
H A D | bt_binder_facade.cpp | 338 if (!doc[sl4n::kParamsStr][0].IsInt()) { in bt_binder_set_adv_settings_wrapper() 346 if (!doc[sl4n::kParamsStr][1].IsInt()) { in bt_binder_set_adv_settings_wrapper() 354 if (!doc[sl4n::kParamsStr][2].IsInt()) { in bt_binder_set_adv_settings_wrapper()
|
/aosp12/art/compiler/utils/x86_64/ |
H A D | assembler_x86_64_test.cc | 52 EXPECT_TRUE(IsInt<8>(i)) << i; in TEST() 55 EXPECT_FALSE(IsInt<8>(i)) << i; in TEST() 63 EXPECT_FALSE(IsInt<8>(value)) << value; in TEST() 68 EXPECT_TRUE(IsInt<8>(i)) << i; in TEST() 72 EXPECT_FALSE(IsInt<8>(i)) << i; in TEST() 79 EXPECT_FALSE(IsInt<8>(value)) << value; in TEST() 84 EXPECT_TRUE(IsInt<8>(i)) << i; in TEST() 87 EXPECT_FALSE(IsInt<8>(i)) << i; in TEST() 93 EXPECT_FALSE(IsInt<8>(value)) << value; in TEST() 98 EXPECT_TRUE(IsInt<8>(i)) << i; in TEST() [all …]
|
H A D | assembler_x86_64.h | 51 bool is_int8() const { return IsInt<8>(value_); } in is_int8() 53 bool is_int16() const { return IsInt<16>(value_); } in is_int16() 55 bool is_int32() const { return IsInt<32>(value_); } in is_int32()
|
H A D | assembler_x86_64.cc | 4418 if (IsInt<8>(v32)) { in imull() 4467 if (IsInt<8>(v64)) { in imulq() 4718 if (IsInt<8>(offset - kShortSize)) { in j() 4740 CHECK(IsInt<8>(offset - kShortSize)); in j() 4756 CHECK(IsInt<8>(offset - kShortSize)); in jrcxz() 4787 if (IsInt<8>(offset - kShortSize)) { in jmp() 4807 CHECK(IsInt<8>(offset - kShortSize)); in jmp() 5132 CHECK(IsInt<8>(offset)); in Bind()
|
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
H A D | tutorial.md | 86 assert(document["i"].IsInt()); 194 `bool IsInt()` | `int GetInt()` 199 … without conversion. For example, A value `x` containing 123 will make `x.IsInt() == x.IsUint() ==… 501 assert(b.IsInt());
|
/aosp12/art/libdexfile/dex/ |
H A D | dex_file.cc | 642 CHECK(IsInt<8>(jval_.i)); in Next() 646 CHECK(IsInt<16>(jval_.i)); in Next()
|
/aosp12/packages/apps/Test/connectivity/sl4n/facades/test/ |
H A D | test_facade.cpp | 193 if (!doc[sl4n::kParamsStr][0][0][int_member.c_str()].IsInt()) { in test_specific_param_naming_wrapper()
|
/aosp12/art/compiler/utils/x86/ |
H A D | assembler_x86.cc | 3217 if (IsInt<8>(v32)) { in imull() 3512 if (IsInt<8>(offset - kShortSize)) { in j() 3534 CHECK(IsInt<8>(offset - kShortSize)); in j() 3550 CHECK(IsInt<8>(offset - kShortSize)); in jecxz() 3579 if (IsInt<8>(offset - kShortSize)) { in jmp() 3599 CHECK(IsInt<8>(offset - kShortSize)); in jmp() 3809 CHECK(IsInt<8>(offset)); in Bind()
|
H A D | assembler_x86.h | 44 bool is_int8() const { return IsInt<8>(value_); } in is_int8() 46 bool is_int16() const { return IsInt<16>(value_); } in is_int16()
|
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
H A D | document.h | 795 bool IsInt() const { return (flags_ & kIntFlag) != 0; } 1567 if (IsInt()) return handler.Int(data_.n.i.i);
|