Lines Matching +full:p +full:- +full:256
69 a total of 256 lines. Read randomly from 256*5 places should in empty()
71 int offset = (1024 - 256)*1024; in empty()
125 ((char *)src)[n-1] = 32; in xstrchr()
133 ((char *)src)[n-1] = 32; in xmemchr()
156 …"usage: %s [-c block-size] [-l loop-count] [-a alignment|src_alignment:dst_alignment] [-f] [-t tes… in usage()
161 for (const struct test *ptest = tests; ptest->name != NULL; ptest++) in usage()
163 printf(" %s", ptest->name); in usage()
168 exit(-1); in usage()
180 for (const struct test *p = tests; p->name != NULL; p++) in find_test() local
182 if (strcmp(p->name, name) == 0) in find_test()
184 return p; in find_test()
193 #define MAX_ALIGNMENT 256
196 static char *realign(char *p, int alignment) in realign() argument
198 uintptr_t pp = (uintptr_t)p; in realign()
199 pp = (pp + (MAX_ALIGNMENT - 1)) & ~(MAX_ALIGNMENT - 1); in realign()
236 if (ret > 256 || ret < 1) in parse_alignment_arg()
238 printf("Alignment should be in the range [1, 256].\n"); in parse_alignment_arg()
242 if (ret == 256) in parse_alignment_arg()
255 if (ret > 256 || ret < 1) in parse_alignment_arg()
257 printf("Alignment should be in the range [1, 256].\n"); in parse_alignment_arg()
261 if (ret == 256) in parse_alignment_arg()
343 /* Fill the buffer with non-zero, reproducable random data */ in main()
361 stub_t stub = ptest->stub; in main()
391 variant = strstr(variant, "try-"); in main()
394 double elapsed = (end.tv_sec - start.tv_sec) + (end.tv_nsec - start.tv_nsec) * 1e-9; in main()
400 variant + 4, ptest->name, in main()
403 elapsed, loops, ptest->name, count, in main()
404 (double)loops*count/(elapsed - bounced)/(1024*1024)); in main()