Lines Matching refs:orig_stderr
255 static FILE *orig_stderr; variable
268 fprintf(orig_stderr, "Unexpected ioctl: cmd=%#10x\n", in test_ioctl()
274 fprintf(orig_stderr, "Expected ioctl structure:\n"); in test_ioctl()
275 dump_hex(orig_stderr, expect->cmd, expect->cmd_len, 0); in test_ioctl()
276 fprintf(orig_stderr, "Actual ioctl structure:\n"); in test_ioctl()
277 dump_hex(orig_stderr, cmd, expect->cmd_len, 0); in test_ioctl()
336 orig_stderr = stderr; in test_cmdline()
351 orig_stderr = fdopen(orig_stderr_fd, "w"); in test_cmdline()
352 if (orig_stderr == NULL) { in test_cmdline()
367 if (orig_stderr) in test_cmdline()
368 fclose(orig_stderr); in test_cmdline()
372 orig_stderr = NULL; in test_cmdline()