Home
last modified time | relevance | path

Searched refs:className (Results 1 - 25 of 99) sorted by relevance

1234

/arkcompiler/ets_frontend/ets2panda/ir/visitor/
H A DAstVisitor.h26 #define DECLARE_CLASSES(nodeType, className) class className;
43 #define DECLARE_CLASSES(nodeType, className) \
44 virtual void Visit##className(className *node) = 0; \
45 void Accept(className *node) \
47 Visit##className(node); \
H A DIterateAstVisitor.h51 #define DECLARE_CLASSES(nodeType, className) \
52 void Visit##className(className *node) override \
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNode.h47 #define DECLARE_NODE_TYPES(nodeType, className) nodeType,
110 #define DECLARE_CLASSES(nodeType, className) class className;
130 #define DECLARE_IS_CHECKS(nodeType, className) \
131 bool Is##className() const \
160 #define DECLARE_AS_CASTS(nodeType, className) \
161 className *As##className() \
163 ASSERT(Is##className()); \
164 return reinterpret_cast<className *>(thi
[all...]
/arkcompiler/ets_frontend/ets2panda/varbinder/
H A Dvariable.h42 #define DECLARE_CLASSES(type, className) class className;
55 #define DECLARE_CHECKS_CASTS(variableType, className) \
56 bool Is##className() const \
60 className *As##className() \
62 ASSERT(Is##className()); \
63 return reinterpret_cast<className *>(this); \
65 const className *As##className() cons
[all...]
H A Ddeclaration.h36 #define DECLARE_CLASSES(decl_kind, className) class className;
64 #define DECLARE_CHECKS_CASTS(declKind, className) \
65 bool Is##className() const \
69 className *As##className() \
71 ASSERT(Is##className()); \
72 return reinterpret_cast<className *>(this); \
74 const className *As##className() cons
[all...]
/arkcompiler/runtime_core/static_core/abc2program/
H A Dabc2program_key_data.cpp64 std::string className = GetFullRecordNameById(methodAccessor.GetClassId()); in GetFullFunctionNameById() local
65 if (IsSystemType(className)) { in GetFullFunctionNameById()
66 className = ""; in GetFullFunctionNameById()
68 className += "."; in GetFullFunctionNameById()
71 return className + methodNameRaw; in GetFullFunctionNameById()
/arkcompiler/runtime_core/static_core/plugins/ets/arkts_header/
H A Dheader_writer.cpp68 std::string className = utf::Mutf8AsCString(cda.GetDescriptor()); in PrintFunction()
69 if (className[0] == 'L') { in PrintFunction()
70 className = className.substr(1, className.size() - 2U); in PrintFunction()
72 PrintPrototype(className, mda, CheckOverloading(cda, mda)); in PrintFunction()
107 void HeaderWriter::PrintPrototype(const std::string &className, panda_file::MethodDataAccessor &mda, bool isOverloaded) in PrintPrototype() argument
142 std::string mangledName = MangleMethodName(className, methodName); in PrintPrototype()
150 outputFile_ << "/*\n Class: " << className << "\n" in PrintPrototype()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/
H A Dets_scoped_objects_fix.h267 std::string_view className {}; in ThrowNewException()
270 className = panda_file_items::class_descriptors::ARRAY_INDEX_OUT_OF_BOUNDS_ERROR; in ThrowNewException()
273 className = panda_file_items::class_descriptors::ARRAY_STORE_ERROR; in ThrowNewException()
276 className = panda_file_items::class_descriptors::ILLEGAL_MONITOR_STATE_EXCEPTION; in ThrowNewException()
279 className = panda_file_items::class_descriptors::INSTANTIATION_ERROR; in ThrowNewException()
282 className = panda_file_items::class_descriptors::NO_CLASS_DEF_FOUND_ERROR; in ThrowNewException()
285 className = panda_file_items::class_descriptors::NO_SUCH_FIELD_ERROR; in ThrowNewException()
288 className = panda_file_items::class_descriptors::NO_SUCH_METHOD_ERROR; in ThrowNewException()
291 className = panda_file_items::class_descriptors::NULL_POINTER_ERROR; in ThrowNewException()
294 className in ThrowNewException()
[all...]
/arkcompiler/ets_frontend/es2panda/binder/
H A Dvariable.h42 #define DECLARE_CLASSES(type, className) class className;
54 #define DECLARE_CHECKS_CASTS(variableType, className) \
55 bool Is##className() const \
59 className *As##className() \
61 ASSERT(Is##className()); \
62 return reinterpret_cast<className *>(this); \
64 const className *As##className() cons
[all...]
H A Ddeclaration.h38 #define DECLARE_CLASSES(decl_kind, className) class className;
60 #define DECLARE_CHECKS_CASTS(declKind, className) \
61 bool Is##className() const \
65 className *As##className() \
67 ASSERT(Is##className()); \
68 return reinterpret_cast<className *>(this); \
70 const className *As##className() cons
[all...]
/arkcompiler/ets_runtime/ecmascript/containers/tests/
H A Dcontainers_test_helper.h56 #define CONTAINERS_API_EXCEPTION_TEST(className, methodName, callInfoName) \
59 JSTaggedValue testResult = className::methodName(callInfoName); \
66 #define CONTAINERS_API_TYPE_MISMATCH_EXCEPTION_TEST(className, methodName) \
69 CONTAINERS_API_EXCEPTION_TEST(className, methodName, callInfo); \
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/
H A Dremote_object.h97 static RemoteObject Object(std::string className, std::optional<RemoteObjectId> objectId = std::nullopt,
100 return RemoteObject(RemoteObjectType::ObjectT {std::move(className), objectId, std::move(description)});
103 static RemoteObject Array(std::string className, size_t length,
106 return RemoteObject(RemoteObjectType::ArrayT {std::move(className), objectId, length});
109 static RemoteObject Function(std::string className, std::string name, size_t length,
112 return RemoteObject(RemoteObjectType::FunctionT {std::move(className), objectId, std::move(name), length});
H A Dremote_object_type.h42 std::string className; member
48 std::string className; member
54 std::string className; member
H A Dremote_object.cpp42 return object.description.value_or(object.className); in GetDescription()
47 return array.className + "(" + std::to_string(array.length) + ")"; in GetDescription()
141 AddProperty(result, "className", object->className); in ToJson()
144 AddProperty(result, "className", array->className); in ToJson()
147 AddProperty(result, "className", function->className); in ToJson()
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNode.h55 #define DECLARE_NODE_TYPES(nodeType, className) nodeType,
74 #define DECLARE_CLASSES(nodeType, className) class className;
98 #define DECLARE_IS_CHECKS(nodeType, className) \
99 bool Is##className() const \
147 #define DECLARE_AS_CASTS(nodeType, className) \
148 className *As##className() \
150 ASSERT(Is##className()); \
151 return reinterpret_cast<className *>(thi
[all...]
/arkcompiler/ets_runtime/ecmascript/patch/
H A Dpatch_loader.h55 CString className; member
61 std::hash<CString>{}(patchMethodIndex.className) ^ std::hash<CString>{}(patchMethodIndex.methodName); in operator ()()
67 return recordName == patchMethodIndex.recordName && className == patchMethodIndex.className && in operator ==()
140 static CString GetRealName(const JSPandaFile *jsPandaFile, EntityId entityId, CString &className);
/arkcompiler/toolchain/tooling/test/testcases/
H A Djs_watch_other_type_test.h121 std::string className = ""; in RecvWatchSubtypeInfo() local
122 ret = watchResult->GetString("className", &className); in RecvWatchSubtypeInfo()
123 if (ret != Result::SUCCESS || className != var_class) { in RecvWatchSubtypeInfo()
172 std::string className = ""; in RecvWatchFunctionInfo() local
173 ret = watchResult->GetString("className", &className); in RecvWatchFunctionInfo()
174 if (ret != Result::SUCCESS || className != func_class) { in RecvWatchFunctionInfo()
/arkcompiler/runtime_core/static_core/verification/verifier/
H A Dverifier.cpp186 Runtime &runtime, const std::string &className) in GetClassByName()
188 auto it = classesByName.find(className); in GetClassByName()
196 const uint8_t *classNameBytes = ClassHelper::GetDescriptor(utf::CStringAsMutf8(className.c_str()), &descriptor); in GetClassByName()
200 LOG(ERROR, VERIFIER) << "Error: Cannot resolve class with name " << className; in GetClassByName()
204 classesByName.emplace(className, klass); in GetClassByName()
236 for (const auto &className : classNames) { in RunVerifierImpl()
237 Class *klass = GetClassByName(result, classesByName, runtime, className); in RunVerifierImpl()
251 std::string className = fqMethodName.substr(0, pos - 1); in RunVerifierImpl() local
253 if (std::find(classNames.begin(), classNames.end(), className) != classNames.end()) { in RunVerifierImpl()
257 Class *klass = GetClassByName(result, classesByName, runtime, className); in RunVerifierImpl()
185 GetClassByName(std::atomic<bool> &result, PandaUnorderedMap<std::string, Class *> &classesByName, Runtime &runtime, const std::string &className) GetClassByName() argument
264 << " in class " << className; RunVerifierImpl() local
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
H A Dets_annotation.cpp33 const char *className = utf::Mutf8AsCString(pf.GetStringData(ada.GetClassId()).data); in FindAsyncAnnotation()
34 if (className == panda_file_items::class_descriptors::ASYNC) { in FindAsyncAnnotation()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/
H A Dget_test_class.cpp25 EtsClass *GetTestClass(const char *source, const char *className, const std::string &sourceFilename) in GetTestClass() argument
41 EtsClass *klass = etsClassLinker->GetClass(className); in GetTestClass()
H A Dets_object_test.cpp72 EtsClass *GetTestClass(std::string className);
123 EtsClass *EtsObjectTest::GetTestClass(std::string className) in GetTestClass() argument
128 auto res = p.Parse(sources[className]); in GetTestClass()
134 className.insert(0, 1, 'L'); in GetTestClass()
135 className.push_back(';'); in GetTestClass()
137 EtsClass *klass = coroutine_->GetPandaVM()->GetClassLinker()->GetClass(className.c_str()); in GetTestClass()
/arkcompiler/runtime_core/static_core/tools/sampler/
H A Daspt_converter.cpp144 std::string className = utf::Mutf8AsCString(cda.GetDescriptor()); in BuildMethodsMapHelper()
145 if (className[className.length() - 1] == ';') { in BuildMethodsMapHelper()
146 className.pop_back(); in BuildMethodsMapHelper()
148 std::string fullName = className + "::"; in BuildMethodsMapHelper()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
H A Dets_stacktrace_element.h44 inline void SetClassName(EtsString *className) in SetClassName() argument
47 className->AsObject()->GetCoreType()); in SetClassName()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/map_mirror_classes/
H A Dtest_map_mirror_classes.cpp31 static void CheckOffsetOfFields(const char *className, const std::vector<MemberInfo> &membersList) in CheckOffsetOfFields() argument
36 EtsClass *klass = etsClassLinker->GetClass(className); in CheckOffsetOfFields()
/arkcompiler/ets_runtime/tools/ap_file_viewer/src/ap/component/sheet/
H A DTabPaneApSummary.js138 createTr(rowNode, className, proper) {
143 elementTd.className = className;
153 tableTreeRowEl.className = 'tree-row-tr';
161 rowNodeTextEL.className = 'row-name-td';
220 tableTreeEl.className = 'ap-tree-table';
231 emptyTr.className = 'tree-row-tr';
236 emptyItemTr.className = 'tree-row-tr';

Completed in 10 milliseconds

1234