Lines Matching +full:- +full:s
1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 1994-2009 Red Hat, Inc.
35 <<strchr>>---search for character in string
73 #define UNALIGNED(X) ((long)X & (sizeof (long) - 1))
79 #define DETECTNULL(X) (((X) - 0x01010101L) & ~(X) & 0x80808080UL)
83 #define DETECTNULL(X) (((X) - 0x0101010101010101L) & ~(X) & \
99 _CONST unsigned char *s = (_CONST unsigned char *)s1; variable
110 while (UNALIGNED (s))
112 if (!*s)
113 return (char *) s;
114 s++;
117 aligned_addr = (unsigned long *) s;
121 s = (const unsigned char *) aligned_addr;
122 while (*s)
123 s++;
124 return (char *) s;
128 while (UNALIGNED (s))
130 if (!*s)
132 if (*s == c)
133 return (char *) s;
134 s++;
141 aligned_addr = (unsigned long *) s;
149 s = (unsigned char *) aligned_addr;
153 while (*s && *s != c)
154 s++;
155 if (*s == c)
156 return (char *)s;