Lines Matching refs:expect
64 #define expect(b) \
81 expect(memmem(b2, lb2, p0, lp0) == NULL);
82 expect(memmem(b0, lb0, p0, lp0) == NULL);
84 expect(memmem(b2, lb2, p0, lp0) == b2);
85 expect(memmem(b0, lb0, p0, lp0) == b0);
87 expect(memmem(b0, lb0, p1, lp1) == NULL);
88 expect(memmem(b1, lb1, p1, lp1) == NULL);
90 expect(memmem(b2, lb2, p1, lp1) == b2);
91 expect(memmem(b2, lb2, p2, lp2) == (b2 + 4));
92 expect(memmem(b2, lb2, p3, lp3) == (b2 + 7));
94 expect(memmem(b2, lb2, p5, lp5) == b2);
95 expect(memmem(b2, lb2, p6, lp6) == (b2 + 9));
97 expect(memmem(b2, lb2, p4, lp4) == NULL);
98 expect(memmem(b2, lb2, p7, lp7) == NULL);
99 expect(memmem(b2, lb2, p8, lp8) == NULL);