Lines Matching refs:this_obj

473     JSValue (*eval_internal)(JSContext* ctx, JSValueConst this_obj,
1005 JSValueConst this_obj,
1008 JSValueConst this_obj,
1011 JSValueConst this_obj, JSValueConst new_target,
1017 static JSValue JS_CallFree(JSContext* ctx, JSValue func_obj, JSValueConst this_obj,
1023 JSValue JS_EvalObject(JSContext* ctx, JSValueConst this_obj,
1183 JSValueConst this_obj,
1189 static JSValue JS_EvalInternal(JSContext* ctx, JSValueConst this_obj,
1210 static int JS_SetPropertyValue(JSContext* ctx, JSValueConst this_obj,
7024 JSAtom prop, JSValueConst this_obj, in JS_GetPropertyInternal() argument
7080 return JS_CallFree(ctx, func, this_obj, 0, NULL); in JS_GetPropertyInternal()
7131 retval = em->get_property(ctx, obj1, prop, this_obj); in JS_GetPropertyInternal()
7150 return JS_CallFree(ctx, desc.getter, this_obj, 0, NULL); in JS_GetPropertyInternal()
7808 static JSValue JS_GetPropertyValue(JSContext* ctx, JSValueConst this_obj, in JS_GetPropertyValue() argument
7814 if (likely(JS_VALUE_GET_TAG(this_obj) == JS_TAG_OBJECT && in JS_GetPropertyValue()
7819 p = JS_VALUE_GET_OBJ(this_obj); in JS_GetPropertyValue()
7860 ret = JS_GetProperty(ctx, this_obj, atom); in JS_GetPropertyValue()
7866 JSValue JS_GetPropertyUint32(JSContext* ctx, JSValueConst this_obj, in JS_GetPropertyUint32() argument
7869 return JS_GetPropertyValue(ctx, this_obj, JS_NewUint32(ctx, idx)); in JS_GetPropertyUint32()
7926 JSValue JS_GetPropertyStr(JSContext* ctx, JSValueConst this_obj, in JS_GetPropertyStr() argument
7932 ret = JS_GetProperty(ctx, this_obj, atom); in JS_GetPropertyStr()
8102 JSValueConst this_obj, JSValue val, int flags) in call_setter() argument
8109 ret = JS_CallFree(ctx, func, this_obj, 1, (JSValueConst*)&val); in call_setter()
8263 JSValue val, JSValueConst this_obj, in JS_SetPropertyGeneric() argument
8277 val, this_obj, flags); in JS_SetPropertyGeneric()
8294 ret = call_setter(ctx, setter, this_obj, val, flags); in JS_SetPropertyGeneric()
8309 if (!JS_IsObject(this_obj)) in JS_SetPropertyGeneric()
8312 p = JS_VALUE_GET_OBJ(this_obj); in JS_SetPropertyGeneric()
8333 ret = JS_DefineProperty(ctx, this_obj, prop, val, in JS_SetPropertyGeneric()
8355 int JS_SetPropertyInternal(JSContext* ctx, JSValueConst this_obj, in JS_SetPropertyInternal() argument
8367 tag = JS_VALUE_GET_TAG(this_obj); in JS_SetPropertyInternal()
8381 p1 = JS_VALUE_GET_OBJ(JS_GetPrototypePrimitive(ctx, this_obj)); in JS_SetPropertyInternal()
8385 p = JS_VALUE_GET_OBJ(this_obj); in JS_SetPropertyInternal()
8400 return call_setter(ctx, pr->u.getset.setter, this_obj, val, flags); in JS_SetPropertyInternal()
8429 … return JS_SetPropertyValue(ctx, this_obj, JS_NewInt32(ctx, idx), val, flags); in JS_SetPropertyInternal()
8464 val, this_obj, flags); in JS_SetPropertyInternal()
8486 ret = call_setter(ctx, setter, this_obj, val, flags); in JS_SetPropertyInternal()
8495 ret = JS_DefineProperty(ctx, this_obj, prop, val, in JS_SetPropertyInternal()
8518 return call_setter(ctx, pr->u.getset.setter, this_obj, val, flags); in JS_SetPropertyInternal()
8582 static int JS_SetPropertyValue(JSContext* ctx, JSValueConst this_obj, in JS_SetPropertyValue() argument
8585 if (likely(JS_VALUE_GET_TAG(this_obj) == JS_TAG_OBJECT && in JS_SetPropertyValue()
8593 p = JS_VALUE_GET_OBJ(this_obj); in JS_SetPropertyValue()
8712 ret = JS_SetPropertyInternal(ctx, this_obj, atom, val, flags); in JS_SetPropertyValue()
8718 int JS_SetPropertyUint32(JSContext* ctx, JSValueConst this_obj, in JS_SetPropertyUint32() argument
8721 return JS_SetPropertyValue(ctx, this_obj, JS_NewUint32(ctx, idx), val, in JS_SetPropertyUint32()
8725 int JS_SetPropertyInt64(JSContext* ctx, JSValueConst this_obj, in JS_SetPropertyInt64() argument
8733 return JS_SetPropertyValue(ctx, this_obj, JS_NewInt32(ctx, idx), val, in JS_SetPropertyInt64()
8741 res = JS_SetProperty(ctx, this_obj, prop, val); in JS_SetPropertyInt64()
8746 int JS_SetPropertyStr(JSContext* ctx, JSValueConst this_obj, in JS_SetPropertyStr() argument
8752 ret = JS_SetPropertyInternal(ctx, this_obj, atom, val, JS_PROP_THROW); in JS_SetPropertyStr()
8961 int JS_DefineProperty(JSContext* ctx, JSValueConst this_obj, in JS_DefineProperty() argument
8970 if (JS_VALUE_GET_TAG(this_obj) != JS_TAG_OBJECT) { in JS_DefineProperty()
8974 p = JS_VALUE_GET_OBJ(this_obj); in JS_DefineProperty()
9212 … return JS_SetPropertyValue(ctx, this_obj, JS_NewInt32(ctx, idx), JS_DupValue(ctx, val), flags); in JS_DefineProperty()
9222 static int JS_DefineAutoInitProperty(JSContext* ctx, JSValueConst this_obj, in JS_DefineAutoInitProperty() argument
9229 if (JS_VALUE_GET_TAG(this_obj) != JS_TAG_OBJECT) in JS_DefineAutoInitProperty()
9232 p = JS_VALUE_GET_OBJ(this_obj); in JS_DefineAutoInitProperty()
9253 int JS_DefinePropertyValue(JSContext* ctx, JSValueConst this_obj, in JS_DefinePropertyValue() argument
9257 ret = JS_DefineProperty(ctx, this_obj, prop, val, JS_UNDEFINED, JS_UNDEFINED, in JS_DefinePropertyValue()
9263 int JS_DefinePropertyValueValue(JSContext* ctx, JSValueConst this_obj, in JS_DefinePropertyValueValue() argument
9274 ret = JS_DefinePropertyValue(ctx, this_obj, atom, val, flags); in JS_DefinePropertyValueValue()
9279 int JS_DefinePropertyValueUint32(JSContext* ctx, JSValueConst this_obj, in JS_DefinePropertyValueUint32() argument
9282 return JS_DefinePropertyValueValue(ctx, this_obj, JS_NewUint32(ctx, idx), in JS_DefinePropertyValueUint32()
9286 int JS_DefinePropertyValueInt64(JSContext* ctx, JSValueConst this_obj, in JS_DefinePropertyValueInt64() argument
9289 return JS_DefinePropertyValueValue(ctx, this_obj, JS_NewInt64(ctx, idx), in JS_DefinePropertyValueInt64()
9293 int JS_DefinePropertyValueStr(JSContext* ctx, JSValueConst this_obj, in JS_DefinePropertyValueStr() argument
9299 ret = JS_DefinePropertyValue(ctx, this_obj, atom, val, flags); in JS_DefinePropertyValueStr()
9305 int JS_DefinePropertyGetSet(JSContext* ctx, JSValueConst this_obj, in JS_DefinePropertyGetSet() argument
9310 ret = JS_DefineProperty(ctx, this_obj, prop, JS_UNDEFINED, getter, setter, in JS_DefinePropertyGetSet()
9318 static int JS_CreateDataPropertyUint32(JSContext* ctx, JSValueConst this_obj, in JS_CreateDataPropertyUint32() argument
9321 return JS_DefinePropertyValueValue(ctx, this_obj, JS_NewInt64(ctx, idx), in JS_CreateDataPropertyUint32()
14680 JSValueConst this_obj, in js_arguments_define_own_property() argument
14686 p = JS_VALUE_GET_OBJ(this_obj); in js_arguments_define_own_property()
14694 return JS_DefineProperty(ctx, this_obj, prop, val, getter, setter, in js_arguments_define_own_property()
15729 JSValueConst this_obj, in js_call_c_function() argument
15791 this_obj = JS_UNDEFINED; in js_call_c_function()
15797 ret_val = func.generic(ctx, this_obj, argc, arg_buf); in js_call_c_function()
15805 this_obj = JS_UNDEFINED; in js_call_c_function()
15810 ret_val = func.generic_magic(ctx, this_obj, argc, arg_buf, in js_call_c_function()
15814 ret_val = func.getter(ctx, this_obj); in js_call_c_function()
15817 ret_val = func.setter(ctx, this_obj, arg_buf[0]); 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()
15849 ret_val = func.iterator_next(ctx, this_obj, argc, arg_buf, in js_call_c_function()
15867 JSValueConst this_obj, in js_call_bound_function() argument
15889 new_target = this_obj; in js_call_bound_function()
15921 JSValueConst this_obj, JSValueConst new_target, in JS_CallInternal() argument
15993 return call_func(caller_ctx, func_obj, this_obj, argc, in JS_CallInternal()
16113 uint32_t tag = JS_VALUE_GET_TAG(this_obj); in JS_CallInternal()
16119 val = JS_ToObject(ctx, this_obj); in JS_CallInternal()
16125 val = JS_DupValue(ctx, this_obj); in JS_CallInternal()
18539 JSValue JS_Call(JSContext* ctx, JSValueConst func_obj, JSValueConst this_obj, in JS_Call() argument
18542 return JS_CallInternal(ctx, func_obj, this_obj, JS_UNDEFINED, in JS_Call()
18546 static JSValue JS_CallFree(JSContext* ctx, JSValue func_obj, JSValueConst this_obj, in JS_CallFree() argument
18549 JSValue res = JS_CallInternal(ctx, func_obj, this_obj, JS_UNDEFINED, in JS_CallFree()
18710 JSValueConst func_obj, JSValueConst this_obj, in async_func_init() argument
18730 s->this_val = JS_DupValue(ctx, this_obj); in async_func_init()
19010 JSValueConst this_obj, in js_generator_function_call() argument
19021 if (async_func_init(ctx, &s->func_state, func_obj, this_obj, argc, argv)) { in js_generator_function_call()
19170 JSValueConst this_obj, in js_async_function_resolve_call() argument
19195 JSValueConst this_obj, in js_async_function_call() argument
19214 if (async_func_init(ctx, &s->func_state, func_obj, this_obj, argc, argv)) { in js_async_function_call()
19311 JSValueConst this_obj,
19547 JSValueConst this_obj, in js_async_generator_resolve_function() argument
19627 JSValueConst this_obj, in js_async_generator_function_call() argument
19639 if (async_func_init(ctx, &s->func_state, func_obj, this_obj, argc, argv)) { in js_async_generator_function_call()
32891 JSValueConst this_obj, in JS_EvalFunctionInternal() argument
32900 ret_val = JS_CallFree(ctx, fun_obj, this_obj, 0, NULL); in JS_EvalFunctionInternal()
32954 static JSValue __JS_EvalInternal(JSContext* ctx, JSValueConst this_obj, in __JS_EvalInternal() argument
33053 ret_val = JS_EvalFunctionInternal(ctx, fun_obj, this_obj, var_refs, sf); in __JS_EvalInternal()
33064 static JSValue JS_EvalInternal(JSContext* ctx, JSValueConst this_obj, in JS_EvalInternal() argument
33071 return ctx->eval_internal(ctx, this_obj, input, input_len, filename, in JS_EvalInternal()
33075 JSValue JS_EvalObject(JSContext* ctx, JSValueConst this_obj, in JS_EvalObject() argument
33087 ret = JS_EvalInternal(ctx, this_obj, str, len, "<input>", flags, scope_idx); in JS_EvalObject()
39383 JSValueConst this_obj, in js_string_define_own_property() argument
39394 p = JS_VALUE_GET_OBJ(this_obj); in js_string_define_own_property()
39417 return JS_DefineProperty(ctx, this_obj, prop, val, getter, setter, in js_string_define_own_property()
44507 JSValueConst this_obj, in js_proxy_call() argument
44515 return js_proxy_call_constructor(ctx, func_obj, this_obj, argc, argv); in js_proxy_call()
44525 return JS_Call(ctx, s->target, this_obj, argc, argv); in js_proxy_call()
44532 args[1] = this_obj; in js_proxy_call()
52533 JSValueConst this_obj, in js_dataview_getValue() argument
52543 ta = JS_GetOpaque2(ctx, this_obj, JS_CLASS_DATAVIEW); in js_dataview_getValue()
52630 JSValueConst this_obj, in js_dataview_setValue() argument
52642 ta = JS_GetOpaque2(ctx, this_obj, JS_CLASS_DATAVIEW); in js_dataview_setValue()
52837 JSValueConst this_obj, in js_atomics_op() argument
52998 JSValueConst this_obj, in js_atomics_store() argument
53055 JSValueConst this_obj, in js_atomics_isLockFree() argument
53080 JSValueConst this_obj, in js_atomics_wait() argument
53156 JSValueConst this_obj, in js_atomics_notify() argument