Lines Matching refs:JSThread
65 explicit PropertyDescriptor(const JSThread *thread) : thread_(thread) {} in PropertyDescriptor()
67 …PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v) : thread_(thread), value_(v)… in PropertyDescriptor()
69 PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v, bool w, bool e, bool c) in PropertyDescriptor()
81 PropertyDescriptor(const JSThread *thread, bool w, bool e, bool c) in PropertyDescriptor()
235 static void CompletePropertyDescriptor(const JSThread *thread, PropertyDescriptor &desc);
238 const JSThread *thread_{nullptr};
320 OperationResult(const JSThread *thread, JSTaggedValue value, PropertyMetaData metaData) in OperationResult()
351 const JSThread *thread_ {nullptr};
375 static void SetHash(const JSThread *thread, int32_t hash, const JSHandle<ECMAObject> &obj);
385 void SetNativePointerField(const JSThread *thread, int32_t index, void *nativePointer,
388 void SetNativePointerFieldCount(const JSThread *thread, int32_t count);
416 …static JSHandle<JSTaggedValue> FromPropertyDescriptor(JSThread *thread, const PropertyDescriptor &…
419 …static void ToPropertyDescriptor(JSThread *thread, const JSHandle<JSTaggedValue> &obj, PropertyDes…
420 static bool ToPropertyDescriptorFast(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
423 …static JSHandle<JSTaggedValue> CallFunction(JSThread *thread, const JSHandle<JSTaggedValue> &func);
426 static JSHandle<JSTaggedValue> GetMethod(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
429 … static JSHandle<JSTaggedValue> FastGetMethod(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
432 …static bool CreateDataProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JST…
435 static bool CreateDataProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t index,
438 static bool CreateMethodProperty(JSThread *thread, const JSHandle<JSObject> &obj,
441 static bool CreateDataPropertyOrThrow(JSThread *thread, const JSHandle<JSObject> &obj,
445 …static bool CreateDataPropertyOrThrow(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t in…
448 … static JSHandle<TaggedArray> EnumerableOwnNames(JSThread *thread, const JSHandle<JSObject> &obj);
451 …static JSHandle<TaggedArray> EnumerableOwnPropertyNames(JSThread *thread, const JSHandle<JSObject>…
453 static void EnumerableOwnPropertyNamesHelper(JSThread *thread, const JSHandle<JSObject> &obj,
457 …static JSHandle<GlobalEnv> GetFunctionRealm(JSThread *thread, const JSHandle<JSTaggedValue> &objec…
459 …static bool SetIntegrityLevel(JSThread *thread, const JSHandle<JSObject> &obj, IntegrityLevel leve…
461 …static bool TestIntegrityLevel(JSThread *thread, const JSHandle<JSObject> &obj, IntegrityLevel lev…
463 … static JSHandle<JSTaggedValue> SpeciesConstructor(JSThread *thread, const JSHandle<JSObject> &obj,
465 static JSHandle<JSTaggedValue> SlowSpeciesConstructor(JSThread *thread,
470 …static JSHandle<JSTaggedValue> CreateListFromArrayLike(JSThread *thread, const JSHandle<JSTaggedVa…
479 …static bool SetPrototype(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTaggedV…
485 static bool PreventExtensions(JSThread *thread, const JSHandle<JSObject> &obj);
488 …static bool GetOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTagge…
491 …static bool GlobalGetOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &key, PropertyDes…
493 static bool OrdinaryGetOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj,
497 …static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTa…
500 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t index,
503 static bool OrdinaryDefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj,
507 …static bool OrdinaryDefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t in…
517 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSObject> &obj,
520 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
523 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
526 …static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, uint32_t …
528 …static OperationResult GetPropertyFromGlobal(JSThread *thread, const JSHandle<JSTaggedValue> &key);
530 …static bool SetProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTaggedVa…
533 …static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTag…
536 …static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTag…
540 static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, uint32_t index,
543 static bool GlobalSetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &key,
547 …static bool HasProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTaggedVa…
549 static bool HasProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t index);
552 …static bool DeleteProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTagge…
555 … static JSHandle<TaggedArray> GetOwnPropertyKeys(JSThread *thread, const JSHandle<JSObject> &obj);
557 …static JSHandle<TaggedArray> GetAllPropertyKeys(JSThread *thread, const JSHandle<JSObject> &obj, u…
559 static void CollectEnumKeysAlongProtoChain(JSThread *thread, const JSHandle<JSObject> &obj,
563 static void AppendOwnEnumPropertyKeys(JSThread *thread, const JSHandle<JSObject> &obj,
567 …static JSHandle<TaggedArray> GetOwnEnumPropertyKeys(JSThread *thread, const JSHandle<JSObject> &ob…
570 static JSHandle<JSObject> ObjectCreate(JSThread *thread, const JSHandle<JSObject> &proto);
573 static bool InstanceOf(JSThread *thread, const JSHandle<JSTaggedValue> &object,
576 static JSTaggedValue TryGetEnumCache(JSThread *thread, JSTaggedValue obj);
579 …static JSHandle<JSForInIterator> EnumerateObjectProperties(JSThread *thread, const JSHandle<JSTagg…
580 …static JSHandle<JSForInIterator> LoadEnumerateProperties(JSThread *thread, const JSHandle<JSTagged…
582 static bool IsRegExp(JSThread *thread, const JSHandle<JSTaggedValue> &argument);
584 static JSTaggedValue CallGetter(JSThread *thread, const AccessorData *accessor,
586 …static bool CallSetter(JSThread *thread, const AccessorData &accessor, const JSHandle<JSTaggedValu…
589 void FillElementsWithHoles(const JSThread *thread, uint32_t start, uint32_t end);
628 static void DefinePropertyByLiteral(JSThread *thread, const JSHandle<JSObject> &obj,
631 …static void DefineSetter(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTa…
633 …static void DefineGetter(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTa…
635 static JSHandle<JSObject> CreateObjectFromProperties(const JSThread *thread,
638 static JSHandle<JSObject> CreateObjectFromProperties(const JSThread *thread,
641 static JSHandle<JSObject> CreateObjectFromPropertiesByIHClass(const JSThread *thread,
647 static void GetAllKeys(const JSThread *thread, const JSHandle<JSObject> &obj, int offset,
651 static void GetAllKeysByFilter(const JSThread *thread, const JSHandle<JSObject> &obj,
655 static void GetAllElementKeys(JSThread *thread, const JSHandle<JSObject> &obj, int offset,
657 static void GetAllElementKeysByFilter(JSThread *thread,
663 static void GetALLElementKeysIntoVector(const JSThread *thread, const JSHandle<JSObject> &obj,
669 …static JSHandle<TaggedArray> GetEnumElementKeys(JSThread *thread, const JSHandle<JSObject> &obj, i…
671 …static void CollectEnumElementsAlongProtoChain(JSThread *thread, const JSHandle<JSObject> &obj, in…
674 static void GetEnumElementKeys(JSThread *thread, const JSHandle<JSObject> &obj, int offset,
676 static JSHandle<TaggedArray> GetAllEnumKeys(JSThread *thread, const JSHandle<JSObject> &obj,
678 static uint32_t GetAllEnumKeys(JSThread *thread, const JSHandle<JSObject> &obj, int offset,
681 …static void AddAccessor(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTag…
692 static const CString ExtractConstructorAndRecordName(JSThread *thread, TaggedObject *obj);
694 …static JSHandle<NameDictionary> TransitionToDictionary(const JSThread *thread, const JSHandle<JSOb…
698 …inline void SetPropertyInlinedPropsWithRep(const JSThread *thread, uint32_t index, JSTaggedValue v…
700 … inline void SetPropertyInlinedProps(const JSThread *thread, uint32_t index, JSTaggedValue value);
702 …inline void SetPropertyInlinedProps(const JSThread *thread, const JSHClass *hclass, uint32_t index,
710 PropertyBox* GetGlobalPropertyBox(JSThread *thread, const std::string& key);
712 inline void SetProperty(const JSThread *thread, const JSHClass *hclass, PropertyAttributes attr,
715 static bool IsArrayLengthWritable(JSThread *thread, const JSHandle<JSObject> &receiver);
716 bool UpdatePropertyInDictionary(const JSThread *thread, JSTaggedValue key, JSTaggedValue value);
719 static bool ShouldOptimizeAsFastElements(const JSThread *thread, JSHandle<JSObject> obj);
720 …static JSHandle<TaggedArray> GrowElementsCapacity(const JSThread *thread, const JSHandle<JSObject>…
723 static bool IsDepulicateKeys(JSThread *thread, JSHandle<TaggedArray> keys, int32_t lastLength,
726 static void SetEnumCacheKind(JSThread *thread, TaggedArray *array, EnumCacheKind kind);
727 static EnumCacheKind GetEnumCacheKind(JSThread *thread, TaggedArray *array);
728 static EnumCacheKind GetEnumCacheKind(JSThread *thread, JSTaggedValue enumCache);
732 …static JSHandle<JSTaggedValue> IterableToList(JSThread *thread, const JSHandle<JSTaggedValue> &ite…
735 static void TryOptimizeAsFastElements(const JSThread *thread, JSHandle<JSObject> obj);
736 static void OptimizeAsFastProperties(const JSThread *thread, JSHandle<JSObject> obj);
739 static void ElementsToDictionary(const JSThread *thread, JSHandle<JSObject> obj);
751 …JSThread *thread, const JSHandle<JSObject> &receiver, uint32_t index, const JSHandle<JSTaggedValue…
754 static JSTaggedValue GetProperty(JSThread *thread, ObjectOperator *op);
756 static void DeletePropertyInternal(JSThread *thread, const JSHandle<JSObject> &obj,
763 static uint32_t ComputeNonInlinedFastPropsCapacity(JSThread *thread, uint32_t oldCapacity,
768 …JSThread *thread, const JSHandle<JSObject> &obj, uint32_t *copyLengthOfKeys, uint32_t *copyLengthO…
770 …static uint32_t SetValuesOrEntries(JSThread *thread, const JSHandle<TaggedArray> &prop, uint32_t i…
775 static void TrimInlinePropsSpace(const JSThread *thread, const JSHandle<JSObject> &object,
781 static bool SetPropertyForDataDescriptorProxy(JSThread *thread, ObjectOperator *op,