Lines Matching full:tmpdir
310 char tmpdir[PATH_MAX];
322 if (create_user_path(tmpdir, 0) == 0) {
323 //ALOGI("adding cache files from %s\n", tmpdir);
324 add_cache_files(cache, tmpdir, "cache");
328 snprintf(tmpdir, sizeof(tmpdir), "%s%s", android_data_dir.path,
330 dirpos = tmpdir + strlen(tmpdir);
331 d = opendir(tmpdir);
341 if ((strlen(name)+(dirpos-tmpdir)) < (sizeof(tmpdir)-1)) {
343 //ALOGI("adding cache files from %s\n", tmpdir);
344 add_cache_files(cache, tmpdir, "cache");
346 ALOGW("Path exceeds limit: %s%s", tmpdir, name);
355 strcpy(tmpdir, android_media_dir.path);
356 dirpos = tmpdir + strlen(tmpdir);
357 d = opendir(tmpdir);
366 if ((strlen(name)+(dirpos-tmpdir)) < (sizeof(tmpdir)-1)) {
368 if (lookup_media_dir(tmpdir, "Android") == 0
369 && lookup_media_dir(tmpdir, "data") == 0) {
370 //ALOGI("adding cache files from %s\n", tmpdir);
371 add_cache_files(cache, tmpdir, "cache");
374 ALOGW("Path exceeds limit: %s%s", tmpdir, name);