Lines Matching defs:dirname
625 char dirname[PATH_MAX];
646 strcpy(dirname, basepath);
647 pathpos = dirname + strlen(dirname);
654 snprintf(pathpos, sizeof(dirname)-(pathpos-dirname), "%s/%s", name, cachedir);
656 snprintf(pathpos, sizeof(dirname)-(pathpos-dirname), "%s", name);
658 CACHE_NOISY(ALOGI("Adding cache files from dir: %s\n", dirname));
659 subdir = opendir(dirname);
661 size_t dirnameLen = strlen(dirname);
662 _add_cache_files(cache, NULL, dirname, subdir, dirname, dirname+dirnameLen,