Lines Matching refs:size
35 size_t size[N_ALLOC];
43 size_t size, total;
49 { size = random() % 1024 + 1;
50 if(!(tdata->list[k] = malloc(size)) )
51 terror("Thread %d: failed to malloc(%d), total=%d", thread, size, total);
53 { tdata->size[k] = size;
54 total += size;
55 memset(tdata->list[k], 1, size);
62 { size = 2*tdata->size[p];
63 if(!(tdata->list[p] = realloc(tdata->list[p], size)) )
65 thread, size, total);
67 { tdata->size[p] = size;
68 total += size/2;
69 memset(tdata->list[p], 255, size);
75 tdata->size[p] = 0;