| /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)
|
| D | manifest-loader.js | 22 function manifestLoader(source) { argument 25 source += ';(exports.default || module.exports).manifest = ' + queryString; 26 return source;
|
| D | cardJson-plugin.js | 49 const source = assets[key].source(); 50 const str = source.match(/card_start((\s||\S)*)card_end/)[1]; 53 elementChange(element, source, jsonOut); 60 source: function () { method 75 function elementChange(element, source, jsonOut) { argument 80 const replaceSource = source.replace(element, '').toString();
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/ |
| D | module_source_file.ts | 49 private source: string | ts.SourceFile; property in ModuleSourceFile 54 constructor(moduleId: string, source: string | ts.SourceFile) { 56 this.source = source; 57 if (typeof this.source !== 'string') { 62 static newSourceFile(moduleId: string, source: string | ts.SourceFile) { 63 ModuleSourceFile.sourceFiles.push(new ModuleSourceFile(moduleId, source)); 72 for (const source of ModuleSourceFile.sourceFiles) { constant 75 await source.processModuleRequest(rollupObject); 77 await source.writeSourceFile(); 95 …await writeFileSyncByNode(<ts.SourceFile>this.source, ModuleSourceFile.projectConfig, ModuleSource… [all …]
|
| /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 | 27 private source: any; property in OHMResolverPlugin 30 constructor(source = 'resolve', target = 'resolve') { 31 this.source = source; 37 …resolver.getHook(this.source).tapAsync('OHMResolverPlugin', (request, resolveContext, callback) =>…
|
| D | pre_process.ts | 36 function preProcess(source: string): string { 41 const result: ReplaceResult = sourceReplace(source, this.resourcePath); 43 const log: LogInfo[] = result.log.concat(validateUISyntax(source, newContent, 45 newContent = parseVisual(this.resourcePath, this.resourceQuery, newContent, log, source); 51 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;
|
| D | process_source_file.ts | 24 module.exports = function processSourcefile(source: string): string { 27 writeFileSyncByString(this.resourcePath, source, projectConfig, logger); 29 return source;
|
| /developtools/profiler/hiebpf/src/ |
| D | utilities.cpp | 37 std::vector<std::string> StringSplit(std::string source, const std::string &split) in StringSplit() argument 44 while ((pos = source.find(split)) != std::string::npos) { in StringSplit() 46 std::string token = source.substr(0, pos); in StringSplit() 50 source.erase(0, pos + split.length()); in StringSplit() 54 if (!source.empty()) { in StringSplit() 55 result.push_back(source); in StringSplit()
|
| /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/smartperf_host/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/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/profiler/host/smartperf/ide/src/trace/component/metrics/ |
| D | TraceStatsStrategy.ts | 22 source: string; 30 let sources = metricData[sqlIndex].source; 35 source: sources, 52 source: string; property
|
| /developtools/smartperf_host/ide/src/trace/component/metrics/ |
| D | TraceStatsStrategy.ts | 22 source: string; 30 let sources = metricData[sqlIndex].source; 35 source: sources, 52 source: string; property
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | HapUtils.java | 368 public static ByteBuffer sliceBuffer(ByteBuffer source, int targetSize) { in sliceBuffer() argument 369 int limit = source.limit(); in sliceBuffer() 370 int position = source.position(); in sliceBuffer() 377 source.limit(targetLimit); in sliceBuffer() 378 ByteBuffer target = source.slice(); in sliceBuffer() 379 target.order(source.order()); in sliceBuffer() 382 source.position(targetLimit); in sliceBuffer() 383 source.limit(limit); in sliceBuffer() 387 private static ByteBuffer sliceBuffer(ByteBuffer source, int startPos, int endPos) { in sliceBuffer() argument 388 int capacity = source.capacity(); in sliceBuffer() [all …]
|
| /developtools/ace_ets2bundle/compiler/test/ |
| D | test.js | 51 const source = content.source; 54 const afterProcess = sourceReplace(source); 55 validateUISyntax(source, afterProcess.content, `${name}.ets`); 100 function sourceReplace(source) { argument 101 let content = source;
|
| D | test.ts | 40 const source: string = content.source; constant 42 const afterProcess = sourceReplace(source); 43 validateUISyntax(source, afterProcess, `${name}.ts`);
|
| /developtools/profiler/host/smartperf/trace_streamer/gn/toolchain/ |
| D | BUILD.gn | 75 …{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} ${external_cflags} -c {{source}} -o {{output}}" 79 description = "step: compile {{source}}" 84 …rs}} {{cflags}} {{cflags_cc}} ${external_cflags} ${external_cxxflags} -c {{source}} -o {{output}}" 89 description = "step: compile {{source}}" 130 description = "step: COPY files from {{source}} to {{output}}" 131 command = "cp -arf {{source}} {{output}}" 140 …utput}} -MMD -MF $depfile {{defines}} $pic {{include_dirs}} {{cflags}} {{cflags_cc}} -c {{source}}" 144 description = "step: compile {{source}}" 149 …output}} -MMD -MF $depfile {{defines}} $pic {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}}" 153 description = "step: compile {{source}}" [all …]
|
| /developtools/smartperf_host/trace_streamer/gn/toolchain/ |
| D | BUILD.gn | 75 …{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} ${external_cflags} -c {{source}} -o {{output}}" 79 description = "step: compile {{source}}" 84 …rs}} {{cflags}} {{cflags_cc}} ${external_cflags} ${external_cxxflags} -c {{source}} -o {{output}}" 89 description = "step: compile {{source}}" 130 description = "step: COPY files from {{source}} to {{output}}" 131 command = "cp -arf {{source}} {{output}}" 140 …utput}} -MMD -MF $depfile {{defines}} $pic {{include_dirs}} {{cflags}} {{cflags_cc}} -c {{source}}" 144 description = "step: compile {{source}}" 149 …output}} -MMD -MF $depfile {{defines}} $pic {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}}" 153 description = "step: compile {{source}}" [all …]
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/schedulingAnalysis/ |
| D | Top20ThreadCpuUsage.ts | 251 let source: any[] = res.get(key) || []; 252 source = source.map((it: any, index: number) => { 271 let arr = source.filter((o) => o.visible === 1); 281 data: this.getArrayDataBySize(key, source), 298 let data = source.find((it) => it.no === no); 334 this.data = source; 336 this.dataSmall = source; 338 this.dataMid = source; 340 this.dataBig = source; 343 this.sortByColumn(this.sort[key], obj.table, source); [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/schedulingAnalysis/ |
| D | Top20ThreadCpuUsage.ts | 251 let source: any[] = res.get(key) || []; 252 source = source.map((it: any, index: number) => { 271 let arr = source.filter((o) => o.visible === 1); 281 data: this.getArrayDataBySize(key, source), 298 let data = source.find((it) => it.no === no); 334 this.data = source; 336 this.dataSmall = source; 338 this.dataMid = source; 340 this.dataBig = source; 343 this.sortByColumn(this.sort[key], obj.table, source); [all …]
|
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | utilities.cpp | 31 std::string StringReplace(std::string source, const std::string &from, const std::string &to) in StringReplace() argument 36 while ((pos = source.find(from)) != std::string::npos) { in StringReplace() 38 result.append(source.substr(0, pos) + to); in StringReplace() 39 source.erase(0, pos + from.length()); in StringReplace() 42 result.append(source); in StringReplace() 46 size_t SubStringCount(const std::string &source, const std::string &sub) in SubStringCount() argument 51 return source.size(); in SubStringCount() 53 while ((pos = source.find(sub, pos)) != std::string::npos) { in SubStringCount() 60 std::vector<std::string> StringSplit(std::string source, std::string split) in StringSplit() argument 67 while ((pos = source.find(split)) != std::string::npos) { in StringSplit() [all …]
|
| /developtools/packing_tool/ |
| D | BUILD.gn | 34 source = list[0] 41 source = list[1] 48 source = list[2] 54 source = "jar/fastjson-1.2.83.jar"
|