/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-lcache.c | 48 #define ECMA_LCACHE_HASH_ENTRY_ID_SHIFT (8 * sizeof (jmem_cpointer_t)) 76 ecma_lcache_row_index (jmem_cpointer_t object_cp, /**< compressed pointer to object */ in ecma_lcache_row_index() 77 jmem_cpointer_t name_cp) /**< compressed pointer to property name */ in ecma_lcache_row_index() 89 const jmem_cpointer_t name_cp, /**< property name */ in ecma_lcache_insert() 98 jmem_cpointer_t object_cp; in ecma_lcache_insert() 148 jmem_cpointer_t object_cp; in ecma_lcache_lookup() 152 jmem_cpointer_t prop_name_cp; in ecma_lcache_lookup() 157 prop_name_cp = (jmem_cpointer_t) ECMA_GET_DIRECT_STRING_VALUE (prop_name_p); in ecma_lcache_lookup() 189 const jmem_cpointer_t name_cp, /**< property name */ in ecma_lcache_invalidate() 198 jmem_cpointer_t object_cp; in ecma_lcache_invalidate()
|
D | ecma-property-hashmap.c | 35 …(sizeof (ecma_property_hashmap_t) + (max_property_count * sizeof (jmem_cpointer_t)) + (max_propert… 80 jmem_cpointer_t prop_iter_cp = object_p->u1.property_list_cp; in ecma_property_hashmap_create() 137 jmem_cpointer_t *pair_list_p = (jmem_cpointer_t *) (hashmap_p + 1); in ecma_property_hashmap_create() 253 jmem_cpointer_t *pair_list_p = (jmem_cpointer_t *) (hashmap_p + 1); in ecma_property_hashmap_insert() 299 jmem_cpointer_t name_cp, /**< property name */ in ecma_property_hashmap_delete() 318 jmem_cpointer_t *pair_list_p = (jmem_cpointer_t *) (hashmap_p + 1); in ecma_property_hashmap_delete() 373 jmem_cpointer_t *property_real_name_cp) /**< [out] property real name */ in ecma_property_hashmap_find() 382 jmem_cpointer_t prop_iter_cp = hashmap_p->header.next_property_cp; in ecma_property_hashmap_find() 413 jmem_cpointer_t *pair_list_p = (jmem_cpointer_t *) (hashmap_p + 1); in ecma_property_hashmap_find() 425 jmem_cpointer_t property_name_cp = (jmem_cpointer_t) ECMA_GET_DIRECT_STRING_VALUE (name_p); in ecma_property_hashmap_find()
|
D | ecma-literal-storage.c | 33 ecma_free_symbol_list (jmem_cpointer_t symbol_list_cp) /**< symbol list */ in ecma_free_symbol_list() 51 jmem_cpointer_t next_item_cp = symbol_list_p->next_cp; in ecma_free_symbol_list() 62 ecma_free_string_list (jmem_cpointer_t string_list_cp) /**< string list */ in ecma_free_string_list() 80 jmem_cpointer_t next_item_cp = string_list_p->next_cp; in ecma_free_string_list() 90 ecma_free_number_list (jmem_cpointer_t number_list_cp) /**< string list */ in ecma_free_number_list() 106 jmem_cpointer_t next_item_cp = number_list_p->next_cp; in ecma_free_number_list() 141 jmem_cpointer_t string_list_cp = JERRY_CONTEXT (string_list_first_cp); in ecma_find_or_create_literal_string() 142 jmem_cpointer_t *empty_cpointer_p = NULL; in ecma_find_or_create_literal_string() 175 jmem_cpointer_t result; in ecma_find_or_create_literal_string() 216 jmem_cpointer_t number_list_cp = JERRY_CONTEXT (number_list_first_cp); in ecma_find_or_create_literal_number() [all …]
|
D | ecma-globals.h | 511 jmem_cpointer_t next_property_cp; /**< next cpointer */ 518 jmem_cpointer_t next_property_cp; /**< next cpointer */ 527 jmem_cpointer_t getter_cp; /**< compressed pointer to getter object */ 528 jmem_cpointer_t setter_cp; /**< compressed pointer to setter object */ 538 jmem_cpointer_t getter_setter_pair_cp; /**< cpointer to getter setter pair */ 551 jmem_cpointer_t names_cp[ECMA_PROPERTY_PAIR_ITEM_COUNT]; /**< property name slots */ 784 jmem_cpointer_t gc_next_cp; 789 jmem_cpointer_t property_list_cp; /**< compressed pointer to object's 791 …jmem_cpointer_t bound_object_cp; /**< compressed pointer to lexical environments's the bound obje… 792 …jmem_cpointer_t home_object_cp; /**< compressed pointer to lexical environments's the home objec… [all …]
|
D | ecma-lcache.h | 27 void ecma_lcache_insert (const ecma_object_t *object_p, const jmem_cpointer_t name_cp, ecma_propert… 29 void ecma_lcache_invalidate (const ecma_object_t *object_p, const jmem_cpointer_t name_cp, ecma_pro…
|
D | ecma-property-hashmap.h | 72 …shmap_delete_status ecma_property_hashmap_delete (ecma_object_t *object_p, jmem_cpointer_t name_cp, 76 jmem_cpointer_t *property_real_name_cp);
|
D | ecma-helpers.c | 314 jmem_cpointer_t prop_iter_cp = lex_env_p->u1.property_list_cp; in ecma_clone_decl_lexical_environment() 387 jmem_cpointer_t *property_list_head_p = &object_p->u1.property_list_cp; in ecma_create_property() 598 jmem_cpointer_t prop_iter_cp = obj_p->u1.property_list_cp; in ecma_find_named_property() 607 jmem_cpointer_t property_real_name_cp; in ecma_find_named_property() 626 jmem_cpointer_t property_name_cp = ECMA_NULL_POINTER; in ecma_find_named_property() 631 property_name_cp = (jmem_cpointer_t) ECMA_GET_DIRECT_STRING_VALUE (name_p); in ecma_find_named_property() 759 jmem_cpointer_t name_cp, /**< name of the property or ECMA_NULL_POINTER */ in ecma_free_property() 815 jmem_cpointer_t cur_prop_cp = object_p->u1.property_list_cp; in ecma_delete_property() 917 jmem_cpointer_t prop_iter_cp = object_p->u1.property_list_cp; in ecma_assert_object_contains_the_property() 1416 jmem_cpointer_t byte_code_free_head = JERRY_CONTEXT (debugger_byte_code_free_head); in ecma_bytecode_deref() [all …]
|
D | ecma-gc.c | 534 jmem_cpointer_t outer_lex_env_cp = object_p->u2.outer_reference_cp; in ecma_gc_mark() 551 jmem_cpointer_t proto_cp = object_p->u2.prototype_cp; in ecma_gc_mark() 758 jmem_cpointer_t prop_iter_cp = object_p->u1.property_list_cp; in ecma_gc_mark() 942 jmem_cpointer_t prop_iter_cp = object_p->u1.property_list_cp; in ecma_gc_free_properties() 971 jmem_cpointer_t name_cp = prop_pair_p->names_cp[i]; in ecma_gc_free_properties() 1365 jmem_cpointer_t obj_iter_cp = obj_prev_p->gc_next_cp; in ecma_gc_run() 1372 const jmem_cpointer_t obj_next_cp = obj_iter_p->gc_next_cp; in ecma_gc_run() 1427 const jmem_cpointer_t obj_next_cp = obj_iter_p->gc_next_cp; in ecma_gc_run() 1476 const jmem_cpointer_t obj_next_cp = obj_iter_p->gc_next_cp; in ecma_gc_run() 1550 jmem_cpointer_t obj_iter_cp = JERRY_CONTEXT (ecma_gc_objects_cp); in ecma_free_unused_memory() [all …]
|
D | ecma-helpers.h | 348 jmem_cpointer_t ecma_string_to_property_name (ecma_string_t *prop_name_p, ecma_property_t *name_typ… 349 ecma_string_t *ecma_string_from_property_name (ecma_property_t property, jmem_cpointer_t prop_name_… 350 lit_string_hash_t ecma_string_get_property_name_hash (ecma_property_t property, jmem_cpointer_t pro… 351 uint32_t ecma_string_get_property_index (ecma_property_t property, jmem_cpointer_t prop_name_cp); 352 bool ecma_string_compare_to_property_name (ecma_property_t property, jmem_cpointer_t prop_name_cp, 451 void ecma_free_property (ecma_object_t *object_p, jmem_cpointer_t name_cp, ecma_property_t *propert…
|
D | ecma-helpers-value.c | 36 JERRY_STATIC_ASSERT (sizeof (jmem_cpointer_t) <= sizeof (ecma_value_t), 39 JERRY_STATIC_ASSERT (sizeof (jmem_cpointer_t) <= sizeof (jmem_cpointer_tag_t), 94 jmem_cpointer_t ptr_cp; in ecma_pointer_to_ecma_value()
|
D | ecma-helpers-string.c | 1525 jmem_cpointer_t prop_name_cp) /**< property name compressed pointer */ in ecma_property_to_string() 1537 inline jmem_cpointer_t JERRY_ATTR_ALWAYS_INLINE 1544 return (jmem_cpointer_t) ECMA_GET_DIRECT_STRING_VALUE (prop_name_p); in ecma_string_to_property_name() 1551 jmem_cpointer_t prop_name_cp; in ecma_string_to_property_name() 1564 … jmem_cpointer_t prop_name_cp) /**< property name compressed pointer */ in ecma_string_from_property_name() 1583 … jmem_cpointer_t prop_name_cp) /**< property name compressed pointer */ in ecma_string_get_property_name_hash() 1602 … jmem_cpointer_t prop_name_cp) /**< property name compressed pointer */ in ecma_string_get_property_index() 1630 … jmem_cpointer_t prop_name_cp, /**< property name compressed pointer */ in ecma_string_compare_to_property_name()
|
/third_party/jerryscript/jerry-core/jcontext/ |
D | jcontext.h | 131 …jmem_cpointer_t ecma_builtin_objects[ECMA_BUILTIN_ID__COUNT]; /**< pointer to instances of built-i… 135 jmem_cpointer_t ecma_gc_objects_cp; /**< List of currently alive objects. */ 143 jmem_cpointer_t string_list_first_cp; /**< first item of the literal string list */ 145 jmem_cpointer_t symbol_list_first_cp; /**< first item of the global symbol list */ 147 jmem_cpointer_t number_list_first_cp; /**< first item of the literal number list */ 148 jmem_cpointer_t ecma_global_env_cp; /**< global lexical environment */ 150 jmem_cpointer_t ecma_global_scope_cp; /**< global lexical scope */ 207 jmem_cpointer_t debugger_byte_code_free_head; /**< head of byte code free linked list */ 208 jmem_cpointer_t debugger_byte_code_free_tail; /**< tail of byte code free linked list */
|
/third_party/jerryscript/jerry-core/debugger/ |
D | debugger.h | 283 jmem_cpointer_t prev_cp; /**< previous byte code data to be freed */ 339 uint8_t byte_code_cp[sizeof (jmem_cpointer_t)]; /**< byte code compressed pointer */ 348 uint8_t byte_code_cp[sizeof (jmem_cpointer_t)]; /**< byte code compressed pointer */ 358 uint8_t byte_code_cp[sizeof (jmem_cpointer_t)]; /**< byte code compressed pointer */ 381 uint8_t byte_code_cp[sizeof (jmem_cpointer_t)]; /**< byte code compressed pointer */ 390 uint8_t byte_code_cp[sizeof (jmem_cpointer_t)]; /**< byte code compressed pointer */
|
D | debugger.c | 194 jmem_cpointer_t byte_code_cp; in jerry_debugger_send_backtrace() 196 memcpy (frame_p->byte_code_cp, &byte_code_cp, sizeof (jmem_cpointer_t)); in jerry_debugger_send_backtrace() 459 jmem_cpointer_t prop_iter_cp; in jerry_debugger_send_scope_variables() 791 jmem_cpointer_t byte_code_free_cp; in jerry_debugger_process_message() 792 memcpy (&byte_code_free_cp, byte_code_p->byte_code_cp, sizeof (jmem_cpointer_t)); in jerry_debugger_process_message() 830 jmem_cpointer_t byte_code_cp; in jerry_debugger_process_message() 831 memcpy (&byte_code_cp, update_breakpoint_p->byte_code_cp, sizeof (jmem_cpointer_t)); in jerry_debugger_process_message() 1223 jmem_cpointer_t byte_code_header_cp; in jerry_debugger_breakpoint_hit() 1225 memcpy (breakpoint_hit_p->byte_code_cp, &byte_code_header_cp, sizeof (jmem_cpointer_t)); in jerry_debugger_breakpoint_hit() 1302 configuration_p->cpointer_size = sizeof (jmem_cpointer_t); in jerry_debugger_send_configuration() [all …]
|
/third_party/jerryscript/jerry-core/jmem/ |
D | jmem-allocator.c | 178 inline jmem_cpointer_t JERRY_ATTR_PURE JERRY_ATTR_ALWAYS_INLINE 189 JERRY_ASSERT (((jmem_cpointer_t) uint_ptr) == uint_ptr); in jmem_compress_pointer() 204 return (jmem_cpointer_t) uint_ptr; in jmem_compress_pointer() 219 JERRY_ASSERT (((jmem_cpointer_t) uint_ptr) == uint_ptr); in jmem_decompress_pointer()
|
D | jmem.h | 36 #define JMEM_CP_NULL ((jmem_cpointer_t) 0) 98 typedef uint32_t jmem_cpointer_t; typedef 100 typedef uint16_t jmem_cpointer_t; typedef 191 jmem_cpointer_t JERRY_ATTR_PURE jmem_compress_pointer (const void *pointer_p);
|
/third_party/jerryscript/jerry-core/parser/js/ |
D | byte-code.c | 18 JERRY_STATIC_ASSERT ((sizeof (cbc_uint8_arguments_t) % sizeof (jmem_cpointer_t)) == 0, 21 JERRY_STATIC_ASSERT ((sizeof (cbc_uint16_arguments_t) % sizeof (jmem_cpointer_t)) == 0,
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-symbol.c | 105 jmem_cpointer_t symbol_list_cp = JERRY_CONTEXT (symbol_list_first_cp); in ecma_builtin_symbol_for_helper() 106 jmem_cpointer_t *empty_cpointer_p = NULL; in ecma_builtin_symbol_for_helper() 163 jmem_cpointer_t result; in ecma_builtin_symbol_for_helper()
|
/third_party/jerryscript/jerry-core/ext/ |
D | heapdump.c | 125 jmem_cpointer_t outer_lex_env_cp = object->u2.outer_reference_cp; in DumpInfoLexEnv() 270 jmem_cpointer_t proto_cp = object->u2.prototype_cp; in DumpInfoObject() 359 jmem_cpointer_t prop_iter_cp = object->u1.property_list_cp; in DumpInfoObject()
|
D | debug-utils.c | 26 jmem_cpointer_t prop_iter_cp = object->u1.property_list_cp; in PrintObjectProperties()
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-array-object.c | 185 jmem_cpointer_t next_property_pair_cp = JMEM_CP_NULL; in ecma_fast_array_convert_to_normal() 209 property_pair_p->names_cp[prop_index] = (jmem_cpointer_t) index; in ecma_fast_array_convert_to_normal() 435 jmem_cpointer_t new_property_list_cp; in ecma_delete_fast_array_properties() 803 jmem_cpointer_t current_prop_cp = object_p->u1.property_list_cp; in ecma_delete_array_properties() 919 jmem_cpointer_t next_prop_cp = current_prop_p->next_property_cp; in ecma_delete_array_properties()
|
D | ecma-proxy-object.h | 44 jmem_cpointer_t
|
D | ecma-objects.c | 423 jmem_cpointer_t proto_cp = ecma_op_ordinary_object_get_prototype_of (object_p); in ecma_op_object_has_property() 851 jmem_cpointer_t proto_cp = ecma_op_ordinary_object_get_prototype_of (object_p); in ecma_op_object_get_with_receiver() 1478 jmem_cpointer_t setter_cp = JMEM_CP_NULL; in ecma_op_object_put_with_receiver() 1514 jmem_cpointer_t proto_cp = ecma_op_ordinary_object_get_prototype_of (object_p); in ecma_op_object_put_with_receiver() 2005 jmem_cpointer_t target_cp; in ecma_op_object_is_prototype_of() 2275 jmem_cpointer_t prop_iter_cp = obj_p->u1.property_list_cp; in ecma_op_object_get_property_names() 3097 inline jmem_cpointer_t JERRY_ATTR_ALWAYS_INLINE
|
D | ecma-objects.h | 88 jmem_cpointer_t ecma_op_ordinary_object_get_prototype_of (ecma_object_t *obj_p);
|
D | ecma-reference.c | 109 jmem_cpointer_t proto_cp = ecma_op_ordinary_object_get_prototype_of (home_p); in ecma_op_resolve_super_base()
|