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

/frameworks/native/cmds/installd/
H A Dinstalld.h131 } cache_t; typedef in typeref:struct:__anon1171
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);
H A Dutils.c486 cache_t* start_cache_collection()
488 cache_t* cache = (cache_t*)calloc(1, sizeof(cache_t));
494 static void* _cache_malloc(cache_t* cache, size_t len)
536 static void* _cache_realloc(cache_t* cache, void* cur, size_t origLen, size_t len)
546 static void _inc_num_cache_collected(cache_t* cache)
555 static cache_dir_t* _add_cache_dir_t(cache_t* cache, cache_dir_t* parent, const char *name)
588 static cache_file_t* _add_cache_file_t(cache_t* cache, cache_dir_t* dir, time_t modTime,
620 static int _add_cache_files(cache_t *cach
[all...]
H A Dcommands.c340 cache_t* cache;

Completed in 150 milliseconds