Lines Matching refs:file
169 options.file = exepath; in init_process_options()
191 options.file = options.args[0] = "program-that-had-better-not-exist"; in TEST_IMPL()
211 options.file = options.args[0] = "program-that-had-better-not-exist"; in TEST_IMPL()
318 uv_file file; in TEST_IMPL() local
333 file = r; in TEST_IMPL()
338 options.stdio[1].data.fd = file; in TEST_IMPL()
351 r = uv_fs_read(NULL, &fs_req, file, &buf, 1, 0, NULL); in TEST_IMPL()
355 r = uv_fs_close(NULL, &fs_req, file, NULL); in TEST_IMPL()
372 uv_file file; in TEST_IMPL() local
387 file = r; in TEST_IMPL()
392 options.stdio[1].data.fd = file; in TEST_IMPL()
394 options.stdio[2].data.fd = file; in TEST_IMPL()
407 r = uv_fs_read(NULL, &fs_req, file, &buf, 1, 0, NULL); in TEST_IMPL()
411 r = uv_fs_close(NULL, &fs_req, file, NULL); in TEST_IMPL()
429 uv_file file; in TEST_IMPL() local
448 file = dup2(r, STDERR_FILENO); in TEST_IMPL()
449 ASSERT_NE(file, -1); in TEST_IMPL()
454 options.stdio[1].data.fd = file; in TEST_IMPL()
456 options.stdio[2].data.fd = file; in TEST_IMPL()
469 r = uv_fs_read(NULL, &fs_req, file, &buf, 1, 0, NULL); in TEST_IMPL()
473 r = uv_fs_close(NULL, &fs_req, file, NULL); in TEST_IMPL()
1362 options.file = options.args[0] = "program-that-had-better-not-exist"; in TEST_IMPL()
1410 options.file = options.args[0] = new_exepath; in TEST_IMPL()
1427 char file[64]; in TEST_IMPL() local
1440 snprintf(file, sizeof(file), "%.*s_no_ext", in TEST_IMPL()
1449 options.file = options.args[0] = file; in TEST_IMPL()
1816 char file[64]; in TEST_IMPL() local
1839 strcpy(file, exepath + len); in TEST_IMPL()
1865 options.file = file; in TEST_IMPL()
1866 options.args[0] = file; in TEST_IMPL()
1973 options.file = args[0]; in TEST_IMPL()
2007 dummy_options.file = args[0] = "program-that-had-better-not-exist"; in TEST_IMPL()
2104 options.file = options.args[0] = sep + 1; in TEST_IMPL()