| /arkcompiler/ets_frontend/ets2panda/lexer/token/ |
| D | token.cpp | 84 case TokenType::KEYW_ANY: in IsReservedTypeName() 85 case TokenType::KEYW_UNKNOWN: in IsReservedTypeName() 86 case TokenType::KEYW_NEVER: in IsReservedTypeName() 87 case TokenType::KEYW_BOOLEAN: in IsReservedTypeName() 88 case TokenType::KEYW_VOID: in IsReservedTypeName() 89 case TokenType::KEYW_OBJECT: in IsReservedTypeName() 99 case TokenType::KEYW_BOOLEAN: in IsDefinableTypeName() 100 case TokenType::KEYW_DOUBLE: in IsDefinableTypeName() 101 case TokenType::KEYW_BYTE: in IsDefinableTypeName() 102 case TokenType::KEYW_FLOAT: in IsDefinableTypeName() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | assembler_module.cpp | 85 case JSCallMode::CALL_ARG0: in GetArgcFromJSCallMode() 86 case JSCallMode::CALL_THIS_ARG0: in GetArgcFromJSCallMode() 87 case JSCallMode::DEPRECATED_CALL_ARG0: in GetArgcFromJSCallMode() 89 case JSCallMode::CALL_ARG1: in GetArgcFromJSCallMode() 90 case JSCallMode::CALL_THIS_ARG1: in GetArgcFromJSCallMode() 91 case JSCallMode::DEPRECATED_CALL_ARG1: in GetArgcFromJSCallMode() 93 case JSCallMode::CALL_ARG2: in GetArgcFromJSCallMode() 94 case JSCallMode::CALL_THIS_ARG2: in GetArgcFromJSCallMode() 95 case JSCallMode::DEPRECATED_CALL_ARG2: in GetArgcFromJSCallMode() 96 case JSCallMode::CALL_THIS_ARG2_WITH_RETURN: in GetArgcFromJSCallMode() [all …]
|
| D | bytecodes.cpp | 72 case EcmaOpcode::GETUNMAPPEDARGS: in InitReadArgcFlag() 73 case EcmaOpcode::COPYRESTARGS_IMM8: in InitReadArgcFlag() 74 case EcmaOpcode::WIDE_COPYRESTARGS_PREF_IMM16: in InitReadArgcFlag() 85 case EcmaOpcode::SUPERCALLTHISRANGE_IMM8_IMM8_V8: in InitReadNewTargetFlag() 86 case EcmaOpcode::WIDE_SUPERCALLTHISRANGE_PREF_IMM16_V8: in InitReadNewTargetFlag() 87 case EcmaOpcode::SUPERCALLARROWRANGE_IMM8_IMM8_V8: in InitReadNewTargetFlag() 88 case EcmaOpcode::WIDE_SUPERCALLARROWRANGE_PREF_IMM16_V8: in InitReadNewTargetFlag() 89 case EcmaOpcode::SUPERCALLSPREAD_IMM8_V8: in InitReadNewTargetFlag() 90 case EcmaOpcode::CALLRUNTIME_SUPERCALLFORWARDALLARGS_PREF_V8: in InitReadNewTargetFlag() 101 case EcmaOpcode::NEWLEXENV_IMM8: in InitReadEnvFlag() [all …]
|
| D | call_stub_builder.cpp | 61 case EcmaOpcode::CALLTHIS0_IMM8_V8: in GetOpInfo() 63 case EcmaOpcode::CALLTHIS1_IMM8_V8_V8: in GetOpInfo() 65 case EcmaOpcode::CALLTHIS2_IMM8_V8_V8_V8: in GetOpInfo() 67 case EcmaOpcode::CALLTHIS3_IMM8_V8_V8_V8_V8: in GetOpInfo() 69 case EcmaOpcode::CALLARG0_IMM8: in GetOpInfo() 71 case EcmaOpcode::CALLARG1_IMM8_V8: in GetOpInfo() 73 case EcmaOpcode::CALLARGS2_IMM8_V8_V8: in GetOpInfo() 75 case EcmaOpcode::CALLARGS3_IMM8_V8_V8_V8: in GetOpInfo() 358 case JSCallMode::CALL_THIS_ARG0: in JSCallNativeInner() 359 case JSCallMode::CALL_THIS_ARG1: in JSCallNativeInner() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
| D | aarch64_isa.cpp | 27 case MOP_xldr: in GetMopPair() 29 case MOP_wldr: in GetMopPair() 31 case MOP_xstr: in GetMopPair() 33 case MOP_wstr: in GetMopPair() 35 case MOP_dldr: in GetMopPair() 37 case MOP_qldr: in GetMopPair() 39 case MOP_sldr: in GetMopPair() 41 case MOP_dstr: in GetMopPair() 43 case MOP_sstr: in GetMopPair() 45 case MOP_qstr: in GetMopPair() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/bytecode_inst/ |
| D | old_instruction.h | 256 case Format::ID16: { in Size() 260 case Format::ID32: { in Size() 264 case Format::IMM16: { in Size() 268 case Format::IMM16_V16: { in Size() 272 case Format::IMM32: { in Size() 276 case Format::IMM4_V4_V4_V4: { in Size() 280 case Format::IMM4_V4_V4_V4_V4_V4: { in Size() 284 case Format::IMM64: { in Size() 288 case Format::IMM8: { in Size() 292 case Format::NONE: { in Size() [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | datatype.h | 92 case Type::BOOL: in GetCommonType() 93 case Type::UINT8: in GetCommonType() 94 case Type::INT8: in GetCommonType() 95 case Type::UINT16: in GetCommonType() 96 case Type::INT16: in GetCommonType() 97 case Type::UINT32: in GetCommonType() 98 case Type::INT32: in GetCommonType() 99 case Type::UINT64: in GetCommonType() 100 case Type::INT64: in GetCommonType() 110 case Type::BOOL: in IsInt32Bit() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
| D | opcodes.h | 54 case OP_add: in IsCommutative() 55 case OP_mul: in IsCommutative() 56 case OP_max: in IsCommutative() 57 case OP_min: in IsCommutative() 58 case OP_band: in IsCommutative() 59 case OP_bior: in IsCommutative() 60 case OP_bxor: in IsCommutative() 61 case OP_eq: in IsCommutative() 62 case OP_ne: in IsCommutative() 72 case OP_return: in IsStmtMustRequire() [all …]
|
| /arkcompiler/ets_frontend/es2panda/lexer/token/ |
| D | token.cpp | 93 case TokenType::KEYW_ANY: in IsReservedTypeName() 94 case TokenType::KEYW_UNKNOWN: in IsReservedTypeName() 95 case TokenType::KEYW_NEVER: in IsReservedTypeName() 96 case TokenType::KEYW_NUMBER: in IsReservedTypeName() 97 case TokenType::KEYW_BIGINT: in IsReservedTypeName() 98 case TokenType::KEYW_BOOLEAN: in IsReservedTypeName() 99 case TokenType::KEYW_STRING: in IsReservedTypeName() 100 case TokenType::KEYW_VOID: in IsReservedTypeName() 101 case TokenType::KEYW_OBJECT: in IsReservedTypeName() 111 case TokenType::KEYW_ARGUMENTS: in IsJsStrictReservedWord() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | datatype.h | 96 // CC-OFFNXT(G.FUD.06) switch-case, ODR 100 case Type::BOOL: in GetCommonType() 101 case Type::UINT8: in GetCommonType() 102 case Type::INT8: in GetCommonType() 103 case Type::UINT16: in GetCommonType() 104 case Type::INT16: in GetCommonType() 105 case Type::UINT32: in GetCommonType() 106 case Type::INT32: in GetCommonType() 107 case Type::UINT64: in GetCommonType() 108 case Type::INT64: in GetCommonType() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | typed_array_helper-inl.h | 91 case JSType::JS_INT8_ARRAY: 92 case JSType::JS_SHARED_INT8_ARRAY: 94 case JSType::JS_UINT8_ARRAY: 95 case JSType::JS_SHARED_UINT8_ARRAY: 97 case JSType::JS_UINT8_CLAMPED_ARRAY: 98 case JSType::JS_SHARED_UINT8_CLAMPED_ARRAY: 100 case JSType::JS_INT16_ARRAY: 101 case JSType::JS_SHARED_INT16_ARRAY: 103 case JSType::JS_UINT16_ARRAY: 104 case JSType::JS_SHARED_UINT16_ARRAY: [all …]
|
| /arkcompiler/runtime_core/static_core/assembler/ |
| D | assembly-literals.h | 37 case panda_file::LiteralTag::ARRAY_I8: in IsSigned() 38 case panda_file::LiteralTag::ARRAY_I16: in IsSigned() 39 case panda_file::LiteralTag::ARRAY_I32: in IsSigned() 40 case panda_file::LiteralTag::ARRAY_I64: in IsSigned() 41 case panda_file::LiteralTag::INTEGER: in IsSigned() 42 case panda_file::LiteralTag::BIGINT: in IsSigned() 52 case panda_file::LiteralTag::ARRAY_U1: in IsArray() 53 case panda_file::LiteralTag::ARRAY_U8: in IsArray() 54 case panda_file::LiteralTag::ARRAY_I8: in IsArray() 55 case panda_file::LiteralTag::ARRAY_U16: in IsArray() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | enum_conversion.h | 27 case BuiltinTypeId::UINT8_CLAMPED_ARRAY: in ToGlobelEnvPrototypeField() 29 case BuiltinTypeId::UINT8_ARRAY: in ToGlobelEnvPrototypeField() 31 case BuiltinTypeId::TYPED_ARRAY: in ToGlobelEnvPrototypeField() 33 case BuiltinTypeId::INT8_ARRAY: in ToGlobelEnvPrototypeField() 35 case BuiltinTypeId::UINT16_ARRAY: in ToGlobelEnvPrototypeField() 37 case BuiltinTypeId::UINT32_ARRAY: in ToGlobelEnvPrototypeField() 39 case BuiltinTypeId::INT16_ARRAY: in ToGlobelEnvPrototypeField() 41 case BuiltinTypeId::INT32_ARRAY: in ToGlobelEnvPrototypeField() 43 case BuiltinTypeId::FLOAT32_ARRAY: in ToGlobelEnvPrototypeField() 45 case BuiltinTypeId::FLOAT64_ARRAY: in ToGlobelEnvPrototypeField() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | builtins_call_signature.h | 118 case BuiltinsStubCSigns::ID::ArraySort: in IsTypedInlineBuiltin() 119 case BuiltinsStubCSigns::ID::StringFromCharCode: in IsTypedInlineBuiltin() 120 case BuiltinsStubCSigns::ID::StringCharCodeAt: in IsTypedInlineBuiltin() 121 case BuiltinsStubCSigns::ID::StringSubstring: in IsTypedInlineBuiltin() 122 case BuiltinsStubCSigns::ID::StringSubStr: in IsTypedInlineBuiltin() 123 case BuiltinsStubCSigns::ID::StringSlice: in IsTypedInlineBuiltin() 124 case BuiltinsStubCSigns::ID::MapGet: in IsTypedInlineBuiltin() 125 case BuiltinsStubCSigns::ID::MapHas: in IsTypedInlineBuiltin() 126 case BuiltinsStubCSigns::ID::MapKeys: in IsTypedInlineBuiltin() 127 case BuiltinsStubCSigns::ID::MapValues: in IsTypedInlineBuiltin() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | object_xray.h | 149 case JSType::JS_OBJECT: in VisitObjectBody() 150 case JSType::JS_ERROR: in VisitObjectBody() 151 case JSType::JS_EVAL_ERROR: in VisitObjectBody() 152 case JSType::JS_RANGE_ERROR: in VisitObjectBody() 153 case JSType::JS_REFERENCE_ERROR: in VisitObjectBody() 154 case JSType::JS_TYPE_ERROR: in VisitObjectBody() 155 case JSType::JS_AGGREGATE_ERROR: in VisitObjectBody() 156 case JSType::JS_URI_ERROR: in VisitObjectBody() 157 case JSType::JS_SYNTAX_ERROR: in VisitObjectBody() 158 case JSType::JS_OOM_ERROR: in VisitObjectBody() [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/Array/LastIndexOf/ |
| D | builtinArrayLastIndexOf.ts | 81 print('---- Case group #1: int[] ----') //: ---- Case group #1: int[] ---- 83 print('case 1.1: ', literalIntArrayWithHole.lastIndexOf(4)) //: case 1.1: 4 87 'case 1.2: ', 89 ) //: case 1.2: 4 93 'case 1.3: ', 95 ) //: case 1.3: 2 97 print('case 1.4: ', nIntArray.lastIndexOf(4)) //: case 1.4: 4 99 print('case 1.5: ', literalIntArrayWithHole.lastIndexOf(undefined)) //: case 1.5: -1 101 print('case 1.6: ', nIntArray.lastIndexOf(nIntArray.length)) //: case 1.6: -1 104 print('---- Case group #2: double[] ----') //: ---- Case group #2: double[] ---- [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/core/ |
| D | core_class_linker_extension.cpp | 33 case ClassLinker::Error::CLASS_NOT_FOUND: { in OnError() 38 case ClassLinker::Error::FIELD_NOT_FOUND: { in OnError() 42 case ClassLinker::Error::METHOD_NOT_FOUND: { in OnError() 46 case ClassLinker::Error::NO_CLASS_DEF: { in OnError() 50 case ClassLinker::Error::CLASS_CIRCULARITY: { in OnError() 159 case ClassRoot::U1: in GetClassVTableSize() 160 case ClassRoot::I8: in GetClassVTableSize() 161 case ClassRoot::U8: in GetClassVTableSize() 162 case ClassRoot::I16: in GetClassVTableSize() 163 case ClassRoot::U16: in GetClassVTableSize() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
| D | x64_call_conv.cpp | 30 case PTY_void: in Classification() 31 case PTY_u1: in Classification() 32 case PTY_u8: in Classification() 33 case PTY_i8: in Classification() 34 case PTY_u16: in Classification() 35 case PTY_i16: in Classification() 36 case PTY_u32: in Classification() 37 case PTY_i32: in Classification() 38 case PTY_a64: in Classification() 39 case PTY_ptr: in Classification() [all …]
|
| D | x64_emitter.cpp | 60 case k8BitSize: in TransferReg() 63 case k16BitSize: in TransferReg() 66 case k32BitSize: in TransferReg() 69 case k64BitSize: in TransferReg() 72 case k128BitSize: in TransferReg() 196 case x64::MOP_movb_r_r: in EmitInsn() 199 case x64::MOP_movw_r_r: in EmitInsn() 202 case x64::MOP_movl_r_r: in EmitInsn() 205 case x64::MOP_movq_r_r: in EmitInsn() 208 case x64::MOP_movb_m_r: in EmitInsn() [all …]
|
| /arkcompiler/ets_frontend/es2panda/lexer/ |
| D | lexer.cpp | 150 case util::StringView::Iterator::INVALID_CP: { in SkipMultiLineComment() 154 case LEX_CHAR_CR: { in SkipMultiLineComment() 161 case LEX_CHAR_LF: in SkipMultiLineComment() 162 case LEX_CHAR_LS: in SkipMultiLineComment() 163 case LEX_CHAR_PS: { in SkipMultiLineComment() 167 case LEX_CHAR_ASTERISK: { in SkipMultiLineComment() 194 case util::StringView::Iterator::INVALID_CP: { in SkipSingleLineComment() 202 case LEX_CHAR_CR: { in SkipSingleLineComment() 209 case LEX_CHAR_LF: in SkipSingleLineComment() 210 case LEX_CHAR_LS: in SkipSingleLineComment() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/lexer/ |
| D | lexer.cpp | 153 case util::StringView::Iterator::INVALID_CP: { in SkipMultiLineComment() 157 case LEX_CHAR_LF: in SkipMultiLineComment() 158 case LEX_CHAR_CR: in SkipMultiLineComment() 159 case LEX_CHAR_LS: in SkipMultiLineComment() 160 case LEX_CHAR_PS: { in SkipMultiLineComment() 164 case LEX_CHAR_ASTERISK: { in SkipMultiLineComment() 184 case util::StringView::Iterator::INVALID_CP: in SkipSingleLineComment() 185 case LEX_CHAR_CR: { in SkipSingleLineComment() 192 case LEX_CHAR_LF: in SkipSingleLineComment() 193 case LEX_CHAR_LS: in SkipSingleLineComment() [all …]
|
| /arkcompiler/runtime_core/assembler/ |
| D | assembly-literals.h | 37 case panda_file::LiteralTag::ARRAY_U1: in IsBoolValue() 38 case panda_file::LiteralTag::BOOL: in IsBoolValue() 48 case panda_file::LiteralTag::ARRAY_U8: in IsByteValue() 49 case panda_file::LiteralTag::ARRAY_I8: in IsByteValue() 50 case panda_file::LiteralTag::TAGVALUE: in IsByteValue() 51 case panda_file::LiteralTag::ACCESSOR: in IsByteValue() 52 case panda_file::LiteralTag::NULLVALUE: in IsByteValue() 62 case panda_file::LiteralTag::ARRAY_U16: in IsShortValue() 63 case panda_file::LiteralTag::ARRAY_I16: in IsShortValue() 73 case panda_file::LiteralTag::ARRAY_U32: in IsIntegerValue() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/24.relational_expressions/04.boolean_comparison_operators/ |
| D | boolean_comparison.sts | 16 {% for case in boolean_comparison %} 19 desc: Boolean comparison {{case.left}} {{case.op}} {{case.right}} 23 let x: boolean = {{case.xvalue}} 24 let bx: Boolean = new Boolean({{case.xvalue}}) 25 let y: boolean = {{case.yvalue}} 26 let by: Boolean = new Boolean({{case.yvalue}}) 28 assert ( {{case.xvalue}} {{case.op}} {{case.yvalue}} ) == {{case.result}} 29 assert ( x {{case.op}} y) == {{case.result}} 30 assert ( bx {{case.op}} by) == {{case.result}} 31 assert ( x {{case.op}} by) == {{case.result}}
|
| /arkcompiler/runtime_core/static_core/plugins/ets/libllvmbackend/ |
| D | ets_emit_intrinsic_llvm_ir_constructor_gen.inl | 16 case RuntimeInterface::IntrinsicId::INTRINSIC_STD_CORE_STRING_GET_LENGTH: 17 case RuntimeInterface::IntrinsicId::INTRINSIC_STD_CORE_STRING_IS_EMPTY: 18 case RuntimeInterface::IntrinsicId::INTRINSIC_STD_DOUBLE_IS_NAN: 19 case RuntimeInterface::IntrinsicId::INTRINSIC_STD_FLOAT_IS_NAN: 20 case RuntimeInterface::IntrinsicId::INTRINSIC_STD_DOUBLE_IS_FINITE: 21 case RuntimeInterface::IntrinsicId::INTRINSIC_STD_FLOAT_IS_FINITE: 22 case RuntimeInterface::IntrinsicId::INTRINSIC_STD_MATH_ABS: 23 case RuntimeInterface::IntrinsicId::INTRINSIC_STD_MATH_MOD: 24 case RuntimeInterface::IntrinsicId::INTRINSIC_STD_MATH_MAX_I32: 25 case RuntimeInterface::IntrinsicId::INTRINSIC_STD_MATH_MAX_I64: [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
| D | ets_class_root.cpp | 20 // CC-OFFNXT(huge_cyclomatic_complexity) big switch case 25 case ClassRoot::V: in ToEtsClassRoot() 27 case ClassRoot::U1: in ToEtsClassRoot() 29 case ClassRoot::I8: in ToEtsClassRoot() 31 case ClassRoot::U16: in ToEtsClassRoot() 33 case ClassRoot::I16: in ToEtsClassRoot() 35 case ClassRoot::I32: in ToEtsClassRoot() 37 case ClassRoot::I64: in ToEtsClassRoot() 39 case ClassRoot::F32: in ToEtsClassRoot() 41 case ClassRoot::F64: in ToEtsClassRoot() [all …]
|