Home
last modified time | relevance | path

Searched refs:process (Results 1 – 25 of 256) sorted by relevance

1234567891011

/developtools/ace_js2bundle/ace-loader/
Dwebpack.rich.config.js31 let watchMode = (process.env.watchMode && process.env.watchMode === 'true') || false
192 if (process.env.aceModuleJsonPath || env.aceModuleJsonPath) {
193 process.env.compileMode = 'moduleJson';
195 process.env.error = env.error === undefined ? true : env.error
196 process.env.warning = env.warning === undefined ? true : env.warning
197 process.env.note = env.note === undefined ? true : env.note
198 process.env.buildMode = env.buildMode || 'debug'
199 process.env.logLevel = env.logLevel || '1'
200 process.env.isPreview = env.isPreview || false
201 process.env.projectPath = env.aceModuleRoot || process.env.aceModuleRoot || process.cwd();
[all …]
Dwebpack.lite.config.js28 process.env.DEVICE_LEVEL = 'lite';
29 process.env.DEVICE_TYPE = 'smartVision';
31 const watchMode = (process.env.watchMode && process.env.watchMode === 'true') || false;
32 const pictrueSwitch = process.env.img2bin !== 'false';
114 process.env.error = env.error === undefined ? true : env.error
115 process.env.warning = env.warning === undefined ? true : env.warning
116 process.env.note = env.note === undefined ? true : env.note
117 process.env.buildMode = env.buildMode || 'debug'
118 process.env.logLevel = env.logLevel || '1'
119 process.env.projectPath = env.aceModuleRoot || process.env.aceModuleRoot || process.cwd();
[all …]
Dmain.product.js99 const aceSuperVisualPath = process.env.aceSuperVisualPath || '';
116 if (process.env.aceModuleJsonPath && fs.existsSync(process.env.aceModuleJsonPath)) {
117 const moduleJsonConfig = JSON.parse(fs.readFileSync(process.env.aceModuleJsonPath).toString());
120 process.env.DEVICE_LEVEL = 'card';
121 } else if (validateCardModule(moduleJsonConfig) && !process.env.compileCardModule) {
122 process.env.compileCardModule = true;
124 `DEVICE_LEVEL=card aceModuleRoot=${process.env.projectPath} ` +
125 …`aceModuleJsonPath=${process.env.aceModuleJsonPath} aceProfilePath=${process.env.aceProfilePath} `…
126 `watchMode=${process.env.watchMode} cachePath=${process.env.cachePath} ` +
127 `aceModuleBuild=${process.env.buildPath}`;
[all …]
Dmodule-source.js68 copyResource(path.resolve(__dirname, './plugin/templater'), process.argv[2] + '/templater');
69 copyResource(path.resolve(__dirname, './plugin/theme'), process.argv[2] + '/theme');
70 copyResource(path.resolve(__dirname, './plugin/codegen'), process.argv[2] + '/codegen');
71 copyResource(path.resolve(__dirname, './third_party/weex-loader/deps/weex-scripter'), process.argv[…
72 copyResource(path.resolve(__dirname, './third_party/weex-loader/deps/weex-styler'), process.argv[2]…
73 copyResource(path.resolve(__dirname, './third_party/parse5/packages/parse5/dist/cjs'), process.argv…
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/common/
Dgen_abc.ts20 import process from 'process';
43 process.send({ data: e.toString() });
44 process.exit(FAIL);
69 process.send({ data: e.toString() });
70 process.exit(FAIL);
76 process.stderr.write = function(chunk) {
81 process.send({
88 if (cluster.isWorker && process.env['inputs'] !== undefined && process.env['cmd'] !== undefined &&
89 process.env['mode'] !== undefined) {
90 if (process.env['mode'] === JSBUNDLE) {
[all …]
/developtools/ace_ets2bundle/compiler/src/
Dgen_module_abc.ts17 import * as process from 'process';
36 let filePath: string = path.join(process.env.cachePath, workerFileName);
54 process.exit(FAIL);
60 logger.debug('worker data is: ', JSON.stringify(process.env));
62 if (cluster.isWorker && process.env['inputs'] !== undefined && process.env['cmd'] !== undefined
63 && process.env['workerFileName'] !== undefined && process.env['cachePath'] !== undefined) {
65 js2abcByWorkers(process.env['inputs'], process.env['cmd'], process.env['workerFileName']);
66 process.exit(SUCCESS);
Dgen_abc.ts17 import * as process from 'process';
41 process.exit(FAIL);
48 logger.debug('worker data is: ', JSON.stringify(process.env));
50 if (cluster.isWorker && process.env['inputs'] !== undefined && process.env['cmd'] !== undefined) {
52 js2abcByWorkers(process.env['inputs'], process.env['cmd']);
53 process.exit(SUCCESS);
Dmanage_workers.ts18 import process from "process";
27 if (process.env['arkEnvParams'] === undefined) {
28 process.exit(FAIL);
31 let arkEnvParams = JSON.parse(process.env.arkEnvParams);
33 process.exit(FAIL);
44 const currentNodeVersion: number = parseInt(process.version.split('.')[0]);
78 process.exit(FAIL);
Dgen_abc_plugin.ts19 import process from 'process';
179 process.exitCode = FAIL;
186 process.exitCode = FAIL;
212 if (projectConfig.compileMode === JSBUNDLE && process.env.minPlatformVersion) {
217 cachedJson.minAPIVersion = process.env.minPlatformVersion;
274 if (isTs2Abc(projectConfig) || process.env.minPlatformVersion === "8") {
287 if (process.env.watchMode !== 'true') {
323 …tryPath: string = genTemporaryPath(fakeEntryPath, projectConfig.projectPath, process.env.cachePath,
467 const CACHED_SOURCEMAPS: string = path.join(process.env.cachePath, SOURCEMAPS_JSON);
480 const CACHED_MODULELIST_FILE: string = path.join(process.env.cachePath, MODULELIST_JSON);
[all …]
Dgen_merged_abc.ts20 import * as process from 'process';
59 const filesInfoPath: string = path.join(process.env.cachePath, FILESINFO_TXT);
71 const npmEntriesInfoPath: string = path.join(process.env.cachePath, NPMENTRIES_TXT);
107 const filesInfoPath: string = path.join(process.env.cachePath, FILESINFO_TXT);
108 const npmEntriesInfoPath: string = path.join(process.env.cachePath, NPMENTRIES_TXT);
109 const cacheFilePath: string = path.join(process.env.cachePath, MODULES_CACHE);
137 if (process.env.watchMode === 'true') {
144 process.exit(FAIL);
150 process.exit(FAIL);
165 process.env.abcCompileSuccess = 'false';
[all …]
/developtools/ace_js2bundle/ace-loader/src/
DgenAbc-plugin.js19 const process = require('process'); constant
85 process.exitCode = FAIL;
90 process.exitCode = FAIL;
114 process.env.DEVICE_LEVEL === 'card' && process.env.configOutput && !checkI18n(key)) {
132 if (isTs2Abc() || process.env.minPlatformVersion === "8") {
142 const outI18nPath = path.resolve(process.env.configOutput, key);
143 const projectI18nPath = outI18nPath.replace(output, process.env.projectPath);
145 path.resolve(__dirname, process.env.projectPath, 'i18n')) > -1) {
182 if (process.env.cachePath) {
185 cacheOutputPath = path.join(process.env.cachePath, TEMPORARY, abilityDir, keyPath);
[all …]
Dcompile-plugin.js47 globalThis["__common_module_cache__${process.env.hashProjectPath}"] =` +
48 ` globalThis["__common_module_cache__${process.env.hashProjectPath}"] || {};`;
55 const cachePath = path.resolve(process.env.cachePath, '.rich_cache');
64 if (module.context.indexOf(process.env.projectPath) >= 0) {
99 if (process.env.isPreview && process.env.aceSoPath &&
113 if (process.env.error === 'false') {
116 if (process.env.warning === 'false') {
119 if (process.env.note === 'false') {
146 return process.env.DEVICE_LEVEL === 'rich' ? `var commonCachedModule =` +
147 ` globalThis["__common_module_cache__${process.env.hashProjectPath}"] ? ` +
[all …]
Dgen-abc.js37 process.exit(FAIL);
42 if (cluster.isWorker && process.env["inputs"] !== undefined && process.env["cmd"] !== undefined) {
43 js2abcByWorkers(process.env["inputs"], process.env["cmd"]);
44 process.exit(SUCCESS);
Dmanage-bundle-workers.js18 import process from "process";
22 if (process.env['arkEnvParams'] === undefined) {
23 process.exit(FAIL);
26 let arkEnvParams = JSON.parse(process.env['arkEnvParams']);
31 const currentNodeVersion = parseInt(process.version.split(".")[0]);
58 process.exit(FAIL);
/developtools/ace_ets2bundle/compiler/
Dmain.js51 const staticPreviewPage = process.env.aceStaticPreview;
52 const aceCompileMode = process.env.aceCompileMode || 'page';
54 abilityType: process.env.abilityType || 'page',
76 projectConfig.projectPath = projectConfig.projectPath || process.env.aceModuleRoot ||
77 path.join(process.cwd(), 'sample');
78 projectConfig.buildPath = projectConfig.buildPath || process.env.aceModuleBuild ||
81 projectConfig.manifestFilePath = projectConfig.manifestFilePath || process.env.aceManifestPath ||
83 projectConfig.aceProfilePath = projectConfig.aceProfilePath || process.env.aceProfilePath;
84 …projectConfig.aceModuleJsonPath = projectConfig.aceModuleJsonPath || process.env.aceModuleJsonPath;
86 process.env.aceSuperVisualPath;
[all …]
Drollup.config.js45 process.env.watchMode = (process.env.watchMode && process.env.watchMode === 'true') || 'false';
46 process.env.compileTool = 'rollup';
49 if (process.env.appResource) {
50 readAppResource(process.env.appResource);
52 initArkConfig(process.env, projectConfig);
/developtools/smartperf_host/ide/src/trace/bean/
DAbilityMonitor.ts148 process: string = ''; //processName + processId property in Dma
173 process: string = ''; //processName + processId property in GpuMemory
188 process: string = ''; //processName + processId property in DmaComparison
192 constructor(process: string, value: number) {
193 super(process, value);
194 this.process = process;
199 return new DmaComparison(this.process, value);
206 process: string = ''; //processName + processId property in GpuMemoryComparison
214 constructor(process: string, thread: string, gpuName: string, value: number) {
215 super(process + '' + thread + '' + gpuName, value);
[all …]
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/process/
DTabPaneStartup.test.ts44 process: 'com.ohos.smartperf',
51 process: 'com.ohos.smartperf',
58 process: 'com.ohos.smartperf',
65 process: 'com.ohos.smartperf',
72 process: 'com.ohos.smartperf',
79 process: 'com.ohos.smartperf',
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/cpu/
DTabPaneCpuByProcess.ts52 let process = Utils.PROCESS_MAP.get(e.pid);
53 e.process = process == null || process.length == 0 ? '[NULL]' : process;
60 count.process = ' ';
122 if (cpuByProcessLeftData.process == ' ' || cpuByProcessRightData.process == ' ') {
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/cpu/
DTabPaneCpuByProcess.ts52 let process = Utils.PROCESS_MAP.get(e.pid);
53 e.process = process == null || process.length == 0 ? '[NULL]' : process;
60 count.process = ' ';
122 if (cpuByProcessLeftData.process == ' ' || cpuByProcessRightData.process == ' ') {
/developtools/smartperf_host/trace_streamer/src/filter/
Dprocess_filter.cpp106 TraceStdtype::Process* process = nullptr; in UpdateOrCreateProcessWithName() local
107 std::tie(internalPid, process) = CreateProcessMaybe(pid, 0); in UpdateOrCreateProcessWithName()
108 if (process && name != "" && process->cmdLine_ != name) { in UpdateOrCreateProcessWithName()
109 process->cmdLine_ = std::string(name); in UpdateOrCreateProcessWithName()
115 thread->nameIndex_ = traceDataCache_->GetDataIndex(process->cmdLine_); in UpdateOrCreateProcessWithName()
223 TraceStdtype::Process* process = nullptr; in GetOrCreateInternalPid() local
224 std::tie(internalPid, process) = CreateProcessMaybe(pid, timeStamp); in GetOrCreateInternalPid()
240 auto process = traceDataCache_->GetProcessData(internalPid); in NewProcess() local
242 return std::make_tuple(internalPid, process); in NewProcess()
248 TraceStdtype::Process* process = nullptr; in CreateProcessMaybe() local
[all …]
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/cpu/
DTabPaneSPT.test.ts49 process: '',
62 process: '',
75 process: '',
95 process: '',
115 process: '',
136 process: 'com.ohos.callui 1387',
156 process: 'process',
/developtools/profiler/host/smartperf/trace_streamer/src/filter/
Dprocess_filter.cpp106 TraceStdtype::Process* process = nullptr; in UpdateOrCreateProcessWithName() local
107 std::tie(internalPid, process) = CreateProcessMaybe(pid, 0); in UpdateOrCreateProcessWithName()
108 if (process && process->cmdLine_ != name) { in UpdateOrCreateProcessWithName()
109 process->cmdLine_ = std::string(name); in UpdateOrCreateProcessWithName()
223 TraceStdtype::Process* process = nullptr; in GetOrCreateInternalPid() local
224 std::tie(internalPid, process) = CreateProcessMaybe(pid, timeStamp); in GetOrCreateInternalPid()
240 auto process = traceDataCache_->GetProcessData(internalPid); in NewProcess() local
242 return std::make_tuple(internalPid, process); in NewProcess()
248 TraceStdtype::Process* process = nullptr; in CreateProcessMaybe() local
252 process = traceDataCache_->GetProcessData(internalPid); in CreateProcessMaybe()
[all …]
/developtools/smartperf_host/trace_streamer/src/table/ftrace/
Dprocess_table.cpp127 auto process = wdataCache_->GetProcessData(static_cast<InternalPid>(id)); in Update() local
136 process->cmdLine_.clear(); in Update()
138 process->cmdLine_ = name; in Update()
200 const auto& process = dataCache_->GetConstProcessData(CurrentRow()); in Column() local
210 sqlite3_result_int64(context_, process.pid_); in Column()
213 if (process.cmdLine_.size()) { in Column()
214 …sqlite3_result_text(context_, process.cmdLine_.c_str(), static_cast<int32_t>(process.cmdLine_.leng… in Column()
219 if (process.startT_) { in Column()
220 sqlite3_result_int64(context_, static_cast<int64_t>(process.startT_)); in Column()
225 sqlite3_result_int64(context_, process.switchCount_); in Column()
[all …]
/developtools/profiler/host/smartperf/trace_streamer/src/table/ftrace/
Dprocess_table.cpp127 auto process = wdataCache_->GetProcessData(static_cast<InternalPid>(id)); in Update() local
136 process->cmdLine_.clear(); in Update()
138 process->cmdLine_ = name; in Update()
200 const auto& process = dataCache_->GetConstProcessData(CurrentRow()); in Column() local
210 sqlite3_result_int64(context_, process.pid_); in Column()
213 if (process.cmdLine_.size()) { in Column()
214 …sqlite3_result_text(context_, process.cmdLine_.c_str(), static_cast<int32_t>(process.cmdLine_.leng… in Column()
219 if (process.startT_) { in Column()
220 sqlite3_result_int64(context_, static_cast<int64_t>(process.startT_)); in Column()
225 sqlite3_result_int64(context_, process.switchCount_); in Column()
[all …]

1234567891011