Home
last modified time | relevance | path

Searched refs:dirPath (Results 1 – 14 of 14) sorted by relevance

/developtools/profiler/device/plugins/api/test/unittest/
Dplugin_watcher_test.cpp81 void CreateFile(std::string dirPath) const in CreateFile()
84 int fd = creat((dirPath + it).c_str(), DEAFULT_FILE_MODE); in CreateFile()
91 void AddFile(std::string dirPath) const in AddFile()
94 int fd = creat((dirPath + it).c_str(), DEAFULT_FILE_MODE); in AddFile()
103 void DeleteFile(std::string dirPath) const in DeleteFile()
106 if (remove((dirPath + it).c_str()) != 0) { in DeleteFile()
111 if (remove((dirPath + it).c_str()) != 0) { in DeleteFile()
117 bool CheckFileList(std::string dirPath) const in CheckFileList()
124 if (cmpFileList.at(i) != (dirPath + expectFileList.at(i))) { in CheckFileList()
/developtools/global_resource_tool/src/
Dresource_directory.cpp69 string dirPath = it->GetFilePath().GetPath(); in ScanResourceLimitKeyDir() local
76 cerr << "Error: '" << dirPath << "' not directory." << endl; in ScanResourceLimitKeyDir()
87 cerr << "Error: '" << dirPath << "', invalid directory name '"; in ScanResourceLimitKeyDir()
91 DirectoryInfo info = { limitKey, fileCluster, dirPath, keyParams, type }; in ScanResourceLimitKeyDir()
Di_resource_compiler.cpp45 FileEntry f(directoryInfo.dirPath); in Compile()
/developtools/profiler/device/plugins/ftrace_plugin/include/
Dfile_utils.h28 static std::vector<std::string> ListDir(const std::string& dirPath);
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dfile_utils.cpp103 std::vector<std::string> FileUtils::ListDir(const std::string& dirPath) in ListDir() argument
106 DIR* dir = opendir(dirPath.c_str()); in ListDir()
/developtools/smartperf_host/ide/
Dbuild.js221 function checkDirExist(dirPath) { argument
222 return fs.existsSync(dirPath);
/developtools/profiler/host/smartperf/ide/
Dbuild.js221 function checkDirExist(dirPath) { argument
222 return fs.existsSync(dirPath);
/developtools/profiler/device/plugins/process_plugin/include/
Dprocess_data_plugin.h61 DIR* OpenDestDir(const char* dirPath);
/developtools/profiler/device/plugins/cpu_plugin/include/
Dcpu_data_plugin.h85 DIR* OpenDestDir(std::string& dirPath);
/developtools/profiler/device/plugins/cpu_plugin/src/
Dcpu_data_plugin.cpp501 DIR* CpuDataPlugin::OpenDestDir(std::string& dirPath) in OpenDestDir() argument
505 destDir = opendir(dirPath.c_str()); in OpenDestDir()
506 …CHECK_NOTNULL(destDir, nullptr, "%s:failed to opendir(%s), errno=%d", __func__, dirPath.c_str(), e… in OpenDestDir()
/developtools/profiler/device/plugins/process_plugin/src/
Dprocess_data_plugin.cpp90 DIR* ProcessDataPlugin::OpenDestDir(const char* dirPath) in OpenDestDir() argument
94 destDir = opendir(dirPath); in OpenDestDir()
96 HILOG_ERROR(LOG_CORE, "%s:failed to opendir(%s), errno=%d", __func__, dirPath, errno); in OpenDestDir()
/developtools/global_resource_tool/include/
Dresource_data.h238 std::string dirPath; member
/developtools/profiler/device/plugins/memory_plugin/src/
Dmemory_data_plugin.cpp515 DIR* MemoryDataPlugin::OpenDestDir(const char* dirPath) in OpenDestDir() argument
519 destDir = opendir(dirPath); in OpenDestDir()
524 … HILOG_ERROR(LOG_CORE, "%s:failed to opendir(%s), errno(%d:%s)", __func__, dirPath, errno, buf); in OpenDestDir()
/developtools/profiler/device/plugins/memory_plugin/include/
Dmemory_data_plugin.h274 DIR* OpenDestDir(const char* dirPath);