HomeSort by relevance Sort by last modified time
    Searched refs:IsInt (Results 1 - 25 of 63) sorted by null

1 2 3

  /art/runtime/base/
bit_utils_test.cc 159 EXPECT_FALSE(IsInt<int32_t>(1, -2));
160 EXPECT_TRUE(IsInt<int32_t>(1, -1));
161 EXPECT_TRUE(IsInt<int32_t>(1, 0));
162 EXPECT_FALSE(IsInt<int32_t>(1, 1));
163 EXPECT_FALSE(IsInt<int32_t>(4, -9));
164 EXPECT_TRUE(IsInt<int32_t>(4, -8));
165 EXPECT_TRUE(IsInt<int32_t>(4, 7));
166 EXPECT_FALSE(IsInt<int32_t>(4, 8));
167 EXPECT_FALSE(IsInt<int32_t>(31, std::numeric_limits<int32_t>::min()));
168 EXPECT_FALSE(IsInt<int32_t>(31, std::numeric_limits<int32_t>::max()))
    [all...]
bit_utils.h 232 inline bool IsInt(size_t N, T value) {
251 constexpr bool IsInt(T value) {
  /external/swiftshader/third_party/subzero/pydir/
gen_arm32_reg_tables.py 19 IsStackPtr=0, IsFramePtr=0, IsGPR=0, IsInt=0, IsI64Pair=0,
21 assert (not IsInt) or IsGPR
23 assert not (IsInt and IsI64Pair)
49 'IsInt', 'IsI64Pair', 'IsStackPtr', 'IsFramePtr')) or
82 Reg( 'r0', 0, IsScratch=1, CCArg=1, IsGPR = 1, IsInt=1, Aliases= 'r0, r0r1'),
83 Reg( 'r1', 1, IsScratch=1, CCArg=2, IsGPR = 1, IsInt=1, Aliases= 'r1, r0r1'),
84 Reg( 'r2', 2, IsScratch=1, CCArg=3, IsGPR = 1, IsInt=1, Aliases= 'r2, r2r3'),
85 Reg( 'r3', 3, IsScratch=1, CCArg=4, IsGPR = 1, IsInt=1, Aliases= 'r3, r2r3'),
86 Reg( 'r4', 4, IsPreserved=1, IsGPR = 1, IsInt=1, Aliases= 'r4, r4r5'),
87 Reg( 'r5', 5, IsPreserved=1, IsGPR = 1, IsInt=1, Aliases= 'r5, r4r5')
    [all...]
  /external/swiftshader/third_party/subzero/src/
IceTypes.cpp 45 #define X(tag, IsVec, IsInt, IsFloat, IsIntArith, IsLoadStore, IsParam, \
60 #define X(tag, IsVec, IsInt, IsFloat, IsIntArith, IsLoadStore, IsParam, \
80 #define X(tag, IsVec, IsInt, IsFloat, IsIntArith, IsLoadStore, IsParam, \
87 #define X(tag, IsVec, IsInt, IsFloat, IsIntArith, IsLoadStore, IsParam, \
126 #define X(tag, IsVec, IsInt, IsFloat, IsIntArith, IsBoolean, IsParam, \
129 IsVec, IsInt, IsInt & !IsVec, IsInt & IsVec, IsIntArith, IsFloat, \
IceUtils.h 39 template <typename T> inline bool IsInt(int N, T value) {
IceRegistersARM32.h 31 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \
45 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \
56 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \
67 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \
78 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \
94 unsigned IsInt : 1;
118 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \
133 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \
168 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \
188 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init)
    [all...]
  /art/compiler/optimizing/
locations.cc 62 if (IsInt<32>(value)) {
73 if (IsInt<32>(value)) {
code_generator_mips.cc     [all...]
  /packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/
tutorial.cpp 60 assert(document["i"].IsInt()); // In this case, IsUint()/IsInt64()/IsUInt64() also return true.
97 assert(!document["i"].IsInt()); // No longer can be cast as int or uint.
  /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
valuetest.cpp 108 EXPECT_TRUE(y.IsInt());
138 EXPECT_TRUE(y.IsInt());
273 EXPECT_TRUE(v2.IsInt());
279 EXPECT_TRUE(v1.IsInt());
372 EXPECT_TRUE(x.IsInt());
389 EXPECT_TRUE(nx.IsInt());
397 EXPECT_TRUE(y.IsInt());
419 EXPECT_TRUE(x.IsInt());
445 EXPECT_FALSE(z.IsInt());
458 EXPECT_TRUE(x.IsInt());
    [all...]
  /prebuilts/go/darwin-x86/src/text/template/parse/
node.go 522 IsInt bool // Number has an integral value.
545 n.IsInt = true
578 n.IsInt = true
586 if n.IsInt {
603 if !n.IsInt && float64(int64(f)) == f {
604 n.IsInt = true
613 if !n.IsInt && !n.IsUint && !n.IsFloat {
625 n.IsInt = float64(int64(n.Float64)) == n.Float64
626 if n.IsInt {
parse_test.go 18 isInt bool
93 ok := test.isInt || test.isUint || test.isFloat || test.isComplex
111 if test.isInt {
112 if !n.IsInt {
118 } else if n.IsInt {
  /prebuilts/go/linux-x86/src/text/template/parse/
node.go 522 IsInt bool // Number has an integral value.
545 n.IsInt = true
578 n.IsInt = true
586 if n.IsInt {
603 if !n.IsInt && float64(int64(f)) == f {
604 n.IsInt = true
613 if !n.IsInt && !n.IsUint && !n.IsFloat {
625 n.IsInt = float64(int64(n.Float64)) == n.Float64
626 if n.IsInt {
  /art/compiler/utils/mips64/
assembler_mips64.cc 457 CHECK(IsInt<9>(imm9));
462 CHECK(IsInt<9>(imm9));
467 CHECK(IsInt<9>(imm9));
472 CHECK(IsInt<9>(imm9));
    [all...]
assembler_mips64.h 69 } else if (IsInt<16>(value)) {
89 return (IsUint<16>(x) || IsInt<16>(x) || ((x & 0xFFFF) == 0 && IsInt<16>(value >> 16))) ? 2 : 3;
105 } else if (IsInt<16>(value)) {
109 } else if ((value & 0xFFFF) == 0 && IsInt<16>(value >> 16)) {
114 } else if (IsInt<32>(value)) {
121 } else if ((value & 0xFFFF0000) == 0 && IsInt<16>(value >> 32)) {
149 } else if (IsInt<16>(static_cast<int32_t>(value)) &&
156 } else if (IsInt<16>(static_cast<int32_t>(value)) &&
187 } else if (IsInt<16>(tmp))
    [all...]
  /art/compiler/utils/x86_64/
assembler_x86_64_test.cc 51 EXPECT_TRUE(IsInt<8>(i)) << i;
54 EXPECT_FALSE(IsInt<8>(i)) << i;
62 EXPECT_FALSE(IsInt<8>(value)) << value;
67 EXPECT_TRUE(IsInt<8>(i)) << i;
71 EXPECT_FALSE(IsInt<8>(i)) << i;
78 EXPECT_FALSE(IsInt<8>(value)) << value;
83 EXPECT_TRUE(IsInt<8>(i)) << i;
86 EXPECT_FALSE(IsInt<8>(i)) << i;
92 EXPECT_FALSE(IsInt<8>(value)) << value;
97 EXPECT_TRUE(IsInt<8>(i)) << i
    [all...]
assembler_x86_64.h 49 bool is_int8() const { return IsInt<8>(value_); }
51 bool is_int16() const { return IsInt<16>(value_); }
53 bool is_int32() const { return IsInt<32>(value_); }
    [all...]
  /packages/apps/Test/connectivity/sl4n/facades/bluetooth/
bt_binder_facade.cpp 338 if (!doc[sl4n::kParamsStr][0].IsInt()) {
346 if (!doc[sl4n::kParamsStr][1].IsInt()) {
354 if (!doc[sl4n::kParamsStr][2].IsInt()) {
  /art/compiler/utils/mips/
assembler_mips.cc 879 CHECK(IsInt<9>(imm9));
885 CHECK(IsInt<9>(imm9));
    [all...]
  /prebuilts/go/darwin-x86/src/math/big/
ratconv.go 219 if x.IsInt() {
231 if x.IsInt() {
rat.go 386 // IsInt reports whether the denominator of x is 1.
387 func (x *Rat) IsInt() bool {
rat_test.go 101 i := x.IsInt()
104 t.Errorf("got IsInt(%v) == %v; want %v", x, i, e)
  /prebuilts/go/linux-x86/src/math/big/
ratconv.go 219 if x.IsInt() {
231 if x.IsInt() {
  /packages/apps/Test/connectivity/sl4n/facades/test/
test_facade.cpp 193 if (!doc[sl4n::kParamsStr][0][0][int_member.c_str()].IsInt()) {
  /external/flatbuffers/include/flatbuffers/
flexbuffers.h 343 bool IsInt() const { return type_ == TYPE_INT ||
347 bool IsIntOrUint() const { return IsInt() || IsUInt(); }
459 } else if (IsInt()) {
    [all...]

Completed in 1993 milliseconds

1 2 3