Home
last modified time | relevance | path

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

12345678910>>...134

/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.ets45 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.ets221 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.ets25 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.ets67 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.ets57 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 …]
Dshift.ets54 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 …]
Dadd.ets67 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 …]
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
Dif.ets22 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/ets_runtime/ecmascript/cross_vm/
Ddynamic_type_converter.cpp41 } else if constexpr (std::is_same_v<T, bool>) { in WrapTagged()
43 } else if constexpr (std::is_same_v<T, int64_t> || std::is_same_v<T, uint64_t>) { in WrapTagged()
45 } else if constexpr (std::is_same_v<T, uint32_t>) { in WrapTagged()
47 } else if constexpr (std::is_integral_v<T>) { in WrapTagged()
49 } else if constexpr (std::is_floating_point_v<T>) { in WrapTagged()
51 } else if constexpr (std::is_same_v<T, common::BaseUndefined>) { in WrapTagged()
53 } else if constexpr (std::is_same_v<T, common::BaseNull>) { in WrapTagged()
55 } else if constexpr (std::is_same_v<T, common::BaseBigInt>) { in WrapTagged()
62 } else if constexpr (std::is_same_v<T, BaseObject*>) { in WrapTagged()
64 } else if constexpr (std::is_same_v<T, BaseString*>) { in WrapTagged()
[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/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/stdlib/escompat/
DAtomics.ets102 } else if (typedArray instanceof Int16Array) {
104 } else if (typedArray instanceof Int32Array) {
106 } else if (typedArray instanceof Uint8Array) {
108 } else if (typedArray instanceof Uint16Array) {
110 } else if (typedArray instanceof Uint32Array) {
112 } else {
131 } else if (typedArray instanceof BigInt64Array) {
133 } else {
152 } else if (typedArray instanceof Int16Array) {
154 } else if (typedArray instanceof Int32Array) {
[all …]
Ddeepcopy.ets39 } 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/linter/arkanalyzer/src/save/
DJsonPrinter.ts212 } else if (type instanceof UnknownType) {
216 } else if (type instanceof VoidType) {
220 } else if (type instanceof NeverType) {
224 } else if (type instanceof UnionType) {
229 } else if (type instanceof IntersectionType) {
234 } else if (type instanceof TupleType) {
239 } else if (type instanceof BooleanType) {
243 } else if (type instanceof NumberType) {
247 } else if (type instanceof BigIntType) {
251 } else if (type instanceof StringType) {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DValue.ets183 } else if (o instanceof Boolean) {
185 } else if (o instanceof Char) {
187 } else if (o instanceof Byte) {
189 } else if (o instanceof Short) {
191 } else if (o instanceof Int) {
193 } else if (o instanceof Long) {
195 } else if (o instanceof Float) {
197 } else if (o instanceof Double) {
204 } else if (t instanceof UndefinedType) {
206 } else if (t instanceof VoidType) {
[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/
DBUILD.gn16 } else {
45 } else if (is_mingw) {
53 } else if (is_mac) {
60 } else if (target_os == "ios") {
67 } else if (is_mob) {
75 } else if (is_ohos) {
83 } else {
90 } else {
152 } else if (is_debug) {
179 } else if (arm_float_abi == "softfp") {
[all …]
/arkcompiler/toolchain/tooling/dynamic/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/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_frontend/ets2panda/linter/arkanalyzer/src/core/model/builder/
DbuilderUtils.ts66 } else if (node.left.kind === ts.SyntaxKind.QualifiedName) {
78 } else if (ts.isStringLiteral(node.expression)) {
80 } else if (ts.isPropertyAccessExpression(node.expression)) {
143 } else if (ts.isIdentifier(type.expression)) {
145 } else if (ts.isPropertyAccessExpression(type.expression)) {
147 } else {
195 } else {
203 } else {
224 } else {
232 } else {
[all …]
/arkcompiler/runtime_core/common_interfaces/objects/
Dbase_object_dispatcher.h73 } else if constexpr (objType == ObjectType::STATIC) { in GetTaggedProperty()
77 } else { in GetTaggedProperty()
81 } else { in GetTaggedProperty()
96 } else if constexpr (objType == ObjectType::STATIC) { in GetBoxedProperty()
99 } else { in GetBoxedProperty()
104 } else { in GetBoxedProperty()
117 } else if constexpr (objType == ObjectType::STATIC) { in GetTaggedElementByIdx()
121 } else { in GetTaggedElementByIdx()
125 } else { in GetTaggedElementByIdx()
140 } else if constexpr (objType == ObjectType::STATIC) { in GetBoxedElementByIdx()
[all …]

12345678910>>...134