Home
last modified time | relevance | path

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

1234567

/developtools/ace_js2bundle/ace-loader/
Dwebpack.rich.config.js31 let watchMode = (process.env.watchMode && process.env.watchMode === 'true') || false
187 if (process.env.aceModuleJsonPath || env.aceModuleJsonPath) {
188 process.env.compileMode = 'moduleJson';
190 process.env.error = env.error === undefined ? true : env.error
191 process.env.warning = env.warning === undefined ? true : env.warning
192 process.env.note = env.note === undefined ? true : env.note
193 process.env.buildMode = env.buildMode || 'debug'
194 process.env.logLevel = env.logLevel || '1'
195 process.env.isPreview = env.isPreview || false
196 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/lib'), process.argv[2] +…
/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';
181 process.exitCode = FAIL;
188 process.exitCode = FAIL;
214 if (projectConfig.compileMode === JSBUNDLE && process.env.minPlatformVersion) {
219 cachedJson.minAPIVersion = process.env.minPlatformVersion;
276 if (isTs2Abc(projectConfig) || process.env.minPlatformVersion === "8") {
289 if (process.env.watchMode !== 'true') {
325 …tryPath: string = genTemporaryPath(fakeEntryPath, projectConfig.projectPath, process.env.cachePath,
469 const CACHED_SOURCEMAPS: string = path.join(process.env.cachePath, SOURCEMAPS_JSON);
482 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_ets2bundle/compiler/
Dmain.js48 const staticPreviewPage = process.env.aceStaticPreview;
49 const aceCompileMode = process.env.aceCompileMode || 'page';
51 abilityType: process.env.abilityType || 'page',
67 projectConfig.projectPath = projectConfig.projectPath || process.env.aceModuleRoot ||
68 path.join(process.cwd(), 'sample');
69 projectConfig.buildPath = projectConfig.buildPath || process.env.aceModuleBuild ||
72 projectConfig.manifestFilePath = projectConfig.manifestFilePath || process.env.aceManifestPath ||
74 projectConfig.aceProfilePath = projectConfig.aceProfilePath || process.env.aceProfilePath;
75 …projectConfig.aceModuleJsonPath = projectConfig.aceModuleJsonPath || process.env.aceModuleJsonPath;
77 process.env.aceSuperVisualPath;
[all …]
Drollup.config.js44 process.env.watchMode = (process.env.watchMode && process.env.watchMode === 'true') || 'false';
45 process.env.compileTool = 'rollup';
48 if (process.env.appResource) {
49 readAppResource(process.env.appResource);
51 initArkConfig(process.env, projectConfig);
/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.js36 process.exit(FAIL);
41 if (cluster.isWorker && process.env["inputs"] !== undefined && process.env["cmd"] !== undefined) {
42 js2abcByWorkers(process.env["inputs"], process.env["cmd"]);
43 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/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()
199 TraceStdtype::Process* process = nullptr; in GetOrCreateInternalPid() local
200 std::tie(internalPid, process) = CreateProcessMaybe(pid, timeStamp); in GetOrCreateInternalPid()
216 auto process = traceDataCache_->GetProcessData(internalPid); in NewProcess() local
218 return std::make_tuple(internalPid, process); in NewProcess()
224 TraceStdtype::Process* process = nullptr; in CreateProcessMaybe() local
228 process = traceDataCache_->GetProcessData(internalPid); in CreateProcessMaybe()
[all …]
/developtools/profiler/host/smartperf/ide/test/trace/component/trace/sheet/cpu/
DTabPaneSPT.test.ts43 process: "",
55 process: "",
67 process: "",
85 process: "",
103 process: "",
123 process: "",
142 process: "process",
DTabPanePTS.test.ts42 process: "",
54 process: "",
66 process: "",
84 process: "",
104 process: "",
123 process: "process",
/developtools/profiler/host/smartperf/ide/src/trace/component/setting/
DSpFileSystem.ts105 process: "",
112 systemConfig.process = "ALL"
118 … systemConfig.process = result.toString().replaceAll("(", "").replaceAll(")", "")
120 systemConfig.process = processSelect.value;
244 let process: string[] = lineVal.trim().split(" ");
245 if (process.length == 2) {
246 let processId = process[0]
247 let processName = process[1]
267 let process: string[] = lineVal.trim().split(" ");
268 if (process.length == 2) {
[all …]
DSpAllocations.ts99 let process: string[] = lineVal.trim().split(" ");
100 if (process.length == 2) {
101 let processId = process[0]
102 let processName = process[1]
123 let process: string[] = lineVal.trim().split(" ");
124 if (process.length == 2) {
125 let processId = process[0]
126 let processName = process[1]
DSpVmTracker.ts43 get process():string{ method in SpVmTracker
138 let process: string[] = lineVal.trim().split(" ");
139 if (process.length == 2) {
140 let processId = process[0]
141 let processName = process[1]
162 let process: string[] = lineVal.trim().split(" ");
163 if (process.length == 2) {
164 let processId = process[0]
165 let processName = process[1]
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/
DTabPaneCpuByProcess.ts39 e.process = e.process == null || e.process.length == 0 ? "[NULL]" : e.process
46 count.process = " "
104 if (a.process == " " || b.process == " ") {
/developtools/profiler/host/smartperf/ide/test/trace/bean/
DStateProcessThread.test.ts27 process: "process",
44 process: expect.any(String),
76 process: "process",
94 process: expect.any(String),
132 process: "process",
146 process: expect.any(String),
212 process: "process",
220 process: expect.any(String) }, `
/developtools/profiler/host/smartperf/trace_streamer/src/table/
Dprocess_table.cpp134 auto process = wdataCache_->GetProcessData(static_cast<InternalPid>(id)); in Update() local
143 process->cmdLine_.clear(); in Update()
145 process->cmdLine_ = name; in Update()
207 const auto& process = dataCache_->GetConstProcessData(CurrentRow()); in Column() local
217 sqlite3_result_int64(context_, process.pid_); in Column()
220 if (process.cmdLine_.size()) { in Column()
221 …sqlite3_result_text(context_, process.cmdLine_.c_str(), static_cast<int>(process.cmdLine_.length()… in Column()
226 if (process.startT_) { in Column()
227 sqlite3_result_int64(context_, static_cast<int64_t>(process.startT_)); in Column()
231 sqlite3_result_int64(context_, process.switchCount_); in Column()
[all …]

1234567