Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c1560 size_t sz_array1, sz_array2, sz_array3; in test_malloc() local
1569 sz_array1 = pagesize / 2; in test_malloc()
1570 array1 = malloc(sz_array1 * sizeof(*array1)); in test_malloc()
1574 for (idx = 0; idx < sz_array1; idx++) in test_malloc()
1589 array2[idx] = idx + sz_array1; in test_malloc()
1593 sz_array3 = sz_array1 + sz_array2; in test_malloc()
1600 memcpy(array3 + sz_array1, array2, sizeof(*array2) * sz_array2); in test_malloc()