Lines Matching refs:items
285 print_by_column(tchar *dir, tchar *items[], int count, int looking_for_command) in print_by_column() argument
293 maxwidth = max(maxwidth, tswidth(items[i])); in print_by_column()
310 printf("%t", items[i]); in print_by_column()
311 w = tswidth(items[i]); in print_by_column()
314 (tchar) filetype(dir, items[i], 0)); in print_by_column()
500 free_items(tchar **items) in free_items() argument
507 for (i = 0; items[i]; i++) in free_items()
508 xfree(items[i]); in free_items()
509 xfree((char *)items); in free_items()
512 #define FREE_ITEMS(items) { \ argument
516 free_items(items);\
517 items = NULL;\
527 static tchar **items = NULL; in search2() local
539 if (items != NULL) in search2()
540 FREE_ITEMS(items); in search2()
571 if (items == NULL) in search2()
572 items = (tchar **)xcalloc(sizeof (items[1]), in search2()
574 items[numitems] = (tchar *)xalloc((unsigned)(strlen_(entry) + 1) * sizeof (tchar)); in search2()
575 copyn(items[numitems], entry, MAXNAMLEN); in search2()
612 qsort((char *)items, numitems, sizeof (items[1]), in search2()
620 items, numitems, 0); in search2()
621 if (items != NULL) in search2()
622 FREE_ITEMS(items); in search2()