Lines Matching +full:cs +full:- +full:number
1 // SPDX-License-Identifier: GPL-2.0
16 * strlen - Find the length of a string
25 return sc - s; in strlen()
31 * strnlen - Find the length of a length-limited string
33 * @count: The maximum number of bytes to search
39 for (sc = s; count-- && *sc != '\0'; ++sc) in strnlen()
41 return sc - s; in strnlen()
46 * strstr - Find the first substring in a %NUL terminated string
59 l1--; in strstr()
69 * strcmp - Compare two strings
70 * @cs: One string
73 int strcmp(const char *cs, const char *ct) in strcmp() argument
78 c1 = *cs++; in strcmp()
81 return c1 < c2 ? -1 : 1; in strcmp()
90 * strncmp - Compare two length-limited strings
91 * @cs: One string
93 * @count: The maximum number of bytes to compare
95 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() argument
100 c1 = *cs++; in strncmp()
103 return c1 < c2 ? -1 : 1; in strncmp()
106 count--; in strncmp()
127 * simple_strtoull - convert a string to an unsigned long long
130 * @base: The number base to use
146 value = isdigit(*cp) ? *cp - '0' : TOLOWER(*cp) - 'a' + 10; in simple_strtoull()
160 if (*cp == '-') in simple_strtol()
161 return -simple_strtoull(cp + 1, endp, base); in simple_strtol()
169 * strrchr - Find the last occurrence of a character in a string
185 * memchr - Find a character in an area of memory.
196 while (n-- != 0) { in memchr()
198 return (void *)(p - 1); in memchr()