Lines Matching refs:j
9 unsigned i, j, k; in memset16_selftest() local
17 for (j = 0; j < 256; j++) { in memset16_selftest()
19 memset16(p + i, 0xb1b2, j); in memset16_selftest()
25 } else if (k < i + j) { in memset16_selftest()
39 return (i << 24) | (j << 16) | k | 0x8000; in memset16_selftest()
45 unsigned i, j, k; in memset32_selftest() local
53 for (j = 0; j < 256; j++) { in memset32_selftest()
55 memset32(p + i, 0xb1b2b3b4, j); in memset32_selftest()
61 } else if (k < i + j) { in memset32_selftest()
75 return (i << 24) | (j << 16) | k | 0x8000; in memset32_selftest()
81 unsigned i, j, k; in memset64_selftest() local
89 for (j = 0; j < 256; j++) { in memset64_selftest()
91 memset64(p + i, 0xb1b2b3b4b5b6b7b8ULL, j); in memset64_selftest()
97 } else if (k < i + j) { in memset64_selftest()
111 return (i << 24) | (j << 16) | k | 0x8000; in memset64_selftest()
148 int i, j; in strnchr_selftest() local
151 for (j = 0; j < strlen(test_string) + 2; j++) { in strnchr_selftest()
152 result = strnchr(test_string, j, test_string[i]); in strnchr_selftest()
153 if (j <= i) { in strnchr_selftest()
156 return ((i + 'a') << 8) | j; in strnchr_selftest()
159 return ((i + 'a') << 8) | j; in strnchr_selftest()