Lines Matching +full:value +full:- +full:start
5 * See the COPYING.LIB file in the top-level directory.
13 uint32_t value; member
14 int start; member
20 uint64_t value; member
21 int start; member
27 { 0x38463983, 4, 4, -8 },
33 { 0x8459826734967223ULL, 60, 4, -8 },
43 int32_t r = sextract32(test->value, test->start, test->length); in test_sextract32()
45 g_assert_cmpint(r, ==, test->result); in test_sextract32()
55 int64_t r = sextract64(test->value, test->start, test->length); in test_sextract64()
57 g_assert_cmpint(r, ==, test->result); in test_sextract64()
62 int64_t r = sextract64(test->value, test->start, test->length); in test_sextract64()
64 g_assert_cmpint(r, ==, test->result); in test_sextract64()
94 uint32_t r = half_shuffle32(test->unshuffled); in test_half_shuffle32()
96 g_assert_cmpint(r, ==, test->shuffled); in test_half_shuffle32()
106 uint64_t r = half_shuffle64(test->unshuffled); in test_half_shuffle64()
108 g_assert_cmpint(r, ==, test->shuffled); in test_half_shuffle64()
118 uint32_t r = half_unshuffle32(test->shuffled); in test_half_unshuffle32()
120 g_assert_cmpint(r, ==, test->unshuffled); in test_half_unshuffle32()
130 uint64_t r = half_unshuffle64(test->shuffled); in test_half_unshuffle64()
132 g_assert_cmpint(r, ==, test->unshuffled); in test_half_unshuffle64()