Searched refs:FS_DIR_SEP (Results 1 – 4 of 4) sorted by relevance
/titanic_44/usr/src/lib/libtecla/common/ |
H A D | cplfile.c | 294 strncmp(lptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in _cf_complete_file() 333 strncmp(lptr + seglen, FS_DIR_SEP, FS_DIR_SEP_LEN)==0) { in _cf_complete_file() 397 strncmp(lptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in _cf_complete_file() 415 strncmp(lptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in _cf_complete_file() 419 strcmp(value + vlen - FS_DIR_SEP_LEN, FS_DIR_SEP)==0) { in _cf_complete_file() 440 if(cpl_add_completion(cpl, line, lptr-line, word_end, FS_DIR_SEP, in _cf_complete_file() 575 cf->buff->name, FS_DIR_SEP, FS_DIR_SEP)) { in HOME_DIR_FN() 629 strncmp(pathname + start, FS_DIR_SEP, FS_DIR_SEP_LEN) != 0; start--) in cf_complete_entry() 671 memcpy(pathname + start, FS_DIR_SEP, FS_DIR_SEP_LEN); in cf_complete_entry() 722 cont_suffix = FS_DIR_SEP; in cf_complete_entry() [all …]
|
H A D | pathutil.h | 121 #define FS_DIR_SEP "/" /* The directory separator string */ macro 122 #define FS_DIR_SEP_LEN (sizeof(FS_DIR_SEP) - 1)
|
H A D | pcache.c | 622 strncmp(pc->path->name + dirlen - FS_DIR_SEP_LEN, FS_DIR_SEP, 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() 1414 FS_DIR_SEP, FS_DIR_SEP)) in CPL_MATCH_FN() 1537 strncmp(prefix + i, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) in cpa_cmd_contains_path() 1683 strncmp(pptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in pca_expand_tilde()
|
H A D | expand.c | 518 for(nextp=pattern; *nextp && strncmp(nextp, FS_DIR_SEP, FS_DIR_SEP_LEN) != 0; in ef_match_relative_pathname() 533 if((separate && _pn_append_to_path(ef->path, FS_DIR_SEP, -1, 0)==NULL) || in ef_match_relative_pathname() 553 strncmp(nextp, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { 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()
|