Lines Matching refs:path
91 char path[1];
191 handle->cb(handle, event->path[0] ? event->path : NULL, event->events, 0);
226 char* path;
255 path = paths[i];
256 len = strlen(path);
270 path[handle->realpath_len] != '/')
273 if (memcmp(path, handle->realpath, handle->realpath_len) != 0)
278 path += handle->realpath_len;
281 /* Ignore events with path equal to directory itself */
287 * realpath == path, and we now need to get the basename of the file back
289 while (len < handle->realpath_len && path[-1] != '/') {
290 path--;
297 path++;
303 if ((handle->cf_flags & UV_FS_EVENT_RECURSIVE) == 0 && *path != '\0') {
304 pos = strchr(path + 1, '/');
314 memcpy(event->path, path, len + 1);
814 /* Get absolute path to file */
815 handle->realpath = realpath(handle->path, NULL);