Home
last modified time | relevance | path

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

/bootable/recovery/
Drecovery.cpp525 int d_size = 0; in update_directory() local
542 if (d_size >= d_alloc) { in update_directory()
546 dirs[d_size] = (char*)malloc(name_len + 2); in update_directory()
547 strcpy(dirs[d_size], de->d_name); in update_directory()
548 dirs[d_size][name_len] = '/'; in update_directory()
549 dirs[d_size][name_len+1] = '\0'; in update_directory()
550 ++d_size; in update_directory()
563 qsort(dirs, d_size, sizeof(char*), compare_string); in update_directory()
567 if (d_size + z_size + 1 > z_alloc) { in update_directory()
568 z_alloc = d_size + z_size + 1; in update_directory()
[all …]