Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dutils.h63 } cache_t; typedef
119 cache_t* start_cache_collection();
121 void add_cache_files(cache_t* cache, const std::string& data_path);
123 void clear_cache_files(const std::string& data_path, cache_t* cache, int64_t free_size);
125 void finish_cache_collection(cache_t* cache);
Dutils.cpp535 cache_t* start_cache_collection() in start_cache_collection()
537 cache_t* cache = (cache_t*)calloc(1, sizeof(cache_t)); in start_cache_collection()
543 static void* _cache_malloc(cache_t* cache, size_t len) in _cache_malloc()
585 static void* _cache_realloc(cache_t* cache, void* cur, size_t origLen, size_t len) in _cache_realloc()
595 static void _inc_num_cache_collected(cache_t* cache) in _inc_num_cache_collected()
604 static cache_dir_t* _add_cache_dir_t(cache_t* cache, cache_dir_t* parent, const char *name) in _add_cache_dir_t()
637 static cache_file_t* _add_cache_file_t(cache_t* cache, cache_dir_t* dir, time_t modTime, in _add_cache_file_t()
669 static int _add_cache_files(cache_t *cache, cache_dir_t *parentDir, const char *dirName, in _add_cache_files()
782 void add_cache_files(cache_t* cache, const std::string& data_path) { in add_cache_files()
887 void clear_cache_files(const std::string& data_path, cache_t* cache, int64_t free_size) in clear_cache_files()
[all …]
Dcommands.cpp480 cache_t* cache; in free_cache()