IS_PATH_SEP 158 lib/util.c if (IS_PATH_SEP (*buf2)) IS_PATH_SEP 165 lib/util.c if (*r == '\0' || !IS_PATH_SEP (r[-1])) IS_PATH_SEP 178 lib/util.c else if (IS_PATH_SEP (r[-1]) && r != buf + 1) IS_PATH_SEP 674 lib/util.c if (!IS_PATH_SEP (s[strlen (s) - 1])) IS_PATH_SEP 677 lib/util.c while (--path_sep > s && !IS_PATH_SEP (*path_sep)) IS_PATH_SEP 682 lib/util.c while (--url_delim > s && !IS_PATH_SEP (*url_delim)) IS_PATH_SEP 684 lib/util.c while (--url_delim > s && !IS_PATH_SEP (*url_delim)) IS_PATH_SEP 777 lib/utilunix.c if (*p == '\0' || IS_PATH_SEP (*p)) IS_PATH_SEP 780 lib/utilunix.c q = IS_PATH_SEP (*p) ? p + 1 : ""; IS_PATH_SEP 824 lib/utilunix.c if ((flags & CANON_PATH_GUARDUNC) != 0 && IS_PATH_SEP (path[0]) && IS_PATH_SEP (path[1])) IS_PATH_SEP 826 lib/utilunix.c for (p = path + 2; p[0] != '\0' && !IS_PATH_SEP (p[0]); p++) IS_PATH_SEP 828 lib/utilunix.c if (IS_PATH_SEP (p[0]) && p > path + 2) IS_PATH_SEP 839 lib/utilunix.c if (IS_PATH_SEP (p[0]) && IS_PATH_SEP (p[1]) && (p == lpath || *(p - 1) != ':')) IS_PATH_SEP 842 lib/utilunix.c while (IS_PATH_SEP (*(++s))) IS_PATH_SEP 849 lib/utilunix.c if (IS_PATH_SEP (p[0]) && p[1] == '.' && IS_PATH_SEP (p[2])) IS_PATH_SEP 860 lib/utilunix.c for (p = lpath + strlen (lpath) - 1; p > lpath && IS_PATH_SEP (*p); p--) IS_PATH_SEP 869 lib/utilunix.c if (lpath[0] == '.' && IS_PATH_SEP (lpath[1])) IS_PATH_SEP 885 lib/utilunix.c if (IS_PATH_SEP (lpath[len - 1]) IS_PATH_SEP 890 lib/utilunix.c else if (lpath[len - 1] == '.' && IS_PATH_SEP (lpath[len - 2])) IS_PATH_SEP 911 lib/utilunix.c if (!IS_PATH_SEP (p[0]) || p[1] != '.' || p[2] != '.' IS_PATH_SEP 912 lib/utilunix.c || (!IS_PATH_SEP (p[3]) && p[3] != '\0')) IS_PATH_SEP 924 lib/utilunix.c while (s >= lpath && !IS_PATH_SEP (*s--)) IS_PATH_SEP 936 lib/utilunix.c while (vfs_prefix > lpath && !IS_PATH_SEP (*--vfs_prefix)) IS_PATH_SEP 938 lib/utilunix.c if (IS_PATH_SEP (*vfs_prefix)) IS_PATH_SEP 952 lib/utilunix.c if (IS_PATH_SEP (*s)) IS_PATH_SEP 969 lib/utilunix.c if (s == lpath && IS_PATH_SEP (*s)) IS_PATH_SEP 1005 lib/utilunix.c if (!IS_PATH_SEP (lpath[0])) IS_PATH_SEP 1034 lib/utilunix.c for (p = s - 1; p >= lpath && !IS_PATH_SEP (*p); p--) IS_PATH_SEP 1068 lib/utilunix.c if (IS_PATH_SEP (*p)) IS_PATH_SEP 1114 lib/utilunix.c if (!IS_PATH_SEP (*path)) IS_PATH_SEP 1127 lib/utilunix.c if (!IS_PATH_SEP (new_path[-1])) IS_PATH_SEP 1139 lib/utilunix.c if (IS_PATH_SEP (*path)) IS_PATH_SEP 1147 lib/utilunix.c if (path[1] == '\0' || IS_PATH_SEP (path[1])) IS_PATH_SEP 1154 lib/utilunix.c if (path[2] == '\0' || IS_PATH_SEP (path[2])) IS_PATH_SEP 1161 lib/utilunix.c while (!IS_PATH_SEP ((--new_path)[-1])) IS_PATH_SEP 1168 lib/utilunix.c while (*path != '\0' && !IS_PATH_SEP (*path)) IS_PATH_SEP 1202 lib/utilunix.c if (IS_PATH_SEP (*link_path)) IS_PATH_SEP 1207 lib/utilunix.c while (!IS_PATH_SEP (*(--new_path))) IS_PATH_SEP 1224 lib/utilunix.c if (new_path != got_path + 1 && IS_PATH_SEP (new_path[-1])) IS_PATH_SEP 1302 lib/utilunix.c absolute = IS_PATH_SEP (*first_element); IS_PATH_SEP 1320 lib/utilunix.c start = IS_PATH_SEP (tmp_element[0]) ? tmp_element + 1 : tmp_element; IS_PATH_SEP 1323 lib/utilunix.c if (!IS_PATH_SEP (path->str[path->len - 1]) && element != NULL) IS_PATH_SEP 152 lib/vfs/direntry.c if (!IS_PATH_SEP (*linkname)) IS_PATH_SEP 193 lib/vfs/direntry.c while (IS_PATH_SEP (*path)) /* Strip leading '/' */ IS_PATH_SEP 202 lib/vfs/direntry.c for (pseg = 0; path[pseg] != '\0' && !IS_PATH_SEP (path[pseg]); pseg++) IS_PATH_SEP 672 lib/vfs/interface.c if (IS_PATH_SEP (*p) && p > path_element->path) IS_PATH_SEP 792 lib/vfs/interface.c if (sys_tmp == NULL || !IS_PATH_SEP (sys_tmp[0])) IS_PATH_SEP 795 lib/vfs/interface.c if (sys_tmp == NULL || !IS_PATH_SEP (sys_tmp[0])) IS_PATH_SEP 148 lib/vfs/path.c if (!IS_PATH_SEP (*path)) IS_PATH_SEP 416 lib/vfs/path.c path_is_absolute = IS_PATH_SEP (*path); IS_PATH_SEP 428 lib/vfs/path.c while (real_vfs_prefix_start > path && !IS_PATH_SEP (*real_vfs_prefix_start)) IS_PATH_SEP 432 lib/vfs/path.c if (IS_PATH_SEP (*vfs_prefix_start)) IS_PATH_SEP 473 lib/vfs/path.c if ((real_vfs_prefix_start > path && IS_PATH_SEP (*real_vfs_prefix_start)) || IS_PATH_SEP 474 lib/vfs/path.c (real_vfs_prefix_start == path && !IS_PATH_SEP (*real_vfs_prefix_start))) IS_PATH_SEP 515 lib/vfs/path.c if (ret_tokens->len > 0 && !IS_PATH_SEP (ret_tokens->str[ret_tokens->len - 1])) IS_PATH_SEP 533 lib/vfs/path.c if (ret_tokens->len > 0 && !IS_PATH_SEP (ret_tokens->str[ret_tokens->len - 1])) IS_PATH_SEP 561 lib/vfs/path.c if (strncmp (dir, home_dir, len) == 0 && (IS_PATH_SEP (dir[len]) || dir[len] == '\0')) IS_PATH_SEP 584 lib/vfs/path.c if (!is_relative && !IS_PATH_SEP (*appendfrom) && *appendfrom != '\0' \ IS_PATH_SEP 585 lib/vfs/path.c && (buffer->len == 0 || !IS_PATH_SEP (buffer->str[buffer->len - 1]))) \ IS_PATH_SEP 631 lib/vfs/path.c if (!is_relative && (buffer->len == 0 || !IS_PATH_SEP (buffer->str[buffer->len - 1]))) IS_PATH_SEP 652 lib/vfs/path.c && (buffer->len == 0 || !IS_PATH_SEP (buffer->str[buffer->len - 1]))) IS_PATH_SEP 1056 lib/vfs/path.c if (semi == path || IS_PATH_SEP (semi[-1])) IS_PATH_SEP 1588 lib/vfs/path.c if (!IS_PATH_SEP (*element->path)) IS_PATH_SEP 134 lib/vfs/vfs.c if (semi != NULL && (semi == path || IS_PATH_SEP (semi[-1]))) IS_PATH_SEP 290 lib/widget/input_complete.c if (!IS_PATH_SEP (temp->str[temp->len - 1])) IS_PATH_SEP 886 lib/widget/input_complete.c if (matches == NULL && state->is_cd && !IS_PATH_SEP (*state->word) && *state->word != '~') IS_PATH_SEP 150 src/editor/editcmd.c if (!IS_PATH_SEP (*start_filename) && edit->dir_vpath != NULL) IS_PATH_SEP 178 src/filemanager/cd.c if (!IS_PATH_SEP (*path)) IS_PATH_SEP 259 src/filemanager/cd.c if (IS_PATH_SEP (*p)) IS_PATH_SEP 402 src/filemanager/cmd.c if (!IS_PATH_SEP (*cd_path)) IS_PATH_SEP 779 src/filemanager/cmd.c if (IS_PATH_SEP (dir[0]) || dir[0] == '~') IS_PATH_SEP 662 src/filemanager/dir.c if (IS_PATH_SEP (vpath_str[0]) && vpath_str[1] == '\0') IS_PATH_SEP 760 src/filemanager/dir.c if (vfs_path_elements_count (vpath) == 1 && IS_PATH_SEP (tmp_path[0]) && tmp_path[1] == '\0') IS_PATH_SEP 1957 src/filemanager/file.c && !IS_PATH_SEP (tmp_dest_dir[strlen (tmp_dest_dir) - 1])) IS_PATH_SEP 708 src/filemanager/filemanager.c if (!IS_PATH_SEP (cwd_vpath_str[strlen (cwd_vpath_str) - 1])) IS_PATH_SEP 933 src/filemanager/find.c while (IS_PATH_SEP (dir[0]) && IS_PATH_SEP (dir[1])) IS_PATH_SEP 1227 src/filemanager/find.c if (dir[ilen] == '\0' || IS_PATH_SEP (dir[ilen])) IS_PATH_SEP 1236 src/filemanager/find.c if (d != NULL && IS_PATH_SEP (d[-1]) IS_PATH_SEP 1237 src/filemanager/find.c && (d[ilen] == '\0' || IS_PATH_SEP (d[ilen]))) IS_PATH_SEP 1850 src/filemanager/find.c if (IS_PATH_SEP (*p)) IS_PATH_SEP 1510 src/filemanager/mountlist.c (entry == NULL || IS_PATH_SEP (path[i]) || path[i] == '\0')) IS_PATH_SEP 3184 src/filemanager/panel.c if (IS_PATH_SEP (*buffer)) IS_PATH_SEP 3426 src/filemanager/panel.c && (clen == (size_t) (p - lwd) || (p == lwd && IS_PATH_SEP (cwd[0]) && cwd[1] == '\0'))) IS_PATH_SEP 3433 src/filemanager/panel.c while (--p > lwd && !IS_PATH_SEP (*p)) IS_PATH_SEP 3436 src/filemanager/panel.c while (--p > lwd && !IS_PATH_SEP (*p)) IS_PATH_SEP 3440 src/filemanager/panel.c return (p != lwd || IS_PATH_SEP (*p)) ? p + 1 : p; IS_PATH_SEP 4390 src/filemanager/panel.c if (panel_cwd_path != NULL && IS_PATH_SEP (panel_cwd_path[0]) && panel_cwd_path[1] == '\0') IS_PATH_SEP 401 src/filemanager/panelize.c if (name[0] == '.' && IS_PATH_SEP (name[1])) IS_PATH_SEP 319 src/filemanager/tree.c for (j = strlen (cname) - 1; !IS_PATH_SEP (cname[j]); j--) IS_PATH_SEP 416 src/filemanager/tree.c for (j = strlen (cname) - 1; !IS_PATH_SEP (cname[j]); j--) IS_PATH_SEP 154 src/filemanager/treestore.c else if (IS_PATH_SEP (*p1)) IS_PATH_SEP 156 src/filemanager/treestore.c else if (IS_PATH_SEP (*p2)) IS_PATH_SEP 254 src/filemanager/treestore.c if (!IS_PATH_SEP (lc_name[0])) IS_PATH_SEP 700 src/filemanager/treestore.c is_root = (IS_PATH_SEP (name_vpath_str[0]) && name_vpath_str[1] == '\0'); IS_PATH_SEP 719 src/filemanager/treestore.c ok = (cname[len] == '\0' || IS_PATH_SEP (cname[len])); IS_PATH_SEP 753 src/filemanager/treestore.c if (IS_PATH_SEP (cname[0]) && cname[1] == '\0') IS_PATH_SEP 787 src/filemanager/treestore.c ok = (cname[len] == '\0' || IS_PATH_SEP (cname[len]) || len == 1); IS_PATH_SEP 842 src/filemanager/treestore.c ok = (cname[len] == '\0' || IS_PATH_SEP (cname[len]) || len == 1); IS_PATH_SEP 878 src/filemanager/treestore.c ok = (cname[len] == '\0' || IS_PATH_SEP (cname[len]) || len == 1); IS_PATH_SEP 99 src/usermenu.c if (IS_PATH_SEP (*s) && e != NULL) IS_PATH_SEP 435 src/vfs/cpio/cpio.c for (tn = name + strlen (name) - 1; tn >= name && IS_PATH_SEP (*tn); tn--) IS_PATH_SEP 415 src/vfs/extfs/extfs.c if (IS_PATH_SEP (*cfn)) IS_PATH_SEP 418 src/vfs/extfs/extfs.c if (p != cfn && IS_PATH_SEP (p[-1])) IS_PATH_SEP 315 src/vfs/ftpfs/ftpfs.c while (IS_PATH_SEP (*remote_path)) IS_PATH_SEP 326 src/vfs/ftpfs/ftpfs.c if (p != NULL && IS_PATH_SEP (p[1])) IS_PATH_SEP 1081 src/vfs/ftpfs/ftpfs.c if (!IS_PATH_SEP (bufq[-1])) IS_PATH_SEP 1087 src/vfs/ftpfs/ftpfs.c if (IS_PATH_SEP (*bufp)) IS_PATH_SEP 1484 src/vfs/ftpfs/ftpfs.c IS_PATH_SEP (*remote_path) ? remote_path + 1 : remote_path); IS_PATH_SEP 1602 src/vfs/ftpfs/ftpfs.c if (IS_PATH_SEP (fel->linkname[0])) IS_PATH_SEP 1627 src/vfs/ftpfs/ftpfs.c if (IS_PATH_SEP (fe->linkname[0])) IS_PATH_SEP 472 src/vfs/sfs/sfs.c if (*c == ':' || IS_PATH_SEP (*c)) IS_PATH_SEP 475 src/vfs/sfs/sfs.c if (IS_PATH_SEP (*c)) IS_PATH_SEP 418 src/vfs/tar/tar.c if (len != 0 && IS_PATH_SEP (header->header.name[len - 1])) IS_PATH_SEP 566 src/vfs/tar/tar.c if (IS_PATH_SEP (link_name[len - 1])) IS_PATH_SEP 176 src/vfs/undelfs/undelfs.c if (p - dirname > 2 && IS_PATH_SEP (p[-1]) && p[-2] == '.') IS_PATH_SEP 182 src/vfs/undelfs/undelfs.c if (IS_PATH_SEP (*p))