Home
last modified time | relevance | path

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

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