Lines Matching +full:- +full:b

1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Very simple but very effective user-space memory tester.
5 * Version 2 by Charles Cazabon <charlesc-memtester@pyropus.ca>
8 * Copyright (C) 2004-2012 Charles Cazabon <charlesc-memtester@pyropus.ca>
32 char progress[] = "-\\|/";
63 r = -1; in compare_regions()
79 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_stuck_address()
87 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_stuck_address()
108 return -1; in test_stuck_address()
112 printf("\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b"); in test_stuck_address()
130 putc('\b'); in test_random_value()
135 printf("\b \b"); in test_random_value()
165 *p1++ -= q; in test_sub_comparison()
166 *p2++ -= q; in test_sub_comparison()
259 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_solidbits_comparison()
274 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_solidbits_comparison()
278 return -1; in test_solidbits_comparison()
280 printf("\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b"); in test_solidbits_comparison()
298 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_checkerboard_comparison()
314 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_checkerboard_comparison()
318 return -1; in test_checkerboard_comparison()
320 printf("\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b"); in test_checkerboard_comparison()
338 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_blockseq_comparison()
358 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_blockseq_comparison()
362 return -1; in test_blockseq_comparison()
364 printf("\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b"); in test_blockseq_comparison()
382 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_walkbits0_comparison()
390 q = ONE << (UL_LEN * 2 - j - 1); in test_walkbits0_comparison()
406 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_walkbits0_comparison()
410 return -1; in test_walkbits0_comparison()
412 printf("\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b"); in test_walkbits0_comparison()
430 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_walkbits1_comparison()
438 q = UL_ONEBITS ^ (ONE << (UL_LEN * 2 - j - 1)); in test_walkbits1_comparison()
453 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_walkbits1_comparison()
457 return -1; in test_walkbits1_comparison()
459 printf("\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b"); in test_walkbits1_comparison()
476 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_bitspread_comparison()
485 data[0] = (ONE << (UL_LEN * 2 - 1 - j)) | in test_bitspread_comparison()
486 (ONE << (UL_LEN * 2 + 1 - j)); in test_bitspread_comparison()
487 data[1] = UL_ONEBITS ^ (ONE << (UL_LEN * 2 - 1 - j) in test_bitspread_comparison()
488 | (ONE << (UL_LEN * 2 + 1 - j))); in test_bitspread_comparison()
504 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_bitspread_comparison()
508 return -1; in test_bitspread_comparison()
510 printf("\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b"); in test_bitspread_comparison()
530 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_bitflip_comparison()
546 printf("\b\b\b\b\b\b\b\b\b\b\b"); in test_bitflip_comparison()
550 return -1; in test_bitflip_comparison()
553 printf("\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b"); in test_bitflip_comparison()
565 unsigned int b, j = 0; in test_8bit_wide_random() local
581 for (b = 0; b < UL_LEN / 8; b++) in test_8bit_wide_random()
584 putc('\b'); in test_8bit_wide_random()
590 return -1; in test_8bit_wide_random()
592 printf("\b \b"); in test_8bit_wide_random()
603 unsigned int b, j = 0; in test_16bit_wide_random() local
619 for (b = 0; b < UL_LEN / 16; b++) in test_16bit_wide_random()
622 putc('\b'); in test_16bit_wide_random()
628 return -1; in test_16bit_wide_random()
630 printf("\b \b"); in test_16bit_wide_random()