Searched refs:EXPECT (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/lib/ |
D | test_memcat_p.c | 20 #define EXPECT (INPUT_MAX * 2 - 2) macro 76 if (i != EXPECT) { in test_memcat_p_init() 78 EXPECT, i); in test_memcat_p_init()
|
/Linux-v5.4/samples/bpf/ |
D | test_lwt_bpf.sh | 115 EXPECT=$2 118 [ "$GOT" != "$EXPECT" ] && { 119 expect_fail "$EXPECT" "$GOT"
|
/Linux-v5.4/drivers/input/serio/ |
D | hil_mlc.c | 448 #define EXPECT(comp, to, got, got_wrong, timed_out) \ macro 475 EXPECT(HIL_ERR_INT | TEST_PACKET(0x5), 478 EXPECT(HIL_ERR_INT | TEST_PACKET(0xa), 493 EXPECT(HIL_PKT_CMD | HIL_CMD_IFC | HIL_ERR_INT, 550 EXPECT(HIL_PKT_CMD | HIL_CMD_POL | HIL_ERR_INT, 571 EXPECT(HIL_PKT_CMD | HIL_CMD_RPL | HIL_ERR_INT, 577 EXPECT(HIL_PKT_CMD | HIL_CMD_IFC | HIL_ERR_INT,
|
/Linux-v5.4/tools/perf/pmu-events/ |
D | jevents.c | 257 #define EXPECT(e, t, m) do { if (!(e)) { \ macro 526 EXPECT(tokens->type == JSMN_ARRAY, tokens, "expected top level array"); in json_events() 546 EXPECT(obj->type == JSMN_OBJECT, obj, "expected object"); in json_events() 553 EXPECT(field->type == JSMN_STRING, tok + j, in json_events() 556 EXPECT(val->type == JSMN_STRING, tok + j + 1, in json_events() 686 EXPECT(tok - tokens == len, tok, "unexpected objects at end"); in json_events()
|