Home
last modified time | relevance | path

Searched refs:d_size (Results 1 – 1 of 1) sorted by relevance

/bootable/recovery/
Drecovery.cpp568 int d_size = 0; in browse_directory() local
586 if (d_size >= d_alloc) { in browse_directory()
590 dirs[d_size] = (char*)malloc(name_len + 2); in browse_directory()
591 strcpy(dirs[d_size], de->d_name); in browse_directory()
592 dirs[d_size][name_len] = '/'; in browse_directory()
593 dirs[d_size][name_len+1] = '\0'; in browse_directory()
594 ++d_size; in browse_directory()
607 qsort(dirs, d_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()
[all …]