Home
last modified time | relevance | path

Searched refs:dirpath (Results 1 – 3 of 3) sorted by relevance

/system/extras/simpleperf/
Dutils.cpp115 std::vector<std::string> GetEntriesInDir(const std::string& dirpath) { in GetEntriesInDir() argument
117 DIR* dir = opendir(dirpath.c_str()); in GetEntriesInDir()
119 PLOG(DEBUG) << "can't open dir " << dirpath; in GetEntriesInDir()
133 std::vector<std::string> GetSubDirs(const std::string& dirpath) { in GetSubDirs() argument
134 std::vector<std::string> entries = GetEntriesInDir(dirpath); in GetSubDirs()
137 if (IsDir(dirpath + "/" + entries[i])) { in GetSubDirs()
144 bool IsDir(const std::string& dirpath) { in IsDir() argument
146 if (stat(dirpath.c_str(), &st) == 0) { in IsDir()
Dutils.h143 std::vector<std::string> GetEntriesInDir(const std::string& dirpath);
144 std::vector<std::string> GetSubDirs(const std::string& dirpath);
145 bool IsDir(const std::string& dirpath);
/system/sepolicy/tools/
Dpost_process_mac_perms62 for dirpath, _, files in os.walk(args.dir):
63 transform = lambda x: os.path.join(dirpath, x)