Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libtecla/common/
H A Dcplfile.c292 strncmp(lptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in _cf_complete_file()
331 strncmp(lptr + seglen, FS_DIR_SEP, FS_DIR_SEP_LEN)==0) { in _cf_complete_file()
395 strncmp(lptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in _cf_complete_file()
413 strncmp(lptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in _cf_complete_file()
417 strcmp(value + vlen - FS_DIR_SEP_LEN, FS_DIR_SEP)==0) { in _cf_complete_file()
438 if(cpl_add_completion(cpl, line, lptr-line, word_end, FS_DIR_SEP, in _cf_complete_file()
573 cf->buff->name, FS_DIR_SEP, FS_DIR_SEP)) { in HOME_DIR_FN()
627 strncmp(pathname + start, FS_DIR_SEP, FS_DIR_SEP_LEN) != 0; start--) in cf_complete_entry()
669 memcpy(pathname + start, FS_DIR_SEP, FS_DIR_SEP_LEN); in cf_complete_entry()
720 cont_suffix = FS_DIR_SEP; in cf_complete_entry()
[all …]
H A Dpathutil.h119 #define FS_DIR_SEP "/" /* The directory separator string */ macro
120 #define FS_DIR_SEP_LEN (sizeof(FS_DIR_SEP) - 1)
H A Dpcache.c620 strncmp(pc->path->name + dirlen - FS_DIR_SEP_LEN, FS_DIR_SEP, 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()
1412 FS_DIR_SEP, FS_DIR_SEP)) in CPL_MATCH_FN()
1535 strncmp(prefix + i, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) in cpa_cmd_contains_path()
1681 strncmp(pptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { 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()
531 if((separate && _pn_append_to_path(ef->path, FS_DIR_SEP, -1, 0)==NULL) || in ef_match_relative_pathname()
551 strncmp(nextp, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { 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()