Home
last modified time | relevance | path

Searched refs:container_p (Results 1 – 5 of 5) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-container-object.c60 ecma_op_internal_buffer_append (ecma_collection_t *container_p, /**< internal container pointer */ in ecma_op_internal_buffer_append() argument
65 JERRY_ASSERT (container_p != NULL); in ecma_op_internal_buffer_append()
70 ecma_collection_append (container_p, values, 2); in ecma_op_internal_buffer_append()
74 ecma_collection_push_back (container_p, ecma_copy_value_if_not_object (key_arg)); in ecma_op_internal_buffer_append()
77 ECMA_CONTAINER_SET_SIZE (container_p, ECMA_CONTAINER_GET_SIZE (container_p) + 1); in ecma_op_internal_buffer_append()
102 ecma_op_internal_buffer_delete (ecma_collection_t *container_p, /**< internal container pointer */ in ecma_op_internal_buffer_delete() argument
106 JERRY_ASSERT (container_p != NULL); in ecma_op_internal_buffer_delete()
118 ECMA_CONTAINER_SET_SIZE (container_p, ECMA_CONTAINER_GET_SIZE (container_p) - 1); in ecma_op_internal_buffer_delete()
127 ecma_op_internal_buffer_find (ecma_collection_t *container_p, /**< internal container pointer */ in ecma_op_internal_buffer_find() argument
131 JERRY_ASSERT (container_p != NULL); in ecma_op_internal_buffer_find()
[all …]
Decma-container-object.h45 void ecma_op_container_remove_weak_entry (ecma_object_t *container_p, ecma_value_t key_arg);
/third_party/jerryscript/jerry-core/ecma/base/
Decma-gc.c337 ecma_collection_t *container_p = ECMA_GET_INTERNAL_VALUE_POINTER (ecma_collection_t, in ecma_gc_mark_map_object() local
339 ecma_value_t *start_p = ECMA_CONTAINER_START (container_p); in ecma_gc_mark_map_object()
340 uint32_t entry_count = ECMA_CONTAINER_ENTRY_COUNT (container_p); in ecma_gc_mark_map_object()
374 ecma_collection_t *container_p = ECMA_GET_INTERNAL_VALUE_POINTER (ecma_collection_t, in ecma_gc_mark_weakmap_object() local
376 ecma_value_t *start_p = ECMA_CONTAINER_START (container_p); in ecma_gc_mark_weakmap_object()
377 uint32_t entry_count = ECMA_CONTAINER_ENTRY_COUNT (container_p); in ecma_gc_mark_weakmap_object()
406 ecma_collection_t *container_p = ECMA_GET_INTERNAL_VALUE_POINTER (ecma_collection_t, in ecma_gc_mark_set_object() local
408 ecma_value_t *start_p = ECMA_CONTAINER_START (container_p); in ecma_gc_mark_set_object()
409 uint32_t entry_count = ECMA_CONTAINER_ENTRY_COUNT (container_p); in ecma_gc_mark_set_object()
990 ecma_object_t *container_p = ecma_get_object_from_value (value); in ecma_gc_free_properties() local
[all …]
Decma-globals.h1043 #define ECMA_CONTAINER_GET_SIZE(container_p) \ argument
1044 (container_p->buffer_p[0])
1049 #define ECMA_CONTAINER_SET_SIZE(container_p, size) \ argument
1050 (container_p->buffer_p[0] = (ecma_value_t) (size))
/third_party/jerryscript/jerry-core/api/
Djerry.c2528 ecma_extended_object_t *container_p = (ecma_extended_object_t *) internal_object_p; in jerry_set_internal_property() local
2529 container_p->u.class_prop.class_id = LIT_INTERNAL_MAGIC_STRING_INTERNAL_OBJECT; in jerry_set_internal_property()
2530 container_p->u.class_prop.extra_info = 0; in jerry_set_internal_property()
2531 container_p->u.class_prop.u.length = 0; in jerry_set_internal_property()