lpath 834 lib/utilunix.c char *lpath = path; // path without leading UNC part lpath 843 lib/utilunix.c lpath = p; lpath 846 lib/utilunix.c if (lpath[0] == '\0' || lpath[1] == '\0') lpath 852 lib/utilunix.c for (p = lpath; *p != '\0'; p++) lpath 853 lib/utilunix.c if (IS_PATH_SEP (p[0]) && IS_PATH_SEP (p[1]) && (p == lpath || *(p - 1) != ':')) lpath 862 lib/utilunix.c for (p = lpath; *p != '\0';) lpath 874 lib/utilunix.c for (p = lpath + strlen (lpath) - 1; p > lpath && IS_PATH_SEP (*p); p--) lpath 876 lib/utilunix.c if (p >= lpath + url_delim_len - 1 lpath 883 lib/utilunix.c if (lpath[0] == '.' && IS_PATH_SEP (lpath[1])) lpath 885 lib/utilunix.c if (lpath[2] == '\0') lpath 887 lib/utilunix.c lpath[1] = '\0'; lpath 891 lib/utilunix.c str_move (lpath, lpath + 2); lpath 895 lib/utilunix.c len = strlen (lpath); lpath 899 lib/utilunix.c if (IS_PATH_SEP (lpath[len - 1]) lpath 901 lib/utilunix.c || strncmp (lpath + len - url_delim_len, VFS_PATH_URL_DELIMITER, url_delim_len) lpath 903 lib/utilunix.c lpath[len - 1] = '\0'; lpath 904 lib/utilunix.c else if (lpath[len - 1] == '.' && IS_PATH_SEP (lpath[len - 2])) lpath 908 lib/utilunix.c lpath[1] = '\0'; lpath 912 lib/utilunix.c lpath[len - 2] = '\0'; lpath 921 lib/utilunix.c for (p = lpath; p[0] != '\0' && p[1] != '\0' && p[2] != '\0';) lpath 932 lib/utilunix.c if (s >= lpath + url_delim_len - 2 lpath 936 lib/utilunix.c while (s >= lpath && !IS_PATH_SEP (*s--)) lpath 940 lib/utilunix.c while (s >= lpath) lpath 942 lib/utilunix.c if (s - url_delim_len > lpath lpath 948 lib/utilunix.c while (vfs_prefix > lpath && !IS_PATH_SEP (*--vfs_prefix)) lpath 981 lib/utilunix.c if (s == lpath && IS_PATH_SEP (*s)) lpath 1007 lib/utilunix.c p = s > lpath ? s - 1 : s; lpath 1012 lib/utilunix.c if (s == lpath) lpath 1015 lib/utilunix.c if (!IS_PATH_SEP (lpath[0])) lpath 1016 lib/utilunix.c lpath[0] = '.'; lpath 1017 lib/utilunix.c lpath[1] = '\0'; lpath 1022 lib/utilunix.c if (s == lpath + 1) lpath 1043 lib/utilunix.c for (p = s - 1; p >= lpath && !IS_PATH_SEP (*p); p--) lpath 1046 lib/utilunix.c if (p >= lpath) lpath 1052 lib/utilunix.c if (s >= lpath + url_delim_len