Lines Matching refs:filename
372 std::string filename(dirpath); in ClearDirectory() local
373 filename.push_back('/'); in ClearDirectory()
374 filename.append(e->d_name); in ClearDirectory()
375 int stat_result = lstat(filename.c_str(), &s); in ClearDirectory()
376 ASSERT_EQ(0, stat_result) << "unable to stat " << filename; in ClearDirectory()
378 ClearDirectory(filename.c_str()); in ClearDirectory()
379 int rmdir_result = rmdir(filename.c_str()); in ClearDirectory()
380 ASSERT_EQ(0, rmdir_result) << filename; in ClearDirectory()
382 int unlink_result = unlink(filename.c_str()); in ClearDirectory()
383 ASSERT_EQ(0, unlink_result) << filename; in ClearDirectory()
444 std::string filename; in GetTestDexFileName() local
446 filename += getenv("ANDROID_HOST_OUT"); in GetTestDexFileName()
447 filename += "/framework/"; in GetTestDexFileName()
449 filename += ART_TARGET_NATIVETEST_DIR_STRING; in GetTestDexFileName()
451 filename += "art-gtest-"; in GetTestDexFileName()
452 filename += name; in GetTestDexFileName()
453 filename += ".jar"; in GetTestDexFileName()
454 return filename; in GetTestDexFileName()
458 std::string filename = GetTestDexFileName(name); in OpenTestDexFiles() local
461 bool success = DexFile::Open(filename.c_str(), filename.c_str(), &error_msg, &dex_files); in OpenTestDexFiles()
462 CHECK(success) << "Failed to open '" << filename << "': " << error_msg; in OpenTestDexFiles()