Home
last modified time | relevance | path

Searched defs:filePath (Results 1 – 25 of 128) sorted by relevance

123456

/developtools/packing_tool/packing_tool/frameworks/test/unittest/utils_Test/
Dutils_test.cpp63 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); in SetUp() local
69 bool UtilsTest::CheckFilePath(const std::string& filePath) in CheckFilePath()
81 void UtilsTest::CreateFilePath(const std::string& filePath) in CreateFilePath()
90 void UtilsTest::CreateFile(const std::string& filePath) in CreateFile()
101 void UtilsTest::DeleteFilePath(const std::string& filePath) in DeleteFilePath()
118 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); variable
227 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); variable
239 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); variable
251 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); variable
302 std::string filePath("tempdir/testfile"); variable
[all …]
/developtools/packing_tool/packing_tool/frameworks/src/json/
Djson_utils.cpp32 bool JsonUtils::IsModuleJson(const std::string& filePath) in IsModuleJson()
37 bool JsonUtils::IsConfigJson(const std::string& filePath) in IsConfigJson()
42 bool JsonUtils::IsPatchJson(const std::string& filePath) in IsPatchJson()
47 std::unique_ptr<PtJson> JsonUtils::JsonFromFile(const std::string& filePath) in JsonFromFile()
64 bool JsonUtils::JsonToFile(const std::unique_ptr<PtJson>& json, const std::string& filePath) in JsonToFile()
72 bool JsonUtils::StrToFile(const std::string& str, const std::string& filePath) in StrToFile()
/developtools/packing_tool/packing_tool/frameworks/test/unittest/zip_utils_test/
Dzip_utils_test.cpp73 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); in SetUp() local
79 bool ZipUtilsTest::CheckFilePath(const std::string& filePath) in CheckFilePath()
91 void ZipUtilsTest::CreateFilePath(const std::string& filePath) in CreateFilePath()
100 void ZipUtilsTest::CreateFile(const std::string& filePath) in CreateFile()
111 void ZipUtilsTest::DeleteFilePath(const std::string& filePath) in DeleteFilePath()
169 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); variable
190 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); variable
211 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); variable
233 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); variable
256 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); variable
[all …]
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/
Dutils.test.ts163 for (const filePath of this.mockfileList) { constant
175 for (const filePath of this.mockfileList) { constant
188 for (const filePath of this.mockfileList) { constant
199 for (const filePath of this.mockfileList) { constant
210 for (const filePath of this.mockfileList) { constant
251 for (const filePath of this.mockfileList) { constant
277 … const filePath = genTemporaryPath(moduleSource.moduleId, moduleSource.projectConfig.projectPath, constant
298 … const filePath = genTemporaryPath(moduleSource.moduleId, moduleSource.projectConfig.projectPath, constant
319 … const filePath = genTemporaryPath(moduleSource.moduleId, moduleSource.projectConfig.projectPath, constant
339 … const filePath = genTemporaryPath(moduleSource.moduleId, moduleSource.projectConfig.projectPath, constant
[all …]
/developtools/packing_tool/packing_tool/frameworks/test/unittest/json/json_utils_test/
Djson_utils_test.cpp93 bool JsonUtilsTest::CheckFilePath(const std::string& filePath) in CheckFilePath()
105 void JsonUtilsTest::CreateFilePath(const std::string& filePath) in CreateFilePath()
114 void JsonUtilsTest::CreateFile(const std::string& filePath) in CreateFile()
129 void JsonUtilsTest::DeleteFilePath(const std::string& filePath) in DeleteFilePath()
217 std::string filePath = "./test.json"; variable
232 std::string filePath = "./out.json"; variable
247 std::string filePath; variable
/developtools/global_resource_tool/src/
Did_defined_parser.cpp86 uint32_t IdDefinedParser::Init(const string &filePath, bool isSystem) in Init()
134 uint32_t IdDefinedParser::IdDefinedToResourceIds(const std::string &filePath, const cJSON *record, in IdDefinedToResourceIds()
163 bool IdDefinedParser::PushResourceId(const std::string &filePath, const ResourceId &resourceId, boo… in PushResourceId()
197 bool IdDefinedParser::ParseId(const std::string &filePath, const cJSON *origId, ResourceId &resourc… in ParseId()
221 bool IdDefinedParser::ParseType(const std::string &filePath, const cJSON *type, ResourceId &resourc… in ParseType()
243 bool IdDefinedParser::ParseName(const std::string &filePath, const cJSON *name, ResourceId &resourc… in ParseName()
264 bool IdDefinedParser::ParseOrder(const std::string &filePath, const cJSON *order, ResourceId &resou… in ParseOrder()
Dtranslatable_parser.cpp67 bool TranslatableParse::ParseTranslatable(cJSON *objectNode, const string &filePath) in ParseTranslatable()
78 bool TranslatableParse::CheckBaseStringAttr(const cJSON *objectNode, const std::string &filePath) in CheckBaseStringAttr()
93 … TranslatableParse::CheckBaseStringTranslatable(const cJSON *attrNode, const std::string &filePath) in CheckBaseStringTranslatable()
108 bool TranslatableParse::CheckBaseStringPriority(const cJSON *attrNode, const std::string &filePath) in CheckBaseStringPriority()
136 … TranslatableParse::ReplaceTranslateTags(cJSON *node, const char *key, const std::string &filePath) in ReplaceTranslateTags()
Dfile_entry.cpp51 string filePath = filePath_.GetPath(); in Init() local
64 string filePath = filePath_.GetPath(); in GetChilds() local
236 string filePath = filePath_ + SEPARATE + path; in Append() local
242 string filePath; in ReplaceExtension() local
/developtools/packing_tool/packing_tool/frameworks/src/
Dhap_packager.cpp126 const std::string filePath = it->second; in IsVerifyValidInHapCommonMode() local
144 const std::string filePath = it->second; in IsVerifyValidInHapCommonMode() local
171 const std::string filePath = it->second; in IsVerifyValidInHapMode() local
192 const std::string filePath = it->second; in IsVerifyValidInHapMode() local
219 const std::string filePath = it->second; in IsValidRpcid() local
236 const std::string filePath = it->second; in IsValidPackInfo() local
529 fs::path filePath = fs::path(it->second); in AddParamFileToZip() local
592 fs::path filePath = fs::path(it->second); in AddPkgAndBinFileToZipForStageMaode() local
Dhsp_packager.cpp106 const std::string filePath = it->second; in IsVerifyValidInHspCommonMode() local
116 const std::string filePath = it->second; in IsVerifyValidInHspCommonMode() local
131 const std::string filePath = it->second; in IsVerifyValidInHspMode() local
304 fs::path filePath = fs::path(it->second); in CompressHspModePartSecond() local
365 fs::path filePath = fs::path(it->second); in CompressHspModePartFourth() local
Dutils.cpp49 std::string Utils::GetFileContent(const std::string filePath) in GetFileContent()
92 int64_t Utils::GetFileLength(const std::string filePath) in GetFileLength()
170 std::string Utils::GetSha256File(const std::string &filePath) in GetSha256File()
199 std::string Utils::GetSha256Folder(const std::string &filePath) in GetSha256Folder()
258 std::string filePath = dir; in GetFilePathByDir() local
300 std::string filePath = GetFilePathByDir(dir, dirInfo->d_name); in ForceRemoveDirectory() local
347 bool Utils::CheckFileName(const std::string& filePath, const std::string& fileName) in CheckFileName()
356 bool Utils::CheckFileSuffix(const std::string& filePath, const std::string& suffix) in CheckFileSuffix()
449 std::string filePath = fsPath.parent_path().string(); in GetRealPathOfNoneExistFile() local
Dunzip_wrapper.cpp65 std::string UnzipWrapper::ExtractFile(const std::string filePath) in ExtractFile()
116 int32_t UnzipWrapper::UnzipFile(std::string filePath) in UnzipFile()
/developtools/packing_tool/adapter/ohos/
DFileUtils.java59 public static byte[] getFileData(final String filePath) { in getFileData()
108 public static void getFileList(final String filePath, ArrayList<String> fileList) { in getFileList()
141 public static Optional<String> getFileContent(final String filePath) { in getFileContent()
223 String filePath = destDir + File.separator + entry.getName(); in unzip() local
303 public static Optional<String> getFormatedPath(final String filePath) { in getFormatedPath()
321 public static boolean checkFileIsExists(final String filePath) { in checkFileIsExists()
443 String filePath = entry.getName(); in getProfileJson() local
541 String filePath = destDirPath + File.separator + entry.getName(); in unzipFile() local
564 private static void extractFile(ZipInputStream zipInputStream, String filePath) { in extractFile()
598 public static long getFileSize(String filePath) { in getFileSize()
DBinaryTool.java44 public static boolean generateBinaryFile(final String filePath, final String binaryFilePath) { in generateBinaryFile()
90 private static boolean writePackageInfo(final String filePath, RandomAccessFile appStream) { in writePackageInfo()
119 …private static void writeFileInfo(final String filePath, final String directory, boolean isWindows, in writeFileInfo()
173 … final String jsonFileName, final String filePath) { in getValueFromJsonFileContent()
/developtools/packing_tool/ohos_packing_tool/frameworks/src/
Dpackager.cpp76 void Packager::AddFileToZip(zipFile zf, const fs::path &filePath, const fs::path &zipPath, zip_file… in AddFileToZip()
124 bool Packager::ParseJsonFile(nlohmann::json &jsonObject, std::string filePath) in ParseJsonFile()
157 bool Packager::CheckFileValid(const std::string &filePath, const std::string &filename) in CheckFileValid()
/developtools/hapsigner/hapsigntool_cpp/utils/src/
Dfile_utils.cpp40 bool FileUtils::IsSpaceEnough(const std::string& filePath, const int64_t requiredSpace) in IsSpaceEnough()
53 std::string FileUtils::GetSuffix(std::string filePath) in GetSuffix()
66 bool FileUtils::ValidFileType(const std::string& filePath, const std::initializer_list<std::string>… in ValidFileType()
408 std::filesystem::path filePath = file; in IsValidFile() local
424 std::filesystem::path filePath = file; in GetFileLen() local
434 std::filesystem::path filePath = file; in DelDir() local
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/
Dark_utils.test.ts153 for (const filePath of this.rollup.share.allFiles) { constant
167 for (const filePath of this.rollup.share.allFiles) { constant
178 for (const filePath of this.rollup.share.allFiles) { constant
189 for (const filePath of this.rollup.share.allFiles) { constant
423 …const filePath = '/mnt/application/entry/build/default/cache/default/default@CompileArkTS/esmodule… constant
442 …const filePath = '/mnt/application/entry/build/default/cache/default/default@CompileArkTS/esmodule… constant
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/class_mock/
Dmodule_mode_mock.ts48 for (const filePath of mockFileList) { constant
60 for (const filePath of rollupObject.getModuleIds()) { constant
212 for (const filePath of mockFileList) { constant
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DFileUtils.java256 public static boolean isFileExist(String filePath) { in isFileExist()
266 public static void validFileType(String filePath, String... types) { in validFileType()
290 public static String getSuffix(String filePath) { in getSuffix()
356 public static long getFileLen(String filePath) { in getFileLen()
483 …public static void writeStringToFile(String source, String filePath, Charset charset) throws IOExc… in writeStringToFile()
/developtools/ace_js2bundle/ace-loader/plugin/templater/
Dindex.js30 function parse(source, operate, filePath) { argument
134 function generate(node, filePath, preNode, relativePath) { argument
150 function checkNodeAttrs(node, filePath, preNode, relativePath) { argument
261 function checkNodeChildren(node, filePath, relativePath) { argument
/developtools/profiler/device/base/src/
Dcommon.cpp142 char filePath[FILE_PATH_SIZE] = {0}; in IsProcessExist() local
497 std::string filePath = "/proc/" + std::to_string(pid) + "/cmdline"; in CheckApplicationPermission() local
530 std::string filePath = "/proc/" + std::to_string(pid) + "/cmdline"; in CheckApplicationEncryped() local
559 bool VerifyPath(const std::string& filePath, const std::vector<std::string>& validPaths) in VerifyPath()
573 const char* RealPath(std::string &filePath) in RealPath()
604 bool ReadFile(const std::string &filePath, const std::vector<std::string>& validPaths, std::string&… in ReadFile()
678 void AdaptSandboxPath(std::string& filePath, int pid) in AdaptSandboxPath()
742 std::pair<bool, std::string> CheckNotExistsFilePath(const std::string& filePath) in CheckNotExistsFilePath()
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/
Dmodule_mode.test.ts137 for (const filePath of fileList) { constant
169 for (const filePath of fileList) { constant
201 for (const filePath of fileList) { constant
233 for (const filePath of fileList) { constant
276 for (const filePath of fileList) { constant
320 for (const filePath of fileList) { constant
364 for (const filePath of fileList) { constant
408 for (const filePath of fileList) { constant
1742 for (const filePath of this.mockfileList) { constant
1760 for (const filePath of this.mockfileList) { constant
[all …]
/developtools/smartperf_host/trace_streamer/src/filter/perf_filter/
Dperf_data_filter.cpp28 …ataFilter::AppendPerfFiles(uint64_t fileId, uint32_t serial, DataIndex symbols, DataIndex filePath) in AppendPerfFiles()
54 auto filePath = traceDataCache_->GetPerfFilesData()->FilePaths(); in Finish() local
/developtools/profiler/device/base/test/unittest/
Dcommon_test.cpp31 bool WriteFile(const std::string& filePath, const std::string& fileContent) in WriteFile()
108 std::string filePath = "/data/local/tmp/config.txt"; variable
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/test/java/com/ohos/hapsigntool/
DProfileTest.java174 private void loadFile(String filePath) throws IOException { in loadFile()
196 private void deleteFile(String filePath) throws IOException { in deleteFile()

123456