Lines Matching refs:file
128 static void openFail(char *file, int error) { in openFail() argument
133 r = uv_fs_open(NULL, &open_req, file, flags, S_IWUSR | S_IRUSR, NULL); in openFail()
139 r = uv_fs_open(NULL, &open_req, file, flags, S_IWUSR | S_IRUSR, NULL); in openFail()
147 static void refreshOpen(char *file) { in refreshOpen() argument
152 r = uv_fs_open(NULL, &open_req, file, flags, S_IWUSR | S_IRUSR, NULL); in refreshOpen()
158 static void writeExpect(char *file, char *expected, int size) { in writeExpect() argument
161 refreshOpen(file); in writeExpect()
181 r = uv_fs_open(NULL, &open_req, file, UV_FS_O_RDONLY, S_IWUSR | S_IRUSR, NULL); in writeExpect()
201 static void writeFail(char *file, int error) { in writeFail() argument
204 refreshOpen(file); in writeFail()
226 static void readExpect(char *file, char *expected, int size) { in readExpect() argument
229 refreshOpen(file); in readExpect()
246 static void readFail(char *file, int error) { in readFail() argument
249 refreshOpen(file); in readFail()