Home
last modified time | relevance | path

Searched refs:symbol_p (Results 1 – 7 of 7) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-symbol-object.c105 ecma_get_symbol_description (ecma_string_t *symbol_p) /**< ecma-symbol */ in ecma_get_symbol_description() argument
107 JERRY_ASSERT (symbol_p != NULL); in ecma_get_symbol_description()
108 JERRY_ASSERT (ecma_prop_name_is_symbol (symbol_p)); in ecma_get_symbol_description()
110 return ecma_get_string_from_value (((ecma_extended_string_t *) symbol_p)->u.symbol_descriptor); in ecma_get_symbol_description()
128 ecma_string_t *symbol_p = ecma_get_symbol_from_value (symbol_value); in ecma_get_symbol_descriptive_string() local
129 ecma_string_t *string_desc_p = ecma_get_symbol_description (symbol_p); in ecma_get_symbol_descriptive_string()
Decma-objects-arguments.c145 ecma_string_t *symbol_p = ecma_op_get_global_symbol (LIT_GLOBAL_SYMBOL_ITERATOR); in ecma_op_create_arguments_object() local
148 symbol_p, in ecma_op_create_arguments_object()
151 ecma_deref_ecma_string (symbol_p); in ecma_op_create_arguments_object()
Decma-symbol-object.h39 ecma_get_symbol_description (ecma_string_t *symbol_p);
Decma-conversion.c490 ecma_string_t *symbol_p = ecma_get_symbol_from_value (value); in ecma_op_to_prop_name() local
491 ecma_ref_ecma_string (symbol_p); in ecma_op_to_prop_name()
492 return symbol_p; in ecma_op_to_prop_name()
Decma-objects.c960 ecma_string_t *symbol_p = ecma_op_get_global_symbol (property_id); in ecma_op_object_get_by_symbol_id() local
961 ecma_value_t ret_value = ecma_op_object_get (object_p, symbol_p); in ecma_op_object_get_by_symbol_id()
962 ecma_deref_ecma_string (symbol_p); in ecma_op_object_get_by_symbol_id()
3022 ecma_string_t *symbol_p = ecma_op_get_global_symbol (symbol_id); in ecma_op_invoke_by_symbol_id() local
3023 ecma_value_t ret_value = ecma_op_invoke (object, symbol_p, args_p, args_len); in ecma_op_invoke_by_symbol_id()
3024 ecma_deref_ecma_string (symbol_p); in ecma_op_invoke_by_symbol_id()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-string.c218 ecma_extended_string_t *symbol_p = ecma_alloc_extended_string (); in ecma_new_symbol_from_descriptor_string() local
219 symbol_p->header.refs_and_container = ECMA_STRING_REF_ONE | ECMA_STRING_CONTAINER_SYMBOL; in ecma_new_symbol_from_descriptor_string()
220 symbol_p->u.symbol_descriptor = string_desc; in ecma_new_symbol_from_descriptor_string()
221 symbol_p->header.u.hash = (lit_string_hash_t) (((uintptr_t) symbol_p) >> ECMA_SYMBOL_HASH_SHIFT); in ecma_new_symbol_from_descriptor_string()
222 JERRY_ASSERT ((symbol_p->header.u.hash & ECMA_GLOBAL_SYMBOL_FLAG) == 0); in ecma_new_symbol_from_descriptor_string()
224 return (ecma_string_t *) symbol_p; in ecma_new_symbol_from_descriptor_string()
891 ecma_extended_string_t * symbol_p = (ecma_extended_string_t *) string_p; in ecma_destroy_ecma_string() local
892 ecma_free_value (symbol_p->u.symbol_descriptor); in ecma_destroy_ecma_string()
893 ecma_dealloc_extended_string (symbol_p); in ecma_destroy_ecma_string()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtins.c850 ecma_string_t *symbol_p = ecma_new_symbol_from_descriptor_string (symbol_desc_value); in ecma_builtin_try_to_instantiate_property() local
852symbol_p->u.hash = (uint16_t) ((symbol_id << ECMA_GLOBAL_SYMBOL_SHIFT) | ECMA_GLOBAL_SYMBOL_FLAG); in ecma_builtin_try_to_instantiate_property()
854 value = ecma_make_symbol_value (symbol_p); in ecma_builtin_try_to_instantiate_property()