Home
last modified time | relevance | path

Searched refs:dirPath (Results 1 - 16 of 16) sorted by relevance

/developtools/profiler/device/plugins/api/test/unittest/
H A Dplugin_watcher_test.cpp80 void CreateFile(std::string dirPath) const in CreateFile()
83 int fd = creat((dirPath + it).c_str(), DEAFULT_FILE_MODE); in CreateFile()
90 void AddFile(std::string dirPath) const in AddFile()
93 int fd = creat((dirPath + it).c_str(), DEAFULT_FILE_MODE); in AddFile()
102 void DeleteFile(std::string dirPath) const in DeleteFile()
105 if (remove((dirPath + it).c_str()) != 0) { in DeleteFile()
110 if (remove((dirPath + it).c_str()) != 0) { in DeleteFile()
116 bool CheckFileList(std::string dirPath) const in CheckFileList()
123 if (cmpFileList.at(i) != (dirPath + expectFileList.at(i))) { in CheckFileList()
/developtools/global_resource_tool/src/
H A 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() local
94 DirectoryInfo info = { limitKey, fileCluster, dirPath, keyParams, type }; in ScanResourceLimitKeyDir()
H A Di_resource_compiler.cpp45 FileEntry f(directoryInfo.dirPath); in Compile()
/developtools/hdc/src/common/
H A Dentry.cpp183 auto dirPath = prefixPath.append(GetName()); in PayloadToDir() local
185 bool b = Base::TryCreateDirectory(dirPath, estr); in PayloadToDir()
187 WRITE_LOG(LOG_FATAL, "PayloadToDir mkdir failed dirPath:%s estr:%s", dirPath.c_str(), estr.c_str()); in PayloadToDir()
/developtools/smartperf_host/trace_streamer/src/base/
H A Dfile.cpp90 std::filesystem::path dirPath(path); in GetFilesNameFromDir()
92 if (!std::filesystem::exists(dirPath)) { in GetFilesNameFromDir()
93 TS_LOGI("!std::filesystem::exists(dirPath), dirPath: %s\n", path.data()); in GetFilesNameFromDir()
97 for (const auto &entry : std::filesystem::recursive_directory_iterator(dirPath)) { in GetFilesNameFromDir()
112 TS_LOGI("!std::filesystem::exists(dirPath), dirPath: %s\n", zipFile.data()); in UnZipFile()
/developtools/profiler/device/plugins/ftrace_plugin/include/
H A Dfile_utils.h28 static std::vector<std::string> ListDir(const std::string& dirPath);
/developtools/profiler/device/plugins/ftrace_plugin/src/
H A 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/packing_tool/packing_tool/frameworks/src/
H A Dhsp_packager.cpp379 for (const auto& dirPath : formatedDirList_) { in CompressHspModePartFourth()
380 std::string baseDir = fs::path(dirPath).filename().string(); in CompressHspModePartFourth()
381 if (zipWrapper_.AddFileOrDirectoryToZip(dirPath, baseDir) != ZipErrCode::ZIP_ERR_SUCCESS) { in CompressHspModePartFourth()
H A Dhap_packager.cpp563 for (const auto& dirPath : formatedDirList_) { in AddResFileAndDirLsitToZip()
564 std::string baseDir = fs::path(dirPath).filename().string(); in AddResFileAndDirLsitToZip()
565 if (zipWrapper_.AddFileOrDirectoryToZip(dirPath, baseDir) != ZipErrCode::ZIP_ERR_SUCCESS) { in AddResFileAndDirLsitToZip()
/developtools/profiler/device/plugins/cpu_plugin/include/
H A Dcpu_data_plugin.h99 DIR* OpenDestDir(std::string& dirPath);
/developtools/profiler/device/plugins/process_plugin/include/
H A Dprocess_data_plugin.h64 DIR* OpenDestDir(const char* dirPath);
/developtools/profiler/device/plugins/cpu_plugin/src/
H A Dcpu_data_plugin.cpp543 DIR* CpuDataPlugin::OpenDestDir(std::string& dirPath) in OpenDestDir() argument
547 destDir = opendir(dirPath.c_str()); in OpenDestDir()
548 CHECK_NOTNULL(destDir, nullptr, "%s:failed to opendir(%s), errno=%d", __func__, dirPath.c_str(), errno); in OpenDestDir()
/developtools/profiler/device/plugins/process_plugin/src/
H A 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/global_resource_tool/include/
H A Dresource_data.h292 std::string dirPath; member
/developtools/profiler/device/plugins/memory_plugin/include/
H A Dmemory_data_plugin.h355 DIR* OpenDestDir(const char* dirPath);
/developtools/profiler/device/plugins/memory_plugin/src/
H A Dmemory_data_plugin.cpp509 DIR* MemoryDataPlugin::OpenDestDir(const char* dirPath) in OpenDestDir() argument
513 destDir = opendir(dirPath); in OpenDestDir()
518 PROFILER_LOG_ERROR(LOG_CORE, "%s:failed to opendir(%s), errno(%d:%s)", __func__, dirPath, errno, buf); in OpenDestDir()

Completed in 12 milliseconds