Lines Matching refs:check
40 #define check(condition, message) do { \ macro
67 check(f != NULL, "fopen r"); in check_contents()
71 check((char) c == *s, "contents"); in check_contents()
75 check(c == EOF, "EOF"); in check_contents()
78 check(r == 0, "fclose r"); in check_contents()
97 check(s_ret == template, "mktemp"); in main()
101 check(f != NULL, "fopen w"); in main()
111 check(i_ret >= 0, "mkstemp"); in main()
115 check(f != NULL, "fopen w"); in main()
125 check(i_ret >= 0, "mkstemps"); in main()
128 check(strcmp(template + sizeof(NAME_TEMPLATE_EXT) - EXT_LEN, in main()
131 check(f != NULL, "fopen w"); in main()