Lines Matching refs:JSHandle
33 static PUBLIC_API JSHandle<JSTaggedValue> ArrayCreate(JSThread *thread, JSTaggedNumber length,
35 static JSHandle<JSTaggedValue> ArrayCreate(JSThread *thread, JSTaggedNumber length,
36 const JSHandle<JSTaggedValue> &newTarget,
38 static JSTaggedValue ArraySpeciesCreate(JSThread *thread, const JSHandle<JSObject> &originalArray,
40 static bool ArraySetLength(JSThread *thread, const JSHandle<JSObject> &array, const PropertyDescriptor &desc);
41 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &array, const JSHandle<JSTaggedValue> &key,
43 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &array, uint32_t index,
46 static bool IsLengthString(JSThread *thread, const JSHandle<JSTaggedValue> &key);
47 static JSHandle<JSSharedArray> CreateArrayFromList(JSThread *thread, const JSHandle<TaggedArray> &elements);
74 inline bool IsKeyInRange(const JSHandle<JSTaggedValue> &key)
117 static bool PropertyKeyToArrayIndex(JSThread *thread, const JSHandle<JSTaggedValue> &key, uint32_t *output);
119 static JSTaggedValue LengthGetter(JSThread *thread, const JSHandle<JSObject> &self,
122 static bool LengthSetter(JSThread *thread, const JSHandle<JSObject> &self, const JSHandle<JSTaggedValue> &value,
124 static bool DummyLengthSetter(JSThread *thread, const JSHandle<JSObject> &self,
125 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
127 static JSHandle<JSTaggedValue> FastGetPropertyByValue(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
130 static JSHandle<JSTaggedValue> FastGetPropertyByValue(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
131 const JSHandle<JSTaggedValue> &key,
134 static bool FastSetPropertyByValue(JSThread *thread, const JSHandle<JSTaggedValue> &obj, uint32_t index,
135 const JSHandle<JSTaggedValue> &value);
137 static bool FastSetPropertyByValue(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
138 const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value);
140 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
141 const JSHandle<JSTaggedValue> &key, SCheckMode sCheckMode);
142 static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTaggedValue> &key,
143 const JSHandle<JSTaggedValue> &value, bool mayThrow, SCheckMode sCheckMode);
145 const JSHandle<JSTaggedValue> &obj,
147 const JSHandle<JSTaggedValue> &value,
151 static JSTaggedValue Sort(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTaggedValue> &fn);
152 static bool IncludeInSortedValue(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
153 const JSHandle<JSTaggedValue> &value);
154 static JSHandle<TaggedArray> ToTaggedArray(JSThread *thread, const JSHandle<JSTaggedValue> &obj);
155 static void PUBLIC_API CheckAndCopyArray(const JSThread *thread, JSHandle<JSSharedArray> obj);
156 static JSHandle<TaggedArray> SetCapacity(const JSThread *thread, const JSHandle<TaggedArray> &array,
158 static void SetCapacity(JSThread *thread, const JSHandle<JSObject> &array, uint32_t oldLen, uint32_t newLen,
160 static void SortElements(JSThread *thread, const JSHandle<TaggedArray> &elements,
161 const JSHandle<JSTaggedValue> &fn);
162 static void SortElementsByObject(JSThread *thread, const JSHandle<JSObject> &thisObjHandle,
163 const JSHandle<JSTaggedValue> &fn);
165 static void DeleteInElementMode(const JSThread *thread, JSHandle<JSSharedArray> &obj);