Searched defs:dir (Results 1 - 5 of 5) sorted by relevance

/art/runtime/gc/space/
H A Dimage_space_fs.h43 static void DeleteDirectoryContents(const std::string& dir, bool recurse) { argument
44 if (!OS::DirectoryExists(dir.c_str())) {
47 DIR* c_dir = opendir(dir.c_str());
49 PLOG(WARNING) << "Unable to open " << dir << " to delete it's contents";
59 std::string file = StringPrintf("%s/%s", dir.c_str(), name);
102 // We write out an empty file to the zygote's ISA specific cache dir at the start of
/art/runtime/
H A Dnative_bridge_art_interface.cc98 void PreInitializeNativeBridge(std::string dir) { argument
104 android::PreInitializeNativeBridge(dir.c_str(), GetInstructionSetString(kRuntimeISA));
106 UNUSED(dir);
H A Dcommon_runtime_test.cc230 DIR* dir; local
231 if ((dir = opendir(toolsdir.c_str())) != nullptr) {
234 while ((entry = readdir(dir)) != nullptr) {
244 closedir(dir);
390 DIR* dir = opendir(dirpath); local
391 ASSERT_TRUE(dir != nullptr);
394 while ((e = readdir(dir)) != nullptr) {
412 closedir(dir);
H A Doat_file_assistant.cc806 std::string dir = location.substr(0, pos+1); local
807 dir += "oat/" + std::string(GetInstructionSetString(isa));
825 *odex_filename = dir + "/" + base + ".odex";
H A Dutils.cc1252 const char* dir = GetAndroidDataSafe(&error_msg); local
1253 if (dir != nullptr) {
1254 return dir;

Completed in 72 milliseconds