Lines Matching refs:TEST_E
12 #define TEST_E(f) ( (errno = 0), (f) || \ macro
32 TEST_E(f = open_memstream(&s, &l)); in main()
33 TEST_E(putc('a', f) == 'a'); in main()
34 TEST_E(putc('b', f) == 'b'); in main()
35 TEST_E(putc('c', f) == 'c'); in main()
36 TEST_E(!fflush(f)); in main()
42 TEST_E(f = open_memstream(&s, &l)); in main()
43 TEST_E(fseek(f,1,SEEK_CUR)>=0); in main()
44 TEST_E(putc('q', f) == 'q'); in main()
45 TEST_E(!fflush(f)); in main()
50 TEST_E(fseek(f,-2,SEEK_CUR)>=0); in main()
51 TEST_E(putc('e', f) == 'e'); in main()
52 TEST_E(!fflush(f)); in main()
57 TEST_E(f = fmemopen(buf, 10, "r+")); in main()
58 TEST_E(fputs("hello", f) >= 0); in main()
59 TEST_E(fputc(0, f)==0); in main()
60 TEST_E(fseek(f, 0, SEEK_SET)>=0); in main()
62 TEST_E(fscanf(f, "hello%n", &i)==0); in main()
72 TEST_E(f = fmemopen(buf, 10, "a+")); in main()
74 TEST_E(fseek(f, 0, SEEK_SET)>=0); in main()
81 TEST_E(fseek(f, 6, SEEK_SET)>=0); in main()
85 TEST_E(fseek(f, 0, SEEK_SET)>=0); in main()
87 TEST_E(fseek(f, 0, SEEK_CUR)>=0); in main()
89 TEST_E(fprintf(f, "%d", i)==3); in main()
90 TEST_E(fflush(f)==0); in main()