Home
last modified time | relevance | path

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

/system/extras/tests/memtest/
Dmemtest.cpp146 const int MAX_SIZE = 1024*1024; // 1MB in memcpy_test() local
149 char* src = (char*)malloc(MAX_SIZE+4+8+32); in memcpy_test()
150 char* dst = (char*)malloc(MAX_SIZE+4+8+32); in memcpy_test()
151 memset(src, 0, MAX_SIZE+4+8+32); in memcpy_test()
152 memset(dst, 0, MAX_SIZE+4+8+32); in memcpy_test()
160 static int FAST_SIZES[] = { 1024, DCACHE_SIZE/2, DCACHE_SIZE, DCACHE_SIZE*2, MAX_SIZE }; in memcpy_test()
177 if (size > MAX_SIZE) { in memcpy_test()
214 for (int i=0 ; i<MAX_SIZE ; i++) { in memcpy_test()
275 const int MAX_SIZE = 1024*1024; // 1MB in memset_test() local
278 char* dst = (char*)malloc(MAX_SIZE+4+8); in memset_test()
[all …]