Home
last modified time | relevance | path

Searched refs:want_len (Results 1 – 4 of 4) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier_log.c139 size_t want_len; in main() local
158 want_len = strlen(full_log); in main()
161 test_log_good(log, LOG_SIZE, want_len + 2, want_len, EACCES, full_log); in main()
165 full_log[want_len - i + 1] = 1; in main()
166 full_log[want_len - i] = 0; in main()
168 test_log_good(log, LOG_SIZE, want_len + 1 - i, want_len - i, in main()
/external/syzkaller/executor/
Dcommon_test.h35 static long syz_compare(long want, long want_len, long got, long got_len) in syz_compare() argument
37 if (want_len != got_len) { in syz_compare()
38 debug("syz_compare: want_len=%lu got_len=%lu\n", want_len, got_len); in syz_compare()
42 if (memcmp((void*)want, (void*)got, want_len)) { in syz_compare()
/external/syzkaller/sys/test/
Dexec.txt6 syz_compare(want ptr[in, string], want_len len[want], got ptr[in, compare_data], got_len len[got])
/external/syzkaller/pkg/csource/
Dgenerated.go3533 static long syz_compare(long want, long want_len, long got, long got_len)
3535 if (want_len != got_len) {
3536 debug("syz_compare: want_len=%lu got_len=%lu\n", want_len, got_len);
3540 if (memcmp((void*)want, (void*)got, want_len)) {
3704 static long syz_compare(long want, long want_len, long got, long got_len)
3706 if (want_len != got_len) {
3707 debug("syz_compare: want_len=%lu got_len=%lu\n", want_len, got_len);
3711 if (memcmp((void*)want, (void*)got, want_len)) {