Home
last modified time | relevance | path

Searched full:case (Results 1 – 25 of 1610) sorted by relevance

12345678910>>...65

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dopcodes.h31 case OP_assertnonnull: \
32 case OP_assignassertnonnull: \
33 case OP_callassertnonnull: \
34 case OP_returnassertnonnull:
37 case OP_assertge: \
38 case OP_assertlt: \
39 case OP_calcassertge: \
40 case OP_calcassertlt: \
41 case OP_callassertle: \
42 case OP_returnassertle: \
[all …]
/arkcompiler/ets_frontend/ets2panda/lexer/token/
Dtoken.cpp84 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/
Dcall_stub_builder.cpp138 case JSCallMode::CALL_THIS_ARG0: in JSCallNative()
139 case JSCallMode::CALL_THIS_ARG1: in JSCallNative()
140 case JSCallMode::CALL_THIS_ARG2: in JSCallNative()
141 case JSCallMode::CALL_THIS_ARG3: in JSCallNative()
142 case JSCallMode::CALL_CONSTRUCTOR_WITH_ARGV: in JSCallNative()
143 case JSCallMode::DEPRECATED_CALL_CONSTRUCTOR_WITH_ARGV: in JSCallNative()
149 case JSCallMode::CALL_ARG0: in JSCallNative()
150 case JSCallMode::CALL_ARG1: in JSCallNative()
151 case JSCallMode::CALL_ARG2: in JSCallNative()
152 case JSCallMode::CALL_ARG3: in JSCallNative()
[all …]
Dassembler_module.cpp90 case JSCallMode::CALL_ARG0: in GetArgcFromJSCallMode()
91 case JSCallMode::CALL_THIS_ARG0: in GetArgcFromJSCallMode()
92 case JSCallMode::DEPRECATED_CALL_ARG0: in GetArgcFromJSCallMode()
94 case JSCallMode::CALL_ARG1: in GetArgcFromJSCallMode()
95 case JSCallMode::CALL_THIS_ARG1: in GetArgcFromJSCallMode()
96 case JSCallMode::DEPRECATED_CALL_ARG1: in GetArgcFromJSCallMode()
98 case JSCallMode::CALL_ARG2: in GetArgcFromJSCallMode()
99 case JSCallMode::CALL_THIS_ARG2: in GetArgcFromJSCallMode()
100 case JSCallMode::DEPRECATED_CALL_ARG2: in GetArgcFromJSCallMode()
101 case JSCallMode::CALL_THIS_ARG2_WITH_RETURN: in GetArgcFromJSCallMode()
[all …]
Dbytecodes.cpp33 case EcmaOpcode::GETPROPITERATOR: in InitBytecodeMetaData()
34 case EcmaOpcode::TYPEOF_IMM8: in InitBytecodeMetaData()
35 case EcmaOpcode::TYPEOF_IMM16: in InitBytecodeMetaData()
36 case EcmaOpcode::LDSYMBOL: in InitBytecodeMetaData()
37 case EcmaOpcode::LDGLOBAL: in InitBytecodeMetaData()
38 case EcmaOpcode::LDBIGINT_ID16: in InitBytecodeMetaData()
39 case EcmaOpcode::LDEXTERNALMODULEVAR_IMM8: in InitBytecodeMetaData()
40 case EcmaOpcode::WIDE_LDEXTERNALMODULEVAR_PREF_IMM16: in InitBytecodeMetaData()
41 case EcmaOpcode::GETMODULENAMESPACE_IMM8: in InitBytecodeMetaData()
42 case EcmaOpcode::WIDE_GETMODULENAMESPACE_PREF_IMM16: in InitBytecodeMetaData()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_isa.cpp27 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/
Dold_instruction.h256 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/
Ddatatype.h92 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_frontend/es2panda/lexer/token/
Dtoken.cpp88 case TokenType::KEYW_ANY: in IsReservedTypeName()
89 case TokenType::KEYW_UNKNOWN: in IsReservedTypeName()
90 case TokenType::KEYW_NEVER: in IsReservedTypeName()
91 case TokenType::KEYW_NUMBER: in IsReservedTypeName()
92 case TokenType::KEYW_BIGINT: in IsReservedTypeName()
93 case TokenType::KEYW_BOOLEAN: in IsReservedTypeName()
94 case TokenType::KEYW_STRING: in IsReservedTypeName()
95 case TokenType::KEYW_VOID: in IsReservedTypeName()
96 case TokenType::KEYW_OBJECT: in IsReservedTypeName()
106 case TokenType::KEYW_ARGUMENTS: in IsJsStrictReservedWord()
[all …]
/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper-inl.h91 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/
Dassembly-literals.h37 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/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_optimize_common.cpp84 case x64::MOP_cmpb_r_r: in IsCompareInsn()
85 case x64::MOP_cmpb_m_r: in IsCompareInsn()
86 case x64::MOP_cmpb_i_r: in IsCompareInsn()
87 case x64::MOP_cmpb_r_m: in IsCompareInsn()
88 case x64::MOP_cmpb_i_m: in IsCompareInsn()
89 case x64::MOP_cmpw_r_r: in IsCompareInsn()
90 case x64::MOP_cmpw_m_r: in IsCompareInsn()
91 case x64::MOP_cmpw_i_r: in IsCompareInsn()
92 case x64::MOP_cmpw_r_m: in IsCompareInsn()
93 case x64::MOP_cmpw_i_m: in IsCompareInsn()
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
Ddatatype.h99 case Type::BOOL: in GetCommonType()
100 case Type::UINT8: in GetCommonType()
101 case Type::INT8: in GetCommonType()
102 case Type::UINT16: in GetCommonType()
103 case Type::INT16: in GetCommonType()
104 case Type::UINT32: in GetCommonType()
105 case Type::INT32: in GetCommonType()
106 case Type::UINT64: in GetCommonType()
107 case Type::INT64: in GetCommonType()
109 case Type::REFERENCE: in GetCommonType()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Denum_conversion.h27 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/mem/
Dobject_xray.h149 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/ecmascript/compiler/codegen/maple/maple_ir/src/
Ddebug_info_util.cpp29 case DW_TAG_##NAME: \ in GetDwTagName()
32 case DW_TAG_lo_user: in GetDwTagName()
34 case DW_TAG_hi_user: in GetDwTagName()
36 case DW_TAG_user_base: in GetDwTagName()
48 case DW_FORM_##NAME: \ in GetDwFormName()
51 case DW_FORM_lo_user: in GetDwFormName()
63 case DW_AT_##NAME: \ in GetDwAtName()
66 case DW_AT_lo_user: in GetDwAtName()
78 case DW_OP_##NAME: \ in GetDwOpName()
81 case DW_OP_hi_user: in GetDwOpName()
[all …]
/arkcompiler/runtime_core/static_core/runtime/core/
Dcore_class_linker_extension.cpp33 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/builtins/
Dcontainers_stub_builder.h82 case ContainersType::VECTOR_FOREACH: in IsContainer()
83 case ContainersType::VECTOR_REPLACEALLELEMENTS: in IsContainer()
85 case ContainersType::STACK_FOREACH: in IsContainer()
87 case ContainersType::PLAINARRAY_FOREACH: in IsContainer()
89 case ContainersType::QUEUE_FOREACH: in IsContainer()
91 case ContainersType::DEQUE_FOREACH: in IsContainer()
93 case ContainersType::LIGHTWEIGHTMAP_FOREACH: in IsContainer()
95 case ContainersType::LIGHTWEIGHTSET_FOREACH: in IsContainer()
97 case ContainersType::HASHMAP_FOREACH: in IsContainer()
99 case ContainersType::HASHSET_FOREACH: in IsContainer()
[all …]
Dbuiltins_call_signature.h389 case BuiltinsStubCSigns::ID::ArraySort: in IsTypedInlineBuiltin()
390 case BuiltinsStubCSigns::ID::StringFromCharCode: in IsTypedInlineBuiltin()
391 case BuiltinsStubCSigns::ID::StringSubstring: in IsTypedInlineBuiltin()
392 case BuiltinsStubCSigns::ID::StringSubStr: in IsTypedInlineBuiltin()
393 case BuiltinsStubCSigns::ID::StringSlice: in IsTypedInlineBuiltin()
394 case BuiltinsStubCSigns::ID::MapGet: in IsTypedInlineBuiltin()
395 case BuiltinsStubCSigns::ID::MapHas: in IsTypedInlineBuiltin()
396 case BuiltinsStubCSigns::ID::MapKeys: in IsTypedInlineBuiltin()
397 case BuiltinsStubCSigns::ID::MapValues: in IsTypedInlineBuiltin()
398 case BuiltinsStubCSigns::ID::MapEntries: in IsTypedInlineBuiltin()
[all …]
/arkcompiler/ets_frontend/ets2panda/lexer/
Dlexer.cpp155 case util::StringView::Iterator::INVALID_CP: { in SkipMultiLineComment()
158 case LEX_CHAR_LF: in SkipMultiLineComment()
159 case LEX_CHAR_CR: in SkipMultiLineComment()
160 case LEX_CHAR_LS: in SkipMultiLineComment()
161 case LEX_CHAR_PS: { in SkipMultiLineComment()
165 case LEX_CHAR_ASTERISK: { in SkipMultiLineComment()
185 case util::StringView::Iterator::INVALID_CP: in SkipSingleLineComment()
186 case LEX_CHAR_CR: { in SkipSingleLineComment()
193 case LEX_CHAR_LF: in SkipSingleLineComment()
194 case LEX_CHAR_LS: in SkipSingleLineComment()
[all …]
/arkcompiler/ets_frontend/es2panda/lexer/
Dlexer.cpp155 case util::StringView::Iterator::INVALID_CP: { in SkipMultiLineComment()
159 case LEX_CHAR_CR: { in SkipMultiLineComment()
166 case LEX_CHAR_LF: in SkipMultiLineComment()
167 case LEX_CHAR_LS: in SkipMultiLineComment()
168 case LEX_CHAR_PS: { in SkipMultiLineComment()
172 case LEX_CHAR_ASTERISK: { in SkipMultiLineComment()
192 case util::StringView::Iterator::INVALID_CP: in SkipSingleLineComment()
193 case LEX_CHAR_CR: { in SkipSingleLineComment()
200 case LEX_CHAR_LF: in SkipSingleLineComment()
201 case LEX_CHAR_LS: in SkipSingleLineComment()
[all …]
/arkcompiler/runtime_core/assembler/
Dassembly-literals.h37 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/
Dboolean_comparison.sts16 {% 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/
Dets_emit_intrinsic_llvm_ir_constructor_gen.inl16 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/
Dets_class_root.cpp24 case ClassRoot::V: in ToEtsClassRoot()
26 case ClassRoot::U1: in ToEtsClassRoot()
28 case ClassRoot::I8: in ToEtsClassRoot()
30 case ClassRoot::U16: in ToEtsClassRoot()
32 case ClassRoot::I16: in ToEtsClassRoot()
34 case ClassRoot::I32: in ToEtsClassRoot()
36 case ClassRoot::I64: in ToEtsClassRoot()
38 case ClassRoot::F32: in ToEtsClassRoot()
40 case ClassRoot::F64: in ToEtsClassRoot()
44 case ClassRoot::ARRAY_U1: in ToEtsClassRoot()
[all …]

12345678910>>...65