/arkcompiler/ets_runtime/test/moduletest/elements_kind_generic/ |
H A D | elements_kind_generic.js | 21 let GENERIC = 31; 27 if (a[0] == 1 && a[1] == 2 && a[2] == 34 && ArkTools.getElementsKind(a) == GENERIC) { 39 if (a[0] == 1 && a[1] == 10 && a[2] == 34 && ArkTools.getElementsKind(a) == GENERIC) { 52 if (a[0] == 1 && a[1] == 2 && a[2] == 34 && ArkTools.getElementsKind(a) == GENERIC) { 66 if (a[0] == 1 && a[1] == 10 && a[2] == 34 && ArkTools.getElementsKind(a) == GENERIC) { 77 if (a[0] == 1.5 && a[1] == 3.5 && a[2] == 6.7 && ArkTools.getElementsKind(a) == GENERIC) { 89 if (a[0] == 1.5 && a[1] == 8.8 && a[2] == 6.7 && ArkTools.getElementsKind(a) == GENERIC) { 102 if (a[0] == 1.5 && a[1] == 3.5 && a[2] == 6.7 && ArkTools.getElementsKind(a) == GENERIC) { 116 if (a[0] == 1.5 && a[1] == 8.8 && a[2] == 6.7 && ArkTools.getElementsKind(a) == GENERIC) { 127 if (a[0] == 1.5 && a[1] == 3 && a[2] == 6.7 && ArkTools.getElementsKind(a) == GENERIC) { [all...] |
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
H A D | ic_binaryop_test.cpp | 127 JSTaggedValue(static_cast<int>(BinaryType::GENERIC)));
in HWTEST_F_L0() 156 JSTaggedValue(static_cast<int>(BinaryType::GENERIC)));
in HWTEST_F_L0() 184 JSTaggedValue(static_cast<int>(BinaryType::GENERIC)));
in HWTEST_F_L0() 221 JSTaggedValue(static_cast<int>(BinaryType::GENERIC)));
in HWTEST_F_L0() 228 JSTaggedValue(static_cast<int>(BinaryType::GENERIC)));
in HWTEST_F_L0() 265 JSTaggedValue(static_cast<int>(BinaryType::GENERIC)));
in HWTEST_F_L0() 273 JSTaggedValue(static_cast<int>(BinaryType::GENERIC)));
in HWTEST_F_L0() 290 JSTaggedValue(static_cast<int>(BinaryType::GENERIC)));
in HWTEST_F_L0() 307 JSTaggedValue(static_cast<int>(BinaryType::GENERIC)));
in HWTEST_F_L0() 329 JSTaggedValue(static_cast<int>(BinaryType::GENERIC)));
in HWTEST_F_L0() [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/ |
H A D | pgo_type_recorder.cpp | 49 elementsKinds.emplace_back(ElementsKind::GENERIC); in GetElementsKindsForUser() 55 elementsKinds.emplace_back(ElementsKind::GENERIC); in GetElementsKindsForUser() 74 elementsKinds.emplace_back(ElementsKind::GENERIC); in GetTransitionElementsKindsForUser() 80 elementsKinds.emplace_back(ElementsKind::GENERIC); in GetTransitionElementsKindsForUser() 101 // When ElementsKind switch turned on, it should be GENERIC in GetElementsKindForCreater()
|
/arkcompiler/ets_runtime/test/moduletest/elements_kind/ |
H A D | elements_kind.js | 27 let GENERIC = 31; 724 if (a[0] == "1" && a[1] == undefined && a[2] == 3 && ArkTools.getElementsKind(a) == GENERIC) { 736 if (a[0] == "1" && a[1] == undefined && a[2] == 3 && ArkTools.getElementsKind(a) == GENERIC) { 778 if (a[0] == "1" && a[1] == undefined && a[2] == 3.3 && ArkTools.getElementsKind(a) == GENERIC) { 790 if (a[0] == "1" && a[1] == undefined && a[2] == 3.3 && ArkTools.getElementsKind(a) == GENERIC) { 805 if (a[0] == "1" && a[1] == undefined && a[2] == 3.3 && ArkTools.getElementsKind(a) == GENERIC) { 817 if (a[0] == "1" && a[1] == undefined && a[2] == 3.3 && ArkTools.getElementsKind(a) == GENERIC) { 862 if (a[0] == 1 && a[1] == "2" && a[2] == 3 && ArkTools.getElementsKind(a) == GENERIC) { 875 if (a[0] == 1 && a[1] == "2" && a[2] == 3 && ArkTools.getElementsKind(a) == GENERIC) { 920 if (a[0] == 1.1 && a[1] == "2" && a[2] == 3.3 && ArkTools.getElementsKind(a) == GENERIC) { [all...] |
/arkcompiler/runtime_core/static_core/runtime/coroutines/ |
H A D | coroutine_events.h | 36 enum class Type { NONE, GENERIC, COMPLETION, CHANNEL, IO }; member in ark::Type 115 explicit GenericEvent(CoroutineManager *coroManager) : CoroutineEvent(Type::GENERIC, coroManager) {} in GenericEvent()
|
/arkcompiler/ets_frontend/ets2panda/util/ |
H A D | importPathManager.cpp | 45 throw Error(ErrorType::GENERIC, "", "Import path cannot be empty"); in ResolvePath() 82 throw Error(ErrorType::GENERIC, "", in ResolvePath() 103 throw Error(ErrorType::GENERIC, "", "Cannot open folder: " + directoryPath.Mutf8()); in UnixWalkThroughDirectoryAndAddToParseList() 177 throw Error(ErrorType::GENERIC, "", "Not an available source path: " + resolvedPath.Mutf8()); in AddToParseList() 281 throw Error(ErrorType::GENERIC, "", "Not supported path: " + path.Mutf8()); in AppendExtensionOrIndexFileIfOmitted()
|
/arkcompiler/ets_frontend/es2panda/aot/ |
H A D | emitFiles.cpp | 74 throw Error(ErrorType::GENERIC, error.what()); in Schedule() 88 throw Error(ErrorType::GENERIC, "Failed to emit " + outputFileName_ + ", error: " + in Run() 116 throw Error(ErrorType::GENERIC, "Failed to emit " + outputFileName_ + ", error: " + in Run()
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | ic_binary_op.h | 31 GENERIC, member in panda::ecmascript::BinaryType 95 case BinaryType::GENERIC: { in AddWithTSType() 120 case BinaryType::GENERIC: { in SubWithTSType() 150 case BinaryType::GENERIC: { in MulWithTSType() 196 case BinaryType::GENERIC: { in DivWithTSType() 229 case BinaryType::GENERIC: { in ModWithTSType() 272 case BinaryType::GENERIC: { in GetBitOPDate()
|
/arkcompiler/ets_frontend/ets2panda/ir/ |
H A D | typeNode.cpp | 32 throw Error(ErrorType::GENERIC, "", "Unsuccessful allocation during cloning."); in Clone()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | hcr_gate_meta_data.h | 105 return ElementsKind::GENERIC; in GetElementsKind() 124 return ElementsKind::GENERIC; in GetTransitionElementsKind()
|
/arkcompiler/ets_frontend/es2panda/util/ |
H A D | concurrent.cpp | 48 throw Error {ErrorType::GENERIC, "Concurrent function should only be function declaration", line, in ThrowInvalidConcurrentFunction() member in panda::es2panda::util::ErrorType 56 throw Error {ErrorType::GENERIC, ss.str(), line, column}; in ThrowInvalidConcurrentFunction() member in panda::es2panda::util::ErrorType
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | elements.h | 52 GENERIC = HOLE_TAGGED, member in panda::ecmascript::ElementsKind 68 return kind == ElementsKind::GENERIC; in IsGeneric()
|
H A D | jsnapi_sendable.cpp | 111 case FunctionRef::SendableType::GENERIC: in GetSharedFieldType() 112 return SharedFieldType::GENERIC; in GetSharedFieldType()
|
/arkcompiler/ets_frontend/es2panda/ |
H A D | es2panda.cpp | 68 throw Error(ErrorType::GENERIC, "\"--enable-abc-input\" is not enabled, abc file " + fname + in CheckOptionsAndFileForAbcInput() 72 throw Error(ErrorType::GENERIC, "Target api version '" + std::to_string(options.targetApiVersion) + in CheckOptionsAndFileForAbcInput() 77 throw Error(ErrorType::GENERIC, "If an abc file is used as input, it must be the only input file " in CheckOptionsAndFileForAbcInput() 81 throw Error(ErrorType::GENERIC, "Open abc file " + fname + " failed."); in CheckOptionsAndFileForAbcInput() 85 throw Error(ErrorType::GENERIC, "The input abc file '" + fname + "' owns a higher api version or a higher " + in CheckOptionsAndFileForAbcInput()
|
/arkcompiler/ets_frontend/ets2panda/ir/base/ |
H A D | metaProperty.cpp | 87 throw Error(ErrorType::GENERIC, "", CLONE_ALLOCATION_ERROR); in Clone()
|
H A D | templateElement.cpp | 74 throw Error(ErrorType::GENERIC, "", CLONE_ALLOCATION_ERROR); in Clone()
|
/arkcompiler/ets_frontend/ets2panda/ir/expressions/ |
H A D | superExpression.cpp | 72 throw Error(ErrorType::GENERIC, "", CLONE_ALLOCATION_ERROR); in Clone()
|
H A D | omittedExpression.cpp | 70 throw Error(ErrorType::GENERIC, "", CLONE_ALLOCATION_ERROR); in Clone()
|
H A D | thisExpression.cpp | 73 throw Error(ErrorType::GENERIC, "", CLONE_ALLOCATION_ERROR); in Clone()
|
/arkcompiler/ets_frontend/ets2panda/ir/expressions/literals/ |
H A D | booleanLiteral.cpp | 73 throw Error(ErrorType::GENERIC, "", CLONE_ALLOCATION_ERROR); in Clone()
|
H A D | bigIntLiteral.cpp | 74 throw Error(ErrorType::GENERIC, "", CLONE_ALLOCATION_ERROR); in Clone()
|
H A D | nullLiteral.cpp | 72 throw Error(ErrorType::GENERIC, "", CLONE_ALLOCATION_ERROR); in Clone()
|
H A D | undefinedLiteral.cpp | 74 throw Error(ErrorType::GENERIC, "", CLONE_ALLOCATION_ERROR); in Clone()
|
H A D | regExpLiteral.cpp | 73 throw Error(ErrorType::GENERIC, "", CLONE_ALLOCATION_ERROR); in Clone()
|
H A D | stringLiteral.cpp | 72 throw Error(ErrorType::GENERIC, "", CLONE_ALLOCATION_ERROR); in Clone()
|