Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libtecla/common/
H A Dcplfile.c294 strncmp(lptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in _cf_complete_file()
295 lptr += FS_DIR_SEP_LEN; in _cf_complete_file()
296 nleft -= FS_DIR_SEP_LEN; in _cf_complete_file()
332 if(nleft >= FS_DIR_SEP_LEN && in _cf_complete_file()
333 strncmp(lptr + seglen, FS_DIR_SEP, FS_DIR_SEP_LEN)==0) { in _cf_complete_file()
334 word_start = (lptr + seglen) - line + FS_DIR_SEP_LEN; in _cf_complete_file()
397 strncmp(lptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in _cf_complete_file()
398 lptr += FS_DIR_SEP_LEN; in _cf_complete_file()
399 nleft -= FS_DIR_SEP_LEN; in _cf_complete_file()
413 if(nleft >= FS_DIR_SEP_LEN && in _cf_complete_file()
[all …]
H A Dpcache.c621 if(dirlen < FS_DIR_SEP_LEN || in pca_extract_dir()
622 strncmp(pc->path->name + dirlen - FS_DIR_SEP_LEN, FS_DIR_SEP, in pca_extract_dir()
623 FS_DIR_SEP_LEN) != 0) { in pca_extract_dir()
624 if(_pn_append_to_path(pc->path, FS_DIR_SEP, FS_DIR_SEP_LEN, 0) == NULL) { in pca_extract_dir()
676 if(!*sptr || strncmp(sptr, FS_DIR_SEP, FS_DIR_SEP_LEN)==0 || in pca_read_username()
1536 if(prefix_len - i >= FS_DIR_SEP_LEN && in cpa_cmd_contains_path()
1537 strncmp(prefix + i, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) in cpa_cmd_contains_path()
1682 (pptr-path) + FS_DIR_SEP_LEN < pathlen && in pca_expand_tilde()
1683 strncmp(pptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in pca_expand_tilde()
1684 pptr += FS_DIR_SEP_LEN; in pca_expand_tilde()
H A Dexpand.c518 for(nextp=pattern; *nextp && strncmp(nextp, FS_DIR_SEP, FS_DIR_SEP_LEN) != 0; in ef_match_relative_pathname()
553 strncmp(nextp, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in ef_match_relative_pathname()
558 if(nextp[FS_DIR_SEP_LEN] == '\0') { in ef_match_relative_pathname()
568 nextp+FS_DIR_SEP_LEN, 1)) { in ef_match_relative_pathname()
1089 strncmp(path + ppos, FS_DIR_SEP, FS_DIR_SEP_LEN); envlen++) in ef_expand_special()
1159 strncmp(pptr, FS_DIR_SEP, FS_DIR_SEP_LEN); usrlen++) in ef_expand_special()
1191 strncmp(pptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in ef_expand_special()
1192 skip = FS_DIR_SEP_LEN; in ef_expand_special()
H A Dpathutil.h122 #define FS_DIR_SEP_LEN (sizeof(FS_DIR_SEP) - 1) macro