Home
last modified time | relevance | path

Searched full:result (Results 1 – 25 of 2706) sorted by relevance

12345678910>>...109

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/division/
Ddivision_float.params.yaml16 - { left: 0.0, right: 0.0, result: Float.NaN }
17 - { left: 1.0, right: 0.0, result: Float.POSITIVE_INFINITY }
18 - { left: -1.0, right: -0.0, result: Float.POSITIVE_INFINITY }
19 - { left: 1.0, right: -0.0, result: Float.NEGATIVE_INFINITY }
20 - { left: -1.0, right: 0.0, result: Float.NEGATIVE_INFINITY }
21 - { left: 0.0, right: 1.0, result: 0.0 }
22 - { left: 0.0, right: -1.0, result: -0.0 }
23 - { left: Float.NaN, right: 0.0, result: Float.NaN }
24 - { left: Float.NaN, right: Float.NaN, result: Float.NaN }
25 - { left: Float.NaN, right: 1.0, result: Float.NaN }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/subtraction/
Dsubtraction_float.params.yaml16 - { left: 0.0, right: 0.0, result: 0.0 }
17 - { left: +0.0, right: +0.0, result: 0.0 }
18 - { left: -0.0, right: -0.0, result: 0.0 }
19 - { left: -0.0, right: +0.0, result: 0.0 }
20 - { left: 1.0, right: 0.0, result: 1.0 }
21 - { left: -1.0, right: 0.0, result: -1.0 }
22 - { left: 0.0, right: 1.0, result: -1.0 }
23 - { left: Float.NaN, right: 0.0, result: Float.NaN }
24 - { left: Float.NaN, right: 1.0, result: Float.NaN }
25 - { left: Float.NaN, right: Float.NaN, result: Float.NaN }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/multiplication/
Dmultiplication_float.params.yaml16 - { left: 0.0, right: 0.0, result: 0.0 }
17 - { left: +0.0, right: +0.0, result: 0.0 }
18 - { left: -0.0, right: -0.0, result: 0.0 }
19 - { left: 1.0, right: 0.0, result: 0.0 }
20 - { left: -1.0, right: 0.0, result: 0.0 }
21 - { left: Float.NaN, right: 0.0, result: Float.NaN }
22 - { left: Float.NaN, right: Float.NaN, result: Float.NaN }
23 - { left: Float.POSITIVE_INFINITY, right: 0.0, result: Float.NaN }
24 - { left: Float.NEGATIVE_INFINITY, right: 0.0, result: Float.NaN }
25 - { left: Float.POSITIVE_INFINITY, right: -1.0, result: Float.NEGATIVE_INFINITY }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/addition/
Daddition_float.params.yaml16 - { left: 0.0, right: 0.0, result: 0.0 }
17 - { left: +0.0, right: +0.0, result: 0.0 }
18 - { left: -0.0, right: -0.0, result: 0.0 }
19 - { left: 1.0, right: 0.0, result: 1.0 }
20 - { left: -1.0, right: 0.0, result: -1.0 }
21 - { left: Float.NaN, right: 0.0, result: Float.NaN }
22 - { left: Float.NaN, right: Float.NaN, result: Float.NaN }
23 - { left: Float.POSITIVE_INFINITY, right: 0.0, result: Float.POSITIVE_INFINITY }
24 - { left: Float.POSITIVE_INFINITY, right: -1.0, result: Float.POSITIVE_INFINITY }
25 - { left: Float.POSITIVE_INFINITY, right: Float.POSITIVE_INFINITY, result: Float.POSITIVE_INFINITY }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/equal/
Dequal_float.params.yaml16 - { left: 0.0, right: 0.0, result: "true" }
17 - { left: 1.0, right: 0.0, result: "false" }
18 - { left: 0.0, right: 1.0, result: "false" }
19 - { left: 1.0, right: 1.0, result: "true" }
20 - { left: -1.0, right: 0.0, result: "false" }
21 - { left: -1.0, right: 1.0, result: "false" }
22 - { left: -1.0, right: -1.0, result: "true" }
23 - { left: Float.MIN_VALUE, right: 0.0, result: "false" }
24 - { left: Float.MIN_VALUE, right: 3.1415927, result: "false" }
25 - { left: Float.MIN_VALUE, right: -Float.MIN_VALUE, result: "false" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/greater_than/
Dgreater_than_float.params.yaml16 - { left: 0.0, right: 0.0, result: "false" }
17 - { left: 1.0, right: 0.0, result: "true" }
18 - { left: 0.0, right: 1.0, result: "false" }
19 - { left: 1.0, right: 1.0, result: "false" }
20 - { left: -1.0, right: 0.0, result: "false" }
21 - { left: -1.0, right: 1.0, result: "false" }
22 - { left: -1.0, right: -1.0, result: "false" }
23 - { left: Float.MIN_VALUE, right: 0.0, result: "true" }
24 - { left: Float.MIN_VALUE, right: 3.1415927, result: "false" }
25 - { left: Float.MIN_VALUE, right: -Float.MIN_VALUE, result: "true" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/less_than/
Dless_than_float.params.yaml16 - { left: 0.0, right: 0.0, result: "false" }
17 - { left: 1.0, right: 0.0, result: "false" }
18 - { left: 0.0, right: 1.0, result: "true" }
19 - { left: 1.0, right: 1.0, result: "false" }
20 - { left: -1.0, right: 0.0, result: "true" }
21 - { left: -1.0, right: 1.0, result: "true" }
22 - { left: -1.0, right: -1.0, result: "false" }
23 - { left: Float.MIN_VALUE, right: 0.0, result: "false" }
24 - { left: Float.MIN_VALUE, right: 3.1415927, result: "true" }
25 - { left: Float.MIN_VALUE, right: -Float.MIN_VALUE, result: "false" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/less_or_equal/
Dless_or_equal_float.params.yaml16 - { left: 0.0, right: 0.0, result: "true" }
17 - { left: 1.0, right: 0.0, result: "false" }
18 - { left: 0.0, right: 1.0, result: "true" }
19 - { left: 1.0, right: 1.0, result: "true" }
20 - { left: -1.0, right: 0.0, result: "true" }
21 - { left: -1.0, right: 1.0, result: "true" }
22 - { left: -1.0, right: -1.0, result: "true" }
23 - { left: Float.MIN_VALUE, right: 0.0, result: "false" }
24 - { left: Float.MIN_VALUE, right: 3.1415927, result: "true" }
25 - { left: Float.MIN_VALUE, right: -Float.MIN_VALUE, result: "false" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/not_equal/
Dnot_equal_float.params.yaml16 - { left: 0.0, right: 0.0, result: "false" }
17 - { left: 1.0, right: 0.0, result: "true" }
18 - { left: 0.0, right: 1.0, result: "true" }
19 - { left: 1.0, right: 1.0, result: "false" }
20 - { left: -1.0, right: 0.0, result: "true" }
21 - { left: -1.0, right: 1.0, result: "true" }
22 - { left: -1.0, right: -1.0, result: "false" }
23 - { left: Float.MIN_VALUE, right: 0.0, result: "true" }
24 - { left: Float.MIN_VALUE, right: 3.1415927, result: "true" }
25 - { left: Float.MIN_VALUE, right: -Float.MIN_VALUE, result: "true" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/02.floating-point_types_and_operations/greater_or_equal/
Dgreater_or_equal_float.params.yaml16 - { left: 0.0, right: 0.0, result: "true" }
17 - { left: 1.0, right: 0.0, result: "true" }
18 - { left: 0.0, right: 1.0, result: "false" }
19 - { left: 1.0, right: 1.0, result: "true" }
20 - { left: -1.0, right: 0.0, result: "false" }
21 - { left: -1.0, right: 1.0, result: "false" }
22 - { left: -1.0, right: -1.0, result: "true" }
23 - { left: Float.MIN_VALUE, right: 0.0, result: "true" }
24 - { left: Float.MIN_VALUE, right: 3.1415927, result: "false" }
25 - { left: Float.MIN_VALUE, right: -Float.MIN_VALUE, result: "true" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/24.relational_expressions/02.string_comparison_operators/
Dstring_comparison.params.yaml16 - {left: '', right: '', op: "<", result: "false"}
17 - {left: ' ', right: '', op: "<", result: "false"}
18 - {left: '', right: '\n', op: "<", result: "true"}
19 - {left: '\r', right: '', op: "<", result: "false"}
20 - {left: "'aa", right: "'aa", op: "<", result: "false"}
21 - {left: 'aa', right: 'aaa', op: "<", result: "true"}
22 - {left: 'ac', right: 'dc', op: "<", result: "true"}
23 - {left: 'AAAAAB', right: 'AAAAAAA', op: "<", result: "false"}
24 - {left: 'AAAAAA', right: 'aaaaaa', op: "<", result: "true"}
25 - {left: '~', right: '~A', op: "<", result: "true"}
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/
Diterators_test.cpp26 void CheckInstForwardIterator(BasicBlock *block, std::vector<Inst *> &result) in CheckInstForwardIterator() argument
28 result.clear(); in CheckInstForwardIterator()
30 result.push_back(inst); in CheckInstForwardIterator()
32 EXPECT_EQ(result, expectPhis_); in CheckInstForwardIterator()
34 result.clear(); in CheckInstForwardIterator()
36 result.push_back(inst); in CheckInstForwardIterator()
38 EXPECT_EQ(result, expectInsts_); in CheckInstForwardIterator()
40 result.clear(); in CheckInstForwardIterator()
42 result.push_back(inst); in CheckInstForwardIterator()
44 EXPECT_EQ(result, expectAll_); in CheckInstForwardIterator()
[all …]
/arkcompiler/toolchain/tooling/base/
Dpt_returns.cpp21 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson() local
23 result->Add("debuggerId", std::to_string(debuggerId_).c_str()); in ToJson()
29 result->Add("protocols", array); in ToJson()
31 return result; in ToJson()
36 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson() local
42 result->Add("protocols", array); in ToJson()
44 return result; in ToJson()
49 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson() local
51 result->Add("breakpointId", id_.c_str()); in ToJson()
59 result->Add("locations", array); in ToJson()
[all …]
Dpt_events.cpp21 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson() local
22 result->Add("breakpointId", breakpointId_.c_str()); in ToJson()
24 result->Add("location", location_->ToJson()); in ToJson()
28 object->Add("params", result); in ToJson()
35 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson() local
43 result->Add("callFrames", array); in ToJson()
44 result->Add("reason", reason_.c_str()); in ToJson()
47 result->Add("data", data_.value()->ToJson()); in ToJson()
55 result->Add("hitBreakpoints", breakpoints); in ToJson()
60 object->Add("params", result); in ToJson()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/25.equality_expressions/01.numerical_equality_operators/
Dnumeric_equality.params.yaml16 - {left: "5", right: "5", op: "==", result: "true"}
17 - {left: "10", right: "5", op: "!=", result: "true"}
18 - {left: "5", right: "5", op: "!=", result: "false"}
19 - {left: "10", right: "5", op: "==", result: "false"}
20 - {left: "1", right: "1.0", op: "==", result: "true"}
21 - {left: "0", right: "0.5", op: "!=", result: "true"}
22 - {left: "0", right: "-0", op: "==", result: "true"}
24 - {left: "new Int(5)", right: "new Int(5)", op: "==", result: "true"}
25 - {left: "new Long(10)", right: "new Long(5)", op: "!=", result: "true"}
26 - {left: "new Short(5 as short)", right: "new Short(5 as short)", op: "!=", result: "false"}
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/22.additive_expressions/02.additive_operators_for_numeric_types/
Dint.params.yaml16 - {x: 0, y: -0, type: "byte", result: 0}
17 - {x: -0, y: 0, type: "byte", result: 0}
18 - {x: -0, y: -0, type: "byte", result: -0}
19 - {x: 0, y: 0, type: "byte", result: 0}
20 - {x: 0, y: 1, type: "byte", result: 1}
21 - {x: 1, y: 0, type: "byte", result: 1}
22 - {x: 1, y: -1, type: "byte", result: 0}
24 - {x: 0, y: -0, type: "short", result: 0}
25 - {x: -0, y: 0, type: "short", result: 0}
26 - {x: -0, y: -0, type: "short", result: -0}
[all …]
/arkcompiler/runtime_core/compiler/tests/
Diterators_test.cpp33 std::vector<Inst *> result; in Check() local
35 result.push_back(inst); in Check()
37 EXPECT_EQ(result, expect_phis_); in Check()
39 result.clear(); in Check()
41 result.push_back(inst); in Check()
43 EXPECT_EQ(result, expect_insts_); in Check()
45 result.clear(); in Check()
47 result.push_back(inst); in Check()
49 EXPECT_EQ(result, expect_all_); in Check()
52 result.clear(); in Check()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/
DObject.sts122 let result: int = 0
144 result += strArraysAreEqual(Object.keys(c), emptyArr) ? 0 : 1
145 result += strArraysAreEqual(Object.keys(bo), emptyArr) ? 0 : 1
146 result += strArraysAreEqual(Object.keys(bt), emptyArr) ? 0 : 1
147 result += strArraysAreEqual(Object.keys(sh), emptyArr) ? 0 : 1
148 result += strArraysAreEqual(Object.keys(i), emptyArr) ? 0 : 1
149 result += strArraysAreEqual(Object.keys(lo), emptyArr) ? 0 : 1
150 result += strArraysAreEqual(Object.keys(fl), emptyArr) ? 0 : 1
151 result += strArraysAreEqual(Object.keys(dou), emptyArr) ? 0 : 1
153 result += strArraysAreEqual(Object.keys(arr), ["0", "1", "2"]) ? 0 : 1
[all …]
/arkcompiler/runtime_core/static_core/verification/config/options/
Dmethod_options.h113 static bool EnumerateFlagsHandler(PandaString &result, Flag flag) in EnumerateFlagsHandler() argument
117 result += "'context' "; in EnumerateFlagsHandler()
120 result += "'reg-changes' "; in EnumerateFlagsHandler()
123 result += "'cflow' "; in EnumerateFlagsHandler()
126 result += "'jobfill' "; in EnumerateFlagsHandler()
129 result += "<unknown>("; in EnumerateFlagsHandler()
130 result += std::to_string(static_cast<size_t>(flag)); in EnumerateFlagsHandler()
131 result += ") "; in EnumerateFlagsHandler()
139 PandaString result {"\n"}; in Image()
140 result += " Verifier messages config '" + name_ + "'\n"; in Image()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/24.relational_expressions/01.numerical_comparison_operators/
Dfloat_comparison.params.yaml18 …boxed: Double, xvalue: 0.0, ytype: double, yboxed: Double, yvalue: 1.0, op: ">", result: "false"}
19 …xboxed: Double, xvalue: 1.0, ytype: double, yboxed: Double, yvalue: 0.0, op: ">", result: "true"}
20 …boxed: Double, xvalue: -1.0, ytype: double, yboxed: Double, yvalue: 0.0, op: ">", result: "false"}
21 …xboxed: Double, xvalue: 0.0, ytype: double, yboxed: Double, yvalue: -1.0, op: ">", result: "true"}
25 …, xboxed: Float, xvalue: 0.0, ytype: float, yboxed: Float, yvalue: 1.0, op: ">", result: "false"}
26 …t, xboxed: Float, xvalue: 1.0, ytype: float, yboxed: Float, yvalue: 0.0, op: ">", result: "true"}
27 …, xboxed: Float, xvalue: -1.0, ytype: float, yboxed: Float, yvalue: 0.0, op: ">", result: "false"}
28 …t, xboxed: Float, xvalue: 0.0, ytype: float, yboxed: Float, yvalue: -1.0, op: ">", result: "true"}
32 …xboxed: Double, xvalue: 0.0, ytype: double, yboxed: Double, yvalue: 1.0, op: "<", result: "true"}
33 …boxed: Double, xvalue: 1.0, ytype: double, yboxed: Double, yvalue: 0.0, op: "<", result: "false"}
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/01.integer_types_and_operations/unsigned_right_shift/
Dunsigned_right_shift_byte.params.yaml16 - { left: 0, right: 1, result: 0 }
17 - { left: 0, right: 7, result: 0 }
18 - { left: 1, right: 1, result: 0 }
19 - { left: 1, right: 7, result: 0 }
20 - { left: -1, right: 1, result: Int.MAX_VALUE }
21 - { left: -1, right: 31, result: 1 }
22 - { left: -1, right: 30, result: 3 }
23 - { left: "Byte.MIN_VALUE as byte", right: 1, result: "0x40" }
24 - { left: "Byte.MIN_VALUE as byte", right: 31, result: 1 }
25 - { left: "Byte.MAX_VALUE as byte", right: 1, result: 63 }
[all …]
Dunsigned_right_shift_int.params.yaml16 - { left: 0, right: 1, result: 0 }
17 - { left: 0, right: 31, result: 0 }
18 - { left: 1, right: 1, result: 0 }
19 - { left: 1, right: 31, result: 0 }
20 - { left: -1, right: 1, result: Int.MAX_VALUE }
21 - { left: -1, right: 31, result: 1 }
22 - { left: -1, right: 30, result: 3 }
23 - { left: Int.MIN_VALUE, right: 1, result: 1073741824 }
24 - { left: Int.MIN_VALUE, right: 31, result: 1 }
25 - { left: Int.MAX_VALUE, right: 1, result: '0x3fffffff' }
[all …]
Dunsigned_right_shift_short.params.yaml16 - { left: 0, right: 1, result: 0 }
17 - { left: 0, right: 15, result: 0 }
18 - { left: 1, right: 1, result: 0 }
19 - { left: 1, right: 15, result: 0 }
20 - { left: -1, right: 1, result: Int.MAX_VALUE }
21 - { left: -1, right: 14, result: '0x3ffff' }
22 - { left: -1, right: 15, result: '0x1ffff' }
23 - { left: "Short.MIN_VALUE as short", right: 1, result: '0x4000' }
24 - { left: "Short.MIN_VALUE as short", right: 14, result: '0x3fffe' }
25 - { left: "Short.MAX_VALUE as short", right: 1, result: '0x3fff' }
[all …]
Dunsigned_right_shift_long.params.yaml16 - { left: 0, right: 1, result: 0 }
17 - { left: 0, right: 63, result: 0 }
18 - { left: 1, right: 1, result: 0 }
19 - { left: 1, right: 63, result: 0 }
20 - { left: -1, right: 1, result: Long.MAX_VALUE }
21 - { left: -1, right: 63, result: 1 }
22 - { left: -1, right: 62, result: 3 }
23 - { left: Long.MIN_VALUE, right: 1, result: '0x4000000000000000' }
24 - { left: Long.MIN_VALUE, right: 63, result: 1 }
25 - { left: Long.MAX_VALUE, right: 1, result: '0x3fffffffffffffff' }
[all …]
/arkcompiler/toolchain/tooling/test/testcases/
Djs_closure_scope_test.h51 Result ret; in JsClosureScopeTest()
54 if (ret != Result::SUCCESS || method != "Debugger.paused") { in JsClosureScopeTest()
66 Result ret = json->GetInt("id", &id); in JsClosureScopeTest()
67 if (ret != Result::SUCCESS) { in JsClosureScopeTest()
77 Result ret; in JsClosureScopeTest()
80 if (ret != Result::SUCCESS) { in JsClosureScopeTest()
84 std::unique_ptr<PtJson> result = nullptr; in JsClosureScopeTest()
85 ret = json->GetObject("result", &result); in JsClosureScopeTest()
86 if (ret != Result::SUCCESS) { in JsClosureScopeTest()
91 ret = result->GetArray("result", &innerResult); in JsClosureScopeTest()
[all …]

12345678910>>...109