Lines Matching refs:JSHandle

61     static void BuildClassInfoExtractorFromLiteral(JSThread *thread, JSHandle<ClassInfoExtractor> &extractor,
62 const JSHandle<TaggedArray> &literal,
66 static JSHandle<JSHClass> CreatePrototypeHClass(JSThread *thread,
67 JSHandle<TaggedArray> &keys,
68 JSHandle<TaggedArray> &properties);
70 static JSHandle<JSHClass> CreateConstructorHClass(JSThread *thread, const JSHandle<JSTaggedValue> &base,
71 JSHandle<TaggedArray> &keys,
72 JSHandle<TaggedArray> &properties);
73 static JSHandle<JSHClass> CreateSendableHClass(JSThread *thread, JSHandle<TaggedArray> &keys,
74 JSHandle<TaggedArray> &properties, bool isProtoClass,
77 JSHandle<TaggedArray> &properties,
102 static bool ExtractAndReturnWhetherWithElements(JSThread *thread, const JSHandle<TaggedArray> &literal,
104 JSHandle<TaggedArray> &keys, JSHandle<TaggedArray> &properties,
105 JSHandle<TaggedArray> &elements,
113 static JSHandle<JSFunction> DefineClassFromExtractor(JSThread *thread, const JSHandle<JSTaggedValue> &base,
114 JSHandle<ClassInfoExtractor> &extractor,
115 const JSHandle<JSTaggedValue> &lexenv);
117 static JSHandle<JSFunction> DefineClassWithIHClass(JSThread *thread, const JSHandle<JSTaggedValue> &base,
118 JSHandle<ClassInfoExtractor> &extractor,
119 const JSHandle<JSTaggedValue> &lexenv,
120 const JSHandle<JSTaggedValue> &prototypeOrHClassVal,
121 const JSHandle<JSTaggedValue> &constructorHClassVal);
126 static JSHandle<NameDictionary> BuildDictionaryProperties(JSThread *thread, const JSHandle<JSObject> &object,
127 JSHandle<TaggedArray> &keys,
128 JSHandle<TaggedArray> &properties, ClassPropertyType type,
129 const JSHandle<JSTaggedValue> &lexenv);
131 static JSHandle<JSFunction> CreateJSFunctionFromTemplate(JSThread *thread,
132 const JSHandle<FunctionTemplate> &funcTemp,
133 const JSHandle<JSObject> &homeObject,
134 const JSHandle<JSTaggedValue> &lexenv);
136 static void HandleElementsProperties(JSThread *thread, const JSHandle<JSObject> &object,
137 const JSHandle<JSTaggedValue> &lexenv, JSHandle<TaggedArray> &elements);
142 static JSHandle<JSFunction> DefineSendableClassFromExtractor(JSThread *thread,
143 JSHandle<ClassInfoExtractor> &extractor,
144 const JSHandle<TaggedArray> &fieldTypeArray);
146 static void DefineSendableInstanceHClass(JSThread *thread, const JSHandle<TaggedArray> &fieldTypeArray,
148 const JSHandle<JSFunction> &ctor, const JSHandle<JSTaggedValue> &base);
150 static JSHandle<TaggedArray> ExtractStaticFieldTypeArray(JSThread *thread,
151 const JSHandle<TaggedArray> &fieldTypeArray);
153 static void FilterDuplicatedKeys(JSThread *thread, const JSHandle<TaggedArray> &keys,
154 const JSHandle<TaggedArray> &properties);
173 static void PUBLIC_API AddFieldTypeToHClass(JSThread *thread, const JSHandle<TaggedArray> &fieldTypeArray,
174 uint32_t length, const JSHandle<NameDictionary> &nameDict,
175 const JSHandle<JSHClass> &hclass);
177 static void PUBLIC_API AddFieldTypeToHClass(JSThread *thread, const JSHandle<TaggedArray> &fieldTypeArray,
178 uint32_t length, const JSHandle<LayoutInfo> &layout, const JSHandle<JSHClass> &hclass,
179 size_t start, const JSHandle<NumberDictionary> &elementsDic = JSHandle<NumberDictionary>(),
180 std::vector<JSHandle<JSTaggedValue>> &&propertyList = std::vector<JSHandle<JSTaggedValue>>());
187 static JSHandle<NameDictionary> BuildSendableDictionaryProperties(JSThread *thread,
188 const JSHandle<JSObject> &object,
189 JSHandle<TaggedArray> &keys,
190 JSHandle<TaggedArray> &properties,
192 const JSHandle<JSFunction> &ctor);
194 static JSHandle<JSFunction> CreateSFunctionFromTemplate(JSThread *thread,
195 const JSHandle<FunctionTemplate> &funcTemp,
196 const JSHandle<JSObject> &homeObject,
197 const JSHandle<JSTaggedValue> &lexenv);
200 const JSHandle<JSTaggedValue> &homeObject, const JSHandle<JSFunction> &ctor);
202 static void AddFieldTypeToDict(JSThread *thread, const JSHandle<TaggedArray> &fieldTypeArray, uint32_t length,
212 JSHandle<AccessorData> &accessor);