| /arkcompiler/ets_runtime/test/aottest/builtinmath/ |
| D | builtinmath.ts | 21 let len:number = 1; variable 22 len = 1 / Math.sqrt(len); 23 print(len); 25 len = 9 / len; 26 len = Math.sqrt(len); 27 print(len); 29 len = Math.sqrt(NaN); 30 print(len); 32 len = Math.sqrt(+0); // 0 33 print(len); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Pow/ |
| D | builtinMathPow.ts | 18 let len:number = 1; 22 len = Math.pow(); 23 print(len); //: NaN 27 len = Math.pow(0); 28 print(len); //: NaN 32 len = Math.pow(2, 4, 6); 33 print(len); //: 16 37 len = Math.pow(2, NaN) 38 print(len) //: NaN 42 len = Math.pow(3, +0.0); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Cos/ |
| D | builtinMathCos.ts | 22 let len:number = 1; variable 25 len = Math.cos(); 27 print(len); //: NaN 30 len = Math.cos(0); 32 print(len); //: 1 35 len = Math.cos(Math.PI / 2); 37 print(len); //: 6.123233995736766e-17 40 len = Math.cos(0, 0); 42 print(len); //: 1 45 len = Math.cos(0, 0, 0); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Atan2/ |
| D | builtinMathAtan2.ts | 22 let len:number = 1; variable 25 len = Math.atan2(); 27 print(len); //: NaN 29 len = Math.atan2(NaN); 31 print(len); //: NaN 33 len = Math.atan2(NaN, NaN); 35 print(len); //: NaN 37 len = Math.atan2(0, NaN); 39 print(len); //: NaN 41 len = Math.atan2(NaN, 0); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Tan/ |
| D | builtinMathTan.ts | 22 let len:number = 1; variable 26 len = Math.tan(); 27 print(len); //: NaN 30 len = Math.tan(NaN); 31 print(len); //: NaN 35 len = Math.tan(0); 36 print(len); //: 0 40 len = Math.tan(-1); 41 print(len); //: -1.5574077246549023 45 len = Math.tan(1); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Atanh/ |
| D | builtinMathAtanh.ts | 22 let len:number = 1; variable 25 len = Math.atanh(); 27 print(len); //: NaN 29 len = Math.atanh(NaN); 31 print(len); //: NaN 34 len = Math.atanh(0); 36 print(len); //: 0 39 len = Math.atanh(0.5); 41 print(len); //: 0.5493061443340548 44 len = Math.atanh(-1); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/check_dump/ |
| D | check_dump.ts | 21 let len = 0; variable 25 len = Math.cos(1); 26 print(len); 30 len = Math.sin(0); // 0 31 print(len); 32 len = Math.sin(1); // 0.84 33 print(len); 34 len = Math.sin(Math.PI / 2); 35 print(len); 39 len = Math.sin(1) [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Sin/ |
| D | builtinMathSin.ts | 22 let len:number = 1; variable 25 len = Math.sin(); 27 print(len); //: NaN 30 len = Math.sin(0); 32 print(len); //: 0 35 len = Math.sin(Math.PI / 2); 37 print(len); //: 1 40 len = Math.sin(0,0); 42 print(len); //: 0 45 len = Math.sin(0,0,0); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Cosh/ |
| D | builtinMathCosh.ts | 22 let len:number = 1; variable 25 len = Math.cosh(); 27 print(len); //: NaN 29 len = Math.cosh(NaN); 31 print(len); //: NaN 34 len = Math.cosh(0); 36 print(len); //: 1 39 len = Math.cosh(-1); 41 print(len); //: 1.5430806348152437 44 len = Math.cosh(1); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Tanh/ |
| D | builtinMathTanh.ts | 22 let len:number = 1; variable 26 len = Math.tanh(); 27 print(len); //: NaN 30 len = Math.tanh(NaN); 31 print(len); //: NaN 35 len = Math.tanh(0); 36 print(len); //: 0 40 len = Math.tanh(-1); 41 print(len); //: -0.7615941559557649 45 len = Math.tanh(1); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Sinh/ |
| D | builtinMathSinh.ts | 22 let len:number = 1; variable 25 len = Math.sinh(); 27 print(len); //: NaN 29 len = Math.sinh(NaN); 31 print(len); //: NaN 34 len = Math.sinh(0); 36 print(len); //: 0 39 len = Math.sinh(-1); 41 print(len); //: -1.1752011936438014 44 len = Math.sinh(1); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Asinh/ |
| D | builtinMathAsinh.ts | 22 let len:number = 1; variable 25 len = Math.asinh(); 27 print(len); //: NaN 29 len = Math.asinh(NaN); 31 print(len); //: NaN 34 len = Math.asinh(0); 36 print(len); //: 0 39 len = Math.asinh(-1); 41 print(len); //: -0.881373587019543 44 len = Math.asinh(1); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Acosh/ |
| D | builtinMathAcosh.ts | 22 let len:number = 1; variable 25 len = Math.acosh(); 27 print(len); //: NaN 29 len = Math.acosh(NaN); 31 print(len); //: NaN 34 len = Math.acosh(0); 36 print(len); //: NaN 39 len = Math.acosh(-1); 41 print(len); //: NaN 44 len = Math.acosh(1); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Atan/ |
| D | builtinMathAtan.ts | 22 let len:number = 1; variable 25 len = Math.atan(); 27 print(len); //: NaN 29 len = Math.atan(NaN); 31 print(len); //: NaN 34 len = Math.atan(0); 36 print(len); //: 0 39 len = Math.atan(-1); // -PI/4 41 print(len); //: -0.7853981633974483 44 len = Math.atan(1); // PI/4 [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Acos/ |
| D | builtinMathAcos.ts | 22 let len:number = 1; variable 25 len = Math.acos(); 27 print(len); //: NaN 29 len = Math.acos(NaN); 31 print(len); //: NaN 34 len = Math.acos(0); // PI / 2 36 print(len); //: 1.5707963267948966 39 len = Math.acos(-1); // PI 41 print(len); //: 3.141592653589793 44 len = Math.acos(1); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Asin/ |
| D | builtinMathAsin.ts | 22 let len:number = 1; variable 25 len = Math.asin(); 27 print(len); //: NaN 29 len = Math.asin(NaN); 31 print(len); //: NaN 34 len = Math.asin(0); 36 print(len); //: 0 39 len = Math.asin(-1); // -PI/2 41 print(len); //: -1.5707963267948966 44 len = Math.asin(1); // PI/2 [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Imul/ |
| D | builtinMathImul.ts | 36 let len:number = 1; variable 38 len = Math.imul(2, 3) 40 print(len) //: 6 43 len = Math.imul(); 45 print(len); //: 0 48 len = Math.imul(0); 50 print(len); //: 0 53 len = Math.imul(2, 4, 6); 55 print(len); //: 8 58 len = Math.imul(2, NaN) [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/03.numeric_operator_contexts/unary_numeric_promotion/ |
| D | array_creation.params.yaml | 16 - { type: byte, val: 42, len: 42 } 17 - { type: short, val: '0xff', len: 255 } 18 - { type: char, val: "c'A'", len: 65 } 19 - { type: Byte, val: new Byte(3 as byte), len: 3 } 20 - { type: Short, val: new Short(0x1ff as short), len: 511 } 21 - { type: Char, val: new Char(c' '), len: 32 } 22 - { type: Int, val: new Int(128), len: 128 } 23 - { type: float, val: 10.0, len: 10 } 24 - { type: double, val: 20.0, len: 20 } 25 - { type: Float, val: new Float(1.0 as float), len: 1 } [all …]
|
| D | array_access.params.yaml | 16 - { type: byte, val: 42, len: 42 } 17 - { type: short, val: '0xff', len: 255 } 18 - { type: char, val: "c'B'", len: 66 } 19 - { type: Byte, val: new Byte(127 as byte), len: 127 } 20 - { type: Short, val: new Short(0x1ff as short), len: 511 } 21 - { type: Char, val: new Char(c'\u0200'), len: 512 } 22 - { type: Int, val: new Int(129), len: 129 } 23 - { type: float, val: 10.0, len: 10 } 24 - { type: double, val: 20.0, len: 20 } 25 - { type: Float, val: new Float(1.0 as float), len: 1 } [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/js/lexicalEnv/forUpdate/ |
| D | for-update-continue-break-body-decl-body-outer-expected.txt | 1 check enter loop, len == 6: true 2 check enter loop, len == 6: true 3 check enter loop, len == 6: true 4 check enter loop, len == 6: true 5 check enter loop, len == 6: true 6 check exit loop, len == 6: true
|
| D | for-update-continue-break-head-decl-head-body-outer-expected.txt | 1 check enter loop, len == 6: true 2 check enter loop, len == 6: true 3 check enter loop, len == 6: true 4 check enter loop, len == 6: true 5 check enter loop, len == 6: true 6 check exit loop, len == 6: true
|
| D | for-update-continue-break-head-decl-body-outer-expected.txt | 1 check enter loop, len == 6: true 2 check enter loop, len == 6: true 3 check enter loop, len == 6: true 4 check enter loop, len == 6: true 5 check enter loop, len == 6: true 6 check exit loop, len == 6: true
|
| D | for-update-continue-break-body-decl-head-body-outer-expected.txt | 1 check enter loop, len == 6: true 2 check enter loop, len == 6: true 3 check enter loop, len == 6: true 4 check enter loop, len == 6: true 5 check enter loop, len == 6: true 6 check exit loop, len == 6: true
|
| D | for-update-continue-break-head-body-decl-head-body-outer-expected.txt | 1 check enter loop, len == 6: true 2 check enter loop, len == 6: true 3 check enter loop, len == 6: true 4 check enter loop, len == 6: true 5 check enter loop, len == 6: true 6 check exit loop, len == 6: true
|
| /arkcompiler/toolchain/websocket/ |
| D | network.cpp | 37 ssize_t len = 0; in Recv() local 38 while ((len = recv(client, buf + recvLen, totalLen - recvLen, flags)) < 0 && in Recv() 42 if (len <= 0) { in Recv() 43 …LOGE("Recv payload in while failed, len = %{public}ld, errno = %{public}d", static_cast<long>(len)… in Recv() 46 recvLen += static_cast<size_t>(len); in Recv() 65 ssize_t len = send(client, buf + sendLen, totalLen - sendLen, flags); in Send() local 66 if (len <= 0) { in Send() 67 …LOGE("Send Message in while failed, len = %{public}ld, errno = %{public}d", static_cast<long>(len)… in Send() 70 sendLen += static_cast<size_t>(len); in Send() 75 uint64_t NetToHostLongLong(uint8_t* buf, uint32_t len) in NetToHostLongLong() argument [all …]
|