Home
last modified time | relevance | path

Searched full:else (Results 1 – 25 of 3325) sorted by relevance

12345678910>>...133

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/08.statements/05.if_statements/
Dif2.params.yaml19 else
25 else
31 else
38 else
45 else
53 else
55 else
63 else
66 else
74 else
[all …]
Dif_neg.params.yaml20 else i = j
21 else
25 // missing statement in else branch
28 else
29 else
46 if (i > j) ;; else ;;
51 if (i > j) {}} else {}
54 // missing left curly bracket in else branch
55 if (i > j) {} else {}}
59 if (i > j) {{} else {}
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/01.evaluation_of_expressions/03.operator_precedence/
Dbitwise.sts45 if (res != 5) return 1; else t2 = 2;
48 if (res != 6) return 1; else t2 = 2;
51 if (res != 9) return 1; else t2 = 2;
54 if (res != -1) return 1; else t2 = 2;
57 if (res != -2) return 1; else t2 = 2;
60 if (res != -253) return 1; else t2 = 2;
63 if (res != 6) return 1; else t2 = 2;
66 if (res != 8) return 1; else t2 = 2;
69 if (res != 510) return 1; else t2 = 2;
72 if (res != 85) return 1; else t255 = 255;
[all …]
Dunary.sts221 i = t2 *= + t4; if (i != 8 || t2 != 8) return 1; else t2 = 2;
222 i = t2 *= + + t4; if (i != 8 || t2 != 8) return 1; else t2 = 2;
223 i = t2 *= - t4; if (i != -8 || t2 != -8) return 1; else t2 = 2;
224 i = t2 *= - - t4; if (i != 8 || t2 != 8) return 1; else t2 = 2;
225 i = t2 *= ~ t4; if (i != -10 || t2 != -10) return 1; else t2 = 2;
226 i = t2 *= ~ ~ t4; if (i != 8 || t2 != 8) return 1; else t2 = 2;
227 i = t2 *= + - t4; if (i != -8 || t2 != -8) return 1; else t2 = 2;
228 i = t2 *= + ~ t4; if (i != -10 || t2 != -10) return 1; else t2 = 2;
229 i = t2 *= - + t4; if (i != -8 || t2 != -8) return 1; else t2 = 2;
230 i = t2 *= - ~ t4; if (i != 10 || t2 != 10) return 1; else t2 = 2;
[all …]
Dternary.sts25 if (res != 6) return 1; else t2 = 2;
28 if (res != -2) return 1; else t2 = 2;
31 if (res != 8) return 1; else t2 = 2;
34 if (res != 0) return 1; else t2 = 2;
37 if (res != 2) return 1; else t2 = 2;
40 if (res != 0) return 1; else t2 = 2;
43 if (res != 6) return 1; else t2 = 2;
46 if (res != 6) return 1; else t2 = 2;
49 if (res != 32) return 1; else t2 = 2;
52 if (res != 0) return 1; else t2 = 2;
[all …]
Dsub.sts67 if (res != 5) return 1; else t4 = 4;
70 if (res != 3) return 1; else t4 = 4;
73 if (res != -8) return 1; else t8 = 8;
76 if (res != 4) return 1; else t8 = 8;
79 if (res != 0) return 1; else t8 = 8;
82 if (res != 255) return 1; else t255 = 255;
85 if (res != -1) return 1; else t2 = 2;
88 if (res != -253) return 1; else t255 = 255;
91 if (res != 8) return 1; else t4 = 4;
94 if (res != 63) return 1; else t255 = 255;
[all …]
Dcast.sts57 if (res != 259) return 1; else t258 = 258;
60 if (res != 257) return 1; else t258 = 258;
63 if (res != 258) return 1; else t258 = 258;
66 if (res != 258) return 1; else t258 = 258;
69 if (res != 1) return 1; else t255 = 255;
72 if (res != 2) return 1; else t255 = 255;
75 if (res != 3) return 1; else t3 = 3;
78 if (res != 253) return 1; else t255 = 255;
81 if (res != 510) return 1; else t255 = 255;
84 if (res != 128) return 1; else t257 = 257;
[all …]
Dadd.sts67 if (res != 9) return 1; else t2 = 2;
70 if (res != -5) return 1; else t2 = 2;
73 if (res != 40) return 1; else t8 = 8;
76 if (res != 1) return 1; else t8 = 8;
79 if (res != 3) return 1; else t8 = 8;
82 if (res != 5) return 1; else t255 = 255;
85 if (res != 7) return 1; else t2 = 2;
88 if (res != 243) return 1; else t255 = 255;
91 if (res != 128) return 1; else t4 = 4;
94 if (res != 7) return 1; else t255 = 255;
[all …]
Dshift.sts54 if (res != 18) return 1; else t2 = 2;
57 if (res != -14) return 1; else t2 = 2;
60 if (res != 128) return 1; else t8 = 8;
63 if (res != 15) return 1; else t255 = 255;
66 if (res != 15) return 1; else t255 = 255;
69 if (res != 248) return 1; else t255 = 255;
72 if (res != 2047) return 1; else t255 = 255;
75 if (res != 1279) return 1; else t255 = 255;
78 if (res != 16384) return 1; else t4 = 4;
81 if (res != 0) return 1; else t255 = 255;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DAtomics.sts30 } else if (waitResult == 1) {
32 } else if (waitResult == 2) {
34 } else {
42 } else {
68 } else {
72 } else if (typedArray instanceof Int16Array) {
80 } else {
84 } else if (typedArray instanceof Int32Array) {
92 } else {
96 } else if (typedArray instanceof BigInt64Array) {
[all …]
Ddeepcopy.sts39 } else if (src === undefined) {
41 } else if (src instanceof String) {
43 } else if (src instanceof Boolean) {
45 } else if (src instanceof Byte) {
47 } else if (src instanceof Char) {
49 } else if (src instanceof Short) {
51 } else if (src instanceof Int) {
53 } else if (src instanceof Long) {
55 } else if (src instanceof Float) {
57 } else if (src instanceof Double) {
[all …]
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
Dif.sts22 else a = 3;
31 else {
36 else {
44 else a = 10;
47 else a = 12;
49 else if (p) {
53 else {
55 else a = 17;
62 else {
67 else if (p) a = 20;
[all …]
/arkcompiler/runtime_core/static_core/abc2program/
Dabc_file_processor.cpp69 } else if (language != panda_file::SourceLang::PANDA_ASSEMBLY) { in ProcessClasses()
155 } else if (type == "u1" || type == "u8") { in ScalarValueToString()
158 } else if (type == "i16") { in ScalarValueToString()
160 } else if (type == "u16") { in ScalarValueToString()
162 } else if (type == "i32") { in ScalarValueToString()
164 } else if (type == "u32") { in ScalarValueToString()
166 } else if (type == "i64") { in ScalarValueToString()
168 } else if (type == "u64") { in ScalarValueToString()
170 } else if (type == "f32") { in ScalarValueToString()
172 } else if (type == "f64") { in ScalarValueToString()
[all …]
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/shaders/
Dshader_fast.js84 else if(tex_point<1.5)gl_FragColor = texture2D(tex1, TexCoord);
85 else if(tex_point<2.5)gl_FragColor = texture2D(tex2, TexCoord);
86 else if(tex_point<3.5)gl_FragColor = texture2D(tex3, TexCoord);
87 else if(tex_point<4.5)gl_FragColor = texture2D(tex4, TexCoord);
88 else if(tex_point<5.5)gl_FragColor = texture2D(tex5, TexCoord);
89 else if(tex_point<6.5)gl_FragColor = texture2D(tex6, TexCoord);
90 else if(tex_point<7.5)gl_FragColor = texture2D(tex7, TexCoord);
91 else if(tex_point<8.5)gl_FragColor = texture2D(tex8, TexCoord);
92 else if(tex_point<9.5)gl_FragColor = texture2D(tex9, TexCoord);
93 else if(tex_point<10.5)gl_FragColor = texture2D(tex10, TexCoord);
[all …]
/arkcompiler/toolchain/
DBUILD.gn43 } else if (is_linux) {
48 } else if (is_mingw) {
50 } else if (target_os == "android") {
56 } else {
59 } else if (target_os == "ios") {
64 } else if (is_mac) {
69 } else {
105 } else if (is_mingw) {
115 } else if (is_mac) {
120 } else if (target_os == "android") {
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-if.js22 if(0) alma = 0; else fa = 1
26 else fa = 1
28 if(0) {alma = 0} else fa = 1
30 if (0);else
34 if(0); else if(0) ;else if(1) alma = 'fa'; else;
/arkcompiler/ets_frontend/ets2panda/test/parser/js/
Dtest-if.js22 if(0) alma = 0; else fa = 1
26 else fa = 1
28 if(0) {alma = 0} else fa = 1
30 if (0);else
34 if(0); else if(0) ;else if(1) alma = 'fa'; else;
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_shared_memory-inl.h32 } else if constexpr (std::is_same_v<T, int16_t>) { in GetElement()
34 } else if constexpr (std::is_same_v<T, int32_t>) { in GetElement()
36 } else if constexpr (std::is_same_v<T, int64_t>) { in GetElement()
38 } else if constexpr (std::is_same_v<T, uint8_t>) { in GetElement()
40 } else if constexpr (std::is_same_v<T, uint16_t>) { in GetElement()
42 } else if constexpr (std::is_same_v<T, uint32_t>) { in GetElement()
44 } else if constexpr (std::is_same_v<T, uint64_t>) { in GetElement()
46 } else { in GetElement()
59 } else if constexpr (std::is_same_v<T, int16_t>) { in SetElement()
61 } else if constexpr (std::is_same_v<T, int32_t>) { in SetElement()
[all …]
/arkcompiler/toolchain/build/config/
DBUILDCONFIG.gn40 } else {
43 } else if (host_os == "mac") {
46 } else {
49 } else {
68 } else {
106 } else if (is_clang) {
108 } else {
111 } else if (host_os == "mac") {
113 } else {
123 } else if (target_os == "linux" && target_cpu == "x64") {
[all …]
Darm.gni60 } else {
80 } else if (arm_version == 7) {
91 } else if (current_os == "linux") {
93 } else {
101 } else {
105 } else if (arm_version == 8) {
116 } else {
124 } else {
129 } else if (current_cpu == "arm64") {
132 } else {
[all …]
/arkcompiler/ets_runtime/test/moduletest/elements_kind_generic/
Delements_kind_generic.js29 } else {
41 } else {
54 } else {
68 } else {
79 } else {
91 } else {
104 } else {
118 } else {
129 } else {
141 } else {
[all …]
/arkcompiler/ets_runtime/ecmascript/
Djs_runtime_options.cpp93 …"--force-full-gc: If true trigger full gc, else trigger semi and old gc. Defa…
397 } else { in ParseCommand()
412 } else { in ParseCommand()
423 } else { in ParseCommand()
434 } else { in ParseCommand()
445 } else { in ParseCommand()
453 } else { in ParseCommand()
461 } else { in ParseCommand()
469 } else { in ParseCommand()
477 } else { in ParseCommand()
[all …]
/arkcompiler/toolchain/tooling/base/
Dpt_params.cpp29 } else if (ret == Result::TYPE_ERROR) { in Create()
45 } else if (ret == Result::TYPE_ERROR) { in Create()
69 } else { in Create()
76 } else { in Create()
83 } else if (ret == Result::TYPE_ERROR) { in Create()
90 } else if (ret == Result::TYPE_ERROR) { in Create()
97 } else if (ret == Result::TYPE_ERROR) { in Create()
104 } else if (ret == Result::TYPE_ERROR) { in Create()
111 } else if (ret == Result::TYPE_ERROR) { in Create()
118 } else if (ret == Result::TYPE_ERROR) { in Create()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/strict_equality/
Dstrict_equality.sts22 } else {
32 } else {
41 } else {
51 } else {
61 } else {
71 } else {
80 } else {
90 } else {
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DValue.sts217 } else if (o instanceof Boolean) {
219 } else if (o instanceof Char) {
221 } else if (o instanceof Byte) {
223 } else if (o instanceof Short) {
225 } else if (o instanceof Int) {
227 } else if (o instanceof Long) {
229 } else if (o instanceof Float) {
231 } else if (o instanceof Double) {
238 } else if (t instanceof UndefinedType) {
240 } else if (t instanceof VoidType) {
[all …]

12345678910>>...133