Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 248) sorted by relevance

12345678910

/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/
Dmodule_source_file.ts41 private source: string | ts.SourceFile; property in ModuleSourceFile
46 constructor(moduleId: string, source: string | ts.SourceFile) {
48 this.source = source;
49 if (typeof this.source !== 'string') {
54 static newSourceFile(moduleId: string, source: string | ts.SourceFile) {
55 ModuleSourceFile.sourceFiles.push(new ModuleSourceFile(moduleId, source));
60 for (const source of ModuleSourceFile.sourceFiles) { constant
63 source.processModuleRequest(rollupObject);
65 await source.writeSourceFile();
72 writeFileSyncByNode(<ts.SourceFile>this.source, true, ModuleSourceFile.projectConfig);
[all …]
/developtools/ace_js2bundle/ace-loader/src/
Dresource-reference-script.js17 module.exports = function (source) { argument
22 while (result = ResourceRefReg.exec(source)) {
26 source = source.replace(result[0], resourceId)
36 while (result = SysResourceTypeRefReg.exec(source)) {
41 source = source.replace(result[0], resourceId)
51 while (result = AppResourceTypeRefReg.exec(source)) {
56 source = source.replace(result[0], resourceId)
62 return source
Dmodule-script.js20 module.exports = function(source, map) { argument
21 source = parseRequireModule(source, this.resourcePath);
24 callback(null, source, map)
/developtools/ace_ets2bundle/compiler/src/
Dresult_process.ts37 module.exports = function resultProcess(source: string, map: any): void {
39 source = processSystemApi(source, true, this.resourcePath);
52 source = source.replace(/exports\.default/, 'globalThis.exports.default');
57 generateSourceFilesToTemporary(this.resourcePath, source, map, projectConfig, logger);
61 generateSourceFilesInHar(this.resourcePath, source, '.js', projectConfig);
64 this.callback(null, source, map);
Dresolve_ohm_url.ts12 private source: any; property in OHMResolverPlugin
15 constructor(source = 'resolve', target = 'resolve') {
16 this.source = source;
22 …resolver.getHook(this.source).tapAsync('OHMResolverPlugin', (request, resolveContext, callback) =>…
Dpre_process.ts35 function preProcess(source: string): string {
39 const result: ReplaceResult = sourceReplace(source, this.resourcePath);
41 const log: LogInfo[] = result.log.concat(validateUISyntax(source, newContent,
43 newContent = parseVisual(this.resourcePath, this.resourceQuery, newContent, log, source);
49 return processSystemApi(source, false, this.resourcePath);
Dprocess_har_writejs.ts19 module.exports = function writejsfile(source: string): string {
20 generateSourceFilesInHar(this.resourcePath, source, '.js', projectConfig);
21 return source;
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/
DTabPaneCpuAbility.ts29 private source: Array<SystemCpuSummary> = []; property in TabPaneCpuAbility
63 this.source = filter;
64 this.tbl!.recycleDataSource = this.source;
66 this.source = []
99 this.source = result
101 this.tbl!.recycleDataSource = this.source
103 this.source = []
168 this.source.sort(compare(detail.key, detail.sort, 'string'))
170 this.source.sort(compare(detail.key, detail.sort, 'durationStr'))
172 this.source.sort(compare(detail.key, detail.sort, 'totalLoadStr'))
[all …]
DTabPaneDiskAbility.ts29 private source: Array<SystemDiskIOSummary> = []; property in TabPaneDiskAbility
62 this.source = filter;
63 this.tbl!.recycleDataSource = this.source;
65 this.source = []
105 this.source = result;
109 this.source = [];
191 this.source.sort(compare(detail.key, detail.sort, 'string'))
193 this.source.sort(compare(detail.key, detail.sort, 'durationStr'))
195 this.source.sort(compare(detail.key, detail.sort, 'dataReadStr'))
197 this.source.sort(compare(detail.key, detail.sort, 'dataReadSecStr'))
[all …]
DTabPaneNetworkAbility.ts29 private source: Array<SystemNetworkSummary> = []; property in TabPaneNetworkAbility
63 this.source = filter;
64 this.tbl!.recycleDataSource = this.source;
66 this.source = []
106 this.source = item
108 this.tbl!.recycleDataSource = this.source;
110 this.source = []
182 this.source.sort(compare(detail.key, detail.sort, 'string'))
184 this.source.sort(compare(detail.key, detail.sort, 'durationStr'))
186 this.source.sort(compare(detail.key, detail.sort, 'dataReceivedStr'))
[all …]
DTabPaneLiveProcesses.ts28 private source: Array<LiveProcess> = []; property in TabPaneLiveProcesses
62 this.source = filter;
63 this.tbl!.recycleDataSource = this.source;
65 this.source = []
101 this.source = item
103 this.tbl!.recycleDataSource = this.source;
105 this.source = []
190 this.source.sort(compare(detail.key, detail.sort, 'string'))
192 this.source.sort(compare(detail.key, detail.sort, 'cpuTime'))
194 this.source.sort(compare(detail.key, detail.sort, 'memory'))
[all …]
DTabPaneHistoryProcesses.ts29 private source: Array<ProcessHistory> = []; property in TabPaneHistoryProcesses
63 this.source = filter;
64 this.tbl!.recycleDataSource = this.source;
66 this.source = []
104 this.source = item
106 this.tbl!.recycleDataSource = this.source;
108 this.source = []
207 this.source.sort(compare(detail.key, detail.sort, 'string'))
209 this.source.sort(compare(detail.key, detail.sort, 'cpuTime'))
211 this.source.sort(compare(detail.key, detail.sort, 'alive'))
[all …]
DTabPaneCpuByProcess.ts26 private source: Array<SelectionData> = [] property in TabPaneCpuByProcess
50 this.source = result
53 this.source = [];
54 this.tbl!.recycleDataSource = this.source
126 this.source.sort(compare(detail.key, detail.sort, 'number'))
128 this.source.sort(compare(detail.key, detail.sort, 'string'))
130 this.tbl!.recycleDataSource = this.source;
DTabPaneMemoryAbility.ts28 private source: Array<SystemMemorySummary> = []; property in TabPaneMemoryAbility
62 this.source = filter;
63 this.tbl!.recycleDataSource = this.source;
65 this.source = []
86 this.source = []
177 this.source.push(systemMemorySummary);
179 this.tbl!.recycleDataSource = this.source;
181 this.source = []
257 this.source.sort(compare(detail.key, detail.sort, 'string'))
259 this.source.sort(compare(detail.key, detail.sort, 'durationStr'))
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/ability/
DTabPaneDiskAbility.ts29 private source: Array<SystemDiskIOSummary> = []; property in TabPaneDiskAbility
66 this.source = filter;
67 this.tbl!.recycleDataSource = this.source;
69 this.source = []
109 this.source = result;
113 this.source = [];
195 this.source.sort(compare(detail.key, detail.sort, 'string'))
197 this.source.sort(compare(detail.key, detail.sort, 'durationStr'))
199 this.source.sort(compare(detail.key, detail.sort, 'dataReadStr'))
201 this.source.sort(compare(detail.key, detail.sort, 'dataReadSecStr'))
[all …]
DTabPaneNetworkAbility.ts29 private source: Array<SystemNetworkSummary> = []; property in TabPaneNetworkAbility
67 this.source = filter;
68 this.tbl!.recycleDataSource = this.source;
70 this.source = []
110 this.source = item
112 this.tbl!.recycleDataSource = this.source;
114 this.source = []
186 this.source.sort(compare(detail.key, detail.sort, 'string'))
188 this.source.sort(compare(detail.key, detail.sort, 'durationStr'))
190 this.source.sort(compare(detail.key, detail.sort, 'dataReceivedStr'))
[all …]
DTabPaneCpuAbility.ts29 private source: Array<SystemCpuSummary> = []; property in TabPaneCpuAbility
67 this.source = filter;
68 this.tbl!.recycleDataSource = this.source;
70 this.source = []
103 this.source = result
105 this.tbl!.recycleDataSource = this.source
107 this.source = []
172 this.source.sort(compare(detail.key, detail.sort, 'string'))
174 this.source.sort(compare(detail.key, detail.sort, 'durationStr'))
176 this.source.sort(compare(detail.key, detail.sort, 'totalLoadStr'))
[all …]
DTabPaneLiveProcesses.ts28 private source: Array<LiveProcess> = []; property in TabPaneLiveProcesses
66 this.source = filter;
67 this.tbl!.recycleDataSource = this.source;
69 this.source = []
105 this.source = item
107 this.tbl!.recycleDataSource = this.source;
109 this.source = []
194 this.source.sort(compare(detail.key, detail.sort, 'string'))
196 this.source.sort(compare(detail.key, detail.sort, 'cpuTime'))
198 this.source.sort(compare(detail.key, detail.sort, 'memory'))
[all …]
DTabPaneHistoryProcesses.ts29 private source: Array<ProcessHistory> = []; property in TabPaneHistoryProcesses
67 this.source = filter;
68 this.tbl!.recycleDataSource = this.source;
70 this.source = []
108 this.source = item
110 this.tbl!.recycleDataSource = this.source;
112 this.source = []
211 this.source.sort(compare(detail.key, detail.sort, 'string'))
213 this.source.sort(compare(detail.key, detail.sort, 'cpuTime'))
215 this.source.sort(compare(detail.key, detail.sort, 'alive'))
[all …]
DTabPaneMemoryAbility.ts28 private source: Array<SystemMemorySummary> = []; property in TabPaneMemoryAbility
66 this.source = filter;
67 this.tbl!.recycleDataSource = this.source;
69 this.source = []
90 this.source = []
181 this.source.push(systemMemorySummary);
183 this.tbl!.recycleDataSource = this.source;
185 this.source = []
261 this.source.sort(compare(detail.key, detail.sort, 'string'))
263 this.source.sort(compare(detail.key, detail.sort, 'durationStr'))
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/file-system/
DTabPaneFileSystemDescHistory.ts33 private source: Array<FileSysEvent> = []; property in TabPaneFileSystemDescHistory
58 this.source = [];
61 this.source = this.source.concat(res.data)
64 this.tbl!.recycleDataSource = this.source;
65 this.filterSource = this.source;
79 this.source.map(it => {
92 …this.filterSource = pfv === 0 ? this.source : this.source.filter((it) => it.process === this.proc…
94 …this.filterSource = this.source.filter((it) => it.type == 0 && ( pfv === 0 ? true : it.process ===…
96 …this.filterSource = this.source.filter((it) => it.type == 1 && ( pfv === 0 ? true : it.process ===…
98 …this.filterSource = pfv === 0 ? this.source : this.source.filter((it) => it.process === this.proc…
DTabPaneFileSystemEvents.ts34 private source: Array<FileSysEvent> = []; property in TabPaneFileSystemEvents
59 this.source = [];
62 this.source = this.source.concat(res.data)
65 this.tbl!.recycleDataSource = this.source;
66 this.filterSource = this.source;
80 this.source.map(it => {
93 …this.filterSource = pfv === 0 ? this.source : this.source.filter((it) => it.process === this.proc…
96 …this.filterSource = this.source.filter((it) => it.type == eventType && ( pfv === 0 ? true : it.pro…
/developtools/packing_tool/modulecheck/
DBUILD.gn17 source = "app.json"
22 source = "commonEvents.json"
27 source = "distroFilter.json"
32 source = "forms.json"
37 source = "module.json"
42 source = "pages.json"
47 source = "shortcuts.json"
/developtools/profiler/host/smartperf/ide/src/trace/database/logic-worker/
DProcedureLogicWorkerCpuState.ts65 let source:Array<CpuState> = [];
74 source.push(cs);
76 source.push(first);
86 source.push(cs);
88 source.push(current);
91 return source;
/developtools/ace_ets2bundle/compiler/test/
Dtest.js44 const source = content.source;
46 const afterProcess = sourceReplace(source);
47 validateUISyntax(source, afterProcess.content, `${name}.ts`);
80 function sourceReplace(source) { argument
81 let content = source;

12345678910