Lines Matching refs:JSObject
672 JSObject* obj; /* back pointer to the TypedArray/DataView object */
673 JSObject* buffer; /* based array buffer */
724 JSObject* ops[JS_OVOP_BINARY_COUNT]; /* self operators */
736 JSObject* self_ops[JS_OVOP_COUNT]; /* self operators */
823 JSObject* getter; /* NULL if undefined */
824 JSObject* setter; /* NULL if undefined */
864 JSObject* proto;
868 struct JSObject { struct
917 JSObject* home_object; /* for 'super' access */
1030 static __maybe_unused void JS_DumpObject(JSRuntime* rt, JSObject* p);
1120 JSObject* p, JSAtom prop, int prop_flags);
1160 static int JS_CreateProperty(JSContext* ctx, JSObject* p,
1165 static void reset_weak_ref(JSRuntime* rt, JSObject* p);
1177 static BOOL typed_array_is_detached(JSContext* ctx, JSObject* p);
1178 static uint32_t typed_array_get_length(JSContext* ctx, JSObject* p);
1216 JSObject* p, JSAtom prop);
1223 static int js_shape_prepare_update(JSContext* ctx, JSObject* p,
1248 static int js_instantiate_prototype(JSContext* ctx, JSObject* p, JSAtom atom, void* opaque);
1249 static int js_module_ns_autoinit(JSContext* ctx, JSObject* p, JSAtom atom,
1251 static int JS_InstantiateFunctionListItem(JSContext* ctx, JSObject* p,
4280 static uint32_t shape_initial_hash(JSObject* proto) in shape_initial_hash()
4338 static no_inline JSShape* js_new_shape2(JSContext* ctx, JSObject* proto, in js_new_shape2()
4373 static JSShape* js_new_shape(JSContext* ctx, JSObject* proto) in js_new_shape()
4450 JSObject* p, uint32_t count) in resize_properties()
4516 static int compact_properties(JSContext* ctx, JSObject* p) in compact_properties()
4584 JSObject* p, JSAtom atom, int prop_flags) in add_shape_property()
4629 static JSShape* find_hashed_shape_proto(JSRuntime* rt, JSObject* proto) in find_hashed_shape_proto()
4700 JSObject* p; in JS_DumpShapes()
4716 p = (JSObject*)gp; in JS_DumpShapes()
4727 JSObject* p; in JS_NewObjectFromShape()
4729 js_trigger_gc(ctx->rt, sizeof(JSObject)); in JS_NewObjectFromShape()
4730 p = js_malloc(ctx, sizeof(JSObject)); in JS_NewObjectFromShape()
4815 static JSObject* get_proto_obj(JSValueConst proto_val) in get_proto_obj()
4828 JSObject* proto; in JS_NewObjectProtoClass()
4845 JSObject *p;
4869 JSObject* p; in JS_SetObjectData()
4938 JSObject* p; in JS_GetFunctionBytecode()
4950 JSObject *p, *p1; in js_method_set_home_object()
5014 JSObject* p; in JS_NewCFunction3()
5178 static force_inline JSShapeProperty* find_own_property1(JSObject* p, in find_own_property1()
5199 JSObject* p, in find_own_property()
5245 JSObject* p = JS_VALUE_GET_OBJ(val); in js_array_finalizer()
5257 JSObject* p = JS_VALUE_GET_OBJ(val); in js_array_mark()
5267 JSObject* p = JS_VALUE_GET_OBJ(val); in js_object_data_finalizer()
5275 JSObject* p = JS_VALUE_GET_OBJ(val); in js_object_data_mark()
5281 JSObject* p = JS_VALUE_GET_OBJ(val); in js_c_function_finalizer()
5290 JSObject* p = JS_VALUE_GET_OBJ(val); in js_c_function_mark()
5298 JSObject *p1, *p = JS_VALUE_GET_OBJ(val); in js_bytecode_function_finalizer()
5322 JSObject* p = JS_VALUE_GET_OBJ(val); in js_bytecode_function_mark()
5348 JSObject* p = JS_VALUE_GET_OBJ(val); in js_bound_function_finalizer()
5363 JSObject* p = JS_VALUE_GET_OBJ(val); in js_bound_function_mark()
5375 JSObject* p = JS_VALUE_GET_OBJ(val); in js_for_in_iterator_finalizer()
5384 JSObject* p = JS_VALUE_GET_OBJ(val); in js_for_in_iterator_mark()
5389 static void free_object(JSRuntime* rt, JSObject* p) in free_object()
5440 free_object(rt, (JSObject*)gp); in free_gc_object()
5572 JSObject* p = (JSObject*)gp; in mark_children()
5792 JSObject* p; in JS_IsLiveObject()
5947 JSObject* p; in JS_ComputeMemoryUsage()
5958 p = (JSObject*)gp; in JS_ComputeMemoryUsage()
6126 s->obj_size += s->obj_count * sizeof(JSObject); in JS_ComputeMemoryUsage()
6185 { "JSObject", sizeof(JSObject) }, in JS_DumpMemoryUsage()
6212 JSObject *p; in JS_DumpMemoryUsage()
6214 p = (JSObject *)gp; in JS_DumpMemoryUsage()
6458 JSObject* p; in build_backtrace()
6530 JSObject* p; in is_backtrace_needed()
6763 JSObject *proto, *p, *p1; in JS_SetPrototypeInternal()
6878 JSObject* p; in JS_GetPrototype()
6908 JSObject* proto; in JS_OrdinaryIsInstanceOf()
6909 const JSObject *p, *proto1; in JS_OrdinaryIsInstanceOf()
6938 obj1 = JS_DupValue(ctx, JS_MKPTR(JS_TAG_OBJECT, (JSObject*)p)); in JS_OrdinaryIsInstanceOf()
7002 typedef int JSAutoInitFunc(JSContext* ctx, JSObject* p, JSAtom atom, void* opaque);
7010 static int JS_AutoInitProperty(JSContext* ctx, JSObject* p, JSAtom prop, in JS_AutoInitProperty()
7027 JSObject* p; in JS_GetPropertyInternal()
7181 JSObject* p; in JS_DefinePrivateField()
7216 JSObject* p; in JS_GetPrivateField()
7239 JSObject* p; in JS_SetPrivateField()
7268 JSObject *p, *p1; in JS_AddBrand()
7312 JSObject *p, *p1, *home_obj; in JS_CheckBrand()
7385 JSObject* p, int flags) in JS_GetOwnPropertyNamesInternal()
7599 JSObject* p, JSAtom prop) in JS_GetOwnPropertyInternal()
7704 JSObject* p; in JS_IsExtensible()
7718 JSObject* p; in JS_PreventExtensions()
7732 JSObject* p; in JS_HasProperty()
7816 JSObject* p; in JS_GetPropertyValue()
7940 JSObject* p, JSAtom prop, int prop_flags) in add_property()
7982 JSObject* p) in convert_fast_array_to_array()
8015 static int delete_property(JSContext* ctx, JSObject* p, JSAtom atom) in delete_property()
8101 static int call_setter(JSContext* ctx, JSObject* setter, in call_setter()
8127 static int set_array_length(JSContext* ctx, JSObject* p, JSProperty* prop, in set_array_length()
8214 static int add_fast_array_element(JSContext* ctx, JSObject* p, in add_fast_array_element()
8262 JSObject* p, JSAtom prop, in JS_SetPropertyGeneric()
8289 JSObject* setter; in JS_SetPropertyGeneric()
8358 JSObject *p, *p1; in JS_SetPropertyInternal()
8481 JSObject* setter; in JS_SetPropertyInternal()
8587 JSObject* p; in JS_SetPropertyValue()
8598 JSObject* p1; in JS_SetPropertyValue()
8768 static int JS_CreateProperty(JSContext* ctx, JSObject* p, in JS_CreateProperty()
8913 static int js_shape_prepare_update(JSContext* ctx, JSObject* p, in js_shape_prepare_update()
8940 static int js_update_property_flags(JSContext* ctx, JSObject* p, in js_update_property_flags()
8965 JSObject* p; in JS_DefineProperty()
8989 JSObject *new_getter, *new_setter; in JS_DefineProperty()
9226 JSObject* p; in JS_DefineAutoInitProperty()
9386 JSObject* p; in JS_CheckDefineGlobalVar()
9428 JSObject* p; in JS_DefineGlobalVar()
9462 JSObject* p; in JS_DefineGlobalFunction()
9482 JSObject* p; in JS_GetGlobalVar()
9502 JSObject* p; in JS_GetGlobalVarRef()
9539 JSObject* p; in JS_CheckGlobalVar()
9563 JSObject* p; in JS_SetGlobalVar()
9600 JSObject* p; in JS_DeleteProperty()
9638 JSObject* p; in JS_IsFunction()
9654 JSObject* p; in JS_IsCFunction()
9666 JSObject* p; in JS_IsConstructor()
9675 JSObject* p; in JS_SetConstructorBit()
9685 JSObject* p; in JS_IsError()
9695 JSObject* p; in JS_IsUncatchableError()
9704 JSObject* p; in JS_SetUncatchableError()
9719 JSObject* p; in JS_SetOpaque()
9729 JSObject* p; in JS_GetOpaque()
11539 static __maybe_unused void JS_DumpObject(JSRuntime* rt, JSObject* p) in JS_DumpObject()
11634 JS_DumpObject(rt, (JSObject*)p); in JS_DumpGCObject()
11733 JSObject* p = JS_VALUE_GET_OBJ(val); in JS_DumpValueShort()
11772 JSObject* p; in JS_IsArray()
12225 static JSObject* find_binary_op(JSBinaryOperatorDef* def, in find_binary_op()
12252 JSObject* p; in js_call_binary_op_fallback()
12380 JSObject* p; in js_call_binary_op_simple()
12435 JSObject* p; in js_call_unary_op_fallback()
14684 JSObject* p; in js_arguments_define_own_property()
14706 JSObject* p; in js_build_arguments()
14755 JSObject* p; in js_build_mapped_arguments()
14826 JSObject *p, *p1; in build_for_in_iterator()
14939 JSObject* p; in js_for_in_next()
15047 JSObject* p = JS_VALUE_GET_OBJ(method); in JS_IteratorNext2()
15272 JSObject* p = JS_VALUE_GET_OBJ(obj); in js_is_fast_array()
15286 JSObject* p = JS_VALUE_GET_OBJ(obj); in js_get_fast_array()
15385 JSObject* p; in JS_CopyDataProperties()
15386 JSObject* pexcl = NULL; in JS_CopyDataProperties()
15471 JSObject* p; in js_closure2()
15506 static int js_instantiate_prototype(JSContext* ctx, JSObject* p, JSAtom atom, void* opaque) in js_instantiate_prototype()
15734 JSObject* p; in js_call_c_function()
15870 JSObject* p; in js_call_bound_function()
15926 JSObject* p; in JS_CallInternal()
16163 JSObject* p1; in JS_CallInternal()
18559 JSObject* p; in JS_GetFunctionRealm()
18630 JSObject* p; in JS_CallConstructorInternal()
18713 JSObject* p; in async_func_init()
18838 JSObject* p = JS_VALUE_GET_OBJ(val); in js_generator_mark()
19071 JSObject* p = JS_VALUE_GET_OBJ(val); in js_async_function_resolve_finalizer()
19081 JSObject* p = JS_VALUE_GET_OBJ(val); in js_async_function_resolve_mark()
19093 JSObject* p; in js_async_function_resolve_create()
19174 JSObject* p = JS_VALUE_GET_OBJ(func_obj); in js_async_function_resolve_call()
19251 JSObject* generator; /* back pointer to the object (const) */
21931 JSObject* p; in seal_template_obj()
27267 static int js_module_ns_autoinit(JSContext* ctx, JSObject* p, JSAtom atom, in js_module_ns_autoinit()
27285 JSObject* p; in js_build_module_ns()
27331 JSObject* p1 = JS_VALUE_GET_OBJ(res_m->func_obj); in js_build_module_ns()
27450 JSObject* p; in js_create_module_bytecode_function()
27543 JSObject* p; in js_instantiate_module()
27628 JSObject* p1; in js_instantiate_module()
27695 JSObject* p; in js_get_script_or_module_name()
32973 JSObject* p; in __JS_EvalInternal()
33121 JSObject* obj;
33139 static uint32_t js_object_list_get_hash(JSObject* p, uint32_t hash_size) in js_object_list_get_hash()
33171 static int js_object_list_add(JSContext* ctx, JSObjectList* s, JSObject* obj) in js_object_list_add()
33196 static int js_object_list_find(JSContext* ctx, JSObjectList* s, JSObject* obj) in js_object_list_find()
33795 JSObject* p = JS_VALUE_GET_OBJ(obj); in JS_WriteArray()
33838 JSObject* p = JS_VALUE_GET_OBJ(obj); in JS_WriteObjectTag()
33877 JSObject* p = JS_VALUE_GET_OBJ(obj); in JS_WriteTypedArray()
33891 JSObject* p = JS_VALUE_GET_OBJ(obj); in JS_WriteArrayBuffer()
33905 JSObject* p = JS_VALUE_GET_OBJ(obj); in JS_WriteSharedArrayBuffer()
33967 JSObject* p = JS_VALUE_GET_OBJ(obj); in JS_WriteObjectRec()
34154 JSObject** objects;
34570 static int BC_add_object_ref1(BCReaderState* s, JSObject* p) in BC_add_object_ref1()
35351 static int JS_InstantiateFunctionListItem(JSContext* ctx, JSObject* p, in JS_InstantiateFunctionListItem()
35463 JSObject* p = JS_VALUE_GET_OBJ(obj); in JS_SetPropertyFunctionList()
35761 JSObject* p; in JS_ObjectDefineProperties()
36022 JSObject* p; in js_object_getOwnPropertyDescriptors()
36072 JSObject* p; in JS_GetOwnPropertyNames2()
36218 JSObject* p; in js_object_hasOwnProperty()
36251 JSObject* p; in js_object_toString()
36338 JSObject* p; in js_object_seal()
36389 JSObject* p; in js_object_isSealed()
36536 JSObject* p; in js_object___getClass()
36944 JSObject* p; in build_arg_list()
37019 JSObject* p; in js_function_bind()
37074 JSObject* p; in js_function_toString()
38212 JSObject* p = JS_VALUE_GET_OBJ(obj); in js_array_pop()
38768 JSObject* p = JS_VALUE_GET_OBJ(val); in js_array_iterator_finalizer()
38779 JSObject* p = JS_VALUE_GET_OBJ(val); in js_array_iterator_mark()
38847 JSObject* p; in js_array_iterator_next()
39077 JSObject* p = JS_VALUE_GET_OBJ(this_val); in js_thisNumberValue()
39279 JSObject* p = JS_VALUE_GET_OBJ(this_val); in js_thisBooleanValue()
39314 JSObject* p; in js_string_get_own_property()
39345 JSObject* p; in js_string_obj_get_length()
39389 JSObject* p; in js_string_define_own_property()
39479 JSObject* p = JS_VALUE_GET_OBJ(this_val); in js_thisStringValue()
41402 JSObject* p = JS_VALUE_GET_OBJ(val); in js_regexp_finalizer()
41481 JSObject* p; in js_regexp_constructor_internal()
41509 JSObject* p = JS_VALUE_GET_OBJ(obj); in js_get_regexp()
42204 JSObject* p = JS_VALUE_GET_OBJ(val); in js_regexp_string_iterator_finalizer()
42216 JSObject* p = JS_VALUE_GET_OBJ(val); in js_regexp_string_iterator_mark()
43198 JSObject* p; in js_json_to_str()
43429 JSObject* p = JS_VALUE_GET_OBJ(v); in JS_JSONStringify()
43463 JSObject* p = JS_VALUE_GET_OBJ(space); in JS_JSONStringify()
43910 JSObject* p; in js_proxy_has()
44099 JSObject* p; in js_proxy_get_own_property()
44198 JSObject* p; in js_proxy_define_own_property()
44694 JSObject* p = JS_VALUE_GET_OBJ(this_val); in js_thisSymbolValue()
45027 JSObject* p = JS_VALUE_GET_OBJ(key); in map_add_record()
45052 JSObject* p; in delete_weak_ref()
45099 static void reset_weak_ref(JSRuntime* rt, JSObject* p) in reset_weak_ref()
45276 JSObject* p; in js_map_finalizer()
45305 JSObject* p = JS_VALUE_GET_OBJ(val); in js_map_mark()
45332 JSObject* p; in js_map_iterator_finalizer()
45351 JSObject* p = JS_VALUE_GET_OBJ(val); in js_map_iterator_mark()
45819 JSObject* p = JS_VALUE_GET_OBJ(func_obj); in js_promise_resolve_function_call()
47223 JSObject* p = JS_VALUE_GET_OBJ(this_val); in JS_ThisTimeValue()
47234 JSObject* p = JS_VALUE_GET_OBJ(this_val); in JS_SetThisTimeValue()
47561 JSObject* p = JS_VALUE_GET_OBJ(argv[0]); in js_date_constructor()
48470 JSObject* p = JS_VALUE_GET_OBJ(this_val); in js_thisBigIntValue()
48733 JSObject* p = JS_VALUE_GET_OBJ(this_val); in js_thisBigFloatValue()
49739 JSObject* p = JS_VALUE_GET_OBJ(this_val); in js_thisBigDecimalValue()
50516 JSObject* p = JS_VALUE_GET_OBJ(val); in js_array_buffer_finalizer()
50537 JSObject* p; in js_array_buffer_isView()
50588 JSObject* p; in JS_DetachArrayBuffer()
50603 JSObject* p; in js_get_array_buffer()
50718 static JSObject* get_typed_array(JSContext* ctx, in get_typed_array()
50722 JSObject* p; in get_typed_array()
50741 static BOOL typed_array_is_detached(JSContext* ctx, JSObject* p) in typed_array_is_detached()
50752 static uint32_t typed_array_get_length(JSContext* ctx, JSObject* p) in typed_array_get_length()
50761 JSObject* p; in validate_typed_array()
50775 JSObject* p; in js_typed_array_get_length()
50785 JSObject* p; in js_typed_array_get_buffer()
50798 JSObject* p; in js_typed_array_get_byteLength()
50818 JSObject* p; in js_typed_array_get_byteOffset()
50842 JSObject* p; in JS_GetTypedArrayBuffer()
50863 JSObject* p; in js_typed_array_get_toStringTag()
50878 JSObject* p; in js_typed_array_set_internal()
50879 JSObject* src_p; in js_typed_array_set_internal()
50974 JSObject* p; in js_typed_array_get_length_internal()
51047 JSObject* p; in js_typed_array___speciesCreate()
51186 JSObject* p; in js_typed_array_copyWithin()
51221 JSObject* p; in js_typed_array_fill()
51367 JSObject* p; in js_typed_array_indexOf()
51659 JSObject* p; in js_typed_array_reverse()
51716 JSObject *p, *p1; in js_typed_array_slice()
51778 JSObject* p; in js_typed_array_subarray()
52008 JSObject* p; in js_typed_array_sort()
52195 JSObject *p, *pbuffer; in typed_array_init()
52318 JSObject *p, *src_buffer; in js_typed_array_constructor_ta()
52400 JSObject* p = JS_VALUE_GET_OBJ(argv[0]); in js_typed_array_constructor()
52450 JSObject* p = JS_VALUE_GET_OBJ(val); in js_typed_array_finalizer()
52466 JSObject* p = JS_VALUE_GET_OBJ(val); in js_typed_array_mark()
52483 JSObject* p; in js_dataview_constructor()
52775 JSObject* p; in js_atomics_get_ptr()