Lines Matching refs:path
158 const char* path,
173 handle->path = uv__strdup(path);
174 if (!handle->path) {
180 last_error = uv__convert_utf8_to_utf16(path, &pathw);
184 /* Determine whether path is a file or a directory. */
194 /* path is a directory, so that's the directory that we will watch. */
196 /* Convert to long path. */
222 * path is a file. So we split path into dir & file parts, and
226 /* Convert to short path. */
326 if (handle->path) {
327 uv__free(handle->path);
328 handle->path = NULL;
383 if (handle->path) {
384 uv__free(handle->path);
385 handle->path = NULL;
471 /* Construct a full path to the file. */
507 /* Get the file name out of the long path. */