Lines Matching refs:CString
159 CString localName = "foo"; in HWTEST_F_L0()
160 CString exportName = "bar"; in HWTEST_F_L0()
161 CString value = "hello world"; in HWTEST_F_L0()
192 CString exportLocalName = "*default*"; in HWTEST_F_L0()
193 CString exportName = "default"; in HWTEST_F_L0()
194 CString exportValue = "hello world"; in HWTEST_F_L0()
225 CString localName1 = "foo"; in HWTEST_F_L0()
226 CString localName2 = "foo2"; in HWTEST_F_L0()
227 CString localName3 = "foo3"; in HWTEST_F_L0()
228 CString exportName1 = "bar"; in HWTEST_F_L0()
229 CString exportName2 = "bar2"; in HWTEST_F_L0()
230 CString value = "hello world"; in HWTEST_F_L0()
231 CString value2 = "hello world2"; in HWTEST_F_L0()
318 CString recordName = "module_test_module_test_A"; in HWTEST_F_L0()
321 CString baseFileName = MODULE_ABC_PATH "module_test_module_test_A.abc"; in HWTEST_F_L0()
333 CString recordName = "module_test_module_test_A"; in HWTEST_F_L0()
373 CString localName = "foo"; in HWTEST_F_L0()
395 CString key = "module_test_module_test_A"; in HWTEST_F_L0()
412 CString recordName1 = "a"; in HWTEST_F_L0()
413 CString recordName2 = "module_test_module_test_B"; in HWTEST_F_L0()
414 CString baseFileName = MODULE_ABC_PATH "module_test_module_test_B.abc"; in HWTEST_F_L0()
429 CString moduleName = "moduleName"; in HWTEST_F_L0()
452 CString baseFileName = "a.abc"; in HWTEST_F_L0()
465 CString baseFilename = "merge.abc"; in HWTEST_F_L0()
480 CString moduleRecordName = "moduleTest1"; in HWTEST_F_L0()
481 CString moduleRequestName = "@bundle:com.bundleName.test/moduleName/requestModuleName1"; in HWTEST_F_L0()
482 CString result = "com.bundleName.test/moduleName/requestModuleName1"; in HWTEST_F_L0()
483 …CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, pf.get(), baseFilename, mod… in HWTEST_F_L0()
489 …CString newBaseFileName = "/data/storage/el1/bundle/com.bundleName.test/moduleName/moduleName/ets/… in HWTEST_F_L0()
496 CString baseFilename = "merge.abc"; in HWTEST_F_L0()
511 CString moduleRecordName = "moduleTest2"; in HWTEST_F_L0()
512 CString moduleRequestName = "./requestModule.js"; in HWTEST_F_L0()
513 CString result = "requestModule"; in HWTEST_F_L0()
515 …CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, pf.get(), baseFilename, mod… in HWTEST_F_L0()
531 CString baseFilename = "merge.abc"; in HWTEST_F_L0()
546 CString moduleRecordName = "moduleTest3"; in HWTEST_F_L0()
547 CString moduleRequestName = "./secord.js"; in HWTEST_F_L0()
548 CString result = "secord"; in HWTEST_F_L0()
549 CString requestFileName = "secord.abc"; in HWTEST_F_L0()
550 CString entryPoint = in HWTEST_F_L0()
572 CString baseFilename = "merge.abc"; in HWTEST_F_L0()
585 CUnorderedMap<CString, JSPandaFile::JSRecordInfo*> &recordInfo = in HWTEST_F_L0()
586 const_cast<CUnorderedMap<CString, JSPandaFile::JSRecordInfo*>&>(pf->GetJSRecordInfo()); in HWTEST_F_L0()
588 CString moduleRecordName = "node_modules/0/moduleTest4/index"; in HWTEST_F_L0()
589 CString moduleRequestName = "json/index"; in HWTEST_F_L0()
590 CString result = "node_modules/0/moduleTest4/node_modules/json/index"; in HWTEST_F_L0()
595 CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge( in HWTEST_F_L0()
608 CString res1 = "node_modules/0/moduleTest/index"; in HWTEST_F_L0()
609 CString moduleRecordName1 = "node_modules///0//moduleTest/index"; in HWTEST_F_L0()
611 CString res2 = "node_modules/0/moduleTest/index"; in HWTEST_F_L0()
612 CString moduleRecordName2 = "./node_modules///0//moduleTest/index"; in HWTEST_F_L0()
614 CString res3 = "node_modules/0/moduleTest/index"; in HWTEST_F_L0()
615 CString moduleRecordName3 = "../node_modules/0/moduleTest///index"; in HWTEST_F_L0()
617 CString res4 = "moduleTest/index"; in HWTEST_F_L0()
618 CString moduleRecordName4 = "./node_modules/..//moduleTest////index"; in HWTEST_F_L0()
620 CString res5 = "node_modules/moduleTest/index"; in HWTEST_F_L0()
621 CString moduleRecordName5 = "node_modules/moduleTest/index/"; in HWTEST_F_L0()
623 CString normalName1 = PathHelper::NormalizePath(moduleRecordName1); in HWTEST_F_L0()
624 CString normalName2 = PathHelper::NormalizePath(moduleRecordName2); in HWTEST_F_L0()
625 CString normalName3 = PathHelper::NormalizePath(moduleRecordName3); in HWTEST_F_L0()
626 CString normalName4 = PathHelper::NormalizePath(moduleRecordName4); in HWTEST_F_L0()
627 CString normalName5 = PathHelper::NormalizePath(moduleRecordName5); in HWTEST_F_L0()
641 CString inputFileName = "moduleName/ets/pages/index.abc"; in HWTEST_F_L0()
642 CString outFileName = ""; in HWTEST_F_L0()
643 CString res1 = "com.bundleName.test/moduleName/ets/pages/index"; in HWTEST_F_L0()
644 CString entryPoint; in HWTEST_F_L0()
657 CString outRes = "/data/storage/el1/bundle/moduleName1/ets/modules.abc"; in HWTEST_F_L0()
658 CString res2 = "com.bundleName.test/moduleName1/ets/pages/index"; in HWTEST_F_L0()
665 …CString outRes1 = "/data/storage/el1/bundle/com.bundleName.test1/moduleName1/moduleName1/ets/modul… in HWTEST_F_L0()
666 CString res3 = "com.bundleName.test1/moduleName1/ets/pages/index"; in HWTEST_F_L0()
673 CString outRes2 = "/data/storage/el1/bundle/entry/ets/modules.abc"; in HWTEST_F_L0()
674 CString res4 = "com.bundleName.test/entry/ets/mainAbility"; in HWTEST_F_L0()
682 CString res5 = "com.bundleName.test/moduleName/ets/mainAbility"; in HWTEST_F_L0()
691 CString requestName1 = "@bundle:bundleName/moduleName/ets/index"; in HWTEST_F_L0()
694 CString requestName2 = "@ohos:router"; in HWTEST_F_L0()
695 CString requestName3 = "@app:bundleName/moduleName/lib*.so"; in HWTEST_F_L0()
696 CString requestName4 = "@native:system.app"; in HWTEST_F_L0()
697 CString requestName5 = "@xxx:internal"; in HWTEST_F_L0()
700 CString requestName6 = "@package:pkg_modules/.ohpm/json5@2.2.3/pkg_modules/json5/dist/index"; in HWTEST_F_L0()
701 CString requestName7 = "@ohos/common"; in HWTEST_F_L0()
734 CString inputFileName = "moduleName/ets/pages/index.abc"; in HWTEST_F_L0()
735 CString resName1 = "moduleName/ets/pages/"; in HWTEST_F_L0()
736 CString outFileName = PathHelper::ResolveDirPath(inputFileName); in HWTEST_F_L0()
740 CString resName2 = "moduleName\\ets\\pages\\"; in HWTEST_F_L0()
745 CString resName3 = ""; in HWTEST_F_L0()
752 CString inputFileName = "moduleName@nameSpace"; in HWTEST_F_L0()
753 CString res1 = "moduleName"; in HWTEST_F_L0()
758 CString res2 = "moduleName"; in HWTEST_F_L0()
765 CString inputFileName = "bundleName/moduleName@namespace/moduleName"; in HWTEST_F_L0()
766 CString res1 = "moduleName"; in HWTEST_F_L0()
773 CString inputFileName = "@ohos:hilog"; in HWTEST_F_L0()
774 CString res1 = "hilog"; in HWTEST_F_L0()
775 CString outFileName = PathHelper::GetStrippedModuleName(inputFileName); in HWTEST_F_L0()
781 CString inputFileName = "@ohos:hilog"; in HWTEST_F_L0()
782 CString res1 = "ohos"; in HWTEST_F_L0()
783 CString outFileName = PathHelper::GetInternalModulePrefix(inputFileName); in HWTEST_F_L0()
789 CString inputFileName = "json5"; in HWTEST_F_L0()
808 CString inputFileName = "./test"; in HWTEST_F_L0()
811 CString outFileName = ModulePathHelper::RemoveSuffix(inputFileName); in HWTEST_F_L0()
820 CString result = "test"; in HWTEST_F_L0()
848 CString inputPath1 = "com.example.application/entry"; in HWTEST_F_L0()
849 CString res1 = "entry"; in HWTEST_F_L0()
850 CString outFileName1 = ModulePathHelper::GetModuleNameWithPath(inputPath1); in HWTEST_F_L0()
853 CString inputPath2 = "com.example.applicationentry"; in HWTEST_F_L0()
854 CString res2 = ""; in HWTEST_F_L0()
855 CString outFileName2 = ModulePathHelper::GetModuleNameWithPath(inputPath2); in HWTEST_F_L0()
861 CString inputPath1 = "entry"; in HWTEST_F_L0()
862 CString res1 = "/data/storage/el1/bundle/entry/ets/modules.abc"; in HWTEST_F_L0()
863 CString outFileName1 = ModulePathHelper::ConcatPandaFilePath(inputPath1); in HWTEST_F_L0()
866 CString inputPath2 = ""; in HWTEST_F_L0()
867 CString res2 = ""; in HWTEST_F_L0()
868 CString outFileName2 = ModulePathHelper::ConcatPandaFilePath(inputPath2); in HWTEST_F_L0()
871 CString inputPath3 = "entry1"; in HWTEST_F_L0()
872 CString res3 = "/data/storage/el1/bundle/entry1/ets/modules.abc"; in HWTEST_F_L0()
873 CString outFileName3 = ModulePathHelper::ConcatPandaFilePath(inputPath3); in HWTEST_F_L0()
879 CString inputFileName = "test.abc"; in HWTEST_F_L0()
880 CString outFileName = ModulePathHelper::ParseFileNameToVMAName(inputFileName); in HWTEST_F_L0()
881 CString exceptOutFileName = "ArkTS Code:test.abc"; in HWTEST_F_L0()
907 CString pkgName = "entry"; in HWTEST_F_L0()
908 CString path = "/Index"; in HWTEST_F_L0()
909 CString version = "1.0.0"; in HWTEST_F_L0()
910 CString outFileName = ModulePathHelper::ConcatUnifiedOhmUrl("", pkgName, "", path, version); in HWTEST_F_L0()
911 CString exceptOutFileName = "&entry/src/main/Index&1.0.0"; in HWTEST_F_L0()
914 CString path2 = "Index"; in HWTEST_F_L0()
922 CString recordPath = "&entry/ets/"; in HWTEST_F_L0()
923 CString requestName = "test"; in HWTEST_F_L0()
924 …CString outFileName = ModulePathHelper::ConcatImportFileNormalizedOhmurl(recordPath, requestName, … in HWTEST_F_L0()
925 CString exceptOutFileName = "&entry/ets/test&"; in HWTEST_F_L0()
931 CString pkgName = "libentry.so"; in HWTEST_F_L0()
932 CString outFileName = ModulePathHelper::ConcatNativeSoNormalizedOhmurl("", "", pkgName, ""); in HWTEST_F_L0()
933 CString exceptOutFileName = "@normalized:Y&&&libentry.so&"; in HWTEST_F_L0()
939 CString pkgName = "har"; in HWTEST_F_L0()
940 CString path = "Index"; in HWTEST_F_L0()
941 CString version = "1.0.0"; in HWTEST_F_L0()
942 …CString outFileName = ModulePathHelper::ConcatNotSoNormalizedOhmurl("", "", pkgName, path, version… in HWTEST_F_L0()
943 CString exceptOutFileName = "@normalized:N&&&har/Index&1.0.0"; in HWTEST_F_L0()
949 CString inputFileName = "/data/storage/el1/bundle/hsp/ets/modules.abc"; in HWTEST_F_L0()
950 …CString outBaseFileName = "/data/storage/el1/bundle/com.example.application/hsp/hsp/ets/modules.ab… in HWTEST_F_L0()
951 CString entryPoint = "com.example.myapplication/hsp/ets/pages/Index"; in HWTEST_F_L0()
952 …CString res = ModulePathHelper::TransformToNormalizedOhmUrl(instance, inputFileName, outBaseFileNa… in HWTEST_F_L0()
959 CString baseFilename = "merge.abc"; in HWTEST_F_L0()
973 CString requestPath = "@native:system.app"; in HWTEST_F_L0()
974 CString baseFileName = ""; in HWTEST_F_L0()
975 CString recordName = ""; in HWTEST_F_L0()
988 …CString result = ModulePathHelper::TranslateExpressionToNormalized(thread, nullptr, baseFileName, … in HWTEST_F_L0()
1002 CMap<CString, CMap<CString, CVector<CString>>> pkgList; in HWTEST_F_L0()
1003 CMap<CString, CVector<CString>> entryList; in HWTEST_F_L0()
1023 CString requestPath = "har"; in HWTEST_F_L0()
1024 CString baseFileName = "/data/storage/el1/bundle/entry/ets/modules.abc"; in HWTEST_F_L0()
1025 …CString result = ModulePathHelper::TranslateExpressionToNormalized(thread, nullptr, baseFileName, … in HWTEST_F_L0()
1037 CMap<CString, CMap<CString, CVector<CString>>> pkgList; in HWTEST_F_L0()
1038 CMap<CString, CVector<CString>> entryList; in HWTEST_F_L0()
1050 CMap<CString, CString> aliasMap; in HWTEST_F_L0()
1054 CString requestPath = "@ohos/library/src/main/ets/Test"; in HWTEST_F_L0()
1055 CString baseFileName = "/data/storage/el1/bundle/entry/ets/modules.abc"; in HWTEST_F_L0()
1056 …CString result = ModulePathHelper::TranslateExpressionToNormalized(thread, nullptr, baseFileName, … in HWTEST_F_L0()
1063 CString requestPath = "&har/Index&1.0.0"; in HWTEST_F_L0()
1064 CVector<CString> res = ModulePathHelper::SplitNormalizedRecordName(requestPath); in HWTEST_F_L0()
1067 CString emptyStr = ""; in HWTEST_F_L0()
1072 CString importPath = "har/Index"; in HWTEST_F_L0()
1074 CString version = "1.0.0"; in HWTEST_F_L0()
1080 CString bundleName = ""; in HWTEST_F_L0()
1081 CString pkgName = "entry"; in HWTEST_F_L0()
1082 CString path = "/.test/testability/pages/Index"; in HWTEST_F_L0()
1083 CString version = ""; in HWTEST_F_L0()
1084 CString exceptOutUrl = "&entry/.test/testability/pages/Index&"; in HWTEST_F_L0()
1085 …CString res = ModulePathHelper::ConcatPreviewTestUnifiedOhmUrl(bundleName, pkgName, path, version); in HWTEST_F_L0()
1091 CString requestName = "@ohos:hilog"; in HWTEST_F_L0()
1128 CString moduleName = ConvertToString(result.GetTaggedValue()); in HWTEST_F_L0()
1134 CString baseFilename = "merge.abc"; in HWTEST_F_L0()
1148 CString requestPath = "@normalized:N&&&har/Index&1.0.0"; in HWTEST_F_L0()
1149 CString recordName = ""; in HWTEST_F_L0()
1150 CString result = "&har/Index&1.0.0"; in HWTEST_F_L0()
1151 …CString entryPoint = ModulePathHelper::ConcatMergeFileNameToNormalized(thread, pf.get(), baseFilen… in HWTEST_F_L0()
1172 CUnorderedMap<CString, JSPandaFile::JSRecordInfo*> &recordInfo = in HWTEST_F_L0()
1173 const_cast<CUnorderedMap<CString, JSPandaFile::JSRecordInfo*>&>(pf->GetJSRecordInfo()); in HWTEST_F_L0()
1189 CString baseFileName = "modules.abc"; in HWTEST_F_L0()
1191 CString recordName1 = "a"; in HWTEST_F_L0()
1195 CString recordName2 = "b"; in HWTEST_F_L0()
1205 CString recordName3 = "c"; in HWTEST_F_L0()
1247 CString localName = "foo"; in HWTEST_F_L0()
1248 CString exportName = "bar"; in HWTEST_F_L0()
1249 CString value = "hello world"; in HWTEST_F_L0()
1250 CString value2 = "hello world1"; in HWTEST_F_L0()
1275 CString soPath = "@normalized:Y&&&libentry.so&"; in HWTEST_F_L0()
1276 CString moduleName = "entry"; in HWTEST_F_L0()
1277 CString requestName = "@normalized:"; in HWTEST_F_L0()
1290 CString soPath = "@app:com.example.myapplication/entry"; in HWTEST_F_L0()
1291 CString moduleName = "entry"; in HWTEST_F_L0()
1292 CString requestName = "@app:"; in HWTEST_F_L0()
1305 CString bundleName = "com.example.application"; in HWTEST_F_L0()
1306 CString moduleName = "entry"; in HWTEST_F_L0()
1307 …CString expectRes = "/data/storage/el1/bundle/com.example.application/entry/entry/ets/modules.abc"; in HWTEST_F_L0()
1308 CString res = ModulePathHelper::ConcatHspFileNameCrossBundle(bundleName, moduleName); in HWTEST_F_L0()
1314 CString moduleName = "entry"; in HWTEST_F_L0()
1315 CString expectRes = "/data/storage/el1/bundle/entry/ets/modules.abc"; in HWTEST_F_L0()
1316 CString res = ModulePathHelper::ConcatHspFileName(moduleName); in HWTEST_F_L0()
1322 CString baseFileName = "/data/storage/el1/bundle/entry/ets/modules.abc"; in HWTEST_F_L0()
1323 CString recordName = "&har/Index&1.0.0"; in HWTEST_F_L0()
1324 CString requestName = "@normalized:N&&&har/src/main/page/Test&1.0.0"; in HWTEST_F_L0()
1325 CString expectRes = "&har/src/main/page/Test&1.0.0"; in HWTEST_F_L0()
1326 CString exceptBaseFileName = "/data/storage/el1/bundle/entry/ets/modules.abc"; in HWTEST_F_L0()
1327 …CString res = ModulePathHelper::ParseNormalizedOhmUrl(thread, baseFileName, recordName, requestNam… in HWTEST_F_L0()
1335 …CString res2 = ModulePathHelper::ParseNormalizedOhmUrl(thread, baseFileName, recordName, requestNa… in HWTEST_F_L0()
1343 …CString res3 = ModulePathHelper::ParseNormalizedOhmUrl(thread, baseFileName, recordName, requestNa… in HWTEST_F_L0()
1350 …CString res4 = ModulePathHelper::ParseNormalizedOhmUrl(thread, baseFileName, recordName, requestNa… in HWTEST_F_L0()
1356 CString baseFileName = "/data/storage/el1/bundle/entry/ets/modules.abc"; in HWTEST_F_L0()
1357 CString expectRes = "entry"; in HWTEST_F_L0()
1358 CString res = ModulePathHelper::GetModuleNameWithBaseFile(baseFileName); in HWTEST_F_L0()
1369 CString recordName = "com.example.myapplication/library"; in HWTEST_F_L0()
1370 CString expectRes = "com.example.myapplication"; in HWTEST_F_L0()
1371 CString res = ModulePathHelper::GetBundleNameWithRecordName(instance, recordName); in HWTEST_F_L0()
1374 CMap<CString, CMap<CString, CVector<CString>>> list; in HWTEST_F_L0()
1375 CMap<CString, CVector<CString>> childList; in HWTEST_F_L0()
1393 CMap<CString, CMap<CString, CVector<CString>>> pkgList; in HWTEST_F_L0()
1394 CMap<CString, CVector<CString>> entryList; in HWTEST_F_L0()
1412 CMap<CString, CVector<CString>> ohosTestList; in HWTEST_F_L0()
1424 CString inputFileName = "/data/storage/el1/bundle/entry/ets/modules.abc"; in HWTEST_F_L0()
1425 CString outBaseFileName = ""; in HWTEST_F_L0()
1426 CString entryPoint = "ENTRY_MAIN_FUNCTION"; in HWTEST_F_L0()
1427 …CString res = ModulePathHelper::TransformToNormalizedOhmUrl(instance, inputFileName, outBaseFileNa… in HWTEST_F_L0()
1449 CString baseFilename = "merge.abc"; in HWTEST_F_L0()
1463 CString baseFileName = "/data/storage/el1/bundle/entry/ets/modules.abc"; in HWTEST_F_L0()
1464 CString requestName = "ets/Test"; in HWTEST_F_L0()
1465 CString recordName = "com.example.myapplication/entry/ets/pages/Index"; in HWTEST_F_L0()
1466 CString expectRes = "com.example.myapplication/entry/ets/Test"; in HWTEST_F_L0()
1467 …CString result = ModulePathHelper::TranslateExpressionInputWithEts(thread, pf.get(), baseFileName,… in HWTEST_F_L0()
1476 CString moduleName = "testModule"; in HWTEST_F_L0()
1493 std::set<CString> increaseModule; in HWTEST_F_L0()
1514 std::set<CString> decreaseModule; in HWTEST_F_L0()
1560 CString recordName2 = "testModule"; in HWTEST_F_L0()
1567 CString moduleName1; in HWTEST_F_L0()
1568 CString recordName1; in HWTEST_F_L0()
1591 CString baseFileName = "modules.abc"; in HWTEST_F_L0()
1593 CString recordName1 = "a"; in HWTEST_F_L0()
1602 CString recordName2 = "b"; in HWTEST_F_L0()
1629 CString baseFileName = "modules.abc"; in HWTEST_F_L0()
1631 CString recordName1 = "a"; in HWTEST_F_L0()
1640 CString recordName2 = "cjs"; in HWTEST_F_L0()
1681 CString baseFileName = "modules.abc"; in HWTEST_F_L0()
1683 CString recordName1 = "a"; in HWTEST_F_L0()
1692 CString recordName2 = "nativeModule"; in HWTEST_F_L0()
1725 CString baseFileName = "modules.abc"; in HWTEST_F_L0()
1727 CString recordName1 = "a"; in HWTEST_F_L0()
1736 CString recordName2 = "b"; in HWTEST_F_L0()