Searched refs:sample1 (Results 1 – 2 of 2) sorted by relevance
| /linux/lib/tests/ |
| H A D | base64_kunit.c | 227 const u8 sample1[] = { 0x00, 0xfb, 0xff, 0x7f, 0x80 }; in base64_variant_tests() local 233 n_std = base64_encode(sample1, sizeof(sample1), std_buf, false, BASE64_STD); in base64_variant_tests() 234 n_url = base64_encode(sample1, sizeof(sample1), url_buf, false, BASE64_URLSAFE); in base64_variant_tests() 247 KUNIT_EXPECT_EQ(test, m, (int)sizeof(sample1)); in base64_variant_tests() 248 KUNIT_EXPECT_MEMEQ(test, back, sample1, sizeof(sample1)); in base64_variant_tests() 250 n_std = base64_encode(sample1, sizeof(sample1), std_buf, false, BASE64_STD); in base64_variant_tests() 251 n_imap = base64_encode(sample1, sizeof(sample1), imap_buf, false, BASE64_IMAP); in base64_variant_tests() 261 KUNIT_EXPECT_EQ(test, m, (int)sizeof(sample1)); in base64_variant_tests() 262 KUNIT_EXPECT_MEMEQ(test, back, sample1, sizeof(sample1)); in base64_variant_tests()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_ringbuf_write.c | 24 void *sample1, *sample2; in test_ringbuf_write() local 29 sample1 = bpf_ringbuf_reserve(&ringbuf, 0x30000, 0); in test_ringbuf_write() 30 if (!sample1) in test_ringbuf_write() 35 bpf_ringbuf_discard(sample1, 0); in test_ringbuf_write() 43 bpf_ringbuf_discard(sample1, 0); in test_ringbuf_write()
|