lpath 818 lib/utilunix.c char *lpath = path; // path without leading UNC part lpath 827 lib/utilunix.c lpath = p; lpath 830 lib/utilunix.c if (lpath[0] == '\0' || lpath[1] == '\0') lpath 836 lib/utilunix.c for (p = lpath; *p != '\0'; p++) lpath 837 lib/utilunix.c if (IS_PATH_SEP (p[0]) && IS_PATH_SEP (p[1]) && (p == lpath || *(p - 1) != ':')) lpath 846 lib/utilunix.c for (p = lpath; *p != '\0';) lpath 858 lib/utilunix.c for (p = lpath + strlen (lpath) - 1; p > lpath && IS_PATH_SEP (*p); p--) lpath 860 lib/utilunix.c if (p >= lpath + url_delim_len - 1 lpath 867 lib/utilunix.c if (lpath[0] == '.' && IS_PATH_SEP (lpath[1])) lpath 869 lib/utilunix.c if (lpath[2] == '\0') lpath 871 lib/utilunix.c lpath[1] = '\0'; lpath 875 lib/utilunix.c str_move (lpath, lpath + 2); lpath 879 lib/utilunix.c len = strlen (lpath); lpath 883 lib/utilunix.c if (IS_PATH_SEP (lpath[len - 1]) lpath 885 lib/utilunix.c || strncmp (lpath + len - url_delim_len, VFS_PATH_URL_DELIMITER, url_delim_len) lpath 887 lib/utilunix.c lpath[len - 1] = '\0'; lpath 888 lib/utilunix.c else if (lpath[len - 1] == '.' && IS_PATH_SEP (lpath[len - 2])) lpath 892 lib/utilunix.c lpath[1] = '\0'; lpath 896 lib/utilunix.c lpath[len - 2] = '\0'; lpath 905 lib/utilunix.c for (p = lpath; p[0] != '\0' && p[1] != '\0' && p[2] != '\0';) lpath 916 lib/utilunix.c if (s >= lpath + url_delim_len - 2 lpath 920 lib/utilunix.c while (s >= lpath && !IS_PATH_SEP (*s--)) lpath 924 lib/utilunix.c while (s >= lpath) lpath 926 lib/utilunix.c if (s - url_delim_len > lpath lpath 932 lib/utilunix.c while (vfs_prefix > lpath && !IS_PATH_SEP (*--vfs_prefix)) lpath 965 lib/utilunix.c if (s == lpath && IS_PATH_SEP (*s)) lpath 991 lib/utilunix.c p = s > lpath ? s - 1 : s; lpath 996 lib/utilunix.c if (s == lpath) lpath 999 lib/utilunix.c if (!IS_PATH_SEP (lpath[0])) lpath 1000 lib/utilunix.c lpath[0] = '.'; lpath 1001 lib/utilunix.c lpath[1] = '\0'; lpath 1006 lib/utilunix.c if (s == lpath + 1) lpath 1027 lib/utilunix.c for (p = s - 1; p >= lpath && !IS_PATH_SEP (*p); p--) lpath 1030 lib/utilunix.c if (p >= lpath) lpath 1036 lib/utilunix.c if (s >= lpath + url_delim_len