/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/ |
D | module_source_file.ts | 41 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/ |
D | resource-reference-script.js | 17 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
|
D | module-script.js | 20 module.exports = function(source, map) { argument 21 source = parseRequireModule(source, this.resourcePath); 24 callback(null, source, map)
|
/developtools/ace_ets2bundle/compiler/src/ |
D | result_process.ts | 37 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);
|
D | resolve_ohm_url.ts | 12 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) =>…
|
D | pre_process.ts | 35 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);
|
D | process_har_writejs.ts | 19 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/ |
D | TabPaneCpuAbility.ts | 29 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 …]
|
D | TabPaneDiskAbility.ts | 29 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 …]
|
D | TabPaneNetworkAbility.ts | 29 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 …]
|
D | TabPaneLiveProcesses.ts | 28 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 …]
|
D | TabPaneHistoryProcesses.ts | 29 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 …]
|
D | TabPaneCpuByProcess.ts | 26 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;
|
D | TabPaneMemoryAbility.ts | 28 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/ |
D | TabPaneDiskAbility.ts | 29 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 …]
|
D | TabPaneNetworkAbility.ts | 29 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 …]
|
D | TabPaneCpuAbility.ts | 29 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 …]
|
D | TabPaneLiveProcesses.ts | 28 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 …]
|
D | TabPaneHistoryProcesses.ts | 29 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 …]
|
D | TabPaneMemoryAbility.ts | 28 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/ |
D | TabPaneFileSystemDescHistory.ts | 33 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…
|
D | TabPaneFileSystemEvents.ts | 34 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/ |
D | BUILD.gn | 17 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/ |
D | ProcedureLogicWorkerCpuState.ts | 65 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/ |
D | test.js | 44 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;
|