Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dinstalld.h131 } cache_t; typedef
174 cache_t* start_cache_collection();
176 void add_cache_files(cache_t* cache, const char *basepath, const char *cachedir);
178 void clear_cache_files(cache_t* cache, int64_t free_size);
180 void finish_cache_collection(cache_t* cache);
Dutils.c486 cache_t* start_cache_collection() in start_cache_collection()
488 cache_t* cache = (cache_t*)calloc(1, sizeof(cache_t)); in start_cache_collection()
494 static void* _cache_malloc(cache_t* cache, size_t len) in _cache_malloc()
536 static void* _cache_realloc(cache_t* cache, void* cur, size_t origLen, size_t len) in _cache_realloc()
546 static void _inc_num_cache_collected(cache_t* cache) in _inc_num_cache_collected()
555 static cache_dir_t* _add_cache_dir_t(cache_t* cache, cache_dir_t* parent, const char *name) in _add_cache_dir_t()
588 static cache_file_t* _add_cache_file_t(cache_t* cache, cache_dir_t* dir, time_t modTime, in _add_cache_file_t()
620 static int _add_cache_files(cache_t *cache, cache_dir_t *parentDir, const char *dirName, in _add_cache_files()
733 void add_cache_files(cache_t* cache, const char *basepath, const char *cachedir) in add_cache_files()
839 void clear_cache_files(cache_t* cache, int64_t free_size) in clear_cache_files()
[all …]
Dcommands.c340 cache_t* cache; in free_cache()