Home
last modified time | relevance | path

Searched refs:dirPath (Results 1 – 12 of 12) 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.cpp72 string dirPath = it->GetFilePath().GetPath(); in ScanResourceLimitKeyDir() local
79 cerr << "Error: '" << dirPath << "' not directory." << endl; in ScanResourceLimitKeyDir()
90 cerr << "Error: '" << dirPath << "', invalid directory name '"; in ScanResourceLimitKeyDir()
94 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.cpp107 std::vector<std::string> FileUtils::ListDir(const std::string& dirPath) in ListDir() argument
110 DIR* dir = opendir(dirPath.c_str()); in ListDir()
/developtools/profiler/device/plugins/process_plugin/include/
Dprocess_data_plugin.h64 DIR* OpenDestDir(const char* dirPath);
/developtools/profiler/device/plugins/cpu_plugin/include/
Dcpu_data_plugin.h99 DIR* OpenDestDir(std::string& dirPath);
/developtools/profiler/device/plugins/process_plugin/src/
Dprocess_data_plugin.cpp103 DIR* ProcessDataPlugin::OpenDestDir(const char* dirPath) in OpenDestDir() argument
107 destDir = opendir(dirPath); in OpenDestDir()
109 … PROFILER_LOG_ERROR(LOG_CORE, "%s:failed to opendir(%s), errno=%d", __func__, dirPath, errno); in OpenDestDir()
/developtools/profiler/device/plugins/cpu_plugin/src/
Dcpu_data_plugin.cpp528 DIR* CpuDataPlugin::OpenDestDir(std::string& dirPath) in OpenDestDir() argument
532 destDir = opendir(dirPath.c_str()); in OpenDestDir()
533 …CHECK_NOTNULL(destDir, nullptr, "%s:failed to opendir(%s), errno=%d", __func__, dirPath.c_str(), e… in OpenDestDir()
/developtools/global_resource_tool/include/
Dresource_data.h272 std::string dirPath; member
/developtools/profiler/device/plugins/memory_plugin/include/
Dmemory_data_plugin.h354 DIR* OpenDestDir(const char* dirPath);
/developtools/profiler/device/plugins/memory_plugin/src/
Dmemory_data_plugin.cpp526 DIR* MemoryDataPlugin::OpenDestDir(const char* dirPath) in OpenDestDir() argument
530 destDir = opendir(dirPath); in OpenDestDir()
535 …PROFILER_LOG_ERROR(LOG_CORE, "%s:failed to opendir(%s), errno(%d:%s)", __func__, dirPath, errno, b… in OpenDestDir()