Lines Matching refs:empty_file
57 static char empty_file[FILE_NAME_SIZE]; variable
88 sprintf(empty_file, "test_file_%d", sid++); in refresh()
90 r = uv_fs_open(NULL, &open_req, empty_file, in refresh()
124 unlink(empty_file); in cleanup()
279 writeFail(empty_file, UV_EBADF); in fs_open_flags()
280 readExpect(empty_file, "", 0); in fs_open_flags()
289 writeFail(empty_file, UV_EBADF); in fs_open_flags()
290 readExpect(empty_file, "", 0); in fs_open_flags()
299 writeExpect(empty_file, "bc", 2); in fs_open_flags()
300 readExpect(empty_file, "", 0); in fs_open_flags()
309 writeExpect(empty_file, "bc", 2); in fs_open_flags()
310 readExpect(empty_file, "", 0); in fs_open_flags()
320 writeExpect(empty_file, "bc", 2); in fs_open_flags()
321 readFail(empty_file, UV_EBADF); in fs_open_flags()
331 openFail(empty_file, UV_EEXIST); in fs_open_flags()
339 writeExpect(empty_file, "bc", 2); in fs_open_flags()
340 readExpect(empty_file, "", 0); in fs_open_flags()
350 openFail(empty_file, UV_EEXIST); in fs_open_flags()
358 writeExpect(empty_file, "bc", 2); in fs_open_flags()
359 readFail(empty_file, UV_EBADF); in fs_open_flags()
370 openFail(empty_file, UV_EEXIST); in fs_open_flags()
379 writeExpect(empty_file, "bc", 2); in fs_open_flags()
380 readFail(empty_file, UV_EBADF); in fs_open_flags()
390 writeExpect(empty_file, "bc", 2); in fs_open_flags()
391 readExpect(empty_file, "", 0); in fs_open_flags()
402 openFail(empty_file, UV_EEXIST); in fs_open_flags()
411 writeExpect(empty_file, "bc", 2); in fs_open_flags()
412 readExpect(empty_file, "", 0); in fs_open_flags()