Lines Matching defs:dir
88 /* We cache the length of current working dir here to avoid
96 WCHAR *dir;
105 dir = currentDir(di);
106 if (dir != NULL){
107 dirlen = (int)wcslen(dir);
108 free(dir);
116 dir = _wgetcwd(NULL, MAX_PATH);
117 if (dir != NULL) {
118 curDirLenCached = (int)wcslen(dir);
119 free(dir);
128 "path" is a relative path, it is "the length of the current dir" + "the
186 obviously a burden to all relative paths (The current dir/len
193 _wfullpath(), we have to get the length of "current" dir first.