Searched refs:basePath (Results 1 – 10 of 10) sorted by relevance
21 const basePath = "/sys/devices/system/cpu/cpufreq"26 let policyArr = travelFile(basePath, "policy")38 var affected_cpus = fileOpen(basePath + "/" + policy + "/affected_cpus")
467 std::vector<std::string> GetEntriesInDir(const std::string &basePath) in GetEntriesInDir() argument470 std::string resolvedPath = CanonicalizeSpecPath(basePath.c_str()); in GetEntriesInDir()489 std::vector<std::string> GetSubDirs(const std::string &basePath) in GetSubDirs() argument491 std::vector<std::string> entries = GetEntriesInDir(basePath); in GetSubDirs()494 if (IsDir(basePath + "/" + entries[index])) { in GetSubDirs()602 const std::string basePath {"/proc/"}; in GetAppPackagePid() local606 std::vector<std::string> subDirs = GetSubDirs(basePath); in GetAppPackagePid()611 std::string fileName {basePath + subDir}; in GetAppPackagePid()
688 std::string basePath {"/sys/kernel/tracing/events"}; in LoadTracepointEventTypesFromSystem() local689 if (access(basePath.c_str(), R_OK) != 0) { in LoadTracepointEventTypesFromSystem()690 basePath = "/sys/kernel/debug/tracing/events"; in LoadTracepointEventTypesFromSystem()692 for (const auto &eventName : GetSubDirs(basePath)) { in LoadTracepointEventTypesFromSystem()693 std::string eventPath = basePath + "/" + eventName; in LoadTracepointEventTypesFromSystem()
391 std::vector<std::string> GetEntriesInDir(const std::string &basePath) in GetEntriesInDir() argument394 DIR *dir = opendir(basePath.c_str()); in GetEntriesInDir()409 std::vector<std::string> GetSubDirs(const std::string &basePath) in GetSubDirs() argument411 std::vector<std::string> entries = GetEntriesInDir(basePath); in GetSubDirs()414 if (IsDir(basePath + "/" + entries[index])) { in GetSubDirs()
106 basePath = GetDevPath(USB_FFS_BASE); in Initial()107 if (access((basePath + "/ep0").c_str(), F_OK) != 0) { in Initial()159 string ep0Path = basePath + "/ep0"; in ConnectEPPoint()176 string outPath = basePath + "/ep1"; in ConnectEPPoint()181 string inPath = basePath + "/ep2"; in ConnectEPPoint()
61 string basePath; // usb device's base path variable
213 std::string basePath = "/sys/devices/system/cpu/cpufreq/"; in GetCpuInfo() local215 DIR *dir = opendir(basePath.c_str()); in GetCpuInfo()227 policyFiles.push_back(IncludePathDelimiter(basePath) + std::string(ptr->d_name)); in GetCpuInfo()
196 std::vector<std::string> GetEntriesInDir(const std::string &basePath);198 std::vector<std::string> GetSubDirs(const std::string &basePath);
213 std::vector<std::string> GetEntriesInDir(const std::string &basePath);215 std::vector<std::string> GetSubDirs(const std::string &basePath);
95 const basePath: string = path.resolve(projectConfig.projectPath); constant99 allPath.push(path.join(path.relative(basePath, item), '*'));119 'baseUrl': basePath,