Home
last modified time | relevance | path

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

/glibc-2.36/string/
Dtst-xbzero-opt.c63 #define PATTERN_SIZE (sizeof test_pattern) macro
65 #define TEST_BUFFER_SIZE (PATTERN_SIZE * PATTERN_REPS)
106 sum += buf[i * PATTERN_SIZE]; in use_test_buffer()
126 memcpy (buf + i*PATTERN_SIZE, test_pattern, PATTERN_SIZE); in prepare_test_buffer()
202 unsigned char *first = memmem (buf, bufsiz, test_pattern, PATTERN_SIZE); in count_test_patterns()
208 unsigned char *p = first + i*PATTERN_SIZE; in count_test_patterns()
209 if (p + PATTERN_SIZE - buf > bufsiz) in count_test_patterns()
211 if (memcmp (p, test_pattern, PATTERN_SIZE) == 0) in count_test_patterns()