Home
last modified time | relevance | path

Searched refs:parseInt (Results 1 – 25 of 43) sorted by relevance

12

/arkcompiler/ets_runtime/test/aottest/builtins_number/
Dbuiltins_number.ts19 print(Number.parseInt(numObj1));
22 print(Number.parseInt(numObj2));
25 print(Number.parseInt(numObj3));
28 print(Number.parseInt(numObj4));
/arkcompiler/ets_frontend/ets2panda/linter/src/utils/functions/
DLinterInfo.ts27 start: Number.parseInt(infos[1]),
28 end: Number.parseInt(infos[2]),
/arkcompiler/ets_runtime/test/moduletest/builtins/
Dbuiltinsnumber.js22 let result = Number.parseInt("16947500000");
109 print(Number.parseInt("4294967294"))
110 print(Number.parseInt("2147483648"))
Dexpect_output.txt49 parseInt result = 16947500000
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/perf/
Drun_test.js54 let warmup = parseInt(args[3], 10);
55 let iters = parseInt(args[4], 10);
/arkcompiler/ets_runtime/tools/circuit_viewer/src/ir/
DIrViewer.js127 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 …]
DIrToPicture.js137 let inId = parseInt(i);
331 let ks = Object.keys(levels).sort((a, b) => { return parseInt(a) - parseInt(b) });
333 k = parseInt(k);
DLogParser.js143 cutPos.sort((a, b) => { return parseInt(a) - parseInt(b) });
241 let ttt = parseInt(s);
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/
DXTools.js40 XTools.CONFIG.NodeColor[k]=parseInt(XTools.CONFIG.NodeColor[k],16);
43 XTools.CONFIG.LineColor[k]=parseInt(XTools.CONFIG.LineColor[k],16);
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/
DX2DFast.js96 x1 = parseInt(x1);
97 y1 = parseInt(y1);
98 x2 = parseInt(x2);
99 y2 = parseInt(y2);
179 let intX = parseInt(x);
180 let intY = parseInt(y);
/arkcompiler/ets_runtime/test/moduletest/regressparseInt/
DregressparseInt.js15 print(-0 == parseInt("-0"))
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test/
Dlimited_stdlib_api.ts23 parseInt('4', 10);
93 Number.parseInt('4', 10);
/arkcompiler/ets_runtime/test/aottest/pgo_forof_string/
Dpgo_forof_string.ts22 r += parseInt(value)
/arkcompiler/ets_runtime/test/moduletest/regress/
Dregress.js183 return Number.parseInt(x + 1);
196 return Number.parseInt(x + 1, 0);
209 return Number.parseInt(x + 1, 10);
222 return Number.parseInt(x + 1, undefined);
/arkcompiler/ets_runtime/test/aottest/tryldglobalbyname_global_object/
Dtryldglobalbyname_global_object.ts199 print(parseInt);
200 globalThis.parseInt = "parseInt";
201 print(parseInt);
202 delete globalThis.parseInt;
204 print(parseInt);
Dexpect_output.txt59 function parseInt() { [native code] }
60 parseInt
61 ReferenceError: parseInt is not defined
/arkcompiler/ets_frontend/ets2panda/linter/test/
Dlimited_stdlib_api.ts23 parseInt('4', 10);
129 Number.parseInt('4', 10);
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DGlobal.ets31 * This function is an equivalent to @link{<Double.parseInt(s, radix)>}
35 export function parseInt(s: String, radix: int): number {
36 return Double.parseInt(s, radix);
42 * This function is an equivalent to @link{<Double.parseInt(s, radix)>}
46 export function parseInt(s: String, radix: number): number {
47 return Double.parseInt(s, radix as int);
53 * This function is an equivalent to @link{<Double.parseInt(s)>}
57 export function parseInt(s: String): number {
58 return Double.parseInt(s);
/arkcompiler/ets_runtime/test/perform/number/
Dnumber.js56 res = Number.parseInt(numObj);
/arkcompiler/ets_runtime/test/moduletest/stubbuilder/
Dstubbuilder.js982 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_frontend/ets2panda/linter/stats_calculator/src/
Dcalculate-stats.ts62 const recipeNo = parseInt(defectInfo.ruleDocPath!!.substring(
/arkcompiler/ets_frontend/ets2panda/linter-4.2/stats_calculator/src/
Dcalculate-stats.ts62 const recipeNo = parseInt(defectInfo.ruleDocPath!!.substring(
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/control/
DXSelect.js141 this.tmpSelect_ = parseInt((y - this.posY_ - this.posH_) / 20);
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/test-lists/test262/
Dtest262-ignored-JIT.txt31 built-ins/parseInt/S15.1.2.2_A8.js
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DDouble.ets551 * parseInt(String, int) parses from String an integer of specified radix
566 …* Implemented as native function, @see `parseInt()` intrinsic [declaration](https://gitee.com/ope…
571 public static native parseInt(s: String, r: int): double;
574 * parseInt(String) parses from String an integer of radix 10
581 public static parseInt(s: String): double {
582 return Double.parseInt(s, 10);

12