Home
last modified time | relevance | path

Searched refs:UINT16_C (Results 1 – 25 of 80) sorted by relevance

1234

/external/llvm-project/compiler-rt/test/builtins/Unit/
Dtrunctfhf2_test.c33 UINT16_C(0x7e00))) in main()
37 UINT16_C(0x7e00))) in main()
41 UINT16_C(0x7c00))) in main()
44 UINT16_C(0xfc00))) in main()
47 if (test__trunctfhf2(0.0L, UINT16_C(0x0))) in main()
49 if (test__trunctfhf2(-0.0L, UINT16_C(0x8000))) in main()
53 UINT16_C(0x4248))) in main()
56 UINT16_C(0xc248))) in main()
59 UINT16_C(0x7c00))) in main()
62 UINT16_C(0x6e62))) in main()
[all …]
Dtruncsfhf2_test.c28 UINT16_C(0x7e00))) in main()
32 UINT16_C(0x7e00))) in main()
36 UINT16_C(0x7c00))) in main()
39 UINT16_C(0xfc00))) in main()
42 if (test__truncsfhf2(0.0f, UINT16_C(0x0))) in main()
44 if (test__truncsfhf2(-0.0f, UINT16_C(0x8000))) in main()
48 UINT16_C(0x4248))) in main()
51 UINT16_C(0xc248))) in main()
54 UINT16_C(0x7c00))) in main()
57 UINT16_C(0x6e62))) in main()
[all …]
Dtruncdfhf2_test.c28 UINT16_C(0x7e00))) in main()
32 UINT16_C(0x7e00))) in main()
36 UINT16_C(0x7c00))) in main()
39 UINT16_C(0xfc00))) in main()
42 if (test__truncdfhf2(0.0, UINT16_C(0x0))) in main()
44 if (test__truncdfhf2(-0.0, UINT16_C(0x8000))) in main()
48 UINT16_C(0x4248))) in main()
51 UINT16_C(0xc248))) in main()
54 UINT16_C(0x7c00))) in main()
57 UINT16_C(0x6e62))) in main()
[all …]
/external/compiler-rt/test/builtins/Unit/
Dtruncsfhf2_test.c38 UINT16_C(0x7e00))) in main()
42 UINT16_C(0x7e00))) in main()
46 UINT16_C(0x7c00))) in main()
49 UINT16_C(0xfc00))) in main()
52 if (test__truncsfhf2(0.0f, UINT16_C(0x0))) in main()
54 if (test__truncsfhf2(-0.0f, UINT16_C(0x8000))) in main()
58 UINT16_C(0x4248))) in main()
61 UINT16_C(0xc248))) in main()
64 UINT16_C(0x7c00))) in main()
67 UINT16_C(0x6e62))) in main()
[all …]
Dtruncdfhf2_test.c38 UINT16_C(0x7e00))) in main()
42 UINT16_C(0x7e00))) in main()
46 UINT16_C(0x7c00))) in main()
49 UINT16_C(0xfc00))) in main()
52 if (test__truncdfhf2(0.0, UINT16_C(0x0))) in main()
54 if (test__truncdfhf2(-0.0, UINT16_C(0x8000))) in main()
58 UINT16_C(0x4248))) in main()
61 UINT16_C(0xc248))) in main()
64 UINT16_C(0x7c00))) in main()
67 UINT16_C(0x6e62))) in main()
[all …]
Dextendhfsf2_test.c37 if (test__extendhfsf2(UINT16_C(0x7e00), in main()
41 if (test__extendhfsf2(UINT16_C(0x7e00), in main()
45 if (test__extendhfsf2(UINT16_C(0x7c00), in main()
48 if (test__extendhfsf2(UINT16_C(0xfc00), in main()
52 if (test__extendhfsf2(UINT16_C(0x0), in main()
55 if (test__extendhfsf2(UINT16_C(0x8000), in main()
59 if (test__extendhfsf2(UINT16_C(0x4248), in main()
62 if (test__extendhfsf2(UINT16_C(0xc248), in main()
65 if (test__extendhfsf2(UINT16_C(0x7c00), in main()
68 if (test__extendhfsf2(UINT16_C(0x6e62), in main()
[all …]
/external/FP16/test/
Dalt-from-fp32-value.cc14 const uint16_t min_po2_f16 = UINT16_C(0x0400); in TEST()
15 const uint16_t eighths_f16 = UINT16_C(0x3000); in TEST()
16 const uint16_t quarter_f16 = UINT16_C(0x3400); in TEST()
17 const uint16_t half_f16 = UINT16_C(0x3800); in TEST()
18 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST()
19 const uint16_t two_f16 = UINT16_C(0x4000); in TEST()
20 const uint16_t four_f16 = UINT16_C(0x4400); in TEST()
21 const uint16_t eight_f16 = UINT16_C(0x4800); in TEST()
22 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST()
23 const uint16_t thirtytwo_f16 = UINT16_C(0x5000); in TEST()
[all …]
Dieee-from-fp32-value.cc14 const uint16_t min_po2_f16 = UINT16_C(0x0400); in TEST()
15 const uint16_t eighths_f16 = UINT16_C(0x3000); in TEST()
16 const uint16_t quarter_f16 = UINT16_C(0x3400); in TEST()
17 const uint16_t half_f16 = UINT16_C(0x3800); in TEST()
18 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST()
19 const uint16_t two_f16 = UINT16_C(0x4000); in TEST()
20 const uint16_t four_f16 = UINT16_C(0x4400); in TEST()
21 const uint16_t eight_f16 = UINT16_C(0x4800); in TEST()
22 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST()
23 const uint16_t thirtytwo_f16 = UINT16_C(0x5000); in TEST()
[all …]
Dieee-to-fp32-bits.cc10 const uint16_t min_po2_f16 = UINT16_C(0x0400); in TEST()
11 const uint16_t eighths_f16 = UINT16_C(0x3000); in TEST()
12 const uint16_t quarter_f16 = UINT16_C(0x3400); in TEST()
13 const uint16_t half_f16 = UINT16_C(0x3800); in TEST()
14 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST()
15 const uint16_t two_f16 = UINT16_C(0x4000); in TEST()
16 const uint16_t four_f16 = UINT16_C(0x4400); in TEST()
17 const uint16_t eight_f16 = UINT16_C(0x4800); in TEST()
18 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST()
19 const uint16_t thirtytwo_f16 = UINT16_C(0x5000); in TEST()
[all …]
Dieee-to-fp32-value.cc11 const uint16_t min_po2_f16 = UINT16_C(0x0400); in TEST()
12 const uint16_t eighths_f16 = UINT16_C(0x3000); in TEST()
13 const uint16_t quarter_f16 = UINT16_C(0x3400); in TEST()
14 const uint16_t half_f16 = UINT16_C(0x3800); in TEST()
15 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST()
16 const uint16_t two_f16 = UINT16_C(0x4000); in TEST()
17 const uint16_t four_f16 = UINT16_C(0x4400); in TEST()
18 const uint16_t eight_f16 = UINT16_C(0x4800); in TEST()
19 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST()
20 const uint16_t thirtytwo_f16 = UINT16_C(0x5000); in TEST()
[all …]
Dalt-to-fp32-bits.cc10 const uint16_t min_po2_f16 = UINT16_C(0x0400); in TEST()
11 const uint16_t eighths_f16 = UINT16_C(0x3000); in TEST()
12 const uint16_t quarter_f16 = UINT16_C(0x3400); in TEST()
13 const uint16_t half_f16 = UINT16_C(0x3800); in TEST()
14 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST()
15 const uint16_t two_f16 = UINT16_C(0x4000); in TEST()
16 const uint16_t four_f16 = UINT16_C(0x4400); in TEST()
17 const uint16_t eight_f16 = UINT16_C(0x4800); in TEST()
18 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST()
19 const uint16_t thirtytwo_f16 = UINT16_C(0x5000); in TEST()
[all …]
Dalt-to-fp32-value.cc11 const uint16_t min_po2_f16 = UINT16_C(0x0400); in TEST()
12 const uint16_t eighths_f16 = UINT16_C(0x3000); in TEST()
13 const uint16_t quarter_f16 = UINT16_C(0x3400); in TEST()
14 const uint16_t half_f16 = UINT16_C(0x3800); in TEST()
15 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST()
16 const uint16_t two_f16 = UINT16_C(0x4000); in TEST()
17 const uint16_t four_f16 = UINT16_C(0x4400); in TEST()
18 const uint16_t eight_f16 = UINT16_C(0x4800); in TEST()
19 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST()
20 const uint16_t thirtytwo_f16 = UINT16_C(0x5000); in TEST()
[all …]
/external/cpuinfo/src/arm/linux/
Dmidr.c81 .model = UINT16_C(8916),
97 .model = UINT16_C(8939),
113 .model = UINT16_C(8956),
128 .model = UINT16_C(8976),
143 .model = UINT16_C(8992),
158 .model = UINT16_C(8994),
174 .model = UINT16_C(5422),
189 .model = UINT16_C(5430),
205 .model = UINT16_C(5433),
220 .model = UINT16_C(7420),
[all …]
Dchipset.c260 if (expected_sm != UINT16_C(0x4D53) /* "MS" = reverse("SM") */) { in match_sm()
328 const uint16_t expected_os = UINT16_C(0x2020) | load_u16le(start + 12); in match_samsung_exynos()
329 if (expected_os != UINT16_C(0x736F) /* "so" = reverse("os") */) { in match_samsung_exynos()
392 if (expected_os != UINT16_C(0x736F) /* "so" = reverse("os") */ ) { in match_exynos()
568 const uint16_t mt = UINT16_C(0x2020) | load_u16le(start); in match_mt()
569 if (mt != UINT16_C(0x746D) /* "tm" */) { in match_mt()
742 const uint16_t expected_rk = UINT16_C(0x2020) | load_u16le(start); in match_rk()
743 if (expected_rk != UINT16_C(0x6B72) /* "kr" = reverse("rk") */) { in match_rk()
809 const uint16_t expected_sc_or_sp = UINT16_C(0x2020) | load_u16le(start); in match_sc()
811 case UINT16_C(0x6373): /* "cs" = reverse("sc") */ in match_sc()
[all …]
/external/FP16/bench/
Dieee-element.cc46 uint16_t fp16 = UINT16_C(0x7C00); in fp16_ieee_to_fp32_bits()
57 uint16_t fp16 = UINT16_C(0x7C00); in fp16_ieee_to_fp32_value()
94 uint16_t fp16 = UINT16_C(0x7C00); in TH_halfbits2float()
106 uint16_t fp16 = UINT16_C(0x7C00); in npy_halfbits_to_floatbits()
117 uint16_t fp16 = UINT16_C(0x7C00); in Eigen_half_to_float()
130 uint16_t fp16 = UINT16_C(0x7C00); in Float16Compressor_decompress()
141 uint16_t fp16 = UINT16_C(0x7C00); in half_float_detail_half2float_table()
154 uint16_t fp16 = UINT16_C(0x7C00); in half_float_detail_half2float_branch()
Dalt-element.cc32 uint16_t fp16 = UINT16_C(0x7C00); in fp16_alt_to_fp32_bits()
43 uint16_t fp16 = UINT16_C(0x7C00); in fp16_alt_to_fp32_value()
/external/openscreen/cast/streaming/
Drtp_packet_parser_unittest.cc37 EXPECT_EQ(UINT16_C(0xbeef), result->sequence_number); in TEST()
74 EXPECT_EQ(UINT16_C(0xdead), result->sequence_number); in TEST()
112 EXPECT_EQ(UINT16_C(0xdead), result->sequence_number); in TEST()
150 EXPECT_EQ(UINT16_C(0xdead), result->sequence_number); in TEST()
191 EXPECT_EQ(UINT16_C(0xdead), result->sequence_number); in TEST()
/external/openscreen/util/
Dbig_endian_unittest.cc27 EXPECT_EQ(UINT16_C(0x0001), ReadBigEndian<uint16_t>(kInput)); in TEST()
28 EXPECT_EQ(UINT16_C(0x0102), ReadBigEndian<uint16_t>(kInput + 1)); in TEST()
29 EXPECT_EQ(UINT16_C(0x0203), ReadBigEndian<uint16_t>(kInput + 2)); in TEST()
62 EXPECT_EQ(UINT16_C(0x0102), ReadBigEndian<uint16_t>(scratch)); in TEST()
64 EXPECT_EQ(UINT16_C(0x0304), ReadBigEndian<uint16_t>(scratch + 1)); in TEST()
66 EXPECT_EQ(UINT16_C(0x0506), ReadBigEndian<uint16_t>(scratch + 2)); in TEST()
173 EXPECT_EQ(u16, UINT16_C(0x0304)); in TEST()
355 EXPECT_TRUE(writer.Write<uint16_t>(UINT16_C(0x0304))); in TEST()
/external/python/cpython3/Include/internal/
Dpycore_byteswap.h41 return ( ((word & UINT16_C(0x00FF)) << 8) in _Py_bswap16()
42 | ((word & UINT16_C(0xFF00)) >> 8)); in _Py_bswap16()
/external/XNNPACK/bench/
Df16-gemm.cc71 std::fill(c.begin(), c.end(), UINT16_C(0x7E00) /* NaN */); in GEMMBenchmark()
76 UINT16_C(0x3C00) /* 1.0 */, UINT16_C(0x7C00) /* inf */, UINT16_C(0xFC00) /* -inf */); in GEMMBenchmark()
/external/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/Support/
DDataTypes.h155 #ifndef UINT16_C
156 #define UINT16_C(C) C##ui16 macro
/external/llvm/include/llvm/Support/
DDataTypes.h155 #ifndef UINT16_C
156 # define UINT16_C(C) C##ui16 macro
/external/openscreen/discovery/mdns/
Dmdns_records_unittest.cc127 EXPECT_EQ(rdata1.size(), UINT16_C(0)); in TEST()
131 EXPECT_EQ(rdata2.size(), UINT16_C(8)); in TEST()
139 EXPECT_EQ(rdata3.size(), UINT16_C(8)); in TEST()
173 EXPECT_EQ(rdata1.priority(), UINT16_C(0)); in TEST()
174 EXPECT_EQ(rdata1.weight(), UINT16_C(0)); in TEST()
175 EXPECT_EQ(rdata1.port(), UINT16_C(0)); in TEST()
180 EXPECT_EQ(rdata2.priority(), UINT16_C(1)); in TEST()
181 EXPECT_EQ(rdata2.weight(), UINT16_C(2)); in TEST()
182 EXPECT_EQ(rdata2.port(), UINT16_C(3)); in TEST()
651 EXPECT_EQ(message1.id(), UINT16_C(0)); in TEST()
[all …]
/external/llvm-project/libcxx/test/libcxx/depr/depr.c.headers/
Dstdint_h.std_types_t.compile.pass.cpp245 #ifndef UINT16_C
246 #error UINT16_C not defined
Dstdint_h.xopen_source.compile.pass.cpp242 #ifndef UINT16_C
243 #error UINT16_C not defined

1234