Lines Matching refs:INVALID_FD
50 #define INVALID_FD -1 macro
84 if (ctx->old_stdout != INVALID_FD) { in cleanup_test_output()
86 ctx->old_stdout = INVALID_FD; in cleanup_test_output()
88 if (ctx->old_stderr != INVALID_FD) { in cleanup_test_output()
90 ctx->old_stderr = INVALID_FD; in cleanup_test_output()
92 if (ctx->null_fd != INVALID_FD) { in cleanup_test_output()
94 ctx->null_fd = INVALID_FD; in cleanup_test_output()
116 ctx->old_stdout = INVALID_FD; in setup_test_output()
122 ctx->old_stderr = INVALID_FD; in setup_test_output()
130 ctx->null_fd = INVALID_FD; in setup_test_output()
183 ctx.old_stdout = INVALID_FD; in libusb_testlib_run_tests()
184 ctx.old_stderr = INVALID_FD; in libusb_testlib_run_tests()
186 ctx.null_fd = INVALID_FD; in libusb_testlib_run_tests()