Lines Matching refs:JSObject
400 class JSObject : public ECMAObject {
413 CAST_CHECK(JSObject, IsECMAObject);
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 …c JSHandle<TaggedArray> EnumerableOwnPropertyNames(JSThread *thread, const JSHandle<JSObject> &obj,
453 static void EnumerableOwnPropertyNamesHelper(JSThread *thread, const JSHandle<JSObject> &obj,
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,
474 static JSTaggedValue GetPrototype(const JSHandle<JSObject> &obj);
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…
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,
530 …static bool SetProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTaggedVa…
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);
628 static void DefinePropertyByLiteral(JSThread *thread, const JSHandle<JSObject> &obj,
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,
649 …static void GetAllKeysForSerialization(const JSHandle<JSObject> &obj, std::vector<JSTaggedValue> &…
651 static void GetAllKeysByFilter(const JSThread *thread, const JSHandle<JSObject> &obj,
655 static void GetAllElementKeys(JSThread *thread, const JSHandle<JSObject> &obj, int offset,
658 const JSHandle<JSObject> &obj,
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,
694 …NameDictionary> TransitionToDictionary(const JSThread *thread, const JSHandle<JSObject> &receiver);
715 static bool IsArrayLengthWritable(JSThread *thread, const JSHandle<JSObject> &receiver);
719 static bool ShouldOptimizeAsFastElements(const JSThread *thread, JSHandle<JSObject> obj);
720 …c JSHandle<TaggedArray> GrowElementsCapacity(const JSThread *thread, const JSHandle<JSObject> &obj,
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…
756 static void DeletePropertyInternal(JSThread *thread, const JSHandle<JSObject> &obj,
768 …JSThread *thread, const JSHandle<JSObject> &obj, uint32_t *copyLengthOfKeys, uint32_t *copyLengthO…
769 static bool CheckHClassHit(const JSHandle<JSObject> &obj, const JSHandle<JSHClass> &cls);
775 static void TrimInlinePropsSpace(const JSThread *thread, const JSHandle<JSObject> &object,