Lines Matching refs:cfunc
925 } cfunc; member
5021 p->u.cfunc.realm = JS_DupContext(ctx); in JS_NewCFunction3()
5022 p->u.cfunc.c_function.generic = func; in JS_NewCFunction3()
5023 p->u.cfunc.length = length; in JS_NewCFunction3()
5024 p->u.cfunc.cproto = cproto; in JS_NewCFunction3()
5025 p->u.cfunc.magic = magic; in JS_NewCFunction3()
5283 if (p->u.cfunc.realm) in js_c_function_finalizer()
5284 JS_FreeContext(p->u.cfunc.realm); in js_c_function_finalizer()
5292 if (p->u.cfunc.realm) in js_c_function_mark()
5293 mark_func(rt, &p->u.cfunc.realm->header); in js_c_function_mark()
9659 return (p->u.cfunc.c_function.generic == func && p->u.cfunc.magic == magic); in JS_IsCFunction()
15049 p->u.cfunc.cproto == JS_CFUNC_iterator_next) { in JS_IteratorNext2()
15058 func = p->u.cfunc.c_function; in JS_IteratorNext2()
15060 pdone, p->u.cfunc.magic); in JS_IteratorNext2()
15743 cproto = p->u.cfunc.cproto; in js_call_c_function()
15744 arg_count = p->u.cfunc.length; in js_call_c_function()
15753 ctx = p->u.cfunc.realm; /* change the current realm */ in js_call_c_function()
15781 func = p->u.cfunc.c_function; in js_call_c_function()
15811 p->u.cfunc.magic); in js_call_c_function()
15820 ret_val = func.getter_magic(ctx, this_obj, p->u.cfunc.magic); in js_call_c_function()
15823 ret_val = func.setter_magic(ctx, this_obj, arg_buf[0], p->u.cfunc.magic); in js_call_c_function()
15850 &done, p->u.cfunc.magic); in js_call_c_function()
18567 realm = p->u.cfunc.realm; in JS_GetFunctionRealm()
35379 val = JS_NewCFunction2(ctx, e->u.func.cfunc.generic, in JS_InstantiateFunctionListItem()
35494 val = JS_NewCFunction2(ctx, e->u.func.cfunc.generic, in JS_SetModuleExportList()