| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/03.numeric_operator_contexts/binary_numeric_promotion/ |
| D | result_type_bool_n.ets | 24 • If either operand is of type double, the other is converted to double. 25 • Otherwise, if either operand is of type float, the other is converted to float. 26 • Otherwise, if either operand is of type long, the other is converted to long. 27 • Otherwise, both operands are converted to type int.
|
| D | result_type_arith.ets | 24 • If either operand is of type double, the other is converted to double. 25 • Otherwise, if either operand is of type float, the other is converted to float. 26 • Otherwise, if either operand is of type long, the other is converted to long. 27 • Otherwise, both operands are converted to type int.
|
| D | result_type_arith_n.ets | 24 • If either operand is of type double, the other is converted to double. 25 • Otherwise, if either operand is of type float, the other is converted to float. 26 • Otherwise, if either operand is of type long, the other is converted to long. 27 • Otherwise, both operands are converted to type int.
|
| D | result_type_cond.ets | 24 • If either operand is of type double, the other is converted to double. 25 • Otherwise, if either operand is of type float, the other is converted to float. 26 • Otherwise, if either operand is of type long, the other is converted to long. 27 • Otherwise, both operands are converted to type int.
|
| D | result_type_bitwise.ets | 24 • If either operand is of type double, the other is converted to double. 25 • Otherwise, if either operand is of type float, the other is converted to float. 26 • Otherwise, if either operand is of type long, the other is converted to long. 27 • Otherwise, both operands are converted to type int.
|
| D | result_type_bool.ets | 24 • If either operand is of type double, the other is converted to double. 25 • Otherwise, if either operand is of type float, the other is converted to float. 26 • Otherwise, if either operand is of type long, the other is converted to long. 27 • Otherwise, both operands are converted to type int.
|
| /arkcompiler/ets_runtime/ecmascript/base/tests/ |
| D | utf_helper_test.cpp | 286 * @tc.desc: Enter a string of UTF16 coded sequences and return the length of the sequence converted… 465 * @tc.desc: Enter a string of UTF8 coded sequences and return the length of the sequence converted … 673 size_t converted = Utf8ToUtf16Size(reinterpret_cast<const uint8_t*>(utf8.data()), utf8.size()); in HWTEST_F_L0() local 674 utf16.resize(converted); in HWTEST_F_L0() 687 size_t converted = Utf8ToUtf16Size(reinterpret_cast<const uint8_t*>(utf8.data()), utf8.size()); in HWTEST_F_L0() local 688 utf16.resize(converted); in HWTEST_F_L0() 701 size_t converted = Utf8ToUtf16Size(reinterpret_cast<const uint8_t*>(utf8.data()), utf8.size()); in HWTEST_F_L0() local 702 utf16.resize(converted); in HWTEST_F_L0() 715 size_t converted = Utf8ToUtf16Size(reinterpret_cast<const uint8_t*>(utf8.data()), utf8.size()); in HWTEST_F_L0() local 716 utf16.resize(converted); in HWTEST_F_L0() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | StringBuilder.ets | 89 * @param o object that will be converted to a string 195 * @param i value to be converted 204 * @param i value to be converted 213 * @param i value to be converted 222 * @param i value to be converted 231 * @param i value to be converted 240 * @param i value to be converted 249 * @param i value to be converted 260 * @param i value to be converted
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/02.widening_primitive_conversions/ |
| D | enumtoint.ets | 36 console.log("Test passed! Red enum value successfully converted to int."); 42 console.log("Test passed! Green enum value successfully converted to int."); 48 console.log("Test passed! Blue enum value successfully converted to int.");
|
| D | enumtodouble.ets | 36 console.log("Test passed! Active enum value successfully converted to double."); 42 console.log("Test passed! Inactive enum value successfully converted to double."); 48 console.log("Test passed! Pending enum value successfully converted to double.");
|
| D | enumtofloat.ets | 36 console.log("Test passed! Active enum value successfully converted to float."); 42 console.log("Test passed! Inactive enum value successfully converted to float."); 48 console.log("Test passed! Pending enum value successfully converted to float.");
|
| D | enumtolong.ets | 36 console.log("Test passed! Red enum value successfully converted to long."); 42 console.log("Test passed! Green enum value successfully converted to long."); 48 console.log("Test passed! Blue enum value successfully converted to long.");
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/04.casting_contexts_and_conversions/02.class_or_interface_casting_conversions/ |
| D | cce_2.ets | 19 if the type of a converted expression cannot be converted to the
|
| D | pos_2.ets | 19 if the type of a converted expression cannot be converted to the
|
| D | cce_2b.ets | 19 if the type of a converted expression cannot be converted to the
|
| D | pos_4.ets | 19 if the type of a converted expression cannot be converted to the
|
| D | pos_3.ets | 19 if the type of a converted expression cannot be converted to the
|
| D | cce_1.ets | 19 if the type of a converted expression cannot be converted to the
|
| D | pos_4b.ets | 19 if the type of a converted expression cannot be converted to the
|
| D | cce_3.ets | 19 if the type of a converted expression cannot be converted to the
|
| D | pos_4a.ets | 19 if the type of a converted expression cannot be converted to the
|
| D | pos_3a.ets | 19 if the type of a converted expression cannot be converted to the
|
| D | cce_4.ets | 19 if the type of a converted expression cannot be converted to the
|
| D | cce_2a.ets | 19 if the type of a converted expression cannot be converted to the
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/type_error_processing/ |
| D | type_handlers.ets | 43 /* @@? 26:18 Error TypeError: Only reference types can be converted to utility types. */ 48 /* @@? 32:20 Error TypeError: Only reference types can be converted to utility types. */ 53 /* @@? 38:20 Error TypeError: Only reference types can be converted to utility types. */
|