Lines Matching refs:tmpdir
364 char tmpdir[PATH_MAX];
385 strcpy(tmpdir, _tmpdir.c_str());
387 dirpos = tmpdir + strlen(tmpdir);
388 d = opendir(tmpdir);
398 if ((strlen(name)+(dirpos-tmpdir)) < (sizeof(tmpdir)-1)) {
400 //ALOGI("adding cache files from %s\n", tmpdir);
401 add_cache_files(cache, tmpdir, "cache");
403 ALOGW("Path exceeds limit: %s%s", tmpdir, name);
412 strcpy(tmpdir, android_media_dir.path);
413 dirpos = tmpdir + strlen(tmpdir);
414 d = opendir(tmpdir);
423 if ((strlen(name)+(dirpos-tmpdir)) < (sizeof(tmpdir)-1)) {
425 if (lookup_media_dir(tmpdir, "Android") == 0
426 && lookup_media_dir(tmpdir, "data") == 0) {
427 //ALOGI("adding cache files from %s\n", tmpdir);
428 add_cache_files(cache, tmpdir, "cache");
431 ALOGW("Path exceeds limit: %s%s", tmpdir, name);