Home | History | Annotate | Download | only in installd

Lines Matching refs:cache_dir_t

443 static cache_dir_t* _add_cache_dir_t(cache_t* cache, cache_dir_t* parent, const char *name)
446 cache_dir_t* dir = (cache_dir_t*)_cache_malloc(cache, sizeof(cache_dir_t)+nameLen+1);
455 cache_dir_t** newDirs = (cache_dir_t**)_cache_realloc(cache, cache->dirs,
456 cache->availDirs*sizeof(cache_dir_t*), newAvail*sizeof(cache_dir_t*));
471 ALOGE("Failure allocating cache_dir_t for %s\n", name);
476 static cache_file_t* _add_cache_file_t(cache_t* cache, cache_dir_t* dir, time_t modTime,
508 static int _add_cache_files(cache_t *cache, cache_dir_t *parentDir, const char *dirName,
512 cache_dir_t* cacheDir = NULL;
672 static char *create_dir_path(char path[PATH_MAX], cache_dir_t* dir)
689 static void delete_cache_dir(char path[PATH_MAX], cache_dir_t* dir)
742 cache_dir_t* dir = cache->dirs[i-1];
777 cache_dir_t* dir = cache->dirs[i];