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

/linux-4.1.27/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()

Completed in 133 milliseconds