Home
last modified time | relevance | path

Searched refs:testarray (Results 1 – 2 of 2) sorted by relevance

/third_party/e2fsprogs/lib/ext2fs/
Dtst_bitops.c45 unsigned char testarray[12]; in main() local
76 memset(testarray, 0, sizeof(testarray)); in main()
78 ext2fs_set_bit(bits_list[i], testarray); in main()
80 if (memcmp(testarray, bitarray, sizeof(testarray)) == 0) { in main()
84 for (i=0; i < sizeof(testarray); i++) { in main()
85 printf("%02x ", testarray[i]); in main()
91 ext2fs_clear_bit(bits_list[i], testarray); in main()
93 for (i=0; i < sizeof(testarray); i++) { in main()
94 if (testarray[i]) { in main()
96 "testarray[%d] is %d\n", i, testarray[i]); in main()
[all …]
/third_party/boost/libs/move/test/
Dinplace_merge_test.cpp58 …boost::movelib::unique_ptr<order_move_type[]> testarray(boost::movelib::make_unique<order_move_typ… in alternating_test() local
64 testarray[szt_i].key = szt_i; in alternating_test()
65 testarray[szt_i].val = std::size_t(-1); in alternating_test()
70 testarray[KeySize+szt_i].key = std::size_t(-1); in alternating_test()
71 testarray[KeySize+szt_i].val = szt_i; in alternating_test()
77 testarray[HdrSize+szt_k].key = (szt_k/2)*2; in alternating_test()
78 testarray[HdrSize+szt_k].val = szt_k & 1; in alternating_test()
84 testarray[HdrSize+szt_k].key = (szt_k/2)*2; in alternating_test()
85 testarray[HdrSize+szt_k].val = szt_k & 1; in alternating_test()
93 testarray[HdrSize+szt_k].key = (szt_l/2)*2+1; in alternating_test()
[all …]