/freebsd-10.0-release/include/ |
H A D | fts.h | 78 __size_t fts_namelen; /* strlen(fts_name) */ 116 char *fts_name; /* file name */ member in struct:_ftsent
|
/freebsd-10.0-release/usr.bin/grep/ |
H A D | util.c | 141 if (!dir_matching(p->fts_name) ||
|
/freebsd-10.0-release/usr.bin/du/ |
H A D | du.c | 537 if (fnmatch(ign->mask, ent->fts_name, 0) != FNM_NOMATCH)
|
/freebsd-10.0-release/usr.bin/find/ |
H A D | find.c | 68 return (strcoll((*s1)->fts_name, (*s2)->fts_name));
|
H A D | function.c | 1131 name = entry->fts_name;
|
/freebsd-10.0-release/bin/ls/ |
H A D | cmp.c | 55 return (strcoll(a->fts_name, b->fts_name)); 62 return (strcoll(b->fts_name, a->fts_name)); 82 return (strcoll(b->fts_name, a->fts_name)); 84 return (strcoll(a->fts_name, b->fts_name)); 111 return (strcoll(b->fts_name, a->fts_name)); [all...] |
H A D | ls.c | 523 warnx("%s: directory causes a cycle", p->fts_name); 532 p->fts_name[0] == '.' && !f_listdot) 678 cur->fts_name, strerror(cur->fts_errno)); 695 if (cur->fts_name[0] == '.' && !f_listdot) { 703 u_long t = len_octal(cur->fts_name, cur->fts_namelen); 759 cur->fts_name); 765 "%s", cur->fts_name); 769 fts_accpath, cur->fts_name); 780 cur->fts_name); 790 cur->fts_name); [all...] |
H A D | print.c | 186 (void)printname(p->fts_name); 209 if (strlen(p->fts_name) + chcnt + 341 chcnt += printname(p->fts_name); 582 (void)snprintf(name, sizeof(name), "%s", p->fts_name); 585 "%s/%s", p->fts_parent->fts_accpath, p->fts_name); 643 snprintf(name, sizeof(name), "%s", p->fts_name); 646 p->fts_parent->fts_accpath, p->fts_name);
|
/freebsd-10.0-release/lib/libc/gen/ |
H A D | fts-compat.c | 179 p->fts_accpath = p->fts_name; 252 memmove(sp->fts_path, p->fts_name, len + 1); 253 if ((cp = strrchr(p->fts_name, '/')) && (cp != p->fts_name || cp[1])) { 255 memmove(p->fts_name, cp, len + 1); 456 memmove(t, p->fts_name, p->fts_namelen + 1); 826 ISSET(FTS_NOCHDIR) ? p->fts_path : p->fts_name; 832 memmove(cp, p->fts_name, p->fts_namelen + 1); 834 p->fts_accpath = p->fts_name; 962 if (ISDOT(p->fts_name)) [all...] |
H A D | fts-compat.h | 83 u_short fts_namelen; /* strlen(fts_name) */ 121 char *fts_name; /* file name */ member in struct:_ftsent
|
H A D | fts.c | 173 p->fts_accpath = p->fts_name; 244 memmove(sp->fts_path, p->fts_name, len + 1); 245 if ((cp = strrchr(p->fts_name, '/')) && (cp != p->fts_name || cp[1])) { 247 memmove(p->fts_name, cp, len + 1); 446 memmove(t, p->fts_name, p->fts_namelen + 1); 796 ISSET(FTS_NOCHDIR) ? p->fts_path : p->fts_name; 802 memmove(cp, p->fts_name, p->fts_namelen + 1); 804 p->fts_accpath = p->fts_name; 926 if (ISDOT(p->fts_name)) [all...] |
/freebsd-10.0-release/usr.sbin/ckdist/ |
H A D | ckdist.c | 168 if ((type = distfile(f->fts_name)) != 0 &&
|
/freebsd-10.0-release/usr.sbin/ctm/ctm_dequeue/ |
H A D | ctm_dequeue.c | 115 if (ftsent->fts_info != FTS_F || ftsent->fts_name[0] == '.') 118 sprintf(filename, "%s/%s", queue_dir, ftsent->fts_name); 144 npieces = atoi(&ftsent->fts_name[ftsent->fts_namelen-3]); 145 piece = atoi(&ftsent->fts_name[ftsent->fts_namelen-7]); 146 err("%.*s %d/%d sent", (int)(ftsent->fts_namelen-8), ftsent->fts_name, 166 return (strcmp((*a)->fts_name, (*b)->fts_name));
|
/freebsd-10.0-release/usr.sbin/mtree/ |
H A D | create.c | 108 if (check_excludes(p->fts_name, p->fts_path)) { 159 strvis(escaped_name, p->fts_name, VIS_WHITE | VIS_OCTAL | VIS_GLOB); 409 return (strcmp((*a)->fts_name, (*b)->fts_name));
|
H A D | verify.c | 70 return (strcmp((*a)->fts_name, (*b)->fts_name)); 90 if (check_excludes(p->fts_name, p->fts_path)) { 119 !fnmatch(ep->name, p->fts_name, FNM_PATHNAME)) || 120 !strcmp(ep->name, p->fts_name)) {
|
/freebsd-10.0-release/usr.sbin/pkg_install/lib/ |
H A D | match.c | 109 matched = f->fts_name; 112 errcode = pattern_match(MatchType, patterns[i], f->fts_name); 114 matched = f->fts_name; 602 return strcmp((*a)->fts_name, (*b)->fts_name);
|
/freebsd-10.0-release/usr.sbin/kldxref/ |
H A D | kldxref.c | 284 return strcmp((*a)->fts_name, (*b)->fts_name); 363 strcmp(p->fts_name + p->fts_namelen - 8, ".symbols") == 0) 365 read_kld(p->fts_path, p->fts_name);
|
/freebsd-10.0-release/contrib/mtree/ |
H A D | create.c | 134 if (check_excludes(p->fts_name, p->fts_path)) { 191 S_ISDIR(p->fts_statp->st_mode) ? "" : " ", vispath(p->fts_name)); 454 return (strcmp((*a)->fts_name, (*b)->fts_name));
|
H A D | verify.c | 94 if (check_excludes(p->fts_name, p->fts_path)) { 128 !fnmatch(ep->name, p->fts_name, FNM_PATHNAME)) || 129 !strcmp(ep->name, p->fts_name)) {
|