Lines Matching defs:ls
110 #define MAXFILES 40000 /* max number of files ls can handle */
111 #define FIRST_DEPTH 10 /* default depth for find and ls */
194 * cd, find, and ls use this to hold filenames. Each filename is broken
306 static void ls(struct filenames *, struct filenames *, short);
634 * each directory traversed during a "find" or "ls -R" needs 3
1544 if (match("ls", 2)) { /* ls command */
1591 ls(filenames, filenames + (nfiles - 1), 0);
2228 * ls - do an ls. Should behave exactly as ls(1).
2232 ls(struct filenames *fn0, struct filenames *fnlast, short level)
2253 ls(fn0, fnn, level + 1);
2274 * formatf - code lifted from ls.
2325 * fmtentry - code lifted from ls.
2445 * follow_path - called by cd, find, and ls.