Home
last modified time | relevance | path

Searched refs:Object (Results 1 - 25 of 67) sorted by relevance

123

/arkcompiler/runtime_core/libpandabase/mem/
H A Dobject_pointer.h24 * @class ObjectPointer<class Object>
28 * Wraps pointer Object * into class ObjectPointer<Object> and provides interfaces to work with it as a pointer.
31 template <class Object>
36 ObjectPointer(Object *object) : object_(ToObjPtrType(object)) in ObjectPointer()
54 ObjectPointer &operator=(const Object *object) in operator =()
63 ALWAYS_INLINE Object *operator->() in operator ->()
70 ALWAYS_INLINE operator Object *() in operator Object *()
75 ALWAYS_INLINE Object &operator*() in operator *()
91 ALWAYS_INLINE bool operator==(Object *othe
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/mem/
H A Dobject_pointer.h24 * @class ObjectPointer<class Object>
28 * Wraps pointer Object * into class ObjectPointer<Object> and provides interfaces to work with it as a pointer.
31 template <class Object>
36 ObjectPointer(Object *object) : object_(ToObjPtrType(object)) in ObjectPointer()
52 ObjectPointer &operator=(const Object *object) in operator =()
59 ALWAYS_INLINE Object *operator->() in operator ->()
66 ALWAYS_INLINE operator Object *() const in operator Object *()
71 ALWAYS_INLINE Object &operator*() in operator *()
87 ALWAYS_INLINE bool operator==(Object *othe
[all...]
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_object.cpp24 // 19.1.1.1 Object ( [ value ] )
29 BUILTINS_API_TRACE(thread, Object, Constructor); in ObjectConstructor()
87 // 19.1.2.1 Object.assign ( target, ...sources )
92 BUILTINS_API_TRACE(thread, Object, Assign); in Assign()
163 BUILTINS_API_TRACE(thread, Object, DefineProperties); in ObjectDefineProperties()
165 // 1.If Type(O) is not Object, throw a TypeError exception. in ObjectDefineProperties()
239 // 19.1.2.2 Object.create ( O [ , Properties ] )
244 BUILTINS_API_TRACE(thread, Object, Create); in Create()
246 // 1.If Type(O) is neither Object nor Null, throw a TypeError exception. in Create()
250 THROW_TYPE_ERROR_AND_RETURN(thread, "Create: O is neither Object no in Create()
[all...]
/arkcompiler/runtime_core/static_core/runtime/templates/
H A Druntime.rb88 Object.send(:get_ret_type, signature.ret) != Object.send(:get_ret_effective_type, signature.ret) ||
89 signature.args.any? { |arg| Object.send(:get_ret_type, arg) != Object.send(:get_ret_effective_type, arg) }
/arkcompiler/ets_frontend/ets2panda/checker/ets/dynamic/
H A DdynamicCall.cpp68 if (!memberExpr->Object()->TsType()->IsETSDynamicType() || memberExpr->IsComputed()) { in SqueezeExpr()
73 if (memberExpr->Object()->IsMemberExpression()) { in SqueezeExpr()
74 return SqueezeExpr(memberExpr->Object()->AsMemberExpression(), name); in SqueezeExpr()
76 return memberExpr->Object(); in SqueezeExpr()
/arkcompiler/ets_frontend/ets2panda/test/unit/dynamic/
H A Ddynamic_call_test.cpp60 obj = obj->AsMemberExpression()->Object(); in MarkChainDynamic()
138 obj->AsMemberExpression()->Object()->AsMemberExpression()->Object()->AsMemberExpression()->Object()); in TEST_F()
157 ASSERT_EQ(squeezedObj, obj->AsMemberExpression()->Object()->AsMemberExpression()->Object()); in TEST_F()
169 auto bObj = obj->AsMemberExpression()->Object()->AsMemberExpression()->Object(); in TEST_F()
172 bObj->AsMemberExpression()->Object()->SetTsType(staticType); in TEST_F()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DtupleLowering.cpp43 isArgumentMemberExpression ? argument->AsMemberExpression()->Object()->TsType() : nullptr; in CheckUpdateArgument()
142 argumentClone->Object()->SetTsType(memberExpr->Object()->TsType()); in CloneArgument()
143 if (argumentClone->Object()->IsIdentifier()) { in CloneArgument()
144 argumentClone->Object()->AsIdentifier()->SetVariable(memberExpr->Object()->AsIdentifier()->Variable()); in CloneArgument()
191 // Set tuple type to Object (because we'll need implicit boxing) in ConvertTupleUpdate()
222 // type is stored as the LUB type in the tuple (which can be Object), then the following conversions need to be done in ConvertTupleAssignment()
223 // for this case: Short->short->int->Int->Object which can't be made implicitly, hence lowering is needed in ConvertTupleAssignment()
227 auto *const leftObjectType = left->AsMemberExpression()->Object() in ConvertTupleAssignment()
[all...]
H A DunionLowering.cpp185 if (ast->IsMemberExpression() && ast->AsMemberExpression()->Object()->TsType() != nullptr) { in Perform()
187 checker->GetApparentType(checker->GetNonNullishType(ast->AsMemberExpression()->Object()->TsType())); in Perform()
211 if (!ast->IsMemberExpression() || ast->AsMemberExpression()->Object()->TsType() == nullptr) { in Postcondition()
215 checker->GetApparentType(checker->GetNonNullishType(ast->AsMemberExpression()->Object()->TsType())); in Postcondition()
H A DoptionalLowering.cpp83 return LowerOptionalExpr<ir::MemberExpression>([](auto *e) { return e->Object(); }, in LowerExpression()
100 return typed->IsOptional() ? typed : FindOptionalInChain(typed->Object());
H A DobjectIndexAccess.cpp17 // desc: Object index access syntax is translated to the call of special setter (in case of assignment):
41 CALL_EXPRESSION, memberExpression->Object(), memberExpression->Property(), assignmentExpression->Right()); in ProcessIndexSetAccess()
59 parser->CreateFormattedExpression(CALL_EXPRESSION, memberExpression->Object(), memberExpression->Property()); in ProcessIndexGetAccess()
/arkcompiler/ets_runtime/ecmascript/
H A Druntime_call_id.h645 V(Object, Constructor) \
646 V(Object, Assign) \
647 V(Object, Create) \
648 V(Object, CreateDataPropertyOnObjectFunctions) \
649 V(Object, DefineProperties) \
650 V(Object, DefineProperty) \
651 V(Object, Freeze) \
652 V(Object, FromEntries) \
653 V(Object, GetOwnPropertyDescriptor) \
654 V(Object, GetOwnPropertyDescriptor
[all...]
/arkcompiler/ets_frontend/ets2panda/compiler/base/
H A Dlreference.cpp88 if (memberExpr->Object()->IsSuperExpression()) { in JSLReference()
97 memberExpr->Object()->Compile(pg_); in JSLReference()
185 staticObjRef_ = memberExpr->Object()->TsType(); in ETSLReference()
191 TargetTypeContext ttctx(etsg_, memberExpr->Object()->TsType()); in ETSLReference()
192 memberExpr->Object()->Compile(etsg_); in ETSLReference()
292 const auto *const objectType = memberExpr->Object()->TsType(); in SetValueComputed()
335 const auto *const memberExprTsType = memberExpr->Object()->TsType()->IsETSTupleType() in SetValue()
336 ? memberExpr->Object()->TsType()->AsETSTupleType()->ElementType() in SetValue()
366 auto const *objectType = memberExpr->Object()->TsType(); in SetValue()
/arkcompiler/ets_frontend/ets2panda/checker/ts/
H A Dutil.cpp29 while (iter->Object()->IsMemberExpression()) { in ResolveLeftMostMemberExpression()
30 iter = iter->Object()->AsMemberExpression(); in ResolveLeftMostMemberExpression()
158 bool res = IsConstantMemberAccess(expr->AsMemberExpression()->Object()); in IsConstantMemberAccess()
/arkcompiler/ets_frontend/ets2panda/ast_verifier/
H A DidentifierHasVariable.cpp102 (ast->Parent()->AsMemberExpression()->Object()->TsType() == nullptr || in CheckAstExceptions()
103 ast->Parent()->AsMemberExpression()->Object()->TsType()->IsETSEnumType())) { in CheckAstExceptions()
H A DcheckAbstractMethod.cpp34 auto obj = call->Callee()->AsMemberExpression()->Object(); in operator ()()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DmemberExpression.h49 const Expression *Object() const in Object() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::MemberExpression
54 Expression *Object() in Object() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::MemberExpression
/arkcompiler/ets_frontend/es2panda/typescript/core/
H A Dutil.cpp41 while (iter->Object()->IsMemberExpression()) { in ResolveLeftMostMemberExpression()
42 iter = iter->Object()->AsMemberExpression(); in ResolveLeftMostMemberExpression()
190 bool res = IsConstantMemberAccess(expr->AsMemberExpression()->Object()); in IsConstantMemberAccess()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
H A Dsnapshot_processor.cpp93 using Object = builtins::BuiltinsObject;
183 reinterpret_cast<uintptr_t>(Object::ObjectConstructor),
184 reinterpret_cast<uintptr_t>(Object::FromEntries),
273 reinterpret_cast<uintptr_t>(Object::Assign),
274 reinterpret_cast<uintptr_t>(Object::Create),
275 reinterpret_cast<uintptr_t>(Object::DefineProperties),
276 reinterpret_cast<uintptr_t>(Object::DefineProperty),
277 reinterpret_cast<uintptr_t>(Object::Freeze),
278 reinterpret_cast<uintptr_t>(Object::GetOwnPropertyDescriptor),
279 reinterpret_cast<uintptr_t>(Object
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/mirrors/
H A D__init__.py22 from .object import Object, ObjectMeta, mirror_object, mirror_object_type namespace
H A Dobject.py77 class Object(metaclass=ObjectMeta): class
85 t = ObjectMeta(cls_name, (Object,), kwargs, module=__package__)
/arkcompiler/runtime_core/static_core/libllvmbackend/object_code/
H A Dcode_info_producer.h24 #include <llvm/Object/FaultMapParser.h>
25 #include <llvm/Object/StackMapParser.h>
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/internal_tests/
H A Dtest_mirror.py26 from arkdb.mirrors import Object, arkts_str namespace
179 class ClassA(Object):
/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsAsExpression.cpp67 if (memberExpr->Object()->IsIdentifier()) { in IsValidConstAssertionArgument()
68 binder::ScopeFindResult result = checker->Scope()->Find(memberExpr->Object()->AsIdentifier()->Name()); in IsValidConstAssertionArgument()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_call_signature.h78 V(ToString, Object, Undefined()) \
79 V(Create, Object, Undefined()) \
80 V(Assign, Object, Undefined()) \
81 V(HasOwnProperty, Object, TaggedFalse()) \
82 V(Keys, Object, Undefined()) \
83 V(GetPrototypeOf, Object, Undefined()) \
84 V(GetOwnPropertyNames, Object, Undefined()) \
85 V(GetOwnPropertySymbols, Object, Undefined()) \
86 V(Entries, Object, Undefined()) \
87 V(IsFrozen, Object, Undefine
[all...]
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
H A Dobject_repository.cpp30 return RemoteObject::Object("[Global]", GLOBAL_OBJECT_ID, "Global object"); in CreateGlobalObject()
53 return RemoteObject::Object("", id, "Frame #" + std::to_string(frame.GetFrameId())); in CreateFrameObject()
223 return RemoteObject::Object(extension_->GetClassName(object), id); in CreateObject()

Completed in 13 milliseconds

123