Home
last modified time | relevance | path

Searched refs:OperationResult (Results 1 – 20 of 20) sorted by relevance

/ark/js_runtime/ecmascript/tests/
Djs_typed_array_test.cpp369 CVector<OperationResult> cVecOpResult = {}; in HWTEST_F_L0()
373OperationResult opResult = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0()
382OperationResult opResult1 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0()
384OperationResult opResult2 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0()
386OperationResult opResult3 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0()
388OperationResult opResult4 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0()
428OperationResult opResult1 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0()
432OperationResult opResult2 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0()
436OperationResult opResult3 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0()
440OperationResult opResult4 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0()
[all …]
Djs_serializer_test.cpp135 OperationResult result = JSObject::GetProperty(thread, objValue1, key1); in JSPlainObjectTest01()
142 OperationResult result1 = JSObject::GetProperty(thread, value2, key2); in JSPlainObjectTest01()
/ark/js_runtime/ecmascript/
Djs_typed_array.h50 …static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedar… in GetProperty()
55 …static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedar… in GetProperty()
60 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
76 …static OperationResult IntegerIndexedElementGet(JSThread *thread, const JSHandle<JSTaggedValue> &t…
78 …static OperationResult FastElementGet(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,…
Djs_typed_array.cpp201 OperationResult JSTypedArray::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarr… in GetProperty()
214 thread, OperationResult(thread, JSTaggedValue::Exception(), PropertyMetaData(false))); in GetProperty()
303 OperationResult JSTypedArray::IntegerIndexedElementGet(JSThread *thread, const JSHandle<JSTaggedVal… in IntegerIndexedElementGet()
317OperationResult(thread, JSTaggedValue::Exception(), PropertyMetaData(false))); in IntegerIndexedElementGet()
321 return OperationResult(thread, JSTaggedValue::Undefined(), PropertyMetaData(true)); in IntegerIndexedElementGet()
333 return OperationResult(thread, JSTaggedValue::Undefined(), PropertyMetaData(true)); in IntegerIndexedElementGet()
338 return OperationResult(thread, JSTaggedValue::Undefined(), PropertyMetaData(true)); in IntegerIndexedElementGet()
353 return OperationResult(thread, result, PropertyMetaData(true)); in IntegerIndexedElementGet()
395 OperationResult JSTypedArray::FastElementGet(JSThread *thread, const JSHandle<JSTaggedValue> &typed… in FastElementGet()
407OperationResult(thread, JSTaggedValue::Exception(), PropertyMetaData(false))); in FastElementGet()
[all …]
Djs_object.h291 class OperationResult {
293 explicit OperationResult(const JSThread *thread, JSTaggedValue value, PropertyMetaData metaData) in OperationResult() function
300 ~OperationResult() = default;
301 DEFAULT_NOEXCEPT_MOVE_SEMANTIC(OperationResult);
302 DEFAULT_COPY_SEMANTIC(OperationResult);
463 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSObject> &obj,
466 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
469 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
472 …static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, uint32_t …
474 …static OperationResult GetPropertyFromGlobal(JSThread *thread, const JSHandle<JSTaggedValue> &key);
Djs_arguments.h42 static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSObject> &obj, in GetProperty()
47 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSArguments> &args,
Djs_proxy.h47 static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, in GetProperty()
52 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSProxy> &proxy,
Djs_proxy.cpp500 OperationResult JSProxy::GetProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, in GetProperty()
509OperationResult(thread, exceptionHandle.GetTaggedValue(), PropertyMetaData(false))); in GetProperty()
517 thread, OperationResult(thread, exceptionHandle.GetTaggedValue(), PropertyMetaData(false))); in GetProperty()
532 thread, OperationResult(thread, exceptionHandle.GetTaggedValue(), PropertyMetaData(false))); in GetProperty()
539 thread, OperationResult(thread, exceptionHandle.GetTaggedValue(), PropertyMetaData(false))); in GetProperty()
550OperationResult(thread, exceptionHandle.GetTaggedValue(), PropertyMetaData(false))); in GetProperty()
561OperationResult(thread, exceptionHandle.GetTaggedValue(), PropertyMetaData(false))); in GetProperty()
566 return OperationResult(thread, resultHandle.GetTaggedValue(), PropertyMetaData(true)); in GetProperty()
Djs_tagged_value.h31 class OperationResult; variable
198 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
201 …static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, uint32_t …
202 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
Djs_tagged_value.cpp482 OperationResult JSTaggedValue::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in GetProperty()
487OperationResult(thread, JSTaggedValue::Exception(), PropertyMetaData(false))); in GetProperty()
501 OperationResult JSTaggedValue::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, ui… in GetProperty()
505OperationResult(thread, JSTaggedValue::Exception(), PropertyMetaData(false))); in GetProperty()
520 OperationResult JSTaggedValue::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in GetProperty()
525OperationResult(thread, JSTaggedValue::Exception(), PropertyMetaData(false))); in GetProperty()
Djs_object.cpp662 OperationResult JSObject::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in GetProperty()
669 return OperationResult(thread, GetProperty(thread, &op), PropertyMetaData(op.IsFound())); in GetProperty()
672 OperationResult JSObject::GetProperty(JSThread *thread, const JSHandle<JSObject> &obj, in GetProperty()
679 return OperationResult(thread, GetProperty(thread, &op), PropertyMetaData(op.IsFound())); in GetProperty()
682 OperationResult JSObject::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in GetProperty()
689 return OperationResult(thread, GetProperty(thread, &op), PropertyMetaData(op.IsFound())); in GetProperty()
692 OperationResult JSObject::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, uint32_… in GetProperty()
697 return OperationResult(thread, GetProperty(thread, &op), PropertyMetaData(op.IsFound())); in GetProperty()
700 OperationResult JSObject::GetPropertyFromGlobal(JSThread *thread, const JSHandle<JSTaggedValue> &ke… in GetPropertyFromGlobal()
705 return OperationResult(thread, GetProperty(thread, &op), PropertyMetaData(op.IsFound())); in GetPropertyFromGlobal()
[all …]
Djs_arguments.cpp107 OperationResult JSArguments::GetProperty(JSThread *thread, const JSHandle<JSArguments> &args, in GetProperty()
Djs_date_time_format.cpp300 OperationResult operationResult = in InitializeDateTimeFormat()
548 OperationResult operationResult = JSObject::GetProperty(thread, optionsResult, key); in ToDateTimeOptions()
572 OperationResult operationResult = JSObject::GetProperty(thread, optionsResult, key); in ToDateTimeOptions()
581 OperationResult dateStyleResult = in ToDateTimeOptions()
585 OperationResult timeStyleResult = in ToDateTimeOptions()
750 OperationResult operationResult = JSTaggedValue::GetProperty(thread, dateTimeFormat, key); in UnwrapDateTimeFormat()
Djs_locale.cpp222OperationResult operationResult = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast… in CanonicalizeHelper()
250 OperationResult result = JSTaggedValue::GetProperty(thread, objTagged, pk); in CanonicalizeHelper()
625 OperationResult operationResult = JSObject::GetProperty(thread, options, property); in GetOptionOfString()
995 OperationResult operationResult = JSObject::GetProperty(thread, options, property); in GetOptionOfBool()
Djs_locale.h249 OperationResult operationResult = JSObject::GetProperty(thread, options, property); in GetOptionOfString()
Djs_relative_time_format.cpp230 OperationResult operationResult = JSTaggedValue::GetProperty(thread, rtf, key); in UnwrapRelativeTimeFormat()
Djs_number_format.cpp877 OperationResult operationResult = JSTaggedValue::GetProperty(thread, nf, key); in UnwrapNumberFormat()
/ark/js_runtime/ecmascript/napi/test/
Djsnapi_tests.cpp685OperationResult res = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(sonHandle), defaultS… in HWTEST_F_L0()
688OperationResult res1 = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(sonHandle), propert… in HWTEST_F_L0()
763OperationResult res = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(son1Handle), default… in HWTEST_F_L0()
770OperationResult res1 = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(son1Handle), proper… in HWTEST_F_L0()
830OperationResult res = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(sonHandle), deleteSt… in HWTEST_F_L0()
833OperationResult res1 = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(sonHandle), addStri… in HWTEST_F_L0()
/ark/js_runtime/ecmascript/napi/
Djsnapi.cpp92 using ecmascript::OperationResult;
792 OperationResult ret = JSTaggedValue::GetProperty(thread, obj, keyValue); in Get()
/ark/js_runtime/ecmascript/interpreter/
Dslow_runtime_stub.cpp1600 OperationResult res = JSTaggedValue::GetProperty(thread, obj, propHandle); in TryLdGlobalByName()
1621 OperationResult res = JSTaggedValue::GetProperty(thread, objHandle, propHandle); in LdGlobalVar()