Home
last modified time | relevance | path

Searched refs:moduleType (Results 1 – 24 of 24) sorted by relevance

/developtools/ace_ets2bundle/compiler/src/fast_build/system_api/
Drollup-plugin-system-api.ts104 const moduleType: string = item2 || item5; constant
107 const systemModule: string = `${moduleType}.${systemKey}`;
110 const externalModuleParam: string = isExtendModuleType(moduleType) &&
111 moduleType !== ARKUI_X_PLUGIN ? `, false, '', '${moduleType}'` : ``;
113 … item = `var ${systemValue} = ${GLOBAL_THIS_REQUIRE_NATIVE_MODULE}('${moduleType}.${systemKey}')`;
114 } else if (checkModuleType(moduleType)) {
126 function isExtendModuleType(moduleType: string): boolean {
129 if (config.prefix === `@${moduleType}`) {
136 function checkModuleType(moduleType: string): boolean {
139 if (config.prefix === `@${moduleType}`) {
/developtools/global_resource_tool/src/
Dresource_merge.cpp53 ConfigParser::ModuleType moduleType = ConfigParser::ModuleType::NONE; in Init() local
55 inputTypes[moduleType].push_back(resourceDir); in Init()
62 moduleType = configParser.GetModuleType(); in Init()
63 inputTypes[moduleType].push_back(resourceDir); in Init()
/developtools/packing_tool/adapter/ohos/
DHapVerifyInfo.java80 private String moduleType = ""; field in HapVerifyInfo
290 return moduleType; in getModuleType()
296 public void setModuleType(String moduleType) { in setModuleType() argument
297 this.moduleType = moduleType; in setModuleType()
DDistro.java31 public String moduleType = ""; field in Distro
DPackInfo.java39 public String moduleType = ""; field in PackInfo
DModuleAdaption.java136 hapInfo.distro.moduleType = moduleInfo.type; in convertToHapInfo()
DJsonUtil.java192 packInfo.moduleType = getJsonString(tmpObj, MODULE_TYPE); in parseHapList()
193 if (packInfo.moduleType == null || EMPTY.equals(packInfo.moduleType)) { in parseHapList()
194 packInfo.moduleType = getJsonString(tmpObj, MODULE_TYPE_NEW); in parseHapList()
740 distro.moduleType = getJsonString(distroObj, "moduleType"); in getDistro()
DUncompress.java1217 String moduleType = distro.moduleType; in obtainLabelAndIcon() local
1218 if (ENTRY_TYPE.equals(moduleType.toLowerCase(Locale.ENGLISH))) { in obtainLabelAndIcon()
DCompressor.java405 String moduleType = ModuleJsonUtil.parseModuleType(jsonString); in compressHsp() local
406 if (!TYPE_SHARED.equals(moduleType)) { in compressHsp()
429 String moduleType = ModuleJsonUtil.parseModuleType(jsonString); in compressHap() local
430 if (TYPE_SHARED.equals(moduleType)) { in compressHap()
DModuleJsonUtil.java754 String moduleType = distroObj.getString(MODULE_TYPE); in parseFaEntry() local
755 if (ENTRY.equals(moduleType)) { in parseFaEntry()
/developtools/ace_ets2bundle/compiler/src/
Dgen_module_abc.ts40 const moduleType: string = info.isCommonJs ? 'commonjs' : 'esm'; constant
42 …`${info.tempFilePath};${info.recordName};${moduleType};${toUnixPath(info.sourceFile)};${info.packa…
Dgen_merged_abc.ts63 const moduleType: string = info.isCommonJs ? 'commonjs' : 'esm'; constant
65 …filesInfo += `${info.tempFilePath};${info.recordName};${moduleType};${toUnixPath(sourceFile)};${in…
Dark_utils.ts194 return moduleRequest.replace(REG_SYSTEM_MODULE, (_, moduleType, systemKey) => {
197 moduleRequestStr = moduleRequestCallback(moduleRequest, _, moduleType, systemKey);
202 const systemModule: string = `${moduleType}.${systemKey}`;
218 function moduleRequestCallback(moduleRequest, _, moduleType, systemKey): string {
Dvalidate_ui_syntax.ts1127 function replaceSystemApi(item: string, systemValue: string, moduleType: string, systemKey: string)…
1129 if (NATIVE_MODULE.has(`${moduleType}.${systemKey}`)) {
1130 item = `var ${systemValue} = globalThis.requireNativeModule('${moduleType}.${systemKey}')`;
1131 } else if (moduleType === SYSTEM_PLUGIN || moduleType === OHOS_PLUGIN) {
Dgen_abc_plugin.ts1261 const moduleType: string = 'script'; constant
1264 filesInfo += `${cacheOutputPath};${recordName};${moduleType};${sourceFile};${abcFilePath}\n`;
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/class_mock/
Dmodule_mode_mock.ts64 const moduleType: string = info.isCommonJs ? COMMONJS : ESM; constant
66 … `${info.cacheFilePath};${info.recordName};${moduleType};${info.sourceFile};${info.packageName}\n`;
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/common/
Dgen_abc.ts58 const moduleType: string = info.isCommonJs ? COMMONJS : ESM; constant
59 …content += `${info.cacheFilePath};${info.recordName};${moduleType};${info.sourceFile};${info.packa…
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/entity/
DDatabaseEntity.ets20 public moduleType: String
24 constructor(moduleType: String, timeStamp: number, values: Map<String, String>) {
25 this.moduleType = moduleType;
38 "module='" + this.moduleType + '\'' +
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/base/
DBaseProfilerUtils.ets25 export function createGPData(moduleType: string, values: Map<String, String>): GPData {
27 return new GPData(moduleType, now.getTime(), values)
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/bundle/
Dbundle_mode.ts185 const moduleType: string = 'script'; constant
189 filesInfo += `${cacheFilePath};${recordName};${moduleType};${sourceFile};${abcFilePath}\n`;
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/
Dmodule_mode.ts412 const moduleType: string = info.isCommonJs ? COMMONJS : ESM; constant
413 …filesInfo += `${info.cacheFilePath};${info.recordName};${moduleType};${info.sourceFile};${info.pac…
/developtools/packing_tool/
DREADME_zh.md343 | moduleType | String | module的类型 | NA |
466 | moduleType | String | 标识当前hap的类型 | 对应Stage模型中module结构体中的moduleTyp…
/developtools/ace_js2bundle/ace-loader/src/
DgenAbc-plugin.js631 const moduleType = 'script';
634 filesInfo += `${cacheOutputPath};${recordName};${moduleType};${sourceFile};${abcFilePath}\n`;
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/database/
DDatabaseUtils.ts307 switch (curGPData.moduleType) {