/ark/js_runtime/ecmascript/tests/ |
D | js_typed_array_test.cpp | 369 CVector<OperationResult> cVecOpResult = {}; in HWTEST_F_L0() 373 … OperationResult opResult = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0() 382 … OperationResult opResult1 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0() 384 … OperationResult opResult2 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0() 386 … OperationResult opResult3 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0() 388 … OperationResult opResult4 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0() 428 … OperationResult opResult1 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0() 432 … OperationResult opResult2 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0() 436 … OperationResult opResult3 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0() 440 … OperationResult opResult4 = JSTypedArray::IntegerIndexedElementGet(thread, handleTagValInt8Array, in HWTEST_F_L0() [all …]
|
D | js_serializer_test.cpp | 135 OperationResult result = JSObject::GetProperty(thread, objValue1, key1); in JSPlainObjectTest01() 142 OperationResult result1 = JSObject::GetProperty(thread, value2, key2); in JSPlainObjectTest01()
|
/ark/js_runtime/ecmascript/ |
D | js_typed_array.h | 50 …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,…
|
D | js_typed_array.cpp | 201 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() 317 … OperationResult(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() 407 … OperationResult(thread, JSTaggedValue::Exception(), PropertyMetaData(false))); in FastElementGet() [all …]
|
D | js_object.h | 291 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);
|
D | js_arguments.h | 42 static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSObject> &obj, in GetProperty() 47 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSArguments> &args,
|
D | js_proxy.h | 47 static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, in GetProperty() 52 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSProxy> &proxy,
|
D | js_proxy.cpp | 500 OperationResult JSProxy::GetProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, in GetProperty() 509 … OperationResult(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() 550 … OperationResult(thread, exceptionHandle.GetTaggedValue(), PropertyMetaData(false))); in GetProperty() 561 … OperationResult(thread, exceptionHandle.GetTaggedValue(), PropertyMetaData(false))); in GetProperty() 566 return OperationResult(thread, resultHandle.GetTaggedValue(), PropertyMetaData(true)); in GetProperty()
|
D | js_tagged_value.h | 31 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,
|
D | js_tagged_value.cpp | 482 OperationResult JSTaggedValue::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in GetProperty() 487 … OperationResult(thread, JSTaggedValue::Exception(), PropertyMetaData(false))); in GetProperty() 501 OperationResult JSTaggedValue::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, ui… in GetProperty() 505 … OperationResult(thread, JSTaggedValue::Exception(), PropertyMetaData(false))); in GetProperty() 520 OperationResult JSTaggedValue::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in GetProperty() 525 … OperationResult(thread, JSTaggedValue::Exception(), PropertyMetaData(false))); in GetProperty()
|
D | js_object.cpp | 662 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 …]
|
D | js_arguments.cpp | 107 OperationResult JSArguments::GetProperty(JSThread *thread, const JSHandle<JSArguments> &args, in GetProperty()
|
D | js_date_time_format.cpp | 300 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()
|
D | js_locale.cpp | 222 …OperationResult 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()
|
D | js_locale.h | 249 OperationResult operationResult = JSObject::GetProperty(thread, options, property); in GetOptionOfString()
|
D | js_relative_time_format.cpp | 230 OperationResult operationResult = JSTaggedValue::GetProperty(thread, rtf, key); in UnwrapRelativeTimeFormat()
|
D | js_number_format.cpp | 877 OperationResult operationResult = JSTaggedValue::GetProperty(thread, nf, key); in UnwrapNumberFormat()
|
/ark/js_runtime/ecmascript/napi/test/ |
D | jsnapi_tests.cpp | 685 …OperationResult res = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(sonHandle), defaultS… in HWTEST_F_L0() 688 …OperationResult res1 = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(sonHandle), propert… in HWTEST_F_L0() 763 …OperationResult res = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(son1Handle), default… in HWTEST_F_L0() 770 …OperationResult res1 = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(son1Handle), proper… in HWTEST_F_L0() 830 …OperationResult res = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(sonHandle), deleteSt… in HWTEST_F_L0() 833 …OperationResult res1 = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(sonHandle), addStri… in HWTEST_F_L0()
|
/ark/js_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 92 using ecmascript::OperationResult; 792 OperationResult ret = JSTaggedValue::GetProperty(thread, obj, keyValue); in Get()
|
/ark/js_runtime/ecmascript/interpreter/ |
D | slow_runtime_stub.cpp | 1600 OperationResult res = JSTaggedValue::GetProperty(thread, obj, propHandle); in TryLdGlobalByName() 1621 OperationResult res = JSTaggedValue::GetProperty(thread, objHandle, propHandle); in LdGlobalVar()
|