Home
last modified time | relevance | path

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

12345678910>>...26

/arkcompiler/ets_runtime/ecmascript/compiler/
Dassembler_module.cpp85 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()
97 case JSCallMode::CALL_ARG3: 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/jspandafile/bytecode_inst/
Dold_instruction.h255 case Format::ID16: { in Size()
259 case Format::ID32: { in Size()
263 case Format::IMM16: { in Size()
267 case Format::IMM16_V16: { in Size()
271 case Format::IMM32: { in Size()
275 case Format::IMM4_V4_V4_V4: { in Size()
279 case Format::IMM4_V4_V4_V4_V4_V4: { in Size()
283 case Format::IMM64: { in Size()
287 case Format::IMM8: { in Size()
291 case Format::NONE: { in Size()
[all …]
/arkcompiler/ets_frontend/es2panda/lexer/token/
Dtoken.cpp80 case TokenType::KEYW_ANY: in IsReservedTypeName()
81 case TokenType::KEYW_UNKNOWN: in IsReservedTypeName()
82 case TokenType::KEYW_NEVER: in IsReservedTypeName()
83 case TokenType::KEYW_NUMBER: in IsReservedTypeName()
84 case TokenType::KEYW_BIGINT: in IsReservedTypeName()
85 case TokenType::KEYW_BOOLEAN: in IsReservedTypeName()
86 case TokenType::KEYW_STRING: in IsReservedTypeName()
87 case TokenType::KEYW_VOID: in IsReservedTypeName()
88 case TokenType::KEYW_OBJECT: in IsReservedTypeName()
98 case TokenType::KEYW_ARGUMENTS: in IsJsStrictReservedWord()
[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 …]
Danalysis.cpp65 case Opcode::StoreArray: in InstStoredValue()
66 case Opcode::StoreObject: in InstStoredValue()
67 case Opcode::StoreStatic: in InstStoredValue()
68 case Opcode::StoreArrayI: in InstStoredValue()
69 case Opcode::Store: in InstStoredValue()
70 case Opcode::StoreI: in InstStoredValue()
74 case Opcode::UnresolvedStoreObject: in InstStoredValue()
77 case Opcode::UnresolvedStoreStatic: in InstStoredValue()
80 case Opcode::StoreArrayPair: in InstStoredValue()
81 case Opcode::StoreArrayPairI: { in InstStoredValue()
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/
Dobject_xray.h128 case JSType::JS_OBJECT: in VisitObjectBody()
129 case JSType::JS_ERROR: in VisitObjectBody()
130 case JSType::JS_EVAL_ERROR: in VisitObjectBody()
131 case JSType::JS_RANGE_ERROR: in VisitObjectBody()
132 case JSType::JS_REFERENCE_ERROR: in VisitObjectBody()
133 case JSType::JS_TYPE_ERROR: in VisitObjectBody()
134 case JSType::JS_AGGREGATE_ERROR: in VisitObjectBody()
135 case JSType::JS_URI_ERROR: in VisitObjectBody()
136 case JSType::JS_SYNTAX_ERROR: in VisitObjectBody()
137 case JSType::JS_OOM_ERROR: in VisitObjectBody()
[all …]
/arkcompiler/runtime_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()
149 case ClassRoot::U1: in GetClassVTableSize()
150 case ClassRoot::I8: in GetClassVTableSize()
151 case ClassRoot::U8: in GetClassVTableSize()
152 case ClassRoot::I16: in GetClassVTableSize()
153 case ClassRoot::U16: in GetClassVTableSize()
[all …]
/arkcompiler/ets_frontend/es2panda/lexer/
Dlexer.cpp144 case util::StringView::Iterator::INVALID_CP: { in SkipMultiLineComment()
148 case LEX_CHAR_CR: { in SkipMultiLineComment()
155 case LEX_CHAR_LF: in SkipMultiLineComment()
156 case LEX_CHAR_LS: in SkipMultiLineComment()
157 case LEX_CHAR_PS: { in SkipMultiLineComment()
161 case LEX_CHAR_ASTERISK: { in SkipMultiLineComment()
181 case util::StringView::Iterator::INVALID_CP: in SkipSingleLineComment()
182 case LEX_CHAR_CR: { in SkipSingleLineComment()
189 case LEX_CHAR_LF: in SkipSingleLineComment()
190 case LEX_CHAR_LS: in SkipSingleLineComment()
[all …]
/arkcompiler/ets_frontend/ts2panda/src/
DsyntaxCheckHelper.ts79 case ts.SyntaxKind.NumericLiteral:
80 case ts.SyntaxKind.BigIntLiteral:
81 case ts.SyntaxKind.StringLiteral:
82 case ts.SyntaxKind.RegularExpressionLiteral:
83 case ts.SyntaxKind.NoSubstitutionTemplateLiteral:
84 case ts.SyntaxKind.Identifier:
85 case ts.SyntaxKind.FalseKeyword:
86 case ts.SyntaxKind.ImportKeyword:
87 case ts.SyntaxKind.NullKeyword:
88 case ts.SyntaxKind.SuperKeyword:
[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 …]
/arkcompiler/runtime_core/assembler/
Dannotation.h105 case Type::U1: in GetTypeAsChar()
108 case Type::I8: in GetTypeAsChar()
111 case Type::U8: in GetTypeAsChar()
114 case Type::I16: in GetTypeAsChar()
117 case Type::U16: in GetTypeAsChar()
120 case Type::I32: in GetTypeAsChar()
123 case Type::U32: in GetTypeAsChar()
126 case Type::I64: in GetTypeAsChar()
129 case Type::U64: in GetTypeAsChar()
132 case Type::F32: in GetTypeAsChar()
[all …]
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 …]
Dannotation.cpp24 case Value::Type::U1: { in InitScalarValue()
28 case Value::Type::U8: { in InitScalarValue()
32 case Value::Type::U16: { in InitScalarValue()
37 case Value::Type::U32: { in InitScalarValue()
42 case Value::Type::U64: { in InitScalarValue()
47 case Value::Type::I8: { in InitScalarValue()
51 case Value::Type::I16: { in InitScalarValue()
55 case Value::Type::I32: { in InitScalarValue()
59 case Value::Type::I64: { in InitScalarValue()
63 case Value::Type::F32: { in InitScalarValue()
[all …]
/arkcompiler/runtime_core/runtime/mem/gc/
Dgc_scoped_phase.h41 case GCPhase::GC_PHASE_IDLE: in GetPhaseName()
43 case GCPhase::GC_PHASE_RUNNING: in GetPhaseName()
45 case GCPhase::GC_PHASE_COLLECT_ROOTS: in GetPhaseName()
47 case GCPhase::GC_PHASE_INITIAL_MARK: in GetPhaseName()
49 case GCPhase::GC_PHASE_MARK: in GetPhaseName()
51 case GCPhase::GC_PHASE_MARK_YOUNG: in GetPhaseName()
53 case GCPhase::GC_PHASE_REMARK: in GetPhaseName()
55 case GCPhase::GC_PHASE_COLLECT_YOUNG_AND_MOVE: in GetPhaseName()
57 case GCPhase::GC_PHASE_SWEEP_STRING_TABLE: in GetPhaseName()
59 case GCPhase::GC_PHASE_SWEEP_STRING_TABLE_YOUNG: in GetPhaseName()
[all …]
Dgc_root_type.cpp23 case RootType::ROOT_UNKNOWN: in operator <<()
26 case RootType::ROOT_CLASS: in operator <<()
29 case RootType::ROOT_FRAME: in operator <<()
32 case RootType::ROOT_THREAD: in operator <<()
35 case RootType::ROOT_CLASS_LINKER: in operator <<()
38 case RootType::ROOT_TENURED: in operator <<()
41 case RootType::ROOT_VM: in operator <<()
44 case RootType::ROOT_NATIVE_GLOBAL: in operator <<()
47 case RootType::ROOT_NATIVE_LOCAL: in operator <<()
50 case RootType::ROOT_PT_LOCAL: in operator <<()
[all …]
/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper-inl.h45 case JSType::JS_INT8_ARRAY: in GetType()
47 case JSType::JS_UINT8_ARRAY: in GetType()
49 case JSType::JS_UINT8_CLAMPED_ARRAY: in GetType()
51 case JSType::JS_INT16_ARRAY: in GetType()
53 case JSType::JS_UINT16_ARRAY: in GetType()
55 case JSType::JS_INT32_ARRAY: in GetType()
57 case JSType::JS_UINT32_ARRAY: in GetType()
59 case JSType::JS_FLOAT32_ARRAY: in GetType()
61 case JSType::JS_FLOAT64_ARRAY: in GetType()
63 case JSType::JS_BIGINT64_ARRAY: in GetType()
[all …]
/arkcompiler/runtime_core/libpandafile/
Dliteral_data_accessor-inl.h54 case LiteralTag::INTEGER: in EnumerateLiteralVals()
55 case LiteralTag::LITERALBUFFERINDEX: { in EnumerateLiteralVals()
59 case LiteralTag::DOUBLE: { in EnumerateLiteralVals()
63 case LiteralTag::BOOL: { in EnumerateLiteralVals()
67 case LiteralTag::FLOAT: { in EnumerateLiteralVals()
71 case LiteralTag::STRING: in EnumerateLiteralVals()
72 case LiteralTag::METHOD: in EnumerateLiteralVals()
73 case LiteralTag::GENERATORMETHOD: in EnumerateLiteralVals()
74 case LiteralTag::LITERALARRAY: in EnumerateLiteralVals()
75 case LiteralTag::ASYNCGENERATORMETHOD: { in EnumerateLiteralVals()
[all …]
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dframe_handler.cpp172 case FrameType::ASM_INTERPRETER_FRAME: in GetFunction()
173 case FrameType::INTERPRETER_CONSTRUCTOR_FRAME: { in GetFunction()
177 case FrameType::BUILTIN_FRAME_WITH_ARGV: { in GetFunction()
181 case FrameType::BUILTIN_ENTRY_FRAME: in GetFunction()
182 case FrameType::BUILTIN_FRAME: { in GetFunction()
186 case FrameType::OPTIMIZED_JS_FUNCTION_FRAME: { in GetFunction()
190 case FrameType::INTERPRETER_FRAME: in GetFunction()
191 case FrameType::INTERPRETER_FAST_NEW_FRAME: in GetFunction()
192 case FrameType::INTERPRETER_ENTRY_FRAME: in GetFunction()
193 case FrameType::ASM_INTERPRETER_ENTRY_FRAME: in GetFunction()
[all …]
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_snapshot.cpp238 case JSType::TAGGED_ARRAY: in GenerateNodeName()
240 case JSType::LEXICAL_ENV: in GenerateNodeName()
242 case JSType::CONSTANT_POOL: in GenerateNodeName()
244 case JSType::TAGGED_DICTIONARY: in GenerateNodeName()
246 case JSType::AOT_LITERAL_INFO: in GenerateNodeName()
248 case JSType::COW_TAGGED_ARRAY: in GenerateNodeName()
250 case JSType::HCLASS: in GenerateNodeName()
252 case JSType::STRING: in GenerateNodeName()
254 case JSType::JS_OBJECT: { in GenerateNodeName()
258 case JSType::FREE_OBJECT_WITH_ONE_FIELD: in GenerateNodeName()
[all …]
/arkcompiler/runtime_core/libpandafile/templates/
Dtype.h.erb62 case TypeId::<%= type.name.upcase %>:
73 case TypeId::<%= type.name.upcase %>: {
86 case TypeId::<%= type.name.upcase %>:
97 case TypeId::<%= type.name.upcase %>:
108 case TypeId::<%= type.name.upcase %>:
123 case panda_file::Type::TypeId::VOID:
125 case panda_file::Type::TypeId::U1:
127 case panda_file::Type::TypeId::I8:
129 case panda_file::Type::TypeId::U8:
131 case panda_file::Type::TypeId::I16:
[all …]
/arkcompiler/runtime_core/compiler/tests/
Dinst_generator.cpp24 case Opcode::LoadArray: in GenerateGraph()
25 case Opcode::LoadArrayI: in GenerateGraph()
26 case Opcode::StoreArray: in GenerateGraph()
27 case Opcode::StoreArrayI: in GenerateGraph()
28 case Opcode::StoreObject: in GenerateGraph()
29 case Opcode::SelectImm: in GenerateGraph()
30 case Opcode::Select: in GenerateGraph()
31 case Opcode::ReturnInlined: in GenerateGraph()
32 case Opcode::LoadArrayPair: in GenerateGraph()
33 case Opcode::LoadArrayPairI: in GenerateGraph()
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Ddump_test.cpp413 case JSType::JS_ERROR: in HWTEST_F_L0()
414 case JSType::JS_EVAL_ERROR: in HWTEST_F_L0()
415 case JSType::JS_RANGE_ERROR: in HWTEST_F_L0()
416 case JSType::JS_TYPE_ERROR: in HWTEST_F_L0()
417 case JSType::JS_AGGREGATE_ERROR: in HWTEST_F_L0()
418 case JSType::JS_REFERENCE_ERROR: in HWTEST_F_L0()
419 case JSType::JS_URI_ERROR: in HWTEST_F_L0()
420 case JSType::JS_ARGUMENTS: in HWTEST_F_L0()
421 case JSType::JS_SYNTAX_ERROR: in HWTEST_F_L0()
422 case JSType::JS_OOM_ERROR: in HWTEST_F_L0()
[all …]
/arkcompiler/ets_frontend/es2panda/lexer/regexp/
Dregexp.cpp118 case LEX_CHAR_BACKSLASH: { in ParseAlternative()
130 case LEX_CHAR_CIRCUMFLEX: in ParseAlternative()
131 case LEX_CHAR_DOLLAR_SIGN: { in ParseAlternative()
136 case LEX_CHAR_LEFT_PAREN: { in ParseAlternative()
176 case LEX_CHAR_LEFT_SQUARE: { in ParseAlternative()
181 case LEX_CHAR_DOT: { in ParseAlternative()
205 case util::StringView::Iterator::INVALID_CP: in ParseAlternatives()
206 case LEX_CHAR_RIGHT_PAREN: in ParseAlternatives()
207 case LEX_CHAR_VLINE: { in ParseAlternatives()
308 case LEX_CHAR_LOWERCASE_C: { in ParseClassAtom()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Dframes.cpp60 case FrameType::OPTIMIZED_JS_FUNCTION_FRAME: { in GetFunction()
64 case FrameType::ASM_INTERPRETER_FRAME: in GetFunction()
65 case FrameType::INTERPRETER_CONSTRUCTOR_FRAME: { in GetFunction()
69 case FrameType::INTERPRETER_FRAME: in GetFunction()
70 case FrameType::INTERPRETER_FAST_NEW_FRAME: { in GetFunction()
74 case FrameType::INTERPRETER_BUILTIN_FRAME: { in GetFunction()
78 case FrameType::BUILTIN_FRAME_WITH_ARGV: { in GetFunction()
82 case FrameType::BUILTIN_ENTRY_FRAME: in GetFunction()
83 case FrameType::BUILTIN_FRAME: { in GetFunction()
87 case FrameType::BUILTIN_CALL_LEAVE_FRAME: { in GetFunction()
[all …]

12345678910>>...26