/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();
|
D | manifest-plugin.js | 17 module.exports = function(source, map) { argument 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 | 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;
|
D | process_kit_import.ts | 112 source: string property 142 return this.symbol.source; 162 if (KitInfo.isTSFile() && /.d.ets$/.test(this.symbol.source)) { 165 message: `Identifier '${this.importName}' comes from '${this.symbol.source}' ` + 370 if (this.specifiers.has(symbol.source)) { 371 this.specifiers.get(symbol.source).push(specifier); 373 this.specifiers.set(symbol.source, [specifier]); 437 this.getSpecifiers().forEach((specifiers: SpecificerInfo[], source: string) => { 438 collectKitModules(KitInfo.getCurrentSourcefile(), KitInfo.getCurrentKitName(), source); 461 ts.factory.createStringLiteral(trimSourceSuffix(source)) [all …]
|
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/ |
D | module_source_file.test.ts | 94 if (node.source) { 95 if (node.source.type === ROLLUP_LITERAL_NODE) { 97 … moduleSource.getOhmUrl(this.rollup, node.source.value, importMap[node.source.value]); 137 if (node.source) { 138 if (node.source.type === ROLLUP_LITERAL_NODE) { 140 moduleSource.getOhmUrl(this.rollup, node.source.value, importMap['requestFile']); 181 if (node.source) { 182 if (node.source.type === ROLLUP_LITERAL_NODE) { 184 moduleSource.getOhmUrl(this.rollup, node.source.value, importMap['requestFile']); 222 if (node.source) { [all …]
|
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/ |
D | module_source_file.ts | 63 private source: string | ts.SourceFile; property in ModuleSourceFile 72 constructor(moduleId: string, source: string | ts.SourceFile) { 74 this.source = source; 75 if (typeof this.source !== 'string') { 103 if (ModuleSourceFile.mockConfigInfo[mockedTarget].source) { 104 ModuleSourceFile.mockFiles.push(ModuleSourceFile.mockConfigInfo[mockedTarget].source); 122 let mockFile: string = ModuleSourceFile.mockConfigInfo[originKey].source; 191 static newSourceFile(moduleId: string, source: string | ts.SourceFile) { 192 ModuleSourceFile.sourceFiles.push(new ModuleSourceFile(moduleId, source)); 216 for (const source of ModuleSourceFile.sourceFiles) { constant [all …]
|
/developtools/packing_tool/modulecheck/ |
D | BUILD.gn | 17 source = "app.json" 22 source = "commonEvents.json" 27 source = "customUtds.json" 32 source = "distroFilter.json" 37 source = "forms.json" 42 source = "insightIntent.json" 47 source = "module.json" 52 source = "pages.json" 57 source = "shortcuts.json"
|
/developtools/ace_ets2bundle/compiler/ |
D | build_kitConfigs_file.js | 54 let source = ''; 56 source = statement.moduleSpecifier.getText().replace(/('|")*/g, ''); 59 if (moduleName.replace(/(\.d\.ts|\.d\.ets)$/, '') === source) { 60 source = moduleName; 68 addSymbol(symbol, clause.name.getText(), source, 'default'); 73 addSymbol(symbol, binding.name.getText(), source, 'default'); 75 processNamedImports(binding.elements, symbol, source); 81 function processNamedImports(elements, symbol, source) { argument 86 addSymbol(symbol, name, source, bindingsName); 91 function addSymbol(symbol, name, source, bindings) { argument [all …]
|
/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/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/ace_ets2bundle/compiler/test/ |
D | test.js | 57 const source = content.source; 63 const afterProcess = sourceReplace(source); 65 …transformLog.errors.push(...validateUISyntax(source, afterProcess.content, `${name}.ets`, "?entry"… 67 validateUISyntax(source, afterProcess.content, `${name}.ets`); 109 function sourceReplace(source) { argument 110 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/smartperf_host/ide/src/trace/component/schedulingAnalysis/ |
D | Top20ThreadCpuUsage.ts | 256 let source: any[] = res.get(key) || []; 257 source = source.map((it: any, index: number) => { 276 let arr = source.filter((o) => o.visible === 1); 285 this.setChartConfig(obj, key, source); 286 this.assignmentData(key, source, obj); 292 …private assignmentData(key: string, source: any[], obj: { chart: LitChartColumn; table: LitTable }… 294 this.data = source; 296 this.dataSmall = source; 298 this.dataMid = source; 300 this.dataBig = source; [all …]
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/utils/ |
D | HapUtils.java | 372 public static ByteBuffer sliceBuffer(ByteBuffer source, int targetSize) { in sliceBuffer() argument 373 int limit = source.limit(); in sliceBuffer() 374 int position = source.position(); in sliceBuffer() 381 source.limit(targetLimit); in sliceBuffer() 382 ByteBuffer target = source.slice(); in sliceBuffer() 383 target.order(source.order()); in sliceBuffer() 386 source.position(targetLimit); in sliceBuffer() 387 source.limit(limit); in sliceBuffer() 391 private static ByteBuffer sliceBuffer(ByteBuffer source, int startPos, int endPos) { in sliceBuffer() argument 392 int capacity = source.capacity(); in sliceBuffer() [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/smartperf_host/ide/src/trace/database/data-trafic/ |
D | NativeMemoryDataReceiver.ts | 194 let source = Object.values(obj) as { 205 dataList: source, 207 for (let i = 0, len = source.length; i < len; i++) { 209 source[i].dur = totalNS - source[i].startTime; 211 source[i + 1].heapSize = source[i].heapSize + source[i + 1].heapSize; 212 source[i + 1].density = source[i].density + source[i + 1].density; 213 source[i].dur = source[i + 1].startTime - source[i].startTime; 215 cache.maxSize = Math.max(cache.maxSize, source[i].heapSize); 216 cache.maxDensity = Math.max(cache.maxDensity, source[i].density); 217 cache.minSize = Math.min(cache.minSize, source[i].heapSize); [all …]
|
/developtools/packing_tool/ |
D | BUILD.gn | 36 source = list[0] 43 source = list[1] 50 source = list[2] 57 source = list[4] 63 source = "jar/fastjson-1.2.83.jar"
|
/developtools/ace_js2bundle/ace-loader/src/lite/ |
D | lite-utils.js | 17 return (source) => Object.prototype.toString.call(source) === `[object ${type}]`;
|