| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/02.evaluation_of_expressions/04.operator_precedence/ |
| D | unary.ets | 25 i = + t2 * t4; if (i != 8) return 1; 26 i = + + t2 * t4; if (i != 8) return 1; 27 i = - t2 * t4; if (i != -8) return 1; 28 i = - - t2 * t4; if (i != 8) return 1; 29 i = ~ t2 * t4; if (i != -12) return 1; 30 i = ~ ~ t2 * t4; if (i != 8) return 1; 31 i = + - t2 * t4; if (i != -8) return 1; 32 i = + ~ t2 * t4; if (i != -12) return 1; 33 i = - + t2 * t4; if (i != -8) return 1; 34 i = - ~ t2 * t4; if (i != 12) return 1; [all …]
|
| D | bitwise.ets | 25 if (res != 3) return 1; 28 if (res != 3) return 1; 31 if (res != 7) return 1; 35 if (res != 7) return 1; 38 if (res != 7) return 1; 41 if (res != 7) return 1; 45 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; [all …]
|
| D | div.ets | 25 if (res != 12) return 1; 29 if (res != 1) return 1; 33 if (res != 4) return 1; 37 if (res != 0) return 1; 41 if (res != 2) return 1; 44 if (res != 0) return 1; 48 if (res != 16) return 1; 51 if (res != 63) return 1; 54 if (res != 268435440) return 1; 57 if (t255 < t510 / t2) return 1; [all …]
|
| D | mul.ets | 25 if (res != 4) return 1; 29 if (res != 4) return 1; 33 if (res != 14) return 1; 37 if (res != -10) return 1; 41 if (res != -2) return 1; 44 if (res != -3) return 1; 48 if (res != 256) return 1; 51 if (res != -4) return 1; 54 if (res != 67108860) return 1; 57 if (t255 < t8 * t8) return 1; [all …]
|
| D | mod.ets | 25 if (res != 0) return 1; 29 if (res != 0) return 1; 33 if (res != 3) return 1; 37 if (res != 5) return 1; 41 if (res != 8) return 1; 45 if (res != 6) return 1; 49 if (res != 8) return 1; 52 if (res != 127) return 1; 55 if (res != 536870880) return 1; 58 if (t8 < t518 % t255) return 1; [all …]
|
| D | sub.ets | 25 if (res != 3) return 1; 28 if (res != -4) return 1; 32 if (res != 8) return 1; 35 if (res != -128) return 1; 38 if (res != 134217720) return 1; 41 if (t4 < t8 - t4) return 1; 42 if (t4 <= t4 - t3) return 1; 43 if (t2 > t4 - t2) return 1; 44 if (t4 >= t8 - t2) return 1; 45 if (t2 == t2 - t4) return 1; [all …]
|
| D | add.ets | 25 if (res != 1) return 1; 28 if (res != 2) return 1; 32 if (res != 128) return 1; 35 if (res != -8) return 1; 38 if (res != 134217720) return 1; 41 if (t8 < t4 + t4) return 1; 42 if (t255 <= t8 + t4) return 1; 43 if (t2 > t2 + t4) return 1; 44 if (t4 >= t2 + t4) return 1; 45 if (t2 == t2 + t4) return 1; [all …]
|
| D | postfix.ets | 25 if (res != 2 || t2 != 3) return 1; 29 if (res != 2 || t2 != 1) return 1; 34 if (res != -2 || t2 != 3) return 1; 38 if (res != -2 || t2 != 1) return 1; 43 if (res != -3 || t2 != 3) return 1; 47 if (res != -3 || t2 != 1) return 1; 52 if (res != 8 || t2 != 3 || t4 != 3) return 1; 57 if (res != 8 || t2 != 1 || t4 != 5) return 1; 63 if (res != 2 || t2 != 3 || t4 != 3) return 1; 68 if (res != 2 || t2 != 1 || t4 != 5) return 1; [all …]
|
| D | prefix.ets | 25 if (res != 3 || t2 != 3) return 1; 29 if (res != 1 || t2 != 1) return 1; 34 if (res != -3 || t2 != 3) return 1; 38 if (res != -1 || t2 != 1) return 1; 43 if (res != -4 || t2 != 3) return 1; 47 if (res != -2 || t2 != 1) return 1; 52 if (res != 9 || t2 != 3 || t4 != 3) return 1; 57 if (res != 5 || t2 != 1 || t4 != 5) return 1; 63 if (res != 1 || t2 != 3 || t4 != 3) return 1; 68 if (res != 5 || t2 != 1 || t4 != 5) return 1; [all …]
|
| D | cast.ets | 25 if (res != 510) return 1; 28 if (res != 128) return 1; 31 if (res != 2147483520) return 1; 34 if (t2 < t258 as byte) return 1; 35 if (t3 <= t258 as byte) return 1; 36 if (t2 > t258 as byte) return 1; 37 if (t1 >= t258 as byte) return 1; 38 if (t1 == t258 as byte) return 1; 39 if (t2 != t258 as byte) return 1; 43 if (res != 2) return 1; [all …]
|
| D | shift.ets | 25 if (res != 31) return 1; 28 if (t8 < t2 << t2) return 1; 29 if (t255 <= t2 << t2) return 1; 30 if (t8 > t2 << t2) return 1; 31 if (t4 >= t2 << t2) return 1; 32 if (t4 == t2 << t2) return 1; 33 if (t8 != t2 << t2) return 1; 37 if (res != 0) return 1; 40 if (res != 19) return 1; 43 if (res != 223) return 1; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/08.statements/05.if_statements/ |
| D | if2.params.yaml | 17 if (ct()) 23 if (((ct() && ct() && ct()))) 29 if (cf()) 36 if (cf()) 43 if (cf()) 50 if (cf()) 51 if (ct()) 59 if (cf() && ct()) { 60 if (ct()) 64 if (ct()) [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/ |
| D | gc_settings.h | 31 if (nativeGcTriggerTypeStr == "no-native-gc-trigger") { in NativeGcTriggerTypeFromString() 34 if (nativeGcTriggerTypeStr == "simple-strategy") { in NativeGcTriggerTypeFromString() 45 /// @brief if true then enable tracing 54 /// @brief true if concurrency enabled 57 /// @brief true if explicit GC should be running in concurrent 60 /// @brief true if GC should be running in place 63 /// @brief use FastHeapVerifier if true 66 /// @brief true if heap verification before GC enabled 69 /// @brief true if heap verification during GC enabled 72 /// @brief true if heap verification after GC enabled [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/02.evaluation_of_expressions/06.evaluation_of_other_expressions/ |
| D | instof.ets | 18 Using instanceof to test a reference type expression allows to find out if 33 if (!(a instanceof A)) return 1; 34 if (!(a instanceof I)) return 1; 35 if (a instanceof B) return 1; 36 if (a instanceof J) return 1; 39 if (!(a instanceof A)) return 1; 40 if (!(a instanceof I)) return 1; 41 if (!(a instanceof B)) return 1; 42 if (!(a instanceof J)) return 1; 45 if (!(i instanceof A)) return 1; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/intrinsics/ |
| D | min.ets | 17 if (min(Int.MAX_VALUE as int, 0 as int) != 0) return 1; 18 if (min(Int.MIN_VALUE as int, 0 as int) != Int.MIN_VALUE as int) return 2; 19 if (min(0 as int, -2 as int) != -2 as int) return 3; 20 if (min(0 as int, 3 as int) != 0 as int) return 4; 21 if (min(-2 as int, -4 as int) != -4 as int) return 5; 22 if (min(1 as int, 4 as int) != 1 as int) return 6; 24 if (min(Long.MAX_VALUE, 0) != 0) return 11; 25 if (min(Long.MIN_VALUE, 0) != Long.MIN_VALUE) return 12; 26 if (min(0, -2) != -2) return 13; 27 if (min(0, 3) != 0) return 14; [all …]
|
| D | max.ets | 17 if (max(Int.MAX_VALUE as int, 0 as int) != Int.MAX_VALUE as int) return 1; 18 if (max(Int.MIN_VALUE as int, 0 as int) != 0 as int) return 2; 19 if (max(0 as int, -2 as int) != 0 as int) return 3; 20 if (max(0 as int, 3 as int) != 3 as int) return 4; 21 if (max(-2 as int, -4 as int) != -2 as int) return 5 22 if (max(1 as int, 4 as int) != 4 as int) return 6; 24 if (max(Long.MAX_VALUE, 0) != Long.MAX_VALUE) return 11; 25 if (max(Long.MIN_VALUE, 0) != 0) return 12; 26 if (max(0, -2) != 0) return 13; 27 if (max(0, 3) != 3) return 14; [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
| D | peep.cpp | 20 #if TARGAARCH64 27 #if TARGARM32 32 #if TARGAARCH64 35 if (startInsn.GetBB() != endInsn.GetBB()) { in IsCCRegCrossVersion() 41 if (!curInsn->IsMachineInstruction()) { in IsCCRegCrossVersion() 44 if (curInsn->IsCall()) { in IsCCRegCrossVersion() 50 if (!opnd.IsRegister()) { in IsCCRegCrossVersion() 54 if (!curInsn->IsRegDefined(regOpnd.GetRegisterNumber())) { in IsCCRegCrossVersion() 57 if (static_cast<RegOperand &>(opnd).IsOfCC()) { in IsCCRegCrossVersion() 63 if (ccVersion->GetVersionIdx() != curCCVersion->GetVersionIdx()) { in IsCCRegCrossVersion() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | date_parse.cpp | 30 if (isIso) { in ParseDateString() 35 if (result) { in ParseDateString() 45 if (proxy->GetDate().IsSign()) { in IsIsoDateTime() 47 if (!proxy->GetDate().IsSixDecimalDigit()) { in IsIsoDateTime() 51 if (sign.IsSymbol('-') && signYear == 0) { in IsIsoDateTime() 54 if (sign.IsSymbol('-')) { in IsIsoDateTime() 58 } else if (proxy->GetDate().IsFourDecimalDigit()) { in IsIsoDateTime() 64 if (proxy->GetDate().IsSymbol('-')) { in IsIsoDateTime() 67 if (!mon.IsTwoDecimalDigit()) { in IsIsoDateTime() 72 if (proxy->GetDate().IsSymbol('-')) { in IsIsoDateTime() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/lexer/regexp/ |
| D | regexp.cpp | 73 if (IsDecimalDigit(cp)) { in HexValue() 79 if (cp < LEX_CHAR_LOWERCASE_A) { in HexValue() 95 if (iter_.HasNext()) { in ParsePattern() 99 if (!backReferences_.empty() && !groupNames_.empty()) { in ParsePattern() 102 if (result == groupNames_.end()) { in ParsePattern() 114 if (Peek() != LEX_CHAR_VLINE) { in ParseDisjunction() 128 if (cp == LEX_CHAR_LOWERCASE_B || cp == LEX_CHAR_UPPERCASE_B) { in ParseAlternative() 146 if (Peek() != LEX_CHAR_QUESTION) { in ParseAlternative() 154 if (cp == LEX_CHAR_COLON) { in ParseAlternative() 159 if (cp == LEX_CHAR_EQUALS || cp == LEX_CHAR_EXCLAMATION) { in ParseAlternative() [all …]
|
| /arkcompiler/ets_frontend/es2panda/lexer/regexp/ |
| D | regexp.cpp | 74 if (IsDecimalDigit(cp)) { in HexValue() 80 if (cp < LEX_CHAR_LOWERCASE_A) { in HexValue() 96 if (iter_.HasNext()) { in ParsePattern() 107 if (Peek() != LEX_CHAR_VLINE) { in ParseDisjunction() 121 if (cp == LEX_CHAR_LOWERCASE_B || cp == LEX_CHAR_UPPERCASE_B) { in ParseAlternative() 139 if (Peek() != LEX_CHAR_QUESTION) { in ParseAlternative() 147 if (cp == LEX_CHAR_COLON) { in ParseAlternative() 152 if (cp == LEX_CHAR_EQUALS || cp == LEX_CHAR_EXCLAMATION) { in ParseAlternative() 155 if (Unicode()) { in ParseAlternative() 162 if (cp != LEX_CHAR_LESS_THAN) { in ParseAlternative() [all …]
|
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | syntaxChecker.ts | 63 if (isFunctionLikeDeclaration(node)) { 64 if (isStrictMode(node)) { 68 if (node.body) { 71 if (bodyScope) { 78 …if ((node.kind === ts.SyntaxKind.Block) && (node.parent != undefined && node.parent.kind === ts.Sy… 89 if (ts.isFunctionDeclaration(decls[i].node) && scope instanceof ModuleScope) { 99 if (decls[index] instanceof VarDecl) { 102 if (!parentScope) { 108 if (hasDuplicateEntryAcrossScope(decls[index], parentDecl)) { 119 if (hasDuplicateEntryInScope(decls[index], decls[i], scope)) { [all …]
|
| /arkcompiler/toolchain/tooling/base/ |
| D | pt_params.cpp | 27 if (ret == Result::SUCCESS) { in Create() 29 } else if (ret == Result::TYPE_ERROR) { in Create() 33 if (!error.empty()) { in Create() 49 if (ret == Result::SUCCESS) { in Create() 56 if (ret == Result::SUCCESS) { in Create() 63 if (ret == Result::SUCCESS) { in Create() 65 } else if (ret == Result::TYPE_ERROR) { in Create() 70 if (ret == Result::SUCCESS) { in Create() 72 } else if (ret == Result::TYPE_ERROR) { in Create() 77 if (ret == Result::SUCCESS) { in Create() [all …]
|
| /arkcompiler/ets_frontend/arkguard/src/utils/ |
| D | OhsUtil.ts | 78 if (!isVariableStatement(node) || node.declarationList.declarations.length !== 1) { 83 if (initializer === undefined) { 88 if (isBinaryExpression(initializer)) { 89 if (initializer.operatorToken.kind !== SyntaxKind.BarBarToken) { 93 if (!isCallExpression(initializer.left)) { 97 if (!isPropertyAccessExpression(initializer.left.expression)) { 101 if (!isIdentifier(initializer.left.expression.expression) || 106 if (!isIdentifier(initializer.left.expression.name) || 111 if (initializer.left.arguments.length !== 1) { 116 if (isStringLiteral(arg) && arg.text === moduleName.substring('@ohos.'.length)) { [all …]
|
| /arkcompiler/runtime_core/static_core/cmake/ |
| D | Definitions.cmake | 20 # if variable evaluates to True. 23 if(${var_name}) 31 if(CMAKE_SYSTEM_NAME STREQUAL "Linux") 34 if (NOT PANDA_ENABLE_ADDRESS_SANITIZER) 43 if (NOT PANDA_ENABLE_ADDRESS_SANITIZER) 55 if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64") 56 if(NOT PANDA_CROSS_AMD64_X86) 72 …if((PANDA_TARGET_ARM32_ABI_SOFT AND (PANDA_TARGET_ARM32_ABI_SOFTFP OR PANDA_TARGET_ARM32_ABI_HARD)… 86 if(PANDA_TARGET_AMD64 OR PANDA_TARGET_ARM64) 94 if (PANDA_TRACK_INTERNAL_ALLOCATIONS) [all …]
|
| /arkcompiler/toolchain/build/config/ |
| D | arm.gni | 18 if (current_cpu == "arm") { 56 if (arm_use_neon == "") { 57 if (current_os == "linux") { 65 if (arm_version == 6) { 66 if (arm_arch == "") { 69 if (arm_tune != "") { 72 if (arm_float_abi == "") { 75 if (arm_fpu == "") { 80 } else if (arm_version == 7) { 81 if (arm_arch == "") { [all …]
|