Lines Matching refs:depth
195 static int depth = 0; in do_list_item() local
223 if (depth == 0) { in do_list_item()
228 depth++; in do_list_item()
242 if ((depth-1) > do_dir) { in do_list_item()
243 do_dir = depth - 1; in do_list_item()
260 match = ((depth-1) >= sl_cnt); in do_list_item()
262 match = ((depth-1) > sl_cnt); in do_list_item()
299 printf("depth = %d sl_cnt = %d\n", depth, sl_cnt); in do_list_item()
302 if ((depth-1) == sl_cnt) { in do_list_item()
322 if ((depth-1) > do_dir) { in do_list_item()
323 do_dir = depth - 1; in do_list_item()
327 dir, depth); in do_list_item()
364 printf("depth = %d sl_cnt = %d\n", depth, sl_cnt); in do_list_item()
367 if ((depth-1) == sl_cnt) { in do_list_item()
382 if ((depth-1) > do_dir) { in do_list_item()
383 do_dir = depth - 1; in do_list_item()
387 dir, depth); in do_list_item()
406 if ((depth-1) > sl_cnt) { in do_list_item()
407 if ((depth-1) > do_dir) { in do_list_item()
408 do_dir = depth - 1; in do_list_item()
412 depth); in do_list_item()
449 if ((depth - 1) > do_dir) { in do_list_item()
450 do_dir = depth - 1; in do_list_item()
453 (void) func(statnam, dirent->d_name, dir, depth); in do_list_item()
467 depth--; in do_list_item()
468 if (depth == 0) { in do_list_item()
482 if (func(statnam, &statnam[llastpos], parent_dir, depth) < 0) { in do_list_item()