lpath 846 lib/utilunix.c char *lpath = path; // path without leading UNC part lpath 855 lib/utilunix.c lpath = p; lpath 858 lib/utilunix.c if (lpath[0] == '\0' || lpath[1] == '\0') lpath 864 lib/utilunix.c for (p = lpath; *p != '\0'; p++) lpath 865 lib/utilunix.c if (IS_PATH_SEP (p[0]) && IS_PATH_SEP (p[1]) && (p == lpath || *(p - 1) != ':')) lpath 874 lib/utilunix.c for (p = lpath; *p != '\0';) lpath 886 lib/utilunix.c for (p = lpath + strlen (lpath) - 1; p > lpath && IS_PATH_SEP (*p); p--) lpath 888 lib/utilunix.c if (p >= lpath + url_delim_len - 1 lpath 895 lib/utilunix.c if (lpath[0] == '.' && IS_PATH_SEP (lpath[1])) lpath 897 lib/utilunix.c if (lpath[2] == '\0') lpath 899 lib/utilunix.c lpath[1] = '\0'; lpath 903 lib/utilunix.c str_move (lpath, lpath + 2); lpath 907 lib/utilunix.c len = strlen (lpath); lpath 911 lib/utilunix.c if (IS_PATH_SEP (lpath[len - 1]) lpath 913 lib/utilunix.c || strncmp (lpath + len - url_delim_len, VFS_PATH_URL_DELIMITER, url_delim_len) lpath 915 lib/utilunix.c lpath[len - 1] = '\0'; lpath 916 lib/utilunix.c else if (lpath[len - 1] == '.' && IS_PATH_SEP (lpath[len - 2])) lpath 920 lib/utilunix.c lpath[1] = '\0'; lpath 924 lib/utilunix.c lpath[len - 2] = '\0'; lpath 933 lib/utilunix.c for (p = lpath; p[0] != '\0' && p[1] != '\0' && p[2] != '\0';) lpath 944 lib/utilunix.c if (s >= lpath + url_delim_len - 2 lpath 948 lib/utilunix.c while (s >= lpath && !IS_PATH_SEP (*s--)) lpath 952 lib/utilunix.c while (s >= lpath) lpath 954 lib/utilunix.c if (s - url_delim_len > lpath lpath 960 lib/utilunix.c while (vfs_prefix > lpath && !IS_PATH_SEP (*--vfs_prefix)) lpath 993 lib/utilunix.c if (s == lpath && IS_PATH_SEP (*s)) lpath 1019 lib/utilunix.c p = s > lpath ? s - 1 : s; lpath 1024 lib/utilunix.c if (s == lpath) lpath 1027 lib/utilunix.c if (!IS_PATH_SEP (lpath[0])) lpath 1028 lib/utilunix.c lpath[0] = '.'; lpath 1029 lib/utilunix.c lpath[1] = '\0'; lpath 1034 lib/utilunix.c if (s == lpath + 1) lpath 1055 lib/utilunix.c for (p = s - 1; p >= lpath && !IS_PATH_SEP (*p); p--) lpath 1058 lib/utilunix.c if (p >= lpath) lpath 1064 lib/utilunix.c if (s >= lpath + url_delim_len