Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-ext/handle-scope/
Dhandle-scope.c41 if (prelist_handle_count == JERRYX_HANDLE_PRELIST_SIZE && scope->handle_ptr != NULL) in jerryx_handle_scope_release_handles()
52 prelist_handle_count = JERRYX_HANDLE_PRELIST_SIZE; in jerryx_handle_scope_release_handles()
129 if (scope->prelist_handle_count == JERRYX_HANDLE_PRELIST_SIZE && scope->handle_ptr != NULL) in jerryx_hand_scope_escape_handle_from_prelist()
138 if (idx < JERRYX_HANDLE_PRELIST_SIZE - 1) in jerryx_hand_scope_escape_handle_from_prelist()
208 if (scope->prelist_handle_count <= JERRYX_HANDLE_PRELIST_SIZE && scope->handle_ptr == NULL) in jerryx_escape_handle_internal()
309 if (prelist_handle_count < JERRYX_HANDLE_PRELIST_SIZE) in jerryx_handle_scope_add_handle_to()
334 if (prelist_handle_count < JERRYX_HANDLE_PRELIST_SIZE) in jerryx_create_handle_in_scope()
/third_party/jerryscript/jerry-ext/include/jerryscript-ext/
Dhandle-scope.h26 #ifndef JERRYX_HANDLE_PRELIST_SIZE
27 #define JERRYX_HANDLE_PRELIST_SIZE 20 macro
54 jerry_value_t handle_prelist[JERRYX_HANDLE_PRELIST_SIZE]; \
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-handle-scope-handle-prelist-escape.c27 static const size_t handle_count = JERRYX_HANDLE_PRELIST_SIZE + 1;
57 TEST_ASSERT (scope->prelist_handle_count == JERRYX_HANDLE_PRELIST_SIZE); in create_object()
Dtest-ext-handle-scope-handle-prelist.c27 static const size_t handle_count = JERRYX_HANDLE_PRELIST_SIZE * 2;
57 TEST_ASSERT (scope->prelist_handle_count == JERRYX_HANDLE_PRELIST_SIZE); in create_object()
/third_party/jerryscript/docs/
D14.EXT-REFERENCE-HANDLE-SCOPE.md112 To change the size of pre-allocation list, use build definition `JERRYX_HANDLE_PRELIST_SIZE` and `J…