• Home
  • Raw
  • Download

Lines Matching refs:JSFunction

79 class JSFunction : public JSFunctionBase {
87 CAST_CHECK(JSFunction, IsJSFunction);
89 …alizeJSFunction(JSThread *thread, const JSHandle<GlobalEnv> &env, const JSHandle<JSFunction> &func,
95 static JSTaggedValue SpeciesConstructor(const JSHandle<JSFunction> &func,
96 const JSHandle<JSFunction> &defaultConstructor);
105 static JSTaggedValue InvokeOptimizedEntrypoint(JSThread *thread, JSHandle<JSFunction> mainFunc,
107 static JSTaggedValue InvokeOptimizedEntrypoint(JSThread *thread, JSHandle<JSFunction> func,
113 …static bool AddRestrictedFunctionProperties(const JSHandle<JSFunction> &func, const JSHandle<JSTag…
114 static bool MakeConstructor(JSThread *thread, const JSHandle<JSFunction> &func,
116 …static bool SetFunctionLength(JSThread *thread, const JSHandle<JSFunction> &func, JSTaggedValue le…
118 …static JSHandle<JSObject> NewJSFunctionPrototype(JSThread *thread, const JSHandle<JSFunction> &fun…
127 static void SetFunctionNameNoPrefix(JSThread *thread, JSFunction *func, JSTaggedValue name);
139 … void SetFunctionPrototypeOrInstanceHClass(const JSThread *thread, const JSHandle<JSFunction> &fun,
235 static void InitializeJSFunction(JSThread *thread, const JSHandle<JSFunction> &func,
237 static JSHClass *GetOrCreateInitialJSHClass(JSThread *thread, const JSHandle<JSFunction> &fun);
238 … static JSHandle<JSHClass> GetInstanceJSHClass(JSThread *thread, JSHandle<JSFunction> constructor,
253 …static JSHandle<JSHClass> GetOrCreateDerivedJSHClass(JSThread *thread, JSHandle<JSFunction> derive…
256 JSHandle<JSFunction> mainFunc, CJSInfo* cjsInfo);
259 class JSGeneratorFunction : public JSFunction {
263 static constexpr size_t SIZE = JSFunction::SIZE;
265 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, SIZE, SIZE)
287 class JSProxyRevocFunction : public JSFunction {
293 static constexpr size_t REVOCABLE_PROXY_OFFSET = JSFunction::SIZE;
296 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, REVOCABLE_PROXY_OFFSET, SIZE)
302 class JSPromiseReactionsFunction : public JSFunction {
306 static constexpr size_t PROMISE_OFFSET = JSFunction::SIZE;
310 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, PROMISE_OFFSET, SIZE)
316 class JSPromiseExecutorFunction : public JSFunction {
320 static constexpr size_t CAPABILITY_OFFSET = JSFunction::SIZE;
323 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, CAPABILITY_OFFSET, SIZE)
328 class JSAsyncModuleFulfilledFunction : public JSFunction {
332 static constexpr size_t MODULE_OFFSET = JSFunction::SIZE;
335 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, MODULE_OFFSET, SIZE)
340 class JSAsyncModuleRejectedFunction : public JSFunction {
344 static constexpr size_t MODULE_OFFSET = JSFunction::SIZE;
347 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, MODULE_OFFSET, SIZE)
352 class JSPromiseAllResolveElementFunction : public JSFunction {
356 static constexpr size_t INDEX_OFFSET = JSFunction::SIZE;
363 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, INDEX_OFFSET, SIZE)
369 class JSPromiseAnyRejectElementFunction : public JSFunction {
373 static constexpr size_t ERRORS_OFFSET = JSFunction::SIZE;
382 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, ERRORS_OFFSET, INDEX_OFFSET)
388 class JSPromiseAllSettledElementFunction : public JSFunction {
392 static constexpr size_t ALREADY_CALLED_OFFSET = JSFunction::SIZE;
400 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, ALREADY_CALLED_OFFSET, INDEX_OFFSET)
406 class JSPromiseFinallyFunction : public JSFunction {
410 static constexpr size_t CONSTRUCTOR_OFFSET = JSFunction::SIZE;
414 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, CONSTRUCTOR_OFFSET, SIZE)
420 class JSPromiseValueThunkOrThrowerFunction : public JSFunction {
424 static constexpr size_t RESULT_OFFSET = JSFunction::SIZE;
427 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, RESULT_OFFSET, SIZE)
432 class JSIntlBoundFunction : public JSFunction {
438 static constexpr size_t NUMBER_FORMAT_OFFSET = JSFunction::SIZE;
444 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, NUMBER_FORMAT_OFFSET, SIZE)
448 class JSAsyncGeneratorFunction : public JSFunction {
451 static constexpr size_t SIZE = JSFunction::SIZE;
452 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, SIZE, SIZE)
456 class JSAsyncFromSyncIterUnwarpFunction : public JSFunction {
459 static constexpr size_t DONE_OFFSET = JSFunction::SIZE;
462 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, DONE_OFFSET, SIZE);
466 class JSSharedFunction : public JSFunction {
469 static constexpr size_t SIZE = JSFunction::SIZE;
472 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, SIZE, SIZE)