Lines Matching refs:test

42         const S32Test *test = &test_s32_data[i];  in test_sextract32()  local
43 int32_t r = sextract32(test->value, test->start, test->length); in test_sextract32()
45 g_assert_cmpint(r, ==, test->result); in test_sextract32()
54 const S32Test *test = &test_s32_data[i]; in test_sextract64() local
55 int64_t r = sextract64(test->value, test->start, test->length); in test_sextract64()
57 g_assert_cmpint(r, ==, test->result); in test_sextract64()
61 const S64Test *test = &test_s64_data[i]; in test_sextract64() local
62 int64_t r = sextract64(test->value, test->start, test->length); in test_sextract64()
64 g_assert_cmpint(r, ==, test->result); in test_sextract64()
93 const Shuffle32Test *test = &test_shuffle32_data[i]; in test_half_shuffle32() local
94 uint32_t r = half_shuffle32(test->unshuffled); in test_half_shuffle32()
96 g_assert_cmpint(r, ==, test->shuffled); in test_half_shuffle32()
105 const Shuffle64Test *test = &test_shuffle64_data[i]; in test_half_shuffle64() local
106 uint64_t r = half_shuffle64(test->unshuffled); in test_half_shuffle64()
108 g_assert_cmpint(r, ==, test->shuffled); in test_half_shuffle64()
117 const Shuffle32Test *test = &test_shuffle32_data[i]; in test_half_unshuffle32() local
118 uint32_t r = half_unshuffle32(test->shuffled); in test_half_unshuffle32()
120 g_assert_cmpint(r, ==, test->unshuffled); in test_half_unshuffle32()
129 const Shuffle64Test *test = &test_shuffle64_data[i]; in test_half_unshuffle64() local
130 uint64_t r = half_unshuffle64(test->shuffled); in test_half_unshuffle64()
132 g_assert_cmpint(r, ==, test->unshuffled); in test_half_unshuffle64()