/arkcompiler/ets_runtime/tools/circuit_viewer/src/ |
D | index.js | 36 GLFrame.gi().resize(); 39 let pm2f = X2DFast.gi(); 43 MainEditor.gi().onDraw(pm2f); 49 MainEditor.gi().onTouch(msg, x, y); 53 MainEditor.gi().onKey(code); 57 GLFrame.gi().go(canvas, myDraw, myTouch, myKey);
|
D | MainEditor.js | 36 GLFrame.gi().pCallbackDropfile = this.onDrop.bind(this); 69 static gi() { method in MainEditor 76 … X2DFast.gi().drawText("拖入log文件", 30, Scr.logicw / 2, Scr.logich / 2, 1, 1, 0, -2, -2, 0xff000000); 89 X2DFast.gi().fillRect(0, Scr.logich - 5, XTools.PROC_TO * Scr.logicw / 100, 5, 0xffff0000);
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/ |
D | X2DFast.js | 24 static gi() { method in X2DFast 36 this.whiteImg = XTexture.gi().loadTextureFromImage('CUSTOM_TEXTURE_1'); 37 this.whiteCut = XTexture.gi().makeCut(this.whiteImg, 0, 0, 1, 1); 38 XShader.gi(); 179 let pcut = XTexture.gi().allCuts[cid]; 195 let cid = XTexture.gi().getText(s, size); 197 return XTexture.gi().allCuts[cid].w; 201 let cid = XTexture.gi().getText(s, size); 202 return XTexture.gi().allCuts[cid].w; 205 XTexture.gi()._FreshText(); [all …]
|
D | XShader.js | 21 static gi() { method in XShader
|
D | XTexture.js | 19 static gi() { method in XTexture
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/control/ |
D | XScroll.js | 37 X2DFast.gi().fillRect(this.posX_, this.posY_, this.posW_, this.posH_, 0x40808080); 39 …X2DFast.gi().fillRect(this.posX_ + 1, this.posY_ + this.barOff_, this.posW_ - 2, this.posH_ / 3, 0… 42 …X2DFast.gi().fillRect(this.posX_ + this.barOff_, this.posY_ + 1, this.posW_ / 3, this.posH_ - 2, 0…
|
D | XButton.js | 20 this.pm2f_ = X2DFast.gi();
|
D | XSelect.js | 20 this.pm2f_ = X2DFast.gi();
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/ir/ |
D | IrViewer.js | 72 let bw = X2DFast.gi().getTextWidth(bname, 14) + 6; 95 let bw = X2DFast.gi().getTextWidth(bm[0], 14) + 6; 287 X2DFast.gi().fillRect(tx, ty, w, h, 0x80000000); 306 X2DFast.gi().fillRect(tx + (dx - 3) * sw, ty + (dy - 10) * sh, dw, dh, 0xff000000); 325 X2DFast.gi().fillRect(tx + (dx - 3) * sw, ty + (dy - 10) * sh, dw, dh, 0xff000000); 328 …X2DFast.gi().fillRect(tx + (dx - 3) * sw, ty + (dy - 10) * sh, dw, dh, XTools.CONFIG.NodeColor[n.t… 332 …X2DFast.gi().drawRect(tx - (this.offx_ + x1) * sw, ty - (this.offy_ + y1) * sh, Math.min(Scr.logic… 336 …X2DFast.gi().drawText("Loading " + XTools.PROC_TO.toFixed(1) + "%", 20, Scr.logicw / 2, Scr.logich… 391 X2DFast.gi().fillRect(dx - 3, dy - 10, n.nameWidth + 6, 20, 0xffffff00); 392 X2DFast.gi().drawRect(dx - 3, dy - 10, n.nameWidth + 6, 20, 0xff000000, 2); [all …]
|
D | LogParser.js | 163 let w = X2DFast.gi().getTextWidth(detail, 14); 326 pb.oneBlock.maxDetailWidth = X2DFast.gi().getTextWidth("Empty", 14); 338 let w = X2DFast.gi().getTextWidth(s, 14); 400 pb.oneBlock.maxDetailWidth = X2DFast.gi().getTextWidth("Empty", 14); 412 let w = X2DFast.gi().getTextWidth(s, 14);
|
D | IrToPicture.js | 118 nameWidth: X2DFast.gi().getTextWidth(name, 14),
|
/arkcompiler/runtime_core/tests/cts-coverage-tool/lib/ |
D | spec.rb | 236 gi = spec_group['instructions'].find { |x| x['sig'] == test_instr['sig'] } 237 if gi.nil? 241 if gi['non_testable'] 245 gi['tests'] << file
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/ |
D | GLFrame.js | 167 static gi() { method in GLFrame 192 GLFrame.gi().callbackDropfile(e.dataTransfer.files, e.offsetX, e.offsetY); 241 X2DFast.gi().resetMat();
|
/arkcompiler/runtime_core/libziparchive/tests/ |
D | libziparchive_tests.cpp | 539 GlobalStat gi = GlobalStat(); variable 540 if (GetGlobalFileInfo(zipfile, &gi) != 0) { 544 for (i = 0; i < (int)gi.GetNumberOfEntry(); ++i) { 554 if ((i + 1) < (int)gi.GetNumberOfEntry()) { 739 GlobalStat gi = GlobalStat(); variable 740 ASSERT_EQ(GetGlobalFileInfo(zipfile, &gi), ZIPARCHIVE_ERR);
|
/arkcompiler/ets_frontend/legacy_bin/api8/src/ |
D | index.js | 2 …gi(pe(),fe(),void 0,void 0,224);case 98:return kn();case 103:return function(){var t=pe();if(we(10… function
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
D | cocos_worker_test.js | 11196 const gi = t("random", Math.random); 11757 const i = 2 * gi() * Math.PI; 11758 const s = 2 * gi() - 1; 15085 const i = 2 * gi() * Math.PI; 15484 const i = 2 * gi() * Math.PI; 15485 const s = 2 * gi() - 1; 16529 random: gi, 84399 Pi.multiplyScalar(t, t, e + (i - e) * gi()); 84404 Pi.multiplyScalar(t, t, e + (i - e) * gi()); 85336 Pi.add(o, o, Pi.multiplyScalar(Ilt, a, r * gi() / -a.z)); [all …]
|