Searched refs:z_size (Results 1 – 1 of 1) sorted by relevance
571 int z_size = 1; in browse_directory() local598 if (z_size >= z_alloc) { 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()611 if (d_size + z_size + 1 > z_alloc) { in browse_directory()612 z_alloc = d_size + z_size + 1; in browse_directory()615 memcpy(zips + z_size, dirs, d_size * sizeof(char*)); in browse_directory()617 z_size += d_size; in browse_directory()618 zips[z_size] = NULL; in browse_directory()652 for (int i = 0; i < z_size; ++i) free(zips[i]); in browse_directory()