Home
last modified time | relevance | path

Searched full:converted (Results 1 – 25 of 226) sorted by relevance

12345678910

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/03.numeric_operator_contexts/binary_numeric_promotion/
Dresult_type_bool_n.ets24 • 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.
Dresult_type_arith.ets24 • 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.
Dresult_type_arith_n.ets24 • 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.
Dresult_type_cond.ets24 • 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.
Dresult_type_bitwise.ets24 • 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.
Dresult_type_bool.ets24 • 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/
Dutf_helper_test.cpp286 * @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/
DStringBuilder.ets89 * @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/
Denumtoint.ets36 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.");
Denumtodouble.ets36 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.");
Denumtofloat.ets36 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.");
Denumtolong.ets36 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/
Dcce_2.ets19 if the type of a converted expression cannot be converted to the
Dpos_2.ets19 if the type of a converted expression cannot be converted to the
Dcce_2b.ets19 if the type of a converted expression cannot be converted to the
Dpos_4.ets19 if the type of a converted expression cannot be converted to the
Dpos_3.ets19 if the type of a converted expression cannot be converted to the
Dcce_1.ets19 if the type of a converted expression cannot be converted to the
Dpos_4b.ets19 if the type of a converted expression cannot be converted to the
Dcce_3.ets19 if the type of a converted expression cannot be converted to the
Dpos_4a.ets19 if the type of a converted expression cannot be converted to the
Dpos_3a.ets19 if the type of a converted expression cannot be converted to the
Dcce_4.ets19 if the type of a converted expression cannot be converted to the
Dcce_2a.ets19 if the type of a converted expression cannot be converted to the
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/type_error_processing/
Dtype_handlers.ets43 /* @@? 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. */

12345678910