Home
last modified time | relevance | path

Searched refs:UINT32_C (Results 1 – 25 of 86) sorted by relevance

1234

/external/llvm/unittests/Support/
DScaledNumberTest.cpp194 EXPECT_EQ(0, getLg(UINT32_C(1), 0)); in TEST()
195 EXPECT_EQ(1, getLg(UINT32_C(1), 1)); in TEST()
196 EXPECT_EQ(1, getLg(UINT32_C(2), 0)); in TEST()
197 EXPECT_EQ(3, getLg(UINT32_C(1), 3)); in TEST()
198 EXPECT_EQ(3, getLg(UINT32_C(7), 0)); in TEST()
199 EXPECT_EQ(3, getLg(UINT32_C(8), 0)); in TEST()
200 EXPECT_EQ(3, getLg(UINT32_C(9), 0)); in TEST()
201 EXPECT_EQ(3, getLg(UINT32_C(64), -3)); in TEST()
204 EXPECT_EQ(-1, getLg(UINT32_C(1), -1)); in TEST()
205 EXPECT_EQ(-1, getLg(UINT32_C(2), -2)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DScaledNumberTest.cpp194 EXPECT_EQ(0, getLg(UINT32_C(1), 0)); in TEST()
195 EXPECT_EQ(1, getLg(UINT32_C(1), 1)); in TEST()
196 EXPECT_EQ(1, getLg(UINT32_C(2), 0)); in TEST()
197 EXPECT_EQ(3, getLg(UINT32_C(1), 3)); in TEST()
198 EXPECT_EQ(3, getLg(UINT32_C(7), 0)); in TEST()
199 EXPECT_EQ(3, getLg(UINT32_C(8), 0)); in TEST()
200 EXPECT_EQ(3, getLg(UINT32_C(9), 0)); in TEST()
201 EXPECT_EQ(3, getLg(UINT32_C(64), -3)); in TEST()
204 EXPECT_EQ(-1, getLg(UINT32_C(1), -1)); in TEST()
205 EXPECT_EQ(-1, getLg(UINT32_C(2), -2)); in TEST()
[all …]
/external/boringssl/src/third_party/fiat/
Dcurve25519_32.h25 uint32_t x2 = (x1 & UINT32_C(0x3ffffff)); in fiat_25519_addcarryx_u26()
43 uint32_t x3 = (x1 & UINT32_C(0x3ffffff)); in fiat_25519_subborrowx_u26()
59 uint32_t x2 = (x1 & UINT32_C(0x1ffffff)); in fiat_25519_addcarryx_u25()
77 uint32_t x3 = (x1 & UINT32_C(0x1ffffff)); in fiat_25519_subborrowx_u25()
92 uint32_t x2 = ((fiat_25519_int1)(0x0 - x1) & UINT32_C(0xffffffff)); in fiat_25519_cmovznz_u32()
207 uint32_t x103 = (uint32_t)(x101 & UINT32_C(0x3ffffff)); in fiat_25519_carry_mul()
219 uint32_t x115 = (uint32_t)(x113 & UINT32_C(0x1ffffff)); in fiat_25519_carry_mul()
222 uint32_t x118 = (uint32_t)(x116 & UINT32_C(0x3ffffff)); in fiat_25519_carry_mul()
225 uint32_t x121 = (uint32_t)(x119 & UINT32_C(0x1ffffff)); in fiat_25519_carry_mul()
228 uint32_t x124 = (uint32_t)(x122 & UINT32_C(0x3ffffff)); in fiat_25519_carry_mul()
[all …]
Dp256_32.h30 uint32_t x2 = (uint32_t)(x1 & UINT32_C(0xffffffff)); in fiat_p256_addcarryx_u32()
48 uint32_t x3 = (uint32_t)(x1 & UINT32_C(0xffffffff)); in fiat_p256_subborrowx_u32()
63 uint32_t x2 = (uint32_t)(x1 & UINT32_C(0xffffffff)); in fiat_p256_mulx_u32()
79 uint32_t x2 = ((fiat_p256_int1)(0x0 - x1) & UINT32_C(0xffffffff)); in fiat_p256_cmovznz_u32()
150 fiat_p256_mulx_u32(&x41, &x42, x23, UINT32_C(0xffffffff)); in fiat_p256_mul()
153 fiat_p256_mulx_u32(&x43, &x44, x23, UINT32_C(0xffffffff)); in fiat_p256_mul()
156 fiat_p256_mulx_u32(&x45, &x46, x23, UINT32_C(0xffffffff)); in fiat_p256_mul()
159 fiat_p256_mulx_u32(&x47, &x48, x23, UINT32_C(0xffffffff)); in fiat_p256_mul()
276 fiat_p256_mulx_u32(&x125, &x126, x107, UINT32_C(0xffffffff)); in fiat_p256_mul()
279 fiat_p256_mulx_u32(&x127, &x128, x107, UINT32_C(0xffffffff)); in fiat_p256_mul()
[all …]
Dp256_64.h127 fiat_p256_mulx_u64(&x23, &x24, x11, UINT32_C(0xffffffff)); in fiat_p256_mul()
199 fiat_p256_mulx_u64(&x71, &x72, x59, UINT32_C(0xffffffff)); in fiat_p256_mul()
271 fiat_p256_mulx_u64(&x119, &x120, x107, UINT32_C(0xffffffff)); in fiat_p256_mul()
343 fiat_p256_mulx_u64(&x167, &x168, x155, UINT32_C(0xffffffff)); in fiat_p256_mul()
376 fiat_p256_subborrowx_u64(&x189, &x190, x188, x179, UINT32_C(0xffffffff)); in fiat_p256_mul()
440 fiat_p256_mulx_u64(&x23, &x24, x11, UINT32_C(0xffffffff)); in fiat_p256_square()
512 fiat_p256_mulx_u64(&x71, &x72, x59, UINT32_C(0xffffffff)); in fiat_p256_square()
584 fiat_p256_mulx_u64(&x119, &x120, x107, UINT32_C(0xffffffff)); in fiat_p256_square()
656 fiat_p256_mulx_u64(&x167, &x168, x155, UINT32_C(0xffffffff)); in fiat_p256_square()
689 fiat_p256_subborrowx_u64(&x189, &x190, x188, x179, UINT32_C(0xffffffff)); in fiat_p256_square()
[all …]
/external/vixl/test/
Dtest-api.cc60 {true, true, 1, UINT32_C(0x0)}, {true, false, 1, UINT32_C(0x1)}, in TEST()
61 {false, false, 1, UINT32_C(0x2)}, {false, false, 1, UINT32_C(0x3)}, in TEST()
62 {false, false, 1, UINT32_C(0x4)}, {false, false, 1, UINT32_C(0x5)}, in TEST()
63 {false, false, 1, UINT32_C(0x6)}, {false, false, 1, UINT32_C(0x7)}, in TEST()
64 {false, false, 1, UINT32_C(0x8)}, {false, false, 1, UINT32_C(0x9)}, in TEST()
65 {false, false, 1, UINT32_C(0xa)}, {false, false, 1, UINT32_C(0xb)}, in TEST()
66 {false, false, 1, UINT32_C(0xc)}, {false, false, 1, UINT32_C(0xd)}, in TEST()
67 {false, false, 1, UINT32_C(0xe)}, {false, false, 1, UINT32_C(0xf)}, in TEST()
69 {true, true, 2, UINT32_C(0x0)}, {true, true, 2, UINT32_C(0x1)}, in TEST()
70 {true, false, 2, UINT32_C(0x2)}, {true, false, 2, UINT32_C(0x3)}, in TEST()
[all …]
Dtest-operands.cc52 VIXL_CHECK(op.GetImmediate() == (~UINT32_C(42) + 1)); in TEST_AARCH32()
92 VIXL_CHECK(op.GetImmediate() == (~UINT32_C(42) + 1)); in TEST_AARCH32()
/external/compiler-rt/test/builtins/Unit/
Dfixunstfsi_test.c42 if (test__fixunstfsi(makeInf128(), UINT32_C(0xffffffff))) in main()
44 if (test__fixunstfsi(0, UINT32_C(0x0))) in main()
46 if (test__fixunstfsi(0x1.23456789abcdefp+5, UINT32_C(0x24))) in main()
48 if (test__fixunstfsi(0x1.23456789abcdefp-3, UINT32_C(0x0))) in main()
50 if (test__fixunstfsi(0x1.23456789abcdefp+20, UINT32_C(0x123456))) in main()
52 if (test__fixunstfsi(0x1.23456789abcdefp+40, UINT32_C(0xffffffff))) in main()
54 if (test__fixunstfsi(0x1.23456789abcdefp+256, UINT32_C(0xffffffff))) in main()
56 if (test__fixunstfsi(-0x1.23456789abcdefp+3, UINT32_C(0x0))) in main()
Dtrunctfsf2_test.c44 UINT32_C(0x7fc00000))) in main()
48 UINT32_C(0x7fc08000))) in main()
52 UINT32_C(0x7f800000))) in main()
55 if (test__trunctfsf2(0.0L, UINT32_C(0x0))) in main()
59 UINT32_C(0x4211d156))) in main()
62 UINT32_C(0x3b71e9e2))) in main()
65 UINT32_C(0x7f800000))) in main()
68 UINT32_C(0x0))) in main()
/external/gptfdisk/
Dmbr.cc59 diskSignature = UINT32_C(0); in MakeProtectiveMBR()
65 partitions[0].SetLocation(UINT32_C(1), (uint32_t) diskSize - UINT32_C(1)); in MakeProtectiveMBR()
67 partitions[0].SetLocation(UINT32_C(1), UINT32_MAX); in MakeProtectiveMBR()
Dsupport.h53 #define SECTOR_SIZE UINT32_C(512)
68 #define HEADER_SIZE UINT32_C(92)
Dmbrpart.cc143 firstLBA = UINT32_C(0); in Empty()
144 lengthLBA = UINT32_C(0); in Empty()
292 chs[2] = (uint8_t) (cylinder & UINT32_C(0xFF)); in LBAtoCHS()
/external/compiler-rt/lib/builtins/ppc/
Dfixtfdi.c17 const uint32_t absHighWord = (uint32_t)(hibits.x >> 32) & UINT32_C(0x7fffffff); in __fixtfdi()
18 const uint32_t absHighWordMinusOne = absHighWord - UINT32_C(0x3ff00000); in __fixtfdi()
21 if (UINT32_C(0x03f00000) > absHighWordMinusOne) in __fixtfdi()
Dfixunstfdi.c15 const uint32_t highWordMinusOne = (uint32_t)(hibits.x >> 32) - UINT32_C(0x3ff00000); in __fixunstfdi()
18 if (UINT32_C(0x04000000) > highWordMinusOne) in __fixunstfdi()
/external/libcxx/include/
Dcharconv152 UINT32_C(0), UINT32_C(10), UINT32_C(100),
153 UINT32_C(1000), UINT32_C(10000), UINT32_C(100000),
154 UINT32_C(1000000), UINT32_C(10000000), UINT32_C(100000000),
155 UINT32_C(1000000000),
/external/compiler-rt/lib/builtins/
Dfp_trunc.h22 #define SRC_REP_C UINT32_C
50 #define DST_REP_C UINT32_C
Dfp_extend.h22 #define SRC_REP_C UINT32_C
56 #define DST_REP_C UINT32_C
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DDataTypes.h161 #ifndef UINT32_C
162 # define UINT32_C(C) C##ui32 macro
/external/swiftshader/third_party/LLVM/include-android/llvm/Support/
DDataTypes.h160 #ifndef UINT32_C
161 # define UINT32_C(C) C##ui32 macro
/external/swiftshader/third_party/LLVM/include-linux/llvm/Support/
DDataTypes.h160 #ifndef UINT32_C
161 # define UINT32_C(C) C##ui32 macro
/external/swiftshader/third_party/LLVM/include-fuchsia/llvm/Support/
DDataTypes.h160 #ifndef UINT32_C
161 # define UINT32_C(C) C##ui32 macro
/external/swiftshader/third_party/LLVM/include-osx/llvm/Support/
DDataTypes.h160 #ifndef UINT32_C
161 # define UINT32_C(C) C##ui32 macro
/external/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/Support/
DDataTypes.h161 #ifndef UINT32_C
162 #define UINT32_C(C) C##ui32 macro
/external/llvm/include/llvm/Support/
DDataTypes.h161 #ifndef UINT32_C
162 # define UINT32_C(C) C##ui32 macro
/external/jemalloc_new/include/jemalloc/internal/
Dprng.h29 #define PRNG_A_32 UINT32_C(1103515241)
30 #define PRNG_C_32 UINT32_C(12347)

1234