Home
last modified time | relevance | path

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

12

/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/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.c43 UINT32_C(0x7fc00000))) in main()
47 UINT32_C(0x7fc08000))) in main()
51 UINT32_C(0x7f800000))) in main()
54 if (test__trunctfsf2(0.0L, UINT32_C(0x0))) in main()
58 UINT32_C(0x4211d156))) in main()
61 UINT32_C(0x3b71e9e2))) in main()
64 UINT32_C(0x7f800000))) in main()
67 UINT32_C(0x0))) in main()
Dextendsftf2_test.c48 if (test__extendsftf2(makeNaN32(UINT32_C(0x410000)), in main()
Dextendhfsf2_test.c42 makeNaN32(UINT32_C(0x8000)))) in main()
Dtruncsfhf2_test.c41 if (test__truncsfhf2(makeNaN32(UINT32_C(0x8000)), in main()
/external/gptfdisk/
Dmbr.cc57 diskSignature = UINT32_C(0); in MakeProtectiveMBR()
63 partitions[0].SetLocation(UINT32_C(1), (uint32_t) diskSize - UINT32_C(1)); in MakeProtectiveMBR()
65 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.cc141 firstLBA = UINT32_C(0); in Empty()
142 lengthLBA = UINT32_C(0); in Empty()
290 chs[2] = (uint8_t) (cylinder & UINT32_C(0xFF)); in LBAtoCHS()
Ddiskio-windows.cc150 return UINT32_C(255); in GetNumHeads()
156 return UINT32_C(63); in GetNumSecsPerTrack()
Dbsd.h14 #define BSD_SIGNATURE UINT32_C(0x82564557) /* BSD disklabel signature ("magic") */
Dbsd.cc29 signature = UINT32_C(0); in BSDData()
30 signature2 = UINT32_C(0); in BSDData()
/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()
Dgcc_qmul.c14 static const uint32_t infinityHi = UINT32_C(0x7ff00000); in __gcc_qmul()
Dgcc_qdiv.c14 static const uint32_t infinityHi = UINT32_C(0x7ff00000); in __gcc_qdiv()
/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/llvm/include/llvm/Support/
DDataTypes.h161 #ifndef UINT32_C
162 # define UINT32_C(C) C##ui32 macro
/external/libcxx/test/std/depr/depr.c.headers/
Dstdint_h.pass.cpp276 #ifndef UINT32_C in main()
277 #error UINT32_C not defined in main()
/external/libcxx/test/std/language.support/cstdint/cstdint.syn/
Dcstdint.pass.cpp277 #ifndef UINT32_C in main()
278 #error UINT32_C not defined in main()
/external/llvm/test/CodeGen/X86/
Dnegative-stride-fptosi-user.ll4 ; variable which stepped by a bogus ((double)UINT32_C(-1)). It's theoretically
/external/clang/test/Preprocessor/
Dstdint.c1490 UINT32_C_(0) UINT32_C(0)
/external/clang/lib/Headers/
Dstdint.h392 # define UINT32_C(v) __uint_c(v, __int32_c_suffix) macro
395 # define UINT32_C(v) v ## U macro
571 # define UINT32_MAX UINT32_C(4294967295)
/external/bison/darwin-lib/
Dstdint.h592 #undef UINT32_C
594 #define UINT32_C(x) x ## U macro

12