Lines Matching +full:- +full:v
1 // SPDX-License-Identifier: BSD-3-Clause
17 /* used by gcc - but uses arch_memcpy internally */
28 uint8_t v = c; in memset() local
29 uint32_t v32 = (uint32_t)v | ((uint32_t)v << 8) | in memset()
30 ((uint32_t)v << 16) | ((uint32_t)v << 24); in memset()
32 /* Don't bother with 32-bit copies for up to 7 bytes */ in memset()
33 size_t prefix_sz = n > 2 * sizeof(v32) - 1 ? (uint8_t *)d32 - d8 : n; in memset()
37 d8[i] = v; in memset()
40 for (i = 0; i < (n - prefix_sz) >> 2; i++) in memset()
44 * The starting point now is the prefix plus the number of 32-bit copies in memset()
49 d8[i] = v; in memset()
61 return *s1 < *s2 ? -1 : 1; in memcmp()
64 count--; in memcmp()
94 /* generic strlen - TODO: can be optimsed for ARCH ? */
101 return (p - s) - 1; in rstrlen()
109 return -1; in rstrcmp()
120 return -1; in rstrcmp()