Lines Matching refs:MAX_SIZE
144 const int MAX_SIZE = 1024*1024; // 1MB
147 char* src = (char*)malloc(MAX_SIZE+4+8+32);
148 char* dst = (char*)malloc(MAX_SIZE+4+8+32);
149 memset(src, 0, MAX_SIZE+4+8+32);
150 memset(dst, 0, MAX_SIZE+4+8+32);
158 static int FAST_SIZES[] = { 1024, DCACHE_SIZE/2, DCACHE_SIZE, DCACHE_SIZE*2, MAX_SIZE };
175 if (size > MAX_SIZE) {
212 for (int i=0 ; i<MAX_SIZE ; i++) {
273 const int MAX_SIZE = 1024*1024; // 1MB
276 char* dst = (char*)malloc(MAX_SIZE+4+8);
284 static int FAST_SIZES[] = { 1024, DCACHE_SIZE/2, DCACHE_SIZE, DCACHE_SIZE*2, MAX_SIZE };
294 if (size > MAX_SIZE) {
410 const int MAX_SIZE = 1024*1024; // 1MB
413 char* src = (char*)malloc(MAX_SIZE+4+8+32);
414 char* dst = (char*)malloc(MAX_SIZE+4+8+32);
422 static int FAST_SIZES[] = { 1024, DCACHE_SIZE/2, DCACHE_SIZE, DCACHE_SIZE*2, MAX_SIZE };
432 if (size > MAX_SIZE) {
480 for (int i=0 ; i<MAX_SIZE ; i++) {
523 const int MAX_SIZE = 1024*1024; // 1MB
526 char* str = (char*)calloc(MAX_SIZE+4+8, 1);
534 static int FAST_SIZES[] = { 1024, DCACHE_SIZE/2, DCACHE_SIZE, DCACHE_SIZE*2, MAX_SIZE };
544 if (size > MAX_SIZE) {