Home
last modified time | relevance | path

Searched refs:dir_name (Results 1 – 6 of 6) sorted by relevance

/system/timezone/
Dtzdatautil.py22 def GetIanaTarFile(dir_name, file_type): argument
24 for filename in os.listdir(dir_name):
31 return '%s/%s' % (dir_name, matching_files[0])
/system/update_engine/payload_generator/
Dext2_filesystem.cc262 char* dir_name = nullptr; in GetFiles() local
263 errcode_t error = ext2fs_get_pathname(filsys_, dir_ino, 0, &dir_name); in GetFiles()
271 inodes[dir_ino].name = dir_name; in GetFiles()
275 ext2fs_free_mem(&dir_name); in GetFiles()
/system/core/base/
Dfile_test.cpp202 std::string dir_name = android::base::Dirname(td.path); in TEST() local
203 std::string base_dir_name = android::base::Basename(dir_name); in TEST()
206 std::string path = dir_name + "/../" + base_dir_name + "/" + basename; in TEST()
216 ASSERT_EQ(dir_name, result); in TEST()
/system/core/init/
Ddevices.h88 Subsystem(const std::string& name, DevnameSource source, const std::string& dir_name) in Subsystem() argument
89 : name_(name), devname_source_(source), dir_name_(dir_name) {} in Subsystem()
/system/tools/aidl/tests/
Dfake_io_delegate.cpp93 const string dir_name = dir.back() == OS_PATH_SEPARATOR ? dir : dir + OS_PATH_SEPARATOR; in ListFiles() local
96 if (android::base::StartsWith(it->first, dir_name) && !it->second.empty()) { in ListFiles()
/system/apex/apexer/
Dapexer.py111 def GetDirSize(dir_name): argument
113 for dirpath, _, filenames in os.walk(dir_name):
119 def GetFilesAndDirsCount(dir_name): argument
121 for root, dirs, files in os.walk(dir_name):