Lines Matching defs:cacheDir
512 cache_dir_t* cacheDir = NULL;
524 cacheDir = _add_cache_dir_t(cache, parentDir, dirName);
550 if (cacheDir == NULL) {
551 cacheDir = _add_cache_dir_t(cache, parentDir, dirName);
553 if (cacheDir != NULL) {
560 _add_cache_files(cache, cacheDir, name, subdir, pathBase,
579 if (cacheDir == NULL) {
580 cacheDir = _add_cache_dir_t(cache, parentDir, dirName);
583 cacheDir->hiddenCount++;
586 if (cacheDir != NULL) {
595 _add_cache_file_t(cache, cacheDir, s.st_mtime, name);
615 cacheDir->hiddenCount++;
621 void add_cache_files(cache_t* cache, const char *basepath, const char *cachedir)
627 CACHE_NOISY(ALOGI("add_cache_files: base=%s cachedir=%s\n", basepath, cachedir));
653 if (cachedir != NULL) {
654 snprintf(pathpos, sizeof(dirname)-(pathpos-dirname), "%s/%s", name, cachedir);