Lines Matching defs:src
100 const char src[] = "test_file_src";
108 r = uv_fs_copyfile(NULL, &req, src, dst, -1, NULL);
113 unlink(src);
115 r = uv_fs_copyfile(NULL, &req, src, dst, 0, NULL);
124 /* Succeeds if src and dst files are identical. */
125 touch_file(src, 12);
126 r = uv_fs_copyfile(NULL, &req, src, src, 0, NULL);
129 /* Verify that the src file did not get truncated. */
130 r = uv_fs_stat(NULL, &req, src, NULL);
134 unlink(src);
144 touch_file(src, 0);
145 r = uv_fs_copyfile(NULL, &req, src, dst, 0, NULL);
164 touch_file(src, 1);
165 r = uv_fs_copyfile(NULL, &req, src, dst, 0, NULL);
171 touch_file(src, 4096 * 2);
172 r = uv_fs_copyfile(NULL, &req, src, dst, 0, NULL);
175 unlink(src);
184 /* Ensure file is user-writable (not copied from src). */