Lines Matching defs:dirname
624 char dirname[PATH_MAX];
645 strcpy(dirname, basepath);
646 pathpos = dirname + strlen(dirname);
653 snprintf(pathpos, sizeof(dirname)-(pathpos-dirname), "%s/%s", name, cachedir);
655 snprintf(pathpos, sizeof(dirname)-(pathpos-dirname), "%s", name);
657 CACHE_NOISY(ALOGI("Adding cache files from dir: %s\n", dirname));
658 subdir = opendir(dirname);
660 size_t dirnameLen = strlen(dirname);
661 _add_cache_files(cache, NULL, dirname, subdir, dirname, dirname+dirnameLen,