Lines Matching refs:filename
66 static void uv__relative_path(const WCHAR* filename, in uv__relative_path() argument
70 size_t filenamelen = wcslen(filename); in uv__relative_path()
72 assert(!_wcsnicmp(filename, dir, dirlen)); in uv__relative_path()
79 wcsncpy(*relpath, filename + dirlen + 1, relpathlen); in uv__relative_path()
83 static int uv__split_path(const WCHAR* filename, WCHAR** dir, in uv__split_path() argument
88 if (filename == NULL) { in uv__split_path()
95 len = wcslen(filename); in uv__split_path()
97 while (i > 0 && filename[--i] != '\\' && filename[i] != '/'); in uv__split_path()
117 *file = _wcsdup(filename); in uv__split_path()
124 wcsncpy(*dir, filename, i + 1); in uv__split_path()
132 wcsncpy(*file, filename + i + 1, len - i - 1); in uv__split_path()
420 char* filename = NULL; in uv__process_fs_event_req() local
446 assert(!filename); in uv__process_fs_event_req()
535 uv__convert_utf16_to_utf8(filenamew, sizew, &filename); in uv__process_fs_event_req()
542 handle->cb(handle, filename, UV_RENAME, 0); in uv__process_fs_event_req()
546 handle->cb(handle, filename, UV_CHANGE, 0); in uv__process_fs_event_req()
550 uv__free(filename); in uv__process_fs_event_req()
551 filename = NULL; in uv__process_fs_event_req()
578 uv__convert_utf16_to_utf8(handle->dirw, -1, &filename); in uv__process_fs_event_req()
579 handle->cb(handle, filename, UV_RENAME, 0); in uv__process_fs_event_req()