Searched refs:cache_file_t (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/cmds/installd/ |
D | utils.cpp | 637 static cache_file_t* _add_cache_file_t(cache_t* cache, cache_dir_t* dir, time_t modTime, in _add_cache_file_t() 641 cache_file_t* file = (cache_file_t*)_cache_malloc(cache, sizeof(cache_file_t)+nameLen+1); in _add_cache_file_t() 648 cache_file_t** newFiles = (cache_file_t**)_cache_realloc(cache, cache->files, in _add_cache_file_t() 649 cache->availFiles*sizeof(cache_file_t*), newAvail*sizeof(cache_file_t*)); in _add_cache_file_t() 882 const cache_file_t *lhs = *(const cache_file_t**)lhsP; in cache_modtime_sort() 883 const cache_file_t *rhs = *(const cache_file_t**)rhsP; in cache_modtime_sort() 897 qsort(cache->files, cache->numFiles, sizeof(cache_file_t*), in clear_cache_files() 917 cache_file_t* file = cache->files[i]; in clear_cache_files() 942 cache_file_t* file = cache->files[i]; in finish_cache_collection()
|
D | utils.h | 50 } cache_file_t; typedef 58 cache_file_t** files;
|