/external/deqp-deps/SPIRV-Tools/test/ |
D | hex_float_test.cpp | 643 uint32_t bits_set(const std::vector<uint32_t>& bits) { in bits_set() function 666 EXPECT_EQ(bits_set({}), normalized_significand({0}, 0)); in TEST() 667 EXPECT_EQ(bits_set({0}), normalized_significand({0, 1}, 0)); in TEST() 668 EXPECT_EQ(bits_set({0, 1}), normalized_significand({0, 1, 2}, 0)); in TEST() 669 EXPECT_EQ(bits_set({1}), normalized_significand({0, 2}, 0)); in TEST() 670 EXPECT_EQ(bits_set({1}), normalized_significand({0, 2}, 32)); in TEST() 671 EXPECT_EQ(bits_set({1}), normalized_significand({0, 2}, 126)); in TEST() 676 EXPECT_EQ(bits_set({}), in TEST() 678 EXPECT_EQ(bits_set({3}), in TEST() 680 EXPECT_EQ(bits_set({3}), in TEST() [all …]
|
/external/deqp-deps/glslang/gtests/ |
D | HexFloat.cpp | 603 uint32_t bits_set(const std::vector<uint32_t>& bits) { in bits_set() function 626 EXPECT_EQ(bits_set({}), normalized_significand({0}, 0)); in TEST() 627 EXPECT_EQ(bits_set({0}), normalized_significand({0, 1}, 0)); in TEST() 628 EXPECT_EQ(bits_set({0, 1}), normalized_significand({0, 1, 2}, 0)); in TEST() 629 EXPECT_EQ(bits_set({1}), normalized_significand({0, 2}, 0)); in TEST() 630 EXPECT_EQ(bits_set({1}), normalized_significand({0, 2}, 32)); in TEST() 631 EXPECT_EQ(bits_set({1}), normalized_significand({0, 2}, 126)); in TEST() 636 EXPECT_EQ(bits_set({}), normalized_significand({0}, -127)); in TEST() 637 EXPECT_EQ(bits_set({3}), normalized_significand({0, 4}, -128)); in TEST() 638 EXPECT_EQ(bits_set({3}), normalized_significand({0, 4}, -127)); in TEST() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | hex_float_test.cpp | 643 uint32_t bits_set(const std::vector<uint32_t>& bits) { in bits_set() function 666 EXPECT_EQ(bits_set({}), normalized_significand({0}, 0)); in TEST() 667 EXPECT_EQ(bits_set({0}), normalized_significand({0, 1}, 0)); in TEST() 668 EXPECT_EQ(bits_set({0, 1}), normalized_significand({0, 1, 2}, 0)); in TEST() 669 EXPECT_EQ(bits_set({1}), normalized_significand({0, 2}, 0)); in TEST() 670 EXPECT_EQ(bits_set({1}), normalized_significand({0, 2}, 32)); in TEST() 671 EXPECT_EQ(bits_set({1}), normalized_significand({0, 2}, 126)); in TEST() 676 EXPECT_EQ(bits_set({}), in TEST() 678 EXPECT_EQ(bits_set({3}), in TEST() 680 EXPECT_EQ(bits_set({3}), in TEST() [all …]
|
/external/openssh/ |
D | dh.c | 219 int bits_set = 0; in dh_pub_is_valid() local 245 bits_set++; in dh_pub_is_valid() 246 debug2("bits set: %d/%d", bits_set, BN_num_bits(dh->p)); in dh_pub_is_valid() 251 if (bits_set < 4) { in dh_pub_is_valid() 253 bits_set, BN_num_bits(dh->p)); in dh_pub_is_valid()
|
/external/toybox/toys/pending/ |
D | mke2fs.c | 469 static void bits_set(char *array, int start, int len) in bits_set() function 718 bits_set(toybuf, 0, start); in mke2fs_main() 719 bits_set(toybuf, end, TT.blockbits-end); in mke2fs_main() 723 bits_set(toybuf, start, temp); in mke2fs_main() 730 if (!i) bits_set(toybuf, 0, j = INODES_RESERVED); in mke2fs_main() 731 bits_set(toybuf, TT.inodespg, slot = TT.blockbits-TT.inodespg); in mke2fs_main() 735 bits_set(toybuf, j, temp); in mke2fs_main()
|