/arkcompiler/ets_runtime/tools/circuit_viewer/src/ |
H A 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);
|
/arkcompiler/runtime_core/tests/fuzztest/getglobalfileinfo_fuzzer/ |
H A D | getglobalfileinfo_fuzzer.cpp | 26 panda::GlobalStat gi = panda::GlobalStat(); in GetGlobalFileInfoFuzzTest() local 27 if (panda::GetGlobalFileInfo(handle, &gi) != 0) { in GetGlobalFileInfoFuzzTest() 48 panda::GlobalStat gi = panda::GlobalStat(); in GetGlobalFileInfoFuzzTest() local 49 if (panda::GetGlobalFileInfo(handle, &gi) != 0) { in GetGlobalFileInfoFuzzTest()
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/control/ |
H A 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, 0x40000000); 42 X2DFast.gi().fillRect(this.posX_ + this.barOff_, this.posY_ + 1, this.posW_ / 3, this.posH_ - 2, 0x40000000);
|
/arkcompiler/runtime_core/tests/fuzztest/gotonextfile_fuzzer/ |
H A D | gotonextfile_fuzzer.cpp | 106 panda::GlobalStat gi = panda::GlobalStat(); in GoToNextFileFuzzTest() local 107 if (panda::GetGlobalFileInfo(zipfile, &gi) != 0) { in GoToNextFileFuzzTest() 110 int entrynum = static_cast<int>(gi.GetNumberOfEntry()); in GoToNextFileFuzzTest()
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/ir/ |
H A 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.type]); 332 X2DFast.gi().drawRect(tx - (this.offx_ + x1) * sw, ty - (this.offy_ + y1) * sh, Math.min(Scr.logicw * sw, w), Math.min(Scr.logich * sh, h), 0xff00ff00, 1); 336 X2DFast.gi().drawText('Loading ' + XTools.PROC_TO.toFixed(1) + '%', 20, Scr.logicw / 2, Scr.logich / 2, 1, 1, 0, -2, -2, 0xff000000); 391 X2DFast.gi().fillRect(dx - 3, dy - 10, n.nameWidth + 6, 20, 0xffffff00); 392 X2DFast.gi() [all...] |
H A D | LogParser.js | 167 let w = X2DFast.gi().getTextWidth(detail, 14); 331 pb.oneBlock.maxDetailWidth = X2DFast.gi().getTextWidth('Empty', 14); 343 let w = X2DFast.gi().getTextWidth(s, 14); 405 pb.oneBlock.maxDetailWidth = X2DFast.gi().getTextWidth('Empty', 14); 417 let w = X2DFast.gi().getTextWidth(s, 14);
|
H A D | IrToPicture.js | 126 nameWidth: X2DFast.gi().getTextWidth(name, 14),
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/ |
H A D | GLFrame.js | 167 static gi() { 192 GLFrame.gi().callbackDropfile(e.dataTransfer.files, e.offsetX, e.offsetY); 241 X2DFast.gi().resetMat();
|
/arkcompiler/runtime_core/libziparchive/tests/ |
H A D | libziparchive_tests.cpp | 539 GlobalStat gi = GlobalStat(); in HWTEST() local 540 if (GetGlobalFileInfo(zipfile, &gi) != 0) { in HWTEST() 544 for (i = 0; i < (int)gi.GetNumberOfEntry(); ++i) { in HWTEST() 554 if ((i + 1) < (int)gi.GetNumberOfEntry()) { in HWTEST() 739 GlobalStat gi = GlobalStat(); in HWTEST() local 740 ASSERT_EQ(GetGlobalFileInfo(zipfile, &gi), ZIPARCHIVE_ERR); in HWTEST()
|
/arkcompiler/runtime_core/static_core/libziparchive/tests/ |
H A D | libziparchive_tests.cpp | 478 GlobalStat gi = GlobalStat(); in TEST() local 479 if (GetGlobalFileInfo(zipfile, &gi) != 0) { in TEST() 483 for (int i = 0; i < (int)gi.GetNumberOfEntry(); ++i) { in TEST() 493 if ((i + 1) < (int)gi.GetNumberOfEntry()) { in TEST()
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/ |
H A D | XShader.js | 21 static gi() {
|
H A D | XTexture.js | 19 static gi() {
|
/arkcompiler/ets_runtime/test/moduletest/regexp/ |
H A D | regexp.js | 98 arr.push(reg10.test('giới')) 306 print(str1.replace(/[^A-Z0-9]+/gi, ''))
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
H A 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, [all...] |