Home
last modified time | relevance | path

Searched refs:ObjectOperator (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Dobject_operator_first_test.cpp61 ObjectOperator objectOperator1(thread, handleValue1); in HWTEST_F_L0()
62 ObjectOperator objectOperator2(thread, handleValue2); in HWTEST_F_L0()
77 ObjectOperator objectOperator(thread, handleValue); in HWTEST_F_L0()
90 ObjectOperator objectOperator(thread, handleValue); in HWTEST_F_L0()
103 ObjectOperator objectOperator(thread, handleValue); in HWTEST_F_L0()
116 ObjectOperator objectOperator(thread, handleValue); in HWTEST_F_L0()
129 ObjectOperator objectOperator(thread, handleValue); in HWTEST_F_L0()
136 objectOperator.SetIndex(ObjectOperator::NOT_FOUND_INDEX); in HWTEST_F_L0()
145 ObjectOperator objectOperator(thread, handleKey); in HWTEST_F_L0()
158 ObjectOperator objectOperator(thread, handleKey); in HWTEST_F_L0()
[all …]
Dobject_operator_second_test.cpp81 ObjectOperator objectOperator1(thread, handleKey, type); in HWTEST_F_L0()
86 ObjectOperator objectOperator2(thread, handleKey, type); in HWTEST_F_L0()
100 ObjectOperator objectOperator1(thread, handleHolder, handleKey, type); in HWTEST_F_L0()
103 ObjectOperator objectOperator2(thread, handleHolder, handleKey, type); in HWTEST_F_L0()
117 ObjectOperator objectOperator1(thread, handleHolder, handleKey, type); in HWTEST_F_L0()
120 ObjectOperator objectOperator2(thread, handleHolder, handleKey, type); in HWTEST_F_L0()
132 ObjectOperator objectOperator1(thread, handleHolder, handleReceiver, type); in HWTEST_F_L0()
135 ObjectOperator objectOperator2(thread, handleHolder, handleReceiver, type); in HWTEST_F_L0()
147 ObjectOperator objectOperator1(thread, handleHolder, index, type); in HWTEST_F_L0()
150 ObjectOperator objectOperator2(thread, handleHolder, index, type); in HWTEST_F_L0()
[all …]
Dobject_operator_third_test.cpp84 ObjectOperator objectOperator(thread, handleKey); in HWTEST_F_L0()
124 ObjectOperator objectOperator(thread, handleGlobalObject, handleKey); in HWTEST_F_L0()
162 ObjectOperator objectOperator1(thread, handleKey); in HWTEST_F_L0()
175 ObjectOperator objectOperator2(thread, handleKey); in HWTEST_F_L0()
196 ObjectOperator objectOperator1(thread, handleArrObj, elementIndex); in HWTEST_F_L0()
206 ObjectOperator objectOperator2(thread, JSHandle<JSTaggedValue>(handleObject), elementIndex); in HWTEST_F_L0()
230 ObjectOperator objectOperator(thread, JSHandle<JSTaggedValue>(handleObject1), elementIndex); in HWTEST_F_L0()
261 ObjectOperator objectOperator(thread, handleGlobalObject, handleKey); in HWTEST_F_L0()
288 ObjectOperator objectOperator(thread, handleObject, handleKey); in HWTEST_F_L0()
323 ObjectOperator objectOperator1(thread, JSHandle<JSTaggedValue>(handleObject1), index); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Dobject_operator.cpp39 void ObjectOperator::HandleKey(const JSHandle<JSTaggedValue> &key) in HandleKey()
95 void ObjectOperator::UpdateHolder() in UpdateHolder()
105 void ObjectOperator::UpdateIsTSHClass() in UpdateIsTSHClass()
117 void ObjectOperator::StartLookUp(OperatorType type) in StartLookUp()
128 void ObjectOperator::StartGlobalLookUp(OperatorType type) in StartGlobalLookUp()
139 ObjectOperator::ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &key, OperatorType t… in ObjectOperator() function in panda::ecmascript::ObjectOperator
148 ObjectOperator::ObjectOperator(JSThread *thread, const JSHandle<JSObject> &holder, const JSHandle<J… in ObjectOperator() function in panda::ecmascript::ObjectOperator
156 ObjectOperator::ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &holder, in ObjectOperator() function in panda::ecmascript::ObjectOperator
164 ObjectOperator::ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &holder, uint32_t in… in ObjectOperator() function in panda::ecmascript::ObjectOperator
174 ObjectOperator::ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &holder, in ObjectOperator() function in panda::ecmascript::ObjectOperator
[all …]
Dobject_operator.h34 class ObjectOperator final {
36 ObjectOperator() = default;
38 ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &key,
41ObjectOperator(JSThread *thread, const JSHandle<JSObject> &holder, const JSHandle<JSTaggedValue> &…
44ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &holder, const JSHandle<JSTaggedVal…
47 ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &holder,
51 ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &holder, uint32_t index,
54 ObjectOperator(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue &name,
57 ObjectOperator(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue &name,
68 NO_COPY_SEMANTIC(ObjectOperator);
[all …]
Dfilter_helper.h35 class ObjectOperator; variable
Djs_object.cpp335 ObjectOperator op(thread, receiver, lengthKey, OperatorType::OWN); in IsArrayLengthWritable()
608 ObjectOperator op(thread, objValue, i, OperatorType::OWN); in GetAllElementKeysByFilter()
609 bool bIgnore = FilterHelper::IgnoreKeyByFilter<ObjectOperator>(op, filter); in GetAllElementKeysByFilter()
756 ObjectOperator op(thread, key); in GlobalSetProperty()
795 ObjectOperator op(thread, obj, receiver, key); in SetProperty()
805 ObjectOperator op(thread, obj, key); in SetProperty()
816 ObjectOperator op(thread, obj, key); in SetProperty()
825 ObjectOperator op(thread, obj, index); in SetProperty()
829 bool JSObject::SetPropertyForDataDescriptorProxy(JSThread *thread, ObjectOperator *op, in SetPropertyForDataDescriptorProxy()
859 bool JSObject::SetPropertyForDataDescriptor(ObjectOperator *op, const JSHandle<JSTaggedValue> &valu… in SetPropertyForDataDescriptor()
[all …]
Djs_object.h37 class ObjectOperator; variable
513 …static bool ValidateAndApplyPropertyDescriptor(ObjectOperator *op, bool extensible, const Property…
742 friend class ObjectOperator;
754 static JSTaggedValue GetProperty(JSThread *thread, ObjectOperator *op);
755 … static bool SetProperty(ObjectOperator *op, const JSHandle<JSTaggedValue> &value, bool mayThrow);
766 static JSTaggedValue ShouldGetValueFromBox(ObjectOperator *op);
777 …static bool ValidateDataDescriptorWhenConfigurable(ObjectOperator *op, const PropertyDescriptor &d…
779 … static bool SetPropertyForDataDescriptor(ObjectOperator *op, const JSHandle<JSTaggedValue> &value,
781 static bool SetPropertyForDataDescriptorProxy(JSThread *thread, ObjectOperator *op,
Djs_object-inl.h452 inline JSTaggedValue JSObject::ShouldGetValueFromBox(ObjectOperator *op) in ShouldGetValueFromBox()
Dobject_fast_operator-inl.h495 ObjectOperator::UpdateDetector(thread, receiver, key); in SetPropertyByValue()
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_runtime.h28 class ObjectOperator; variable
39 …void UpdateLoadHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, JSHandle<JSTaggedVal…
42 …void UpdateStoreHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, JSHandle<JSTaggedVa…
59 ObjectOperator ConstructOp(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key, in ConstructOp()
62 ObjectOperator op(GetThread(), receiver, key, in ConstructOp()
Dic_runtime.cpp36 void ICRuntime::UpdateLoadHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, in UpdateLoadHandler()
114 void ICRuntime::UpdateStoreHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, in UpdateStoreHandler()
190 ObjectOperator op(GetThread(), receiver, key); in LoadValueMiss()
202 op = ObjectOperator(GetThread(), receiver, key); in LoadValueMiss()
245 ObjectOperator op(GetThread(), receiver, key); in LoadMiss()
249 op = ObjectOperator(GetThread(), receiver, key); in LoadMiss()
288 ObjectOperator op(GetThread(), receiver, key); in LoadTypedArrayValueMiss()
291 op = ObjectOperator(GetThread(), receiver, key); in LoadTypedArrayValueMiss()
337 ObjectOperator op = ConstructOp(receiver, key, value, isOwn); in StoreMiss()
389 ObjectOperator op(GetThread(), receiver, key); in StoreTypedArrayValueMiss()
Dic_handler.h182 …static inline JSHandle<JSTaggedValue> LoadProperty(const JSThread *thread, const ObjectOperator &o… in LoadProperty()
237 …static inline JSHandle<JSTaggedValue> LoadElement(const JSThread *thread, const ObjectOperator &op) in LoadElement()
279 …atic inline JSHandle<JSTaggedValue> StoreProperty(const JSThread *thread, const ObjectOperator &op) in StoreProperty()
344 …ic inline JSHandle<JSTaggedValue> StoreTransition(const JSThread *thread, const ObjectOperator &op) in StoreTransition()
373 …atic inline JSHandle<JSTaggedValue> LoadPrototype(const JSThread *thread, const ObjectOperator &op, in LoadPrototype()
387 …tic inline JSHandle<JSTaggedValue> StorePrototype(const JSThread *thread, const ObjectOperator &op, in StorePrototype()
420 …ic inline JSHandle<JSTaggedValue> StoreTransition(const JSThread *thread, const ObjectOperator &op, in StoreTransition()
454 static inline JSHandle<JSTaggedValue> StoreAOT(const JSThread *thread, const ObjectOperator &op, in StoreAOT()
/arkcompiler/ets_runtime/ecmascript/ic/tests/
Dic_handler_test.cpp66 ObjectOperator handleOp(thread, handleKey); in HWTEST_F_L0()
90 ObjectOperator handleOp1(thread, handleKey); in HWTEST_F_L0()
96 ObjectOperator handleOp2(thread, handleHolder, handleKey); in HWTEST_F_L0()
158 ObjectOperator handleOp1(thread, handleKey); in HWTEST_F_L0()
165 ObjectOperator handleOp2(thread, handleReceiver, handleKey); in HWTEST_F_L0()
197 ObjectOperator handleOp(thread, handleHolder, handleKey); in HWTEST_F_L0()
227 ObjectOperator handleOp1(thread, handleKey, OperatorType::OWN); in HWTEST_F_L0()
228 ObjectOperator handleOp2(thread, handleKey, OperatorType::OWN); in HWTEST_F_L0()
266 ObjectOperator handleOp(thread, handleKey, OperatorType::OWN); in HWTEST_F_L0()
Dic_runtime_test.cpp81 ObjectOperator handleOp1(thread, handleKeyWithElement); in HWTEST_F_L0()
88 ObjectOperator handleOp2(thread, handleKeyWithString); in HWTEST_F_L0()
124 ObjectOperator handleOp1(thread, handleKeyWithElement); in HWTEST_F_L0()
134 ObjectOperator handleOp2(thread, handleReceiver, handleKeyWithString, OperatorType::OWN); in HWTEST_F_L0()