Home
last modified time | relevance | path

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

/third_party/jerryscript/tests/unit-core/
Dtest-jmem.c21 #define BASIC_SIZE (64) macro
32 uint8_t *block1_p = (uint8_t *) jmem_heap_alloc_block (BASIC_SIZE); in main()
33 uint8_t *block2_p = (uint8_t *) jmem_heap_alloc_block (BASIC_SIZE); in main()
34 uint8_t *block3_p = (uint8_t *) jmem_heap_alloc_block (BASIC_SIZE); in main()
38 for (uint8_t i = 0; i < BASIC_SIZE; i++) in main()
44 block2_p = jmem_heap_realloc_block (block2_p, BASIC_SIZE, BASIC_SIZE * 2); in main()
48 for (uint8_t i = 0; i < BASIC_SIZE; i++) in main()
53 for (uint8_t i = BASIC_SIZE; i < BASIC_SIZE * 2; i++) in main()
58 uint8_t *block4_p = (uint8_t *) jmem_heap_alloc_block (BASIC_SIZE * 2); in main()
62 jmem_heap_free_block (block3_p, BASIC_SIZE); in main()
[all …]