Home
last modified time | relevance | path

Searched refs:FS_DIR_SEP_LEN (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libtecla/common/
H A Dcplfile.c293 lptr += FS_DIR_SEP_LEN; in _cf_complete_file()
294 nleft -= FS_DIR_SEP_LEN; in _cf_complete_file()
330 if(nleft >= FS_DIR_SEP_LEN && in _cf_complete_file()
396 lptr += FS_DIR_SEP_LEN; in _cf_complete_file()
397 nleft -= FS_DIR_SEP_LEN; in _cf_complete_file()
411 if(nleft >= FS_DIR_SEP_LEN && in _cf_complete_file()
414 lptr += FS_DIR_SEP_LEN; in _cf_complete_file()
415 nleft -= FS_DIR_SEP_LEN; in _cf_complete_file()
416 } else if(vlen > FS_DIR_SEP_LEN && in _cf_complete_file()
418 cf->path->name[vlen-FS_DIR_SEP_LEN] = '\0'; in _cf_complete_file()
[all …]
H A Dpcache.c619 if(dirlen < FS_DIR_SEP_LEN || in pca_extract_dir()
620 strncmp(pc->path->name + dirlen - FS_DIR_SEP_LEN, FS_DIR_SEP, in pca_extract_dir()
621 FS_DIR_SEP_LEN) != 0) { in pca_extract_dir()
622 if(_pn_append_to_path(pc->path, FS_DIR_SEP, FS_DIR_SEP_LEN, 0) == NULL) { in pca_extract_dir()
674 if(!*sptr || strncmp(sptr, FS_DIR_SEP, FS_DIR_SEP_LEN)==0 || in pca_read_username()
1534 if(prefix_len - i >= FS_DIR_SEP_LEN && in cpa_cmd_contains_path()
1535 strncmp(prefix + i, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) in cpa_cmd_contains_path()
1680 (pptr-path) + FS_DIR_SEP_LEN < pathlen && in pca_expand_tilde()
1681 strncmp(pptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in pca_expand_tilde()
1682 pptr += FS_DIR_SEP_LEN; in pca_expand_tilde()
H A Dexpand.c516 for(nextp=pattern; *nextp && strncmp(nextp, FS_DIR_SEP, FS_DIR_SEP_LEN) != 0; in ef_match_relative_pathname()
551 strncmp(nextp, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in ef_match_relative_pathname()
556 if(nextp[FS_DIR_SEP_LEN] == '\0') { in ef_match_relative_pathname()
566 nextp+FS_DIR_SEP_LEN, 1)) { in ef_match_relative_pathname()
1088 strncmp(path + ppos, FS_DIR_SEP, FS_DIR_SEP_LEN); envlen++) in ef_expand_special()
1158 strncmp(pptr, FS_DIR_SEP, FS_DIR_SEP_LEN); usrlen++) in ef_expand_special()
1190 strncmp(pptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in ef_expand_special()
1191 skip = FS_DIR_SEP_LEN; in ef_expand_special()
H A Dpathutil.h120 #define FS_DIR_SEP_LEN (sizeof(FS_DIR_SEP) - 1) macro