Searched refs:expected_result (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/samples/kfifo/
H A Dinttype-example.c47 static const int expected_result[FIFO_SIZE] = { variable
94 if (i != expected_result[j++]) { testfunc()
99 if (j != ARRAY_SIZE(expected_result)) { testfunc()
H A Dbytestream-example.c47 static const unsigned char expected_result[FIFO_SIZE] = { variable
101 if (i != expected_result[j++]) { testfunc()
106 if (j != ARRAY_SIZE(expected_result)) { testfunc()
H A Drecord-example.c58 static const char *expected_result[] = { variable
108 if (strcmp(buf, expected_result[i++])) { testfunc()
113 if (i != ARRAY_SIZE(expected_result)) { testfunc()
/linux-4.4.14/samples/bpf/
H A Dtest_verifier.c1231 int expected_result; test() local
1258 expected_result = tests[i].result_unpriv; test()
1260 expected_result = tests[i].result; test()
1267 if (expected_result == ACCEPT) { test()

Completed in 243 milliseconds