Lines Matching refs:path
91 char path[1];
189 handle->cb(handle, event->path[0] ? event->path : NULL, event->events, 0);
224 char* path;
253 path = paths[i];
254 len = strlen(path);
268 path[handle->realpath_len] != '/')
271 if (memcmp(path, handle->realpath, handle->realpath_len) != 0)
276 path += handle->realpath_len;
279 /* Ignore events with path equal to directory itself */
285 * realpath == path, and we now need to get the basename of the file back
287 while (len < handle->realpath_len && path[-1] != '/') {
288 path--;
295 path++;
301 if ((handle->cf_flags & UV_FS_EVENT_RECURSIVE) == 0 && *path != '\0') {
302 pos = strchr(path + 1, '/');
312 memcpy(event->path, path, len + 1);
803 /* Get absolute path to file */
804 handle->realpath = realpath(handle->path, NULL);