/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-objects.c | 73 ecma_string_t *property_name_p, /**< property name */ in ecma_op_object_get_own_property() argument 82 JERRY_ASSERT (property_name_p != NULL); in ecma_op_object_get_own_property() 97 if (ecma_string_is_length (property_name_p)) in ecma_op_object_get_own_property() 111 uint32_t index = ecma_string_get_array_index (property_name_p); in ecma_op_object_get_own_property() 137 if (ecma_string_is_length (property_name_p)) in ecma_op_object_get_own_property() 149 uint32_t index = ecma_string_get_array_index (property_name_p); in ecma_op_object_get_own_property() 183 if (ecma_prop_name_is_symbol (property_name_p)) in ecma_op_object_get_own_property() 189 uint32_t array_index = ecma_string_get_array_index (property_name_p); in ecma_op_object_get_own_property() 220 ecma_number_t num = ecma_string_to_number (property_name_p); in ecma_op_object_get_own_property() 223 if (ecma_compare_ecma_strings (property_name_p, num_to_str)) in ecma_op_object_get_own_property() [all …]
|
D | ecma-objects.h | 30 …roperty_t ecma_op_object_get_own_property (ecma_object_t *object_p, ecma_string_t *property_name_p, 32 …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 …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); 38 …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 …_value_t ecma_op_object_get_with_receiver (ecma_object_t *object_p, ecma_string_t *property_name_p, 51 …_value_t ecma_op_object_put_with_receiver (ecma_object_t *object_p, ecma_string_t *property_name_p, 53 ecma_value_t ecma_op_object_put (ecma_object_t *object_p, ecma_string_t *property_name_p, ecma_valu… [all …]
|
D | ecma-objects-general.c | 140 ecma_string_t *property_name_p, /**< property name */ in ecma_op_general_object_delete() argument 145 JERRY_ASSERT (property_name_p != NULL); in ecma_op_general_object_delete() 151 property_name_p, in ecma_op_general_object_delete() 166 ecma_array_object_delete_property (obj_p, property_name_p, property_ref.value_p); in ecma_op_general_object_delete() 362 ecma_string_t *property_name_p, /**< property name */ in ecma_op_general_object_define_own_property() argument 369 return ecma_proxy_object_define_own_property (object_p, property_name_p, property_desc_p); in ecma_op_general_object_define_own_property() 376 JERRY_ASSERT (property_name_p != NULL); in ecma_op_general_object_define_own_property() 407 property_name_p, in ecma_op_general_object_define_own_property() 430 property_name_p, in ecma_op_general_object_define_own_property() 444 property_name_p, in ecma_op_general_object_define_own_property()
|
D | ecma-objects-arguments.c | 234 ecma_string_t *property_name_p, /**< property name */ in ecma_op_arguments_object_define_own_property() argument 240 property_name_p, in ecma_op_arguments_object_define_own_property() 248 uint32_t index = ecma_string_get_array_index (property_name_p); in ecma_op_arguments_object_define_own_property() 315 ecma_string_t *property_name_p, /**< property name */ in ecma_op_arguments_object_delete() argument 319 ecma_value_t ret_value = ecma_op_general_object_delete (object_p, property_name_p, is_throw); in ecma_op_arguments_object_delete() 330 uint32_t index = ecma_string_get_array_index (property_name_p); in ecma_op_arguments_object_delete()
|
D | ecma-function-object.c | 1386 … ecma_string_t *property_name_p) /**< property name */ in ecma_op_function_try_to_lazy_instantiate_property() argument 1391 if (ecma_compare_ecma_string_to_magic_id (property_name_p, LIT_MAGIC_STRING_LENGTH)) in ecma_op_function_try_to_lazy_instantiate_property() 1414 property_name_p, in ecma_op_function_try_to_lazy_instantiate_property() 1425 if (ecma_compare_ecma_string_to_magic_id (property_name_p, LIT_MAGIC_STRING_PROTOTYPE) in ecma_op_function_try_to_lazy_instantiate_property() 1431 if (ecma_compare_ecma_string_to_magic_id (property_name_p, LIT_MAGIC_STRING_CALLER) in ecma_op_function_try_to_lazy_instantiate_property() 1432 || ecma_compare_ecma_string_to_magic_id (property_name_p, LIT_MAGIC_STRING_ARGUMENTS)) in ecma_op_function_try_to_lazy_instantiate_property() 1443 property_name_p, in ecma_op_function_try_to_lazy_instantiate_property() 1457 property_name_p, in ecma_op_function_try_to_lazy_instantiate_property() 1482 … ecma_string_t *property_name_p) /**< property's name */ in ecma_op_external_function_try_to_lazy_instantiate_property() argument 1486 if (ecma_compare_ecma_string_to_magic_id (property_name_p, LIT_MAGIC_STRING_PROTOTYPE)) in ecma_op_external_function_try_to_lazy_instantiate_property() [all …]
|
D | ecma-get-put-value.c | 131 ecma_string_t *property_name_p) /**< property name */ in ecma_op_get_value_object_base() argument 147 if (ecma_string_is_length (property_name_p)) in ecma_op_get_value_object_base() 152 uint32_t index = ecma_string_get_array_index (property_name_p); in ecma_op_get_value_object_base() 188 return ecma_op_object_get_with_receiver (obj_p, property_name_p, base_value); in ecma_op_get_value_object_base()
|
D | ecma-function-object.h | 82 …unction_try_to_lazy_instantiate_property (ecma_object_t *object_p, ecma_string_t *property_name_p); 85 …unction_try_to_lazy_instantiate_property (ecma_object_t *object_p, ecma_string_t *property_name_p); 88 …unction_try_to_lazy_instantiate_property (ecma_object_t *object_p, ecma_string_t *property_name_p);
|
D | ecma-objects-arguments.h | 28 ecma_op_arguments_object_delete (ecma_object_t *object_p, ecma_string_t *property_name_p, bool is_t… 30 …a_op_arguments_object_define_own_property (ecma_object_t *object_p, ecma_string_t *property_name_p,
|
D | ecma-objects-general.h | 34 ecma_value_t ecma_op_general_object_delete (ecma_object_t *obj_p, ecma_string_t *property_name_p, b… 37 …cma_op_general_object_define_own_property (ecma_object_t *object_p, ecma_string_t *property_name_p,
|
D | ecma-array-object.h | 86 ecma_array_object_delete_property (ecma_object_t *object_p, ecma_string_t *property_name_p, 116 ecma_op_array_object_define_own_property (ecma_object_t *object_p, ecma_string_t *property_name_p,
|
D | ecma-array-object.c | 371 ecma_string_t *property_name_p, /**< property name */ in ecma_array_object_delete_property() argument 385 uint32_t index = ecma_string_get_array_index (property_name_p); in ecma_array_object_delete_property() 1071 ecma_string_t *property_name_p, /**< property name */ in ecma_op_array_object_define_own_property() argument 1074 if (ecma_string_is_length (property_name_p)) in ecma_op_array_object_define_own_property() 1129 uint32_t index = ecma_string_get_array_index (property_name_p); in ecma_op_array_object_define_own_property() 1149 uint32_t index = ecma_string_get_array_index (property_name_p); in ecma_op_array_object_define_own_property() 1153 return ecma_op_general_object_define_own_property (object_p, property_name_p, property_desc_p); in ecma_op_array_object_define_own_property() 1169 property_name_p, in ecma_op_array_object_define_own_property()
|
D | ecma-lex-env.h | 53 ecma_value_t ecma_op_get_value_object_base (ecma_value_t base_value, ecma_string_t *property_name_p…
|
/third_party/jerryscript/jerry-core/vm/ |
D | opcodes-ecma-relational-equality.c | 162 ecma_string_t *property_name_p = ecma_op_to_prop_name (left_value); in opfunc_in() local 164 if (JERRY_UNLIKELY (property_name_p == NULL)) in opfunc_in() 170 ecma_value_t result = ecma_op_object_has_property (right_value_obj_p, property_name_p); in opfunc_in() 171 ecma_deref_ecma_string (property_name_p); in opfunc_in()
|
D | vm.c | 67 ecma_string_t *property_name_p = NULL; in vm_op_get_value() local 91 property_name_p = (ecma_string_t *) ECMA_CREATE_DIRECT_STRING (ECMA_DIRECT_STRING_UINT, in vm_op_get_value() 97 property_name_p = ecma_get_string_from_value (property); in vm_op_get_value() 103 property_name_p = ecma_get_symbol_from_value (property); in vm_op_get_value() 107 if (property_name_p != NULL) in vm_op_get_value() 110 ecma_property_t *property_p = ecma_lcache_lookup (object_p, property_name_p); in vm_op_get_value() 120 return ecma_op_object_get (object_p, property_name_p); in vm_op_get_value() 137 ecma_string_t *property_name_p = ecma_op_to_prop_name (property); in vm_op_get_value() local 139 if (property_name_p == NULL) in vm_op_get_value() 144 ecma_value_t get_value_result = ecma_op_get_value_object_base (object, property_name_p); in vm_op_get_value() [all …]
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-object.c | 377 ecma_string_t *property_name_p = ecma_get_prop_name_from_value (buffer_p[i]); in ecma_builtin_object_set_integrity_level() local 380 …ecma_value_t status = ecma_op_object_get_own_property_descriptor (obj_p, property_name_p, &prop_de… in ecma_builtin_object_set_integrity_level() 399 property_name_p, in ecma_builtin_object_set_integrity_level() 419 ecma_string_t *property_name_p = ecma_get_prop_name_from_value (buffer_p[i]); in ecma_builtin_object_set_integrity_level() local 423 …ecma_value_t status = ecma_op_object_get_own_property_descriptor (obj_p, property_name_p, &prop_de… in ecma_builtin_object_set_integrity_level() 449 property_name_p, in ecma_builtin_object_set_integrity_level() 634 ecma_string_t *property_name_p = ecma_get_string_from_value (buffer_p[i]); in ecma_builtin_object_test_integrity_level() local 638 …ecma_value_t status = ecma_op_object_get_own_property_descriptor (obj_p, property_name_p, &prop_de… in ecma_builtin_object_test_integrity_level() 996 ecma_string_t *property_name_p = ecma_get_prop_name_from_value (buffer_p[j]); in ecma_builtin_object_object_assign() local 1000 …desc_status = ecma_op_object_get_own_property_descriptor (from_obj_p, property_name_p, &prop_desc); in ecma_builtin_object_object_assign() [all …]
|
D | ecma-builtin-json.c | 439 ecma_string_t *property_name_p, /**< property name */ in ecma_builtin_json_define_value_property() argument 443 property_name_p, in ecma_builtin_json_define_value_property() 640 ecma_string_t *property_name_p = ecma_get_string_from_value (buffer_p[i]); in ecma_builtin_json_internalize_property() local 643 …cma_value_t result = ecma_builtin_json_internalize_property (reviver_p, object_p, property_name_p); in ecma_builtin_json_internalize_property() 658 property_name_p, in ecma_builtin_json_internalize_property() 666 property_name_p, in ecma_builtin_json_internalize_property()
|
D | ecma-builtin-array-prototype.c | 1141 ecma_string_t *property_name_p = ecma_get_string_from_value (buffer_p[i]); in ecma_builtin_array_prototype_object_sort() local 1143 uint32_t index = ecma_string_get_array_index (property_name_p); in ecma_builtin_array_prototype_object_sort() 1161 ecma_string_t *property_name_p = ecma_get_string_from_value (buffer_p[i]); in ecma_builtin_array_prototype_object_sort() local 1163 uint32_t index = ecma_string_get_array_index (property_name_p); in ecma_builtin_array_prototype_object_sort() 1171 ecma_value_t index_value = ecma_op_object_get (obj_p, property_name_p); in ecma_builtin_array_prototype_object_sort() 1235 ecma_string_t *property_name_p = ecma_get_string_from_value (buffer_p[i]); in ecma_builtin_array_prototype_object_sort() local 1237 uint32_t index = ecma_string_get_array_index (property_name_p); in ecma_builtin_array_prototype_object_sort() 1242 ecma_value_t del_value = ecma_op_object_delete (obj_p, property_name_p, true); in ecma_builtin_array_prototype_object_sort()
|
/third_party/jerryscript/jerry-core/api/ |
D | jerry.c | 3274 ecma_string_t *property_name_p = ecma_get_string_from_value (buffer_p[i]); in jerry_foreach_object_property() local 3276 property_value = ecma_op_object_get (object_p, property_name_p); in jerry_foreach_object_property()
|