Searched refs:cache_file_t (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/cmds/installd/ |
D | utils.cpp | 642 static cache_file_t* _add_cache_file_t(cache_t* cache, cache_dir_t* dir, time_t modTime, in _add_cache_file_t() 646 cache_file_t* file = (cache_file_t*)_cache_malloc(cache, sizeof(cache_file_t)+nameLen+1); in _add_cache_file_t() 653 cache_file_t** newFiles = (cache_file_t**)_cache_realloc(cache, cache->files, in _add_cache_file_t() 654 cache->availFiles*sizeof(cache_file_t*), newAvail*sizeof(cache_file_t*)); in _add_cache_file_t() 972 const cache_file_t *lhs = *(const cache_file_t**)lhsP; in cache_modtime_sort() 973 const cache_file_t *rhs = *(const cache_file_t**)rhsP; in cache_modtime_sort() 987 qsort(cache->files, cache->numFiles, sizeof(cache_file_t*), in clear_cache_files() 1007 cache_file_t* file = cache->files[i]; in clear_cache_files() 1032 cache_file_t* file = cache->files[i]; in finish_cache_collection()
|
D | utils.h | 50 } cache_file_t; typedef 58 cache_file_t** files;
|