Home
last modified time | relevance | path

Searched refs:native_pointer_p (Results 1 – 4 of 4) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-external-pointers.c52 ecma_native_pointer_t *native_pointer_p; in ecma_create_native_pointer_property() local
61 native_pointer_p = jmem_heap_alloc_block (sizeof (ecma_native_pointer_t)); in ecma_create_native_pointer_property()
63 ECMA_SET_INTERNAL_VALUE_POINTER (value_p->value, native_pointer_p); in ecma_create_native_pointer_property()
92 native_pointer_p = jmem_heap_alloc_block (sizeof (ecma_native_pointer_t)); in ecma_create_native_pointer_property()
94 iter_p->next_p = native_pointer_p; in ecma_create_native_pointer_property()
97 native_pointer_p->data_p = native_p; in ecma_create_native_pointer_property()
98 native_pointer_p->info_p = info_p; in ecma_create_native_pointer_property()
99 native_pointer_p->next_p = NULL; in ecma_create_native_pointer_property()
134 ecma_native_pointer_t *native_pointer_p = ECMA_GET_INTERNAL_VALUE_POINTER (ecma_native_pointer_t, in ecma_get_native_pointer_value() local
137 JERRY_ASSERT (native_pointer_p != NULL); in ecma_get_native_pointer_value()
[all …]
Decma-gc.c791 ecma_native_pointer_t *native_pointer_p; in ecma_gc_free_native_pointer() local
793 native_pointer_p = ECMA_GET_INTERNAL_VALUE_POINTER (ecma_native_pointer_t, in ecma_gc_free_native_pointer()
796 while (native_pointer_p != NULL) in ecma_gc_free_native_pointer()
798 if (native_pointer_p->info_p != NULL) in ecma_gc_free_native_pointer()
800 ecma_object_native_free_callback_t free_cb = native_pointer_p->info_p->free_cb; in ecma_gc_free_native_pointer()
804 free_cb (native_pointer_p->data_p); in ecma_gc_free_native_pointer()
808 ecma_native_pointer_t *next_p = native_pointer_p->next_p; in ecma_gc_free_native_pointer()
810 jmem_heap_free_block (native_pointer_p, sizeof (ecma_native_pointer_t)); in ecma_gc_free_native_pointer()
812 native_pointer_p = next_p; in ecma_gc_free_native_pointer()
/third_party/jerryscript/jerry-core/api/
Djerry.c3113 ecma_native_pointer_t *native_pointer_p; in jerry_objects_foreach_by_native_info() local
3123 native_pointer_p = ecma_get_native_pointer_value (iter_p, (void *) native_info_p); in jerry_objects_foreach_by_native_info()
3124 if (native_pointer_p in jerry_objects_foreach_by_native_info()
3125 && !foreach_p (ecma_make_object_value (iter_p), native_pointer_p->data_p, user_data_p)) in jerry_objects_foreach_by_native_info()
3159 ecma_native_pointer_t *native_pointer_p; in jerry_get_object_native_pointer() local
3160native_pointer_p = ecma_get_native_pointer_value (ecma_get_object_from_value (obj_val), (void *) n… in jerry_get_object_native_pointer()
3162 if (native_pointer_p == NULL) in jerry_get_object_native_pointer()
3169 *out_native_pointer_p = native_pointer_p->data_p; in jerry_get_object_native_pointer()
3191 void *native_pointer_p, /**< native pointer */ in jerry_set_object_native_pointer() argument
3200 ecma_create_native_pointer_property (object_p, native_pointer_p, (void *) native_info_p); in jerry_set_object_native_pointer()
/third_party/jerryscript/jerry-core/include/
Djerryscript-core.h561 void *native_pointer_p,