/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/ |
D | XDefine.js | 19 static ReSize(w, h) { argument 20 Scr.width = w; 22 if (Scr.keeplogicworh == 'width') Scr.logich = (Scr.logicw * h) / w; 23 else Scr.logicw = (Scr.logich * w) / h; 25 static setLogicScreenSize(w, h) { argument 26 if (Scr.logicw == w && Scr.width == w && Scr.logich == h && Scr.height == h) 28 Scr.logicw = w; 30 Scr.width = w;
|
D | RightMenu.js | 89 let w = RightMenu.MENUW; 104 e.rect = [x, y, w, 32]; 113 e.rect = [x, y, w, 0]; 114 X2DFast.px2f.drawLine(x, y, x + w, y, 0xff808080, 2); 136 x + w, 151 x + w, 160 RightMenu.DrawGroup(e.group, x + w, y); 165 x + w,
|
D | XTools.js | 21 static InRect(xx, yy, x, y, w, h) { argument 24 if (xx > x + w) return false;
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/ |
D | XTexture.js | 71 this.ximages[rid] = { stat: 1, path: path, tex: texture, w: 1, h: 1 }; property 99 XTexture.pinstance_.ximages[rid].w = image.width; 105 TmpCut(rid, x = 0, y = 0, w = -1, h = -1, ww = 1024, hh = 1024) { argument 108 if (w === -1) w = ww; 114 w: w, property 118 u1: (x + w) / ww, 120 u2: (x + w) / ww, 128 makeCut(rid, x = 0, y = 0, w = -1, h = -1, ww = -1, hh = -1) { argument 129 if (ww === -1) ww = this.ximages[rid].w; 131 if (w === -1) w = ww; [all …]
|
D | XMat4.js | 127 PerspectiveMatrix(n, f, w = -1, h = -1) { argument 128 if (w == -1) w = Scr.logicw; 130 let ret = w / (tan((30 * pi) / 180) * 2); 132 this.mat[0][0] = 2 / w; 142 orthoMat(x, y, w, h) { argument 143 this.move(-w / 2 - x, -h / 2 - y, 0); 144 this.scale(2 / w, -2 / h, 0);
|
D | X2DFast.js | 91 fillRect(x, y, w, h, c = 0xffffffff) { argument 92 this.drawCut(this.whiteCut, x, y, w, h, 0, 0, 0, c); 113 drawRect(x, y, w, h, c = 0xffffffff, lw = 1) { argument 114 this.drawLine(x - lw / 2, y, x + w + lw / 2, y, c, lw); 116 this.drawLine(x + w, y + h, x + w, y, c, lw); 117 this.drawLine(x + w + lw / 2, y + h, x - lw / 2, y + h, c, lw); 159 … pcut.w, 0.0, 0.0, pcut.u1, pcut.v1, m00, m01, m10, m11, m22, m30, m31, this.ridDict[pcut.rid], c, 160 …pcut.w, pcut.h, 0.0, pcut.u2, pcut.v2, m00, m01, m10, m11, m22, m30, m31, this.ridDict[pcut.rid], … 162 …pcut.w, pcut.h, 0.0, pcut.u2, pcut.v2, m00, m01, m10, m11, m22, m30, m31, this.ridDict[pcut.rid], … 189 X2DFast.testTransform(intX, intY, sw, sh, ra, ox, oy, pcut.w, pcut.h); [all …]
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | targetTypeObjectLiteral.ts | 21 let z: { x: number; y: (w:string)=>number;} = { 25 AssertType(w, "string"); 26 AssertType({ x: 12, y: function(w) { return 0; }}, "{ x: number; y: (string) => num… 32 y: function(w) { 34 AssertType(w, "string"); 35 AssertType(function(w) { return 0; }, "(string) => number");
|
D | ES5For-of6.ts | 21 for (let w of []) { 26 let x = [w, v]; 28 AssertType([w, v], "any[]"); 29 AssertType(w, "any");
|
D | avoid.ts | 37 let w:any; variable 38 AssertType(w, "any"); 40 w=f(); // error void fn 41 AssertType(w=f(), "void"); 42 AssertType(w, "any");
|
D | restIntersection.ts | 21 let intersection: { x: number, y: number } & { w: string, z: string }; 25 AssertType(w, "string"); 28 let rest1: { y: number, w: string, z: string }; variable 31 AssertType(w, "string");
|
D | functionExpressionContextualTyping1.ts | 68 let b1: ((s: string, w: boolean) => void) | ((s: string, w: boolean) => string); 71 AssertType(w, "boolean"); 73 AssertType(w, "boolean"); 155 let b6: ((s: string, w: boolean) => void) | ((n: number) => number); 158 AssertType(w, "boolean"); 161 let b7: ((s: string, w: boolean) => void) | ((s: string, w: number) => string); 164 AssertType(w, "boolean"); 166 AssertType(w, "number");
|
D | declFileRegressionTests.ts | 23 let n = { w: null, x: '', y: () => { }, z: 32 }; 25 AssertType({ w: null, x: '', y: () => { }, z: 32 }, "{ w: null; x: string; y: () => void; z: number… 26 AssertType(w, "null");
|
D | TypeGuardWithEnumUnion.ts | 75 let w = x; 76 AssertType(w, "union"); 79 let w: string | string[]; 80 AssertType(w, "union");
|
D | objectSpreadRepeatedNullCheckPerf.ts | 44 readonly w?: string 51 …= undefined && { v: config.v.toString() }, ...config.w !== undefined && { w: config.w.toStr… 296 ...config.w !== undefined && { w: config.w.toString() }, 297 AssertType(config.w !== undefined && { w: config.w.toString() }, "union"); 298 AssertType(config.w !== undefined, "boolean"); 299 AssertType(config.w, "number"); 301 AssertType({ w: config.w.toString() }, "{ w: string; }"); 302 AssertType(w, "string"); 303 AssertType(config.w.toString(), "string"); 304 AssertType(config.w.toString, "(?union) => string"); [all …]
|
D | objectSpread.ts | 696 function genericSpread<T, U>(t: T, u: U, v: T | U, w: T | { s: string }, obj: { x: number }) { 784 let x13 = { ...w }; 786 AssertType({ ...w }, "union"); 787 AssertType(w, "union"); 789 let x14 = { ...w, ...obj }; 791 AssertType({ ...w, ...obj }, "union"); 792 AssertType(w, "union"); 801 let x16 = { ...t, ...w }; 803 AssertType({ ...t, ...w }, "union"); 805 AssertType(w, "union"); [all …]
|
D | genericClasses2.ts | 38 let w = v1.y.a; // should be 'string' variable 39 AssertType(w, "string");
|
D | declarationEmitDestructuring3.ts | 22 function bar([x, z, ...w]) { }
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/ir/ |
D | CanvasInput.js | 19 static SetSafeArea(x, y, w, h) { argument 20 CanvasInput.SAFE_AREA = [x, y, w, h]; 22 static Reset(x, y, w, h, value, cb, cb2, cb3) { argument 23 CanvasInput.SAFE_AREA = [x, y, w, h]; 27 ci.style.width = w + 'px';
|
D | LogParser.js | 163 let w = X2DFast.gi().getTextWidth(detail, 14); 164 if (ir.maxDetailWidth < w) { 165 ir.maxDetailWidth = w; 338 let w = X2DFast.gi().getTextWidth(s, 14); 339 if (pb.oneBlock.maxDetailWidth < w) { 340 pb.oneBlock.maxDetailWidth = w; 412 let w = X2DFast.gi().getTextWidth(s, 14); 413 if (pb.oneBlock.maxDetailWidth < w) { 414 pb.oneBlock.maxDetailWidth = w;
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/control/ |
D | XSelect.js | 32 move(x, y, w, h) { argument 35 this.posW_ = w; 46 let w = this.posW_; 50 this.pm2f_.fillRect(x, y, w, h, this.backgroundColor_); 72 w, 78 this.pm2f_.fillRect(x, y + h + i * 20, w, 20, this.backgroundColor_ + 0x303030);
|
D | XButton.js | 19 constructor(x, y, w, h, name) { argument 21 this.move(x, y, w, h); 31 move(x, y, w, h) { argument 34 this.posW_ = w;
|
/arkcompiler/ets_frontend/es2panda/test/type_extractor/testcases/ |
D | test-type-alias-for-loop-2.ts | 18 type z = w 19 type w = number alias
|
D | test-class-with-abstract-method.ts | 21 w() : number {
|
/arkcompiler/ets_runtime/test/typeinfer/lex_env_var_multiple/ |
D | lex_env_var_multiple.ts | 45 function w():any { 52 return w();
|
/arkcompiler/ets_runtime/test/aottest/closeiterator/ |
D | closeiterator.ts | 17 var { w: [x, y, z] = [1, 2, 3] } = {};
|