/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-object-prototype.c | 148 … ecma_string_t *prop_name_p) /**< first argument */ in ecma_builtin_object_prototype_object_has_own_property() argument 155 …ecma_value_t status = ecma_proxy_object_get_own_property_descriptor (obj_p, prop_name_p, &prop_des… in ecma_builtin_object_prototype_object_has_own_property() 166 return ecma_make_boolean_value (ecma_op_ordinary_object_has_own_property (obj_p, prop_name_p)); in ecma_builtin_object_prototype_object_has_own_property() 210 … ecma_string_t *prop_name_p) /**< first argument */ in ecma_builtin_object_prototype_object_property_is_enumerable() argument 213 ecma_value_t status = ecma_op_object_get_own_property_descriptor (obj_p, prop_name_p, &prop_desc); in ecma_builtin_object_prototype_object_property_is_enumerable() 309 ecma_string_t *prop_name_p = ecma_op_to_prop_name (arguments_list_p[0]); in ecma_builtin_object_prototype_dispatch_routine() local 311 if (prop_name_p == NULL) in ecma_builtin_object_prototype_dispatch_routine() 320 ecma_deref_ecma_string (prop_name_p); in ecma_builtin_object_prototype_dispatch_routine() 330 ret_value = ecma_builtin_object_prototype_object_has_own_property (obj_p, prop_name_p); in ecma_builtin_object_prototype_dispatch_routine() 334 ret_value = ecma_builtin_object_prototype_object_property_is_enumerable (obj_p, prop_name_p); in ecma_builtin_object_prototype_dispatch_routine() [all …]
|
D | ecma-builtin-array-iterator-prototype.c | 96 …ecma_string_t *prop_name_p = ecma_get_magic_string (LIT_INTERNAL_MAGIC_STRING_ITERATOR_NEXT_INDEX); in ecma_builtin_array_iterator_prototype_object_next() local 97 ecma_value_t index_value = ecma_op_object_get (obj_p, prop_name_p); in ecma_builtin_array_iterator_prototype_object_next() 105 prop_name_p, in ecma_builtin_array_iterator_prototype_object_next()
|
D | ecma-builtin-object.c | 1142 ecma_string_t *prop_name_p = ecma_op_to_prop_name (arg2); in ecma_builtin_object_dispatch_routine() local 1144 if (prop_name_p == NULL) in ecma_builtin_object_dispatch_routine() 1149 …ecma_value_t result = ecma_builtin_object_object_define_property (obj_p, prop_name_p, arguments_li… in ecma_builtin_object_dispatch_routine() 1151 ecma_deref_ecma_string (prop_name_p); in ecma_builtin_object_dispatch_routine() 1204 ecma_string_t *prop_name_p = ecma_op_to_prop_name (arg2); in ecma_builtin_object_dispatch_routine() local 1206 if (prop_name_p == NULL) in ecma_builtin_object_dispatch_routine() 1212 result = ecma_builtin_object_object_get_own_property_descriptor (obj_p, prop_name_p); in ecma_builtin_object_dispatch_routine() 1213 ecma_deref_ecma_string (prop_name_p); in ecma_builtin_object_dispatch_routine()
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-proxy-object.h | 49 ecma_string_t *prop_name_p); 68 ecma_string_t *prop_name_p, 73 ecma_string_t *prop_name_p, 78 ecma_string_t *prop_name_p); 82 ecma_string_t *prop_name_p, 87 ecma_string_t *prop_name_p, 93 ecma_string_t *prop_name_p);
|
D | ecma-proxy-object.c | 217 ecma_string_t *prop_name_p) /**< property name */ in ecma_proxy_object_find() argument 221 ecma_value_t has_result = ecma_proxy_object_has (obj_p, prop_name_p); in ecma_proxy_object_find() 233 return ecma_proxy_object_get (obj_p, prop_name_p, ecma_make_object_value (obj_p)); in ecma_proxy_object_find() 672 ecma_string_t *prop_name_p, /**< property name */ in ecma_proxy_object_get_own_property_descriptor() argument 697 return ecma_op_object_get_own_property_descriptor (target_obj_p, prop_name_p, prop_desc_p); in ecma_proxy_object_get_own_property_descriptor() 701 ecma_value_t prop_value = ecma_make_prop_name_value (prop_name_p); in ecma_proxy_object_get_own_property_descriptor() 723 …rget_status = ecma_op_object_get_own_property_descriptor (target_obj_p, prop_name_p, &target_desc); in ecma_proxy_object_get_own_property_descriptor() 849 ecma_string_t *prop_name_p, /**< property name */ in ecma_proxy_object_define_own_property() argument 874 return ecma_op_object_define_own_property (target_obj_p, prop_name_p, prop_desc_p); in ecma_proxy_object_define_own_property() 881 ecma_value_t prop_value = ecma_make_prop_name_value (prop_name_p); in ecma_proxy_object_define_own_property() [all …]
|
D | ecma-lex-env.c | 472 ecma_string_t *prop_name_p = ecma_get_magic_string (LIT_INTERNAL_MAGIC_THIS_BINDING_VALUE); in ecma_op_init_this_binding() local 475 prop_name_p, in ecma_op_init_this_binding() 493 ecma_string_t *prop_name_p = ecma_get_magic_string (LIT_INTERNAL_MAGIC_THIS_BINDING_VALUE); in ecma_op_get_this_property() local 498 ecma_property_t *prop_p = ecma_find_named_property (lex_env_p, prop_name_p); in ecma_op_get_this_property()
|
D | ecma-reference.c | 145 ecma_string_t *prop_name_p) /**< property's name */ in ecma_op_is_prop_unscopable() argument 157 ecma_value_t get_unscopables_value = ecma_op_object_get (unscopables_obj_p, prop_name_p); in ecma_op_is_prop_unscopable()
|
D | ecma-container-object.c | 1065 …ecma_string_t *prop_name_p = ecma_get_magic_string (LIT_INTERNAL_MAGIC_STRING_ITERATOR_NEXT_INDEX); in ecma_op_iterator_get_index() local 1066 ecma_property_t *property_p = ecma_find_named_property (iter_obj_p, prop_name_p); in ecma_op_iterator_get_index() 1086 …ecma_string_t *prop_name_p = ecma_get_magic_string (LIT_INTERNAL_MAGIC_STRING_ITERATOR_NEXT_INDEX); in ecma_op_iterator_set_index() local 1087 ecma_property_t *property_p = ecma_find_named_property (iter_obj_p, prop_name_p); in ecma_op_iterator_set_index() 1092 …value_p = ecma_create_named_data_property (iter_obj_p, prop_name_p, ECMA_PROPERTY_FLAG_WRITABLE, &… in ecma_op_iterator_set_index()
|
D | ecma-objects.c | 980 ecma_string_t *prop_name_p) /** property name */ in ecma_op_get_method() argument 993 func = ecma_op_object_get (obj_p, prop_name_p); in ecma_op_get_method() 1034 ecma_string_t *prop_name_p = ecma_op_get_global_symbol (symbol_id); in ecma_op_get_method_by_symbol_id() local 1035 ecma_value_t ret_value = ecma_op_get_method (value, prop_name_p); in ecma_op_get_method_by_symbol_id() 1036 ecma_deref_ecma_string (prop_name_p); in ecma_op_get_method_by_symbol_id() 2076 ecma_string_t *prop_name_p = ecma_get_prop_name_from_value (entry); in ecma_op_object_get_property_names() local 2077 bool prop_is_symbol = ecma_prop_name_is_symbol (prop_name_p); in ecma_op_object_get_property_names()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-lcache.c | 143 const ecma_string_t *prop_name_p) /**< property's name */ in ecma_lcache_lookup() argument 146 JERRY_ASSERT (prop_name_p != NULL); in ecma_lcache_lookup() 154 if (JERRY_UNLIKELY (ECMA_IS_DIRECT_STRING (prop_name_p))) in ecma_lcache_lookup() 156 prop_name_type = (ecma_property_t) ECMA_GET_DIRECT_STRING_TYPE (prop_name_p); in ecma_lcache_lookup() 157 prop_name_cp = (jmem_cpointer_t) ECMA_GET_DIRECT_STRING_VALUE (prop_name_p); in ecma_lcache_lookup() 161 ECMA_SET_NON_NULL_POINTER (prop_name_cp, prop_name_p); in ecma_lcache_lookup()
|
D | ecma-helpers-string.c | 1538 ecma_string_to_property_name (ecma_string_t *prop_name_p, /**< property name */ in ecma_string_to_property_name() argument 1541 if (ECMA_IS_DIRECT_STRING (prop_name_p)) in ecma_string_to_property_name() 1543 *name_type_p = (ecma_property_t) ECMA_DIRECT_STRING_TYPE_TO_PROP_NAME_TYPE (prop_name_p); in ecma_string_to_property_name() 1544 return (jmem_cpointer_t) ECMA_GET_DIRECT_STRING_VALUE (prop_name_p); in ecma_string_to_property_name() 1549 ecma_ref_ecma_string (prop_name_p); in ecma_string_to_property_name() 1552 ECMA_SET_NON_NULL_POINTER (prop_name_cp, prop_name_p); in ecma_string_to_property_name() 1571 ecma_string_t *prop_name_p = ECMA_GET_NON_NULL_POINTER (ecma_string_t, prop_name_cp); in ecma_string_from_property_name() local 1572 ecma_ref_ecma_string (prop_name_p); in ecma_string_from_property_name() 1573 return prop_name_p; in ecma_string_from_property_name() 1587 ecma_string_t *prop_name_p = ECMA_GET_NON_NULL_POINTER (ecma_string_t, prop_name_cp); in ecma_string_get_property_name_hash() local [all …]
|
D | ecma-lcache.h | 28 …a_property_t *ecma_lcache_lookup (const ecma_object_t *object_p, const ecma_string_t *prop_name_p);
|
D | ecma-helpers.c | 682 ecma_string_t *prop_name_p = ECMA_GET_NON_NULL_POINTER (ecma_string_t, property_name_cp); in ecma_find_named_property() local 684 if (ecma_compare_ecma_non_direct_strings (name_p, prop_name_p)) in ecma_find_named_property() 694 ecma_string_t *prop_name_p = ECMA_GET_NON_NULL_POINTER (ecma_string_t, property_name_cp); in ecma_find_named_property() local 696 if (ecma_compare_ecma_non_direct_strings (name_p, prop_name_p)) in ecma_find_named_property() 801 ecma_string_t *prop_name_p = ECMA_GET_NON_NULL_POINTER (ecma_string_t, name_cp); in ecma_free_property() local 802 ecma_deref_ecma_string (prop_name_p); in ecma_free_property()
|
D | ecma-property-hashmap.c | 497 …ecma_string_t *prop_name_p = ECMA_GET_NON_NULL_POINTER (ecma_string_t, property_pair_p->names_cp[o… in ecma_property_hashmap_find() local 499 if (ecma_compare_ecma_non_direct_strings (prop_name_p, name_p)) in ecma_property_hashmap_find()
|
D | ecma-helpers.h | 348 jmem_cpointer_t ecma_string_to_property_name (ecma_string_t *prop_name_p, ecma_property_t *name_typ…
|
/third_party/jerryscript/jerry-core/vm/ |
D | opcodes.c | 1209 ecma_string_t *prop_name_p = ecma_op_to_prop_name (prop_name); in opfunc_form_super_reference() local 1211 if (prop_name_p == NULL) in opfunc_form_super_reference() 1217 …ecma_value_t result = ecma_op_object_get_with_receiver (parent_p, prop_name_p, frame_ctx_p->this_b… in opfunc_form_super_reference() 1218 ecma_deref_ecma_string (prop_name_p); in opfunc_form_super_reference() 1259 ecma_string_t *prop_name_p = ecma_op_to_prop_name (stack_top_p[-2]); in opfunc_assign_super_reference() local 1261 if (prop_name_p == NULL) in opfunc_assign_super_reference() 1270 prop_name_p, in opfunc_assign_super_reference() 1275 ecma_deref_ecma_string (prop_name_p); in opfunc_assign_super_reference()
|
D | vm.c | 1789 ecma_string_t *prop_name_p = ecma_op_to_prop_name (right_value); in vm_loop() local 1791 if (JERRY_UNLIKELY (prop_name_p == NULL)) in vm_loop() 1798 …if (JERRY_UNLIKELY (ecma_compare_ecma_string_to_magic_id (prop_name_p, LIT_MAGIC_STRING_PROTOTYPE)) in vm_loop() 1814 ecma_property_t *property_p = ecma_find_named_property (object_p, prop_name_p); in vm_loop() 1828 prop_name_p, in vm_loop() 1855 ecma_deref_ecma_string (prop_name_p); in vm_loop() 1864 ecma_string_t *prop_name_p = ecma_op_to_prop_name (left_value); in vm_loop() local 1866 if (JERRY_UNLIKELY (prop_name_p == NULL)) in vm_loop() 1873 …if (JERRY_UNLIKELY (ecma_compare_ecma_string_to_magic_id (prop_name_p, LIT_MAGIC_STRING_PROTOTYPE)) in vm_loop() 1887 prop_name_p, in vm_loop() [all …]
|
/third_party/jerryscript/jerry-core/api/ |
D | jerry.c | 2147 ecma_string_t *prop_name_p = ecma_get_prop_name_from_value (prop_name_val); in jerry_has_own_property() local 2154 …ecma_value_t status = ecma_proxy_object_get_own_property_descriptor (obj_p, prop_name_p, &prop_des… in jerry_has_own_property() 2165 return ecma_make_boolean_value (ecma_op_ordinary_object_has_own_property (obj_p, prop_name_p)); in jerry_has_own_property() 2542 ecma_string_t *prop_name_p = ecma_get_prop_name_from_value (prop_name_val); in jerry_set_internal_property() local 2543 property_p = ecma_find_named_property (internal_object_p, prop_name_p); in jerry_set_internal_property() 2548 prop_name_p, in jerry_set_internal_property()
|
/third_party/jerryscript/docs/ |
D | 09.EXT-REFERENCE-ARG.md | 611 /* "prop_name_p" defines the name list of the expected properties' names. */ 612 const char *prop_name_p[] = { "enable", "data", "extra_data" }; 625 .name_p = (const jerry_char_t **) prop_name_p,
|