Lines Matching refs:char_ptr
68 const unsigned char *char_ptr;
77 Do this until CHAR_PTR is aligned on a longword boundary. */
78 for (char_ptr = (const unsigned char *) s;
79 n > 0 && (size_t) char_ptr % sizeof (longword) != 0;
80 --n, ++char_ptr)
81 if (*char_ptr == c)
82 return (void *) char_ptr;
84 longword_ptr = (const longword *) char_ptr;
153 char_ptr = (const unsigned char *) longword_ptr;
156 sizeof (longword) bytes starting at char_ptr is == c. On little-endian
162 for (; n > 0; --n, ++char_ptr)
164 if (*char_ptr == c)
165 return (void *) char_ptr;