Home
last modified time | relevance | path

Searched refs:object_p (Results 1 - 25 of 51) sorted by relevance

123

/third_party/jerryscript/jerry-core/ecma/operations/
H A Decma-array-object.c78 ecma_object_t *object_p = ecma_create_object (array_prototype_object_p, in ecma_op_new_array_object() local
88 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) object_p; in ecma_op_new_array_object()
93 return object_p; in ecma_op_new_array_object()
103 ecma_op_object_is_fast_array (ecma_object_t *object_p) /**< ecma-object */ in ecma_op_object_is_fast_array() argument
105 return (ecma_get_object_type (object_p) == ECMA_OBJECT_TYPE_ARRAY && in ecma_op_object_is_fast_array()
106 ecma_op_array_is_fast_array ((ecma_extended_object_t *) object_p)); in ecma_op_object_is_fast_array()
145 ecma_object_t *object_p = ecma_op_new_array_object (length); in ecma_op_new_fast_array_object() local
146 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) object_p; in ecma_op_new_fast_array_object()
151 JERRY_ASSERT (object_p->u1.property_list_cp == JMEM_CP_NULL); in ecma_op_new_fast_array_object()
158 ECMA_SET_POINTER (object_p in ecma_op_new_fast_array_object()
166 ecma_fast_array_convert_to_normal(ecma_object_t *object_p) ecma_fast_array_convert_to_normal() argument
236 ecma_fast_array_set_property(ecma_object_t *object_p, uint32_t index, ecma_value_t value) ecma_fast_array_set_property() argument
323 ecma_fast_array_extend(ecma_object_t *object_p, uint32_t new_length) ecma_fast_array_extend() argument
370 ecma_array_object_delete_property(ecma_object_t *object_p, ecma_string_t *property_name_p, ecma_property_value_t *prop_value_p) ecma_array_object_delete_property() argument
409 ecma_delete_fast_array_properties(ecma_object_t *object_p, uint32_t new_length) ecma_delete_fast_array_properties() argument
474 ecma_fast_array_set_length(ecma_object_t *object_p, uint32_t new_length) ecma_fast_array_set_length() argument
514 ecma_fast_array_get_property_names(ecma_object_t *object_p, uint32_t opts) ecma_fast_array_get_property_names() argument
620 ecma_object_t *object_p = ecma_op_new_fast_array_object (length); ecma_op_create_array_object() local
638 ecma_object_t *object_p = ecma_op_new_fast_array_object (length); ecma_op_create_array_object() local
790 ecma_delete_array_properties(ecma_object_t *object_p, uint32_t new_length, uint32_t old_length) ecma_delete_array_properties() argument
948 ecma_op_array_object_set_length(ecma_object_t *object_p, ecma_value_t new_value, uint32_t flags) ecma_op_array_object_set_length() argument
1070 ecma_op_array_object_define_own_property(ecma_object_t *object_p, ecma_string_t *property_name_p, const ecma_property_descriptor_t *property_desc_p) ecma_op_array_object_define_own_property() argument
[all...]
H A Decma-objects.h30 ecma_property_t ecma_op_object_get_own_property (ecma_object_t *object_p, ecma_string_t *property_name_p,
32 bool ecma_op_ordinary_object_has_own_property (ecma_object_t *object_p, ecma_string_t *property_name_p);
33 ecma_value_t ecma_op_object_has_property (ecma_object_t *object_p, ecma_string_t *property_name_p);
34 ecma_value_t ecma_op_object_find_own (ecma_value_t base_value, ecma_object_t *object_p, ecma_string_t *property_name_p);
35 ecma_value_t ecma_op_object_find (ecma_object_t *object_p, ecma_string_t *property_name_p);
36 ecma_value_t ecma_op_object_find_by_uint32_index (ecma_object_t *object_p, uint32_t index);
37 ecma_value_t ecma_op_object_find_by_number_index (ecma_object_t *object_p, ecma_number_t index);
38 ecma_value_t ecma_op_object_get_own_data_prop (ecma_object_t *object_p, ecma_string_t *property_name_p);
39 ecma_value_t ecma_op_object_get (ecma_object_t *object_p, ecma_string_t *property_name_p);
40 ecma_value_t ecma_op_object_get_with_receiver (ecma_object_t *object_p, ecma_string_
[all...]
H A Decma-objects.c72 ecma_op_object_get_own_property (ecma_object_t *object_p, /**< the object */ in ecma_op_object_get_own_property() argument
77 JERRY_ASSERT (object_p != NULL in ecma_op_object_get_own_property()
78 && !ecma_is_lexical_environment (object_p)); in ecma_op_object_get_own_property()
80 JERRY_ASSERT (!ECMA_OBJECT_IS_PROXY (object_p)); in ecma_op_object_get_own_property()
87 ecma_object_type_t type = ecma_get_object_type (object_p); in ecma_op_object_get_own_property()
93 ecma_extended_object_t *ext_object_p = (ecma_extended_object_t *) object_p; in ecma_op_object_get_own_property()
135 ecma_extended_object_t *ext_object_p = (ecma_extended_object_t *) object_p; in ecma_op_object_get_own_property()
155 ecma_value_t *values_p = ECMA_GET_NON_NULL_POINTER (ecma_value_t, object_p->u1.property_list_cp); in ecma_op_object_get_own_property()
180 if (ecma_object_is_typedarray (object_p)) in ecma_op_object_get_own_property()
193 ecma_typedarray_info_t info = ecma_typedarray_get_info (object_p); in ecma_op_object_get_own_property()
362 ecma_op_object_get_property(ecma_object_t *object_p, ecma_string_t *property_name_p, ecma_property_ref_t *property_ref_p, uint32_t options) ecma_op_object_get_property() argument
405 ecma_op_object_has_property(ecma_object_t *object_p, ecma_string_t *property_name_p) ecma_op_object_has_property() argument
445 ecma_op_object_find_own(ecma_value_t base_value, ecma_object_t *object_p, ecma_string_t *property_name_p) ecma_op_object_find_own() argument
685 ecma_op_object_find_by_uint32_index(ecma_object_t *object_p, uint32_t index) ecma_op_object_find_by_uint32_index() argument
710 ecma_op_object_find_by_number_index(ecma_object_t *object_p, ecma_number_t index) ecma_op_object_find_by_number_index() argument
730 ecma_op_object_find(ecma_object_t *object_p, ecma_string_t *property_name_p) ecma_op_object_find() argument
771 ecma_op_object_get_own_data_prop(ecma_object_t *object_p, ecma_string_t *property_name_p) ecma_op_object_get_own_data_prop() argument
810 ecma_op_object_get(ecma_object_t *object_p, ecma_string_t *property_name_p) ecma_op_object_get() argument
831 ecma_op_object_get_with_receiver(ecma_object_t *object_p, ecma_string_t *property_name_p, ecma_value_t receiver) ecma_op_object_get_with_receiver() argument
871 ecma_op_object_get_by_uint32_index(ecma_object_t *object_p, uint32_t index) ecma_op_object_get_by_uint32_index() argument
895 ecma_op_object_get_length(ecma_object_t *object_p, uint32_t *length_p) ecma_op_object_get_length() argument
928 ecma_op_object_get_by_magic_id(ecma_object_t *object_p, lit_magic_string_id_t property_id) ecma_op_object_get_by_magic_id() argument
957 ecma_op_object_get_by_symbol_id(ecma_object_t *object_p, lit_magic_string_id_t property_id) ecma_op_object_get_by_symbol_id() argument
1069 ecma_op_object_put_by_uint32_index(ecma_object_t *object_p, uint32_t index, ecma_value_t value, bool is_throw) ecma_op_object_put_by_uint32_index() argument
1098 ecma_op_object_put_by_number_index(ecma_object_t *object_p, ecma_number_t index, ecma_value_t value, bool is_throw) ecma_op_object_put_by_number_index() argument
1129 ecma_op_object_put(ecma_object_t *object_p, ecma_string_t *property_name_p, ecma_value_t value, bool is_throw) ecma_op_object_put() argument
1251 ecma_op_object_put_with_receiver(ecma_object_t *object_p, ecma_string_t *property_name_p, ecma_value_t value, ecma_value_t receiver, bool is_throw) ecma_op_object_put_with_receiver() argument
1885 ecma_op_object_get_own_property_descriptor(ecma_object_t *object_p, ecma_string_t *property_name_p, ecma_property_descriptor_t *prop_desc_p) ecma_op_object_get_own_property_descriptor() argument
2852 ecma_object_class_is(ecma_object_t *object_p, uint32_t class_id) ecma_object_class_is() argument
3064 ecma_object_t *object_p = ecma_get_object_from_value (object_value); ecma_op_invoke() local
3188 ecma_op_ordinary_object_is_extensible(ecma_object_t *object_p) ecma_op_ordinary_object_is_extensible() argument
3199 ecma_op_ordinary_object_prevent_extensions(ecma_object_t *object_p) ecma_op_ordinary_object_prevent_extensions() argument
3212 ecma_op_ordinary_object_has_own_property(ecma_object_t *object_p, ecma_string_t *property_name_p) ecma_op_ordinary_object_has_own_property() argument
[all...]
H A Decma-arraybuffer-object.c50 ecma_object_t *object_p = ecma_create_object (prototype_obj_p, in ecma_arraybuffer_new_object() local
54 ecma_extended_object_t *ext_object_p = (ecma_extended_object_t *) object_p; in ecma_arraybuffer_new_object()
62 return object_p; in ecma_arraybuffer_new_object()
81 ecma_object_t *object_p = ecma_create_object (prototype_obj_p, in ecma_arraybuffer_new_object_external() local
85 ecma_arraybuffer_external_info *array_object_p = (ecma_arraybuffer_external_info *) object_p; in ecma_arraybuffer_new_object_external()
93 return object_p; in ecma_arraybuffer_new_object_external()
175 ecma_arraybuffer_get_length (ecma_object_t *object_p) /**< pointer to the ArrayBuffer object */ in ecma_arraybuffer_get_length() argument
177 JERRY_ASSERT (ecma_object_class_is (object_p, LIT_MAGIC_STRING_ARRAY_BUFFER_UL)); in ecma_arraybuffer_get_length()
179 ecma_extended_object_t *ext_object_p = (ecma_extended_object_t *) object_p; in ecma_arraybuffer_get_length()
189 ecma_arraybuffer_get_buffer (ecma_object_t *object_p) /**< pointe argument
213 ecma_arraybuffer_is_detached(ecma_object_t *object_p) ecma_arraybuffer_is_detached() argument
236 ecma_arraybuffer_is_detachable(ecma_object_t *object_p) ecma_arraybuffer_is_detachable() argument
261 ecma_arraybuffer_detach(ecma_object_t *object_p) ecma_arraybuffer_detach() argument
[all...]
H A Decma-array-object.h71 ecma_op_object_is_fast_array (ecma_object_t *object_p);
80 ecma_fast_array_extend (ecma_object_t *object_p, uint32_t new_lengt);
83 ecma_fast_array_set_property (ecma_object_t *object_p, uint32_t index, ecma_value_t value);
86 ecma_array_object_delete_property (ecma_object_t *object_p, ecma_string_t *property_name_p,
90 ecma_delete_fast_array_properties (ecma_object_t *object_p, uint32_t new_length);
93 ecma_fast_array_get_property_names (ecma_object_t *object_p, uint32_t opts);
96 ecma_fast_array_convert_to_normal (ecma_object_t *object_p);
113 ecma_op_array_object_set_length (ecma_object_t *object_p, ecma_value_t new_value, uint32_t flags);
116 ecma_op_array_object_define_own_property (ecma_object_t *object_p, ecma_string_t *property_name_p,
H A Decma-function-object.h82 ecma_op_function_try_to_lazy_instantiate_property (ecma_object_t *object_p, ecma_string_t *property_name_p);
85 ecma_op_external_function_try_to_lazy_instantiate_property (ecma_object_t *object_p, ecma_string_t *property_name_p);
88 ecma_op_bound_function_try_to_lazy_instantiate_property (ecma_object_t *object_p, ecma_string_t *property_name_p);
91 ecma_op_function_list_lazy_property_names (ecma_object_t *object_p,
97 ecma_op_external_function_list_lazy_property_names (ecma_object_t *object_p,
103 ecma_op_bound_function_list_lazy_property_names (ecma_object_t *object_p,
H A Decma-symbol-object.c88 ecma_object_t *object_p = ecma_create_object (prototype_obj_p, in ecma_op_create_symbol_object() local
92 ecma_extended_object_t *ext_object_p = (ecma_extended_object_t *) object_p; in ecma_op_create_symbol_object()
96 return ecma_make_object_value (object_p); in ecma_op_create_symbol_object()
159 ecma_object_t *object_p = ecma_get_object_from_value (this_arg); in ecma_symbol_to_string_helper() local
161 if (ecma_get_object_type (object_p) == ECMA_OBJECT_TYPE_CLASS) in ecma_symbol_to_string_helper()
163 ecma_extended_object_t *ext_object_p = (ecma_extended_object_t *) object_p; in ecma_symbol_to_string_helper()
H A Decma-function-object.c1310 ecma_op_lazy_instantiate_prototype_object (ecma_object_t *object_p) /**< the function object */ in ecma_op_lazy_instantiate_prototype_object() argument
1312 JERRY_ASSERT (ecma_get_object_type (object_p) == ECMA_OBJECT_TYPE_FUNCTION in ecma_op_lazy_instantiate_prototype_object()
1313 || ecma_get_object_type (object_p) == ECMA_OBJECT_TYPE_EXTERNAL_FUNCTION); in ecma_op_lazy_instantiate_prototype_object()
1321 if (ecma_get_object_type (object_p) == ECMA_OBJECT_TYPE_FUNCTION) in ecma_op_lazy_instantiate_prototype_object()
1323 const ecma_compiled_code_t *byte_code_p = ecma_op_function_get_compiled_code ((ecma_extended_object_t *) object_p); in ecma_op_lazy_instantiate_prototype_object()
1355 constructor_prop_value_p->value = ecma_make_object_value (object_p); in ecma_op_lazy_instantiate_prototype_object()
1361 prototype_prop_value_p = ecma_create_named_data_property (object_p, in ecma_op_lazy_instantiate_prototype_object()
1385 ecma_op_function_try_to_lazy_instantiate_property (ecma_object_t *object_p, /**< the function object */ in ecma_op_function_try_to_lazy_instantiate_property() argument
1388 JERRY_ASSERT (!ecma_get_object_is_builtin (object_p)); in ecma_op_function_try_to_lazy_instantiate_property()
1393 ecma_extended_object_t *ext_func_p = (ecma_extended_object_t *) object_p; in ecma_op_function_try_to_lazy_instantiate_property()
1481 ecma_op_external_function_try_to_lazy_instantiate_property(ecma_object_t *object_p, ecma_string_t *property_name_p) ecma_op_external_function_try_to_lazy_instantiate_property() argument
1504 ecma_op_bound_function_try_to_lazy_instantiate_property(ecma_object_t *object_p, ecma_string_t *property_name_p) ecma_op_bound_function_try_to_lazy_instantiate_property() argument
1594 ecma_op_function_list_lazy_property_names(ecma_object_t *object_p, uint32_t opts, ecma_collection_t *main_collection_p, ecma_collection_t *non_enum_collection_p) ecma_op_function_list_lazy_property_names() argument
1655 ecma_op_external_function_list_lazy_property_names(ecma_object_t *object_p, uint32_t opts, ecma_collection_t *main_collection_p, ecma_collection_t *non_enum_collection_p) ecma_op_external_function_list_lazy_property_names() argument
1685 ecma_op_bound_function_list_lazy_property_names(ecma_object_t *object_p, uint32_t opts, ecma_collection_t *main_collection_p, ecma_collection_t *non_enum_collection_p) ecma_op_bound_function_list_lazy_property_names() argument
[all...]
H A Decma-container-object.c192 ecma_op_container_free_weakset_entries (ecma_object_t *object_p, /**< object pointer */ in ecma_op_container_free_weakset_entries() argument
195 JERRY_ASSERT (object_p != NULL); in ecma_op_container_free_weakset_entries()
210 ecma_op_container_unref_weak (ecma_get_object_from_value (*entry_p), ecma_make_object_value (object_p)); in ecma_op_container_free_weakset_entries()
211 ecma_op_container_remove_weak_entry (object_p, *entry_p); in ecma_op_container_free_weakset_entries()
223 ecma_op_container_free_weakmap_entries (ecma_object_t *object_p, /**< object pointer */ in ecma_op_container_free_weakmap_entries() argument
226 JERRY_ASSERT (object_p != NULL); in ecma_op_container_free_weakmap_entries()
241 ecma_op_container_unref_weak (ecma_get_object_from_value (entry_p->key), ecma_make_object_value (object_p)); in ecma_op_container_free_weakmap_entries()
242 ecma_op_container_remove_weak_entry (object_p, entry_p->key); in ecma_op_container_free_weakmap_entries()
313 ecma_op_container_free_entries (ecma_object_t *object_p) /**< collection object pointer */ in ecma_op_container_free_entries() argument
315 JERRY_ASSERT (object_p ! in ecma_op_container_free_entries()
386 ecma_object_t *object_p = ecma_create_object (proto_p, ecma_op_container_create() local
978 ecma_op_container_unref_weak(ecma_object_t *object_p, ecma_value_t ref_holder) ecma_op_container_unref_weak() argument
1002 ecma_op_container_remove_weak_entry(ecma_object_t *object_p, ecma_value_t key_arg) ecma_op_container_remove_weak_entry() argument
[all...]
H A Decma-objects-general.c361 ecma_op_general_object_define_own_property (ecma_object_t *object_p, /**< the object */ in ecma_op_general_object_define_own_property() argument
367 if (ECMA_OBJECT_IS_PROXY (object_p)) in ecma_op_general_object_define_own_property()
369 return ecma_proxy_object_define_own_property (object_p, property_name_p, property_desc_p); in ecma_op_general_object_define_own_property()
373 JERRY_ASSERT (object_p != NULL in ecma_op_general_object_define_own_property()
374 && !ecma_is_lexical_environment (object_p)); in ecma_op_general_object_define_own_property()
375 JERRY_ASSERT (!ecma_op_object_is_fast_array (object_p)); in ecma_op_general_object_define_own_property()
406 current_prop = ecma_op_object_get_own_property (object_p, in ecma_op_general_object_define_own_property()
414 if (!ecma_op_ordinary_object_is_extensible (object_p)) in ecma_op_general_object_define_own_property()
429 ecma_property_value_t *new_prop_value_p = ecma_create_named_data_property (object_p, in ecma_op_general_object_define_own_property()
443 ecma_create_named_accessor_property (object_p, in ecma_op_general_object_define_own_property()
[all...]
H A Decma-promise-object.c184 ecma_object_t *object_p = ecma_get_object_from_value (already_resolved); in ecma_is_resolver_already_called() local
185 JERRY_ASSERT (ecma_get_object_type (object_p) == ECMA_OBJECT_TYPE_CLASS); in ecma_is_resolver_already_called()
187 ecma_extended_object_t *already_resolved_p = (ecma_extended_object_t *) object_p; in ecma_is_resolver_already_called()
460 ecma_promise_create_resolving_functions (ecma_object_t *object_p, /**< the promise object */ in ecma_promise_create_resolving_functions() argument
465 funcs->resolve = ecma_promise_create_resolving_functions_helper (object_p, in ecma_promise_create_resolving_functions()
469 funcs->reject = ecma_promise_create_resolving_functions_helper (object_p, in ecma_promise_create_resolving_functions()
531 ecma_object_t *object_p = ecma_create_object (proto_p, in ecma_op_create_promise_object() local
535 ecma_extended_object_t *ext_object_p = (ecma_extended_object_t *) object_p; in ecma_op_create_promise_object()
540 ecma_promise_object_t *promise_object_p = (ecma_promise_object_t *) object_p; in ecma_op_create_promise_object()
546 ecma_promise_create_resolving_functions (object_p, in ecma_op_create_promise_object()
782 ecma_object_t *object_p = ecma_get_object_from_value (value); ecma_promise_reject_or_resolve() local
[all...]
/third_party/jerryscript/jerry-core/ecma/base/
H A Decma-gc.c75 ecma_gc_is_object_visited (ecma_object_t *object_p) /**< object */ in ecma_gc_is_object_visited() argument
77 JERRY_ASSERT (object_p != NULL); in ecma_gc_is_object_visited()
79 return (object_p->type_flags_refs < ECMA_OBJECT_NON_VISITED); in ecma_gc_is_object_visited()
85 static void ecma_gc_mark (ecma_object_t *object_p);
91 ecma_gc_set_object_visited (ecma_object_t *object_p) /**< object */ in ecma_gc_set_object_visited() argument
93 if (object_p->type_flags_refs >= ECMA_OBJECT_NON_VISITED) in ecma_gc_set_object_visited()
100 object_p->type_flags_refs = (uint16_t) (object_p->type_flags_refs & (ECMA_OBJECT_REF_ONE - 1)); in ecma_gc_set_object_visited()
101 ecma_gc_mark (object_p); in ecma_gc_set_object_visited()
107 object_p in ecma_gc_set_object_visited()
121 ecma_init_gc_info(ecma_object_t *object_p) ecma_init_gc_info() argument
130 ECMA_SET_NON_NULL_POINTER (JERRY_CONTEXT (ecma_gc_objects_cp), object_p); ecma_init_gc_info() local
140 ecma_ref_object(ecma_object_t *object_p) ecma_ref_object() argument
159 ecma_unmark_deref_object(ecma_object_t *object_p) ecma_unmark_deref_object() argument
172 ecma_deref_object(ecma_object_t *object_p) ecma_deref_object() argument
244 ecma_gc_mark_bound_function_object(ecma_object_t *object_p) ecma_gc_mark_bound_function_object() argument
332 ecma_gc_mark_map_object(ecma_object_t *object_p) ecma_gc_mark_map_object() argument
369 ecma_gc_mark_weakmap_object(ecma_object_t *object_p) ecma_gc_mark_weakmap_object() argument
401 ecma_gc_mark_set_object(ecma_object_t *object_p) ecma_gc_mark_set_object() argument
433 ecma_gc_mark_executable_object(ecma_object_t *object_p) ecma_gc_mark_executable_object() argument
505 ecma_gc_mark_proxy_object(ecma_object_t *object_p) ecma_gc_mark_proxy_object() argument
527 ecma_gc_mark(ecma_object_t *object_p) ecma_gc_mark() argument
820 ecma_free_fast_access_array(ecma_object_t *object_p) ecma_free_fast_access_array() argument
850 ecma_gc_free_executable_object(ecma_object_t *object_p) ecma_gc_free_executable_object() argument
940 ecma_gc_free_properties(ecma_object_t *object_p) ecma_gc_free_properties() argument
1018 ecma_gc_free_object(ecma_object_t *object_p) ecma_gc_free_object() argument
[all...]
H A Decma-helpers.c173 ecma_is_lexical_environment (const ecma_object_t *object_p) /**< object or lexical environment */ in ecma_is_lexical_environment() argument
175 JERRY_ASSERT (object_p != NULL); in ecma_is_lexical_environment()
177 uint32_t full_type = object_p->type_flags_refs & (ECMA_OBJECT_FLAG_BUILT_IN_OR_LEXICAL_ENV | ECMA_OBJECT_TYPE_MASK); in ecma_is_lexical_environment()
186 ecma_op_ordinary_object_set_extensible (ecma_object_t *object_p) /**< object */ in ecma_op_ordinary_object_set_extensible() argument
188 JERRY_ASSERT (object_p != NULL); in ecma_op_ordinary_object_set_extensible()
189 JERRY_ASSERT (!ecma_is_lexical_environment (object_p)); in ecma_op_ordinary_object_set_extensible()
191 object_p->type_flags_refs = (uint16_t) (object_p->type_flags_refs | ECMA_OBJECT_FLAG_EXTENSIBLE); in ecma_op_ordinary_object_set_extensible()
200 ecma_get_object_type (const ecma_object_t *object_p) /**< object */ in ecma_get_object_type() argument
202 JERRY_ASSERT (object_p ! in ecma_get_object_type()
215 ecma_get_object_is_builtin(const ecma_object_t *object_p) ecma_get_object_is_builtin() argument
227 ecma_set_object_is_builtin(ecma_object_t *object_p) ecma_set_object_is_builtin() argument
243 ecma_get_object_builtin_id(ecma_object_t *object_p) ecma_get_object_builtin_id() argument
271 ecma_get_lex_env_type(const ecma_object_t *object_p) ecma_get_lex_env_type() argument
290 ecma_get_lex_env_binding_object(const ecma_object_t *object_p) ecma_get_lex_env_binding_object() argument
381 ecma_create_property(ecma_object_t *object_p, ecma_string_t *name_p, uint8_t type_and_flags, ecma_property_value_t value, ecma_property_t **out_prop_p) ecma_create_property() argument
521 ecma_create_named_data_property(ecma_object_t *object_p, ecma_string_t *name_p, uint8_t prop_attributes, ecma_property_t **out_prop_p) ecma_create_named_data_property() argument
547 ecma_create_named_accessor_property(ecma_object_t *object_p, ecma_string_t *name_p, ecma_object_t *get_p, ecma_object_t *set_p, uint8_t prop_attributes, ecma_property_t **out_prop_p) ecma_create_named_accessor_property() argument
763 ecma_free_property(ecma_object_t *object_p, jmem_cpointer_t name_cp, ecma_property_t *property_p) ecma_free_property() argument
817 ecma_delete_property(ecma_object_t *object_p, ecma_property_value_t *prop_value_p) ecma_delete_property() argument
917 ecma_assert_object_contains_the_property(const ecma_object_t *object_p, const ecma_property_value_t *prop_value_p, ecma_property_types_t type) ecma_assert_object_contains_the_property() argument
993 ecma_set_named_accessor_property_getter(ecma_object_t *object_p, ecma_property_value_t *prop_value_p, ecma_object_t *getter_p) ecma_set_named_accessor_property_getter() argument
1013 ecma_set_named_accessor_property_setter(ecma_object_t *object_p, ecma_property_value_t *prop_value_p, ecma_object_t *setter_p) ecma_set_named_accessor_property_setter() argument
1272 ecma_create_error_object_reference(ecma_object_t *object_p) ecma_create_error_object_reference() argument
[all...]
H A Decma-property-hashmap.c73 ecma_property_hashmap_create (ecma_object_t *object_p) /**< object */ in ecma_property_hashmap_create() argument
80 jmem_cpointer_t prop_iter_cp = object_p->u1.property_list_cp; in ecma_property_hashmap_create()
132 hashmap_p->header.next_property_cp = object_p->u1.property_list_cp; in ecma_property_hashmap_create()
141 prop_iter_cp = object_p->u1.property_list_cp; in ecma_property_hashmap_create()
142 ECMA_SET_NON_NULL_POINTER (object_p->u1.property_list_cp, hashmap_p); in ecma_property_hashmap_create()
199 ecma_property_hashmap_free (ecma_object_t *object_p) /**< object */ in ecma_property_hashmap_free() argument
202 JERRY_ASSERT (object_p->u1.property_list_cp != JMEM_CP_NULL); in ecma_property_hashmap_free()
205 object_p->u1.property_list_cp); in ecma_property_hashmap_free()
211 object_p->u1.property_list_cp = property_p->next_property_cp; in ecma_property_hashmap_free()
221 ecma_property_hashmap_insert (ecma_object_t *object_p, /**< objec argument
298 ecma_property_hashmap_delete(ecma_object_t *object_p, jmem_cpointer_t name_cp, ecma_property_t *property_p) ecma_property_hashmap_delete() argument
[all...]
H A Decma-lcache.c88 ecma_lcache_insert (const ecma_object_t *object_p, /**< object */ in ecma_lcache_insert() argument
92 JERRY_ASSERT (object_p != NULL); in ecma_lcache_insert()
100 ECMA_SET_NON_NULL_POINTER (object_cp, object_p); in ecma_lcache_insert()
142 ecma_lcache_lookup (const ecma_object_t *object_p, /**< object */ in ecma_lcache_lookup() argument
145 JERRY_ASSERT (object_p != NULL); in ecma_lcache_lookup()
149 ECMA_SET_NON_NULL_POINTER (object_cp, object_p); in ecma_lcache_lookup()
188 ecma_lcache_invalidate (const ecma_object_t *object_p, /**< object */ in ecma_lcache_invalidate() argument
192 JERRY_ASSERT (object_p != NULL); in ecma_lcache_invalidate()
199 ECMA_SET_NON_NULL_POINTER (object_cp, object_p); in ecma_lcache_invalidate()
H A Decma-gc.h29 void ecma_init_gc_info (ecma_object_t *object_p);
30 void ecma_ref_object (ecma_object_t *object_p);
31 void ecma_deref_object (ecma_object_t *object_p);
32 void ecma_gc_free_properties (ecma_object_t *object_p);
H A Decma-property-hashmap.h68 void ecma_property_hashmap_create (ecma_object_t *object_p);
69 void ecma_property_hashmap_free (ecma_object_t *object_p);
70 void ecma_property_hashmap_insert (ecma_object_t *object_p, ecma_string_t *name_p,
72 ecma_property_hashmap_delete_status ecma_property_hashmap_delete (ecma_object_t *object_p, jmem_cpointer_t name_cp,
H A Decma-helpers.h256 ecma_value_t JERRY_ATTR_PURE ecma_make_object_value (const ecma_object_t *object_p);
433 bool JERRY_ATTR_PURE ecma_is_lexical_environment (const ecma_object_t *object_p);
434 void ecma_op_ordinary_object_set_extensible (ecma_object_t *object_p);
435 ecma_object_type_t JERRY_ATTR_PURE ecma_get_object_type (const ecma_object_t *object_p);
436 bool JERRY_ATTR_PURE ecma_get_object_is_builtin (const ecma_object_t *object_p);
437 void ecma_set_object_is_builtin (ecma_object_t *object_p);
438 uint8_t ecma_get_object_builtin_id (ecma_object_t *object_p);
439 ecma_lexical_environment_type_t JERRY_ATTR_PURE ecma_get_lex_env_type (const ecma_object_t *object_p);
440 ecma_object_t JERRY_ATTR_PURE *ecma_get_lex_env_binding_object (const ecma_object_t *object_p);
444 ecma_create_named_data_property (ecma_object_t *object_p, ecma_string_
[all...]
H A Decma-lcache.h27 void ecma_lcache_insert (const ecma_object_t *object_p, const jmem_cpointer_t name_cp, ecma_property_t *prop_p);
28 ecma_property_t *ecma_lcache_lookup (const ecma_object_t *object_p, const ecma_string_t *prop_name_p);
29 void ecma_lcache_invalidate (const ecma_object_t *object_p, const jmem_cpointer_t name_cp, ecma_property_t *prop_p);
H A Decma-alloc.c88 ecma_dealloc_object (ecma_object_t *object_p) /**< object to be freed */ in ecma_dealloc_object() argument
94 jmem_pools_free (object_p, sizeof (ecma_object_t)); in ecma_dealloc_object()
116 ecma_dealloc_extended_object (ecma_object_t *object_p, /**< extended object */ in ecma_dealloc_extended_object() argument
123 jmem_heap_free_block (object_p, size); in ecma_dealloc_extended_object()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtin-arraybuffer-prototype.c60 ecma_object_t *object_p = ecma_get_object_from_value (this_arg); in ecma_builtin_arraybuffer_prototype_bytelength_getter() local
62 if (ecma_object_class_is (object_p, LIT_MAGIC_STRING_ARRAY_BUFFER_UL)) in ecma_builtin_arraybuffer_prototype_bytelength_getter()
64 if (ecma_arraybuffer_is_detached (object_p)) in ecma_builtin_arraybuffer_prototype_bytelength_getter()
68 ecma_length_t len = ecma_arraybuffer_get_length (object_p); in ecma_builtin_arraybuffer_prototype_bytelength_getter()
96 ecma_object_t *object_p = ecma_get_object_from_value (this_arg); in ecma_builtin_arraybuffer_prototype_object_slice() local
98 if (!ecma_object_class_is (object_p, LIT_MAGIC_STRING_ARRAY_BUFFER_UL)) in ecma_builtin_arraybuffer_prototype_object_slice()
103 if (ecma_arraybuffer_is_detached (object_p)) in ecma_builtin_arraybuffer_prototype_object_slice()
108 ecma_length_t len = ecma_arraybuffer_get_length (object_p); in ecma_builtin_arraybuffer_prototype_object_slice()
139 lit_utf8_byte_t *old_buf = ecma_arraybuffer_get_buffer (object_p); in ecma_builtin_arraybuffer_prototype_object_slice()
H A Decma-builtins.c639 ecma_builtin_routine_try_to_instantiate_property (ecma_object_t *object_p, /**< object */ in ecma_builtin_routine_try_to_instantiate_property() argument
642 JERRY_ASSERT (ecma_get_object_is_builtin (object_p)); in ecma_builtin_routine_try_to_instantiate_property()
643 JERRY_ASSERT (ecma_get_object_type (object_p) == ECMA_OBJECT_TYPE_FUNCTION); in ecma_builtin_routine_try_to_instantiate_property()
644 JERRY_ASSERT (ecma_builtin_function_is_routine (object_p)); in ecma_builtin_routine_try_to_instantiate_property()
653 ecma_extended_object_t *ext_func_p = (ecma_extended_object_t *) object_p; in ecma_builtin_routine_try_to_instantiate_property()
664 ecma_property_value_t *len_prop_value_p = ecma_create_named_data_property (object_p, in ecma_builtin_routine_try_to_instantiate_property()
671 ecma_property_value_t *len_prop_value_p = ecma_create_named_data_property (object_p, in ecma_builtin_routine_try_to_instantiate_property()
697 ecma_builtin_try_to_instantiate_property (ecma_object_t *object_p, /**< object */ in ecma_builtin_try_to_instantiate_property() argument
700 JERRY_ASSERT (ecma_get_object_is_builtin (object_p)); in ecma_builtin_try_to_instantiate_property()
720 ecma_object_type_t object_type = ecma_get_object_type (object_p); in ecma_builtin_try_to_instantiate_property()
962 ecma_builtin_routine_list_lazy_property_names(ecma_object_t *object_p, uint32_t opts, ecma_collection_t *main_collection_p, ecma_collection_t *non_enum_collection_p) ecma_builtin_routine_list_lazy_property_names() argument
1004 ecma_builtin_list_lazy_property_names(ecma_object_t *object_p, uint32_t opts, ecma_collection_t *main_collection_p, ecma_collection_t *non_enum_collection_p) ecma_builtin_list_lazy_property_names() argument
[all...]
H A Decma-builtin-helpers-json.c42 ecma_object_t *object_p) /**< object */ in ecma_json_has_object_in_stack()
46 if (stack_p->object_p == object_p) in ecma_json_has_object_in_stack()
41 ecma_json_has_object_in_stack(ecma_json_occurence_stack_item_t *stack_p, ecma_object_t *object_p) ecma_json_has_object_in_stack() argument
H A Decma-builtin-json.c485 ecma_object_t *object_p = ecma_op_create_object_object_noarg (); in ecma_builtin_json_parse_value() local
491 return ecma_make_object_value (object_p); in ecma_builtin_json_parse_value()
519 ecma_builtin_json_define_value_property (object_p, name_p, value); in ecma_builtin_json_parse_value()
526 return ecma_make_object_value (object_p); in ecma_builtin_json_parse_value()
540 ecma_deref_object (object_p); in ecma_builtin_json_parse_value()
631 ecma_object_t *object_p = ecma_get_object_from_value (value); in ecma_builtin_json_internalize_property() local
633 ecma_collection_t *props_p = ecma_op_object_get_property_names (object_p, ECMA_LIST_ENUMERABLE); in ecma_builtin_json_internalize_property()
643 ecma_value_t result = ecma_builtin_json_internalize_property (reviver_p, object_p, property_name_p); in ecma_builtin_json_internalize_property()
649 ecma_deref_object (object_p); in ecma_builtin_json_internalize_property()
657 ecma_value_t delete_val = ecma_op_general_object_delete (object_p, in ecma_builtin_json_internalize_property()
749 ecma_object_t *object_p = ecma_op_create_object_object_noarg (); ecma_builtin_json_parse() local
[all...]
H A Decma-builtins.h91 ecma_builtin_routine_try_to_instantiate_property (ecma_object_t *object_p, ecma_string_t *string_p);
93 ecma_builtin_try_to_instantiate_property (ecma_object_t *object_p, ecma_string_t *string_p);
95 ecma_builtin_routine_list_lazy_property_names (ecma_object_t *object_p,
100 ecma_builtin_list_lazy_property_names (ecma_object_t *object_p,

Completed in 16 milliseconds

123