Home
last modified time | relevance | path

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

/third_party/jerryscript/tests/unit-core/
Dtest-jmem.c33 uint8_t *block2_p = (uint8_t *) jmem_heap_alloc_block (BASIC_SIZE); in main() local
40 block2_p[i] = i; in main()
44 block2_p = jmem_heap_realloc_block (block2_p, BASIC_SIZE, BASIC_SIZE * 2); in main()
50 TEST_ASSERT (block2_p[i] == i); in main()
55 block2_p[i] = i; in main()
67 block2_p = (uint8_t *) jmem_heap_realloc_block (block2_p, BASIC_SIZE * 2, BASIC_SIZE * 3); in main()
73 TEST_ASSERT (block2_p[i] == i); in main()
77 block2_p = (uint8_t *) jmem_heap_realloc_block (block2_p, BASIC_SIZE * 3, BASIC_SIZE); in main()
83 TEST_ASSERT (block2_p[i] == i); in main()
102 jmem_heap_free_block (block2_p, BASIC_SIZE); in main()