| /developtools/packing_tool/packing_tool/frameworks/test/unittest/utils_Test/ |
| D | utils_test.cpp | 64 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); in SetUp() local 70 bool UtilsTest::CheckFilePath(const std::string& filePath) in CheckFilePath() 82 void UtilsTest::CreateFilePath(const std::string& filePath) in CreateFilePath() 91 void UtilsTest::CreateFile(const std::string& filePath) in CreateFile() 102 void UtilsTest::DeleteFilePath(const std::string& filePath) in DeleteFilePath() 119 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); variable 228 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); variable 240 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); variable 252 std::string filePath = std::string(FILE_PATH) + std::string(FILE_NAME); variable 303 std::string filePath("tempdir/testfile"); variable [all …]
|
| /developtools/packing_tool/packing_tool/frameworks/src/json/ |
| D | json_utils.cpp | 32 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/ace_ets2bundle/compiler/test/ark_compiler_ut/common/ |
| D | utils.test.ts | 164 for (const filePath of this.mockfileList) { constant 176 for (const filePath of this.mockfileList) { constant 189 for (const filePath of this.mockfileList) { constant 200 for (const filePath of this.mockfileList) { constant 211 for (const filePath of this.mockfileList) { constant 252 for (const filePath of this.mockfileList) { constant 278 … const filePath = genTemporaryPath(moduleSource.moduleId, moduleSource.projectConfig.projectPath, constant 299 … const filePath = genTemporaryPath(moduleSource.moduleId, moduleSource.projectConfig.projectPath, constant 320 … const filePath = genTemporaryPath(moduleSource.moduleId, moduleSource.projectConfig.projectPath, constant 340 … const filePath = genTemporaryPath(moduleSource.moduleId, moduleSource.projectConfig.projectPath, constant [all …]
|
| /developtools/packing_tool/packing_tool/frameworks/test/unittest/zip_utils_test/ |
| D | zip_utils_test.cpp | 73 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/packing_tool/packing_tool/frameworks/test/unittest/json/json_utils_test/ |
| D | json_utils_test.cpp | 93 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/ |
| D | id_defined_parser.cpp | 86 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()
|
| D | translatable_parser.cpp | 67 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()
|
| D | file_entry.cpp | 51 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/ |
| D | hap_packager.cpp | 131 const std::string filePath = it->second; in IsVerifyValidInHapCommonMode() local 149 const std::string filePath = it->second; in IsVerifyValidInHapCommonMode() local 176 const std::string filePath = it->second; in IsVerifyValidInHapMode() local 197 const std::string filePath = it->second; in IsVerifyValidInHapMode() local 224 const std::string filePath = it->second; in IsValidRpcid() local 241 const std::string filePath = it->second; in IsValidPackInfo() local 402 const std::string filePath = it->second; in CheckPkgContext() local 601 fs::path filePath = fs::path(it->second); in AddParamFileToZip() local 664 fs::path filePath = fs::path(it->second); in AddPkgAndBinFileToZipForStageMaode() local
|
| D | hsp_packager.cpp | 112 const std::string filePath = it->second; in IsVerifyValidInHspCommonMode() local 122 const std::string filePath = it->second; in IsVerifyValidInHspCommonMode() local 137 const std::string filePath = it->second; in IsVerifyValidInHspMode() local 411 const std::string filePath = it->second; in CheckPkgContext() local 440 fs::path filePath = fs::path(it->second); in CompressHspModePartSecond() local 501 fs::path filePath = fs::path(it->second); in CompressHspModePartFourth() local
|
| D | utils.cpp | 50 std::string Utils::GetFileContent(const std::string filePath) in GetFileContent() 93 int64_t Utils::GetFileLength(const std::string filePath) in GetFileLength() 171 std::string Utils::GetSha256File(const std::string &filePath) in GetSha256File() 200 std::string Utils::GetSha256Folder(const std::string &filePath) in GetSha256Folder() 259 std::string filePath = dir; in GetFilePathByDir() local 301 std::string filePath = GetFilePathByDir(dir, dirInfo->d_name); in ForceRemoveDirectory() local 370 bool Utils::CheckFileName(const std::string& filePath, const std::string& fileName) in CheckFileName() 379 bool Utils::CheckFileSuffix(const std::string& filePath, const std::string& suffix) in CheckFileSuffix() 472 std::string filePath = fsPath.parent_path().string(); in GetRealPathOfNoneExistFile() local
|
| D | unzip_wrapper.cpp | 65 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/ |
| D | FileUtils.java | 59 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() 444 String filePath = entry.getName(); in getProfileJson() local 543 String filePath = destDirPath + File.separator + entry.getName(); in unzipFile() local 566 private static void extractFile(ZipInputStream zipInputStream, String filePath) { in extractFile() 600 public static long getFileSize(String filePath) { in getFileSize()
|
| D | BinaryTool.java | 44 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/ |
| D | packager.cpp | 76 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/ |
| D | file_utils.cpp | 40 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/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
| D | utilities_test.cpp | 641 std::string filePath = TEST_PATH + "hiprofiler_cfg.json"; variable 653 std::string filePath = TEST_PATH + "hiprofiler_cfg22.json"; variable 665 std::string filePath = TEST_PATH + "hiprofiler_cfg.json"; variable 677 std::string filePath = TEST_PATH +"hiprofiler_cfg_2.json"; variable
|
| /developtools/ace_ets2bundle/compiler/src/interop/src/ |
| D | import_path_expand.ts | 30 filePath: string, property 90 for (const [filePath, info] of importMap.entries()) { constant 109 const { filePath, isDefault, exportName } = resolved; constant 202 const filePath: string = path.normalize(decl.getSourceFile().fileName); constant
|
| /developtools/ace_ets2bundle/compiler/src/ |
| D | import_path_expand.ts | 30 filePath: string, property 90 for (const [filePath, info] of importMap.entries()) { constant 109 const { filePath, isDefault, exportName } = resolved; constant 202 const filePath: string = path.normalize(decl.getSourceFile().fileName); constant
|
| /developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/ |
| D | ark_utils.test.ts | 153 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 507 …const filePath = '/mnt/application/entry/build/default/cache/default/default@CompileArkTS/esmodule… constant
|
| /developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/class_mock/ |
| D | module_mode_mock.ts | 51 for (const filePath of mockFileList) { constant 62 for (const filePath of rollupObject.getModuleIds()) { constant 240 for (const filePath of mockFileList) { constant
|
| /developtools/ace_js2bundle/ace-loader/plugin/templater/ |
| D | index.js | 30 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/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | FileUtils.java | 256 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/smartperf_host/smartperf_host/trace_streamer/src/filter/perf_filter/ |
| D | perf_data_filter.cpp | 28 …ataFilter::AppendPerfFiles(uint64_t fileId, uint32_t serial, DataIndex symbols, DataIndex filePath) in AppendPerfFiles() 63 auto filePath = traceDataCache_->GetPerfFilesData()->FilePaths(); in Finish() local
|
| /developtools/ace_ets2bundle/koala-wrapper/src/arkts-api/static/ |
| D | global.ts | 24 public static filePath: string = "./plugins/input/main.sts" property in global
|