Searched refs:parseInt (Results 1 – 25 of 43) sorted by relevance
12
| /arkcompiler/ets_runtime/test/aottest/builtins_number/ |
| D | builtins_number.ts | 19 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/ |
| D | LinterInfo.ts | 27 start: Number.parseInt(infos[1]), 28 end: Number.parseInt(infos[2]),
|
| /arkcompiler/ets_runtime/test/moduletest/builtins/ |
| D | builtinsnumber.js | 22 let result = Number.parseInt("16947500000"); 109 print(Number.parseInt("4294967294")) 110 print(Number.parseInt("2147483648"))
|
| D | expect_output.txt | 49 parseInt result = 16947500000
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/perf/ |
| D | run_test.js | 54 let warmup = parseInt(args[3], 10); 55 let iters = parseInt(args[4], 10);
|
| /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 | 137 let inId = parseInt(i); 331 let ks = Object.keys(levels).sort((a, b) => { return parseInt(a) - parseInt(b) }); 333 k = parseInt(k);
|
| D | LogParser.js | 143 cutPos.sort((a, b) => { return parseInt(a) - parseInt(b) }); 241 let ttt = parseInt(s);
|
| /arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/ |
| D | XTools.js | 40 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/ |
| D | X2DFast.js | 96 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/ |
| D | regressparseInt.js | 15 print(-0 == parseInt("-0"))
|
| /arkcompiler/ets_frontend/ets2panda/linter-4.2/test/ |
| D | limited_stdlib_api.ts | 23 parseInt('4', 10); 93 Number.parseInt('4', 10);
|
| /arkcompiler/ets_runtime/test/aottest/pgo_forof_string/ |
| D | pgo_forof_string.ts | 22 r += parseInt(value)
|
| /arkcompiler/ets_runtime/test/moduletest/regress/ |
| D | regress.js | 183 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/ |
| D | tryldglobalbyname_global_object.ts | 199 print(parseInt); 200 globalThis.parseInt = "parseInt"; 201 print(parseInt); 202 delete globalThis.parseInt; 204 print(parseInt);
|
| D | expect_output.txt | 59 function parseInt() { [native code] } 60 parseInt 61 ReferenceError: parseInt is not defined
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | limited_stdlib_api.ts | 23 parseInt('4', 10); 129 Number.parseInt('4', 10);
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | Global.ets | 31 * 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/ |
| D | number.js | 56 res = Number.parseInt(numObj);
|
| /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_frontend/ets2panda/linter/stats_calculator/src/ |
| D | calculate-stats.ts | 62 const recipeNo = parseInt(defectInfo.ruleDocPath!!.substring(
|
| /arkcompiler/ets_frontend/ets2panda/linter-4.2/stats_calculator/src/ |
| D | calculate-stats.ts | 62 const recipeNo = parseInt(defectInfo.ruleDocPath!!.substring(
|
| /arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/control/ |
| D | XSelect.js | 141 this.tmpSelect_ = parseInt((y - this.posY_ - this.posH_) / 20);
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/test-lists/test262/ |
| D | test262-ignored-JIT.txt | 31 built-ins/parseInt/S15.1.2.2_A8.js
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Double.ets | 551 * 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