Home
last modified time | relevance | path

Searched refs:cache_dir_t (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/cmds/installd/
Dutils.cpp609 static cache_dir_t* _add_cache_dir_t(cache_t* cache, cache_dir_t* parent, const char *name) in _add_cache_dir_t()
612 cache_dir_t* dir = (cache_dir_t*)_cache_malloc(cache, sizeof(cache_dir_t)+nameLen+1); in _add_cache_dir_t()
621 cache_dir_t** newDirs = (cache_dir_t**)_cache_realloc(cache, cache->dirs, in _add_cache_dir_t()
622 cache->availDirs*sizeof(cache_dir_t*), newAvail*sizeof(cache_dir_t*)); in _add_cache_dir_t()
642 static cache_file_t* _add_cache_file_t(cache_t* cache, cache_dir_t* dir, time_t modTime, in _add_cache_file_t()
674 static int _add_cache_files(cache_t *cache, cache_dir_t *parentDir, const char *dirName, in _add_cache_files()
678 cache_dir_t* cacheDir = NULL; in _add_cache_files()
922 static char *create_dir_path(char path[PATH_MAX], cache_dir_t* dir) in create_dir_path()
939 static void delete_cache_dir(char path[PATH_MAX], cache_dir_t* dir) in delete_cache_dir()
992 cache_dir_t* dir = cache->dirs[i-1]; in clear_cache_files()
[all …]
Dutils.h44 } cache_dir_t; typedef
47 cache_dir_t* dir;
55 cache_dir_t** dirs;