• Home
  • Raw
  • Download

Lines Matching refs:name

34 static int listpath(const char *name, int flags);
169 const char *name; in listfile_long() local
176 name = strrchr(path, '/'); in listfile_long()
177 if(name == 0) { in listfile_long()
178 name = path; in listfile_long()
180 name++; in listfile_long()
204 date, name); in listfile_long()
208 mode, user, group, (long long)s->st_size, date, name); in listfile_long()
227 mode, user, group, date, name, linkto); in listfile_long()
232 mode, user, group, date, name); in listfile_long()
244 const char *name; in listfile_maclabel() local
251 name = strrchr(path, '/'); in listfile_maclabel()
252 if(name == 0) { in listfile_maclabel()
253 name = path; in listfile_maclabel()
255 name++; in listfile_maclabel()
285 mode, user, group, maclabel, name, linkto); in listfile_maclabel()
290 mode, user, group, maclabel, name); in listfile_maclabel()
336 static int listdir(const char *name, int flags) in listdir() argument
343 d = opendir(name); in listdir()
350 show_total_size(name, d, flags); in listdir()
361 STRLIST_FOREACH(&files, filename, listfile(name, filename, flags)); in listdir()
378 if (!strcmp(name, "/")) in listdir()
381 snprintf(tmp, sizeof(tmp), "%s/%s", name, de->d_name); in listdir()
414 static int listpath(const char *name, int flags) in listpath() argument
423 if (name[strlen(name)-1] == '/') in listpath()
424 err = stat(name, &s); in listpath()
426 err = lstat(name, &s); in listpath()
429 perror(name); in listpath()
435 printf("\n%s:\n", name); in listpath()
436 return listdir(name, flags); in listpath()
439 return listfile(NULL, name, flags); in listpath()