Searched refs:zips (Results 1 – 1 of 1) sorted by relevance
/bootable/recovery/ |
D | recovery.cpp | 573 char** zips = (char**)malloc(z_alloc * sizeof(char*)); in browse_directory() local 574 zips[0] = strdup("../"); in browse_directory() 600 zips = (char**)realloc(zips, z_alloc * sizeof(char*)); in browse_directory() 602 zips[z_size++] = strdup(de->d_name); in browse_directory() 608 qsort(zips, z_size, sizeof(char*), compare_string); in browse_directory() 613 zips = (char**)realloc(zips, z_alloc * sizeof(char*)); in browse_directory() 615 memcpy(zips + z_size, dirs, d_size * sizeof(char*)); in browse_directory() 618 zips[z_size] = NULL; in browse_directory() 625 chosen_item = get_menu_selection(headers, zips, 1, chosen_item, device); in browse_directory() 627 char* item = zips[chosen_item]; in browse_directory() [all …]
|