Searched refs:parseInt (Results 1 – 20 of 20) sorted by relevance
| /arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
| D | externFunc.ts | 21 declare function parseInt(s:string):number; 23 parseInt("2"); 24 AssertType(parseInt("2"), "number"); 25 AssertType(parseInt, "{ (string, ?number): number; (string): number; }");
|
| D | discriminantPropertyInference.ts | 39 AssertType(f({ disc: true, cb: s => parseInt(s)}), "any"); 41 AssertType({ disc: true, cb: s => parseInt(s)}, "{ disc: true; cb: (string) => number; }"); 47 cb: s => parseInt(s) 49 AssertType(s => parseInt(s), "(string) => number"); 51 AssertType(parseInt(s), "number"); 52 AssertType(parseInt, "(string, ?union) => number");
|
| /arkcompiler/ets_runtime/tools/circuit_viewer/src/ir/ |
| D | IrViewer.js | 127 if (this.selectPoint_.indexOf(parseInt(nodes[k].ir.id)) >= 0) { 130 this.hideNodeIds_.push(parseInt(nodes[k].ir.id)); 147 let id1 = parseInt(n1.ir.id); 148 let id2 = parseInt(n2.ir.id); 228 let p = parseInt(name.split(",")[0]) - 1; 240 if (this.hideNodeIds_.indexOf(parseInt(n.ir.id)) >= 0) { 262 if (this.hideNodeIds_.indexOf(parseInt(n.ir.id)) >= 0) { 280 return Array.from(levely).sort((a, b) => { return parseInt(a) - parseInt(b) }); 301 if (this.selectPoint_.indexOf(parseInt(k)) >= 0) { 311 if (this.selectPoint_.indexOf(parseInt(inl.fromId)) >= 0) { [all …]
|
| D | IrToPicture.js | 129 let inId = parseInt(i); 323 let ks = Object.keys(levels).sort((a, b) => { return parseInt(a) - parseInt(b) }); 325 k = parseInt(k);
|
| D | LogParser.js | 142 cutPos.sort((a, b) => { return parseInt(a) - parseInt(b) }); 240 let ttt = parseInt(s);
|
| /arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/ |
| D | XTools.js | 39 XTools.CONFIG.NodeColor[k]=parseInt(XTools.CONFIG.NodeColor[k],16); 42 XTools.CONFIG.LineColor[k]=parseInt(XTools.CONFIG.LineColor[k],16);
|
| /arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/ |
| D | X2DFast.js | 96 x1 = parseInt(x1); 97 y1 = parseInt(y1); 98 x2 = parseInt(x2); 99 y2 = parseInt(y2); 177 let intX = parseInt(x); 178 let intY = parseInt(y);
|
| /arkcompiler/ets_runtime/test/moduletest/builtins/ |
| D | builtinsnumber.js | 22 let result = Number.parseInt("16947500000");
|
| D | expect_output.txt | 37 parseInt result = 16947500000
|
| /arkcompiler/ets_runtime/test/moduletest/stubbuilder/ |
| D | stubbuilder.js | 982 var d = parseInt(times / 60 / 60 / 24); 984 var h = parseInt((times / 60 / 60) % 24); 986 var m = parseInt((times / 60) % 60); 988 var s = parseInt(times % 60);
|
| /arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/control/ |
| D | XSelect.js | 141 this.tmpSelect_ = parseInt((y - this.posY_ - this.posH_) / 20);
|
| /arkcompiler/ets_frontend/es2panda/test/ |
| D | test262skiplist-long.txt | 90 built-ins/parseInt/S15.1.2.2_A8.js
|
| D | test262skiplist.txt | 5793 built-ins/BigInt/parseInt/nonexistent.js
|
| /arkcompiler/ets_runtime/ecmascript/ts_types/ |
| D | lib_ark_builtins.d.ts | 425 static parseInt(str: string, radix?: number): number; 1837 declare function parseInt(string: string, radix?: number): number;
|
| /arkcompiler/ets_frontend/ts2panda/src/base/ |
| D | typeSystem.ts | 61 parseInt, enumerator
|
| /arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
| D | builtins_number_test.cpp | 398 HWTEST_F_L0(BuiltinsNumberTest, parseInt) in HWTEST_F_L0() argument
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
| D | cocos_worker_test.js | 8253 if ("#" === e.charAt(0)) return r(parseInt(e.substr(1).replace("x", "0x"))); 11267 t.r = parseInt(e.substr(0, 2), 16) || 0; 11268 t.g = parseInt(e.substr(2, 2), 16) || 0; 11269 t.b = parseInt(e.substr(4, 2), 16) || 0; 11270 const i = parseInt(e.substr(6, 2), 16); 11431 const e = parseInt(t.substr(0, 2), 16) || 0; 11432 const i = parseInt(t.substr(2, 2), 16) || 0; 11433 const s = parseInt(t.substr(4, 2), 16) || 0; 11434 let n = parseInt(t.substr(6, 2), 16); 20493 this.osMainVersion = parseInt(this.osVersion); [all …]
|
| /arkcompiler/ets_frontend/test262/ |
| D | es5_tests.txt | 77 built-ins/BigInt/parseInt/nonexistent.js 4060 built-ins/parseInt/S15.1.2.2_A3.1_T6.js
|
| D | CI_tests.txt | 2531 built-ins/parseInt/S15.1.2.2_A3.1_T6.js
|
| /arkcompiler/ets_frontend/legacy_bin/api8/src/ |
| D | index.js | 2 …parseInt(r,16):-1}function j(e,t){return z(e,!0,t)}function z(t,r,n){for(var i=[],a=!1,o=!1;i.leng…
|