Lines Matching refs:p
250 const char *p = s + strlen(s); in strrchr() local
252 if (*p == (char)c) in strrchr()
253 return (char *)p; in strrchr()
254 } while (--p >= s); in strrchr()
299 const char *p; in strcspn() local
303 for (p = s; *p != '\0'; ++p) { in strcspn()
305 if (*p == *r) in strcspn()
338 const char *p; in strspn() local
342 for (p = s; *p != '\0'; ++p) { in strspn()
344 if (*p == *a) in strspn()
443 char *p, *q; in strswab() local
449 for (p=(char *)s, q=p+1; (*p != '\0') && (*q != '\0'); p+=2, q+=2) { in strswab()
452 tmp = *p; in strswab()
453 *p = *q; in strswab()
608 unsigned char * p = (unsigned char *) addr; in memscan() local
611 if (*p == c) in memscan()
612 return (void *) p; in memscan()
613 p++; in memscan()
616 return (void *) p; in memscan()
656 const unsigned char *p = s; in memchr() local
658 if ((unsigned char)c == *p++) { in memchr()
659 return (void *)(p-1); in memchr()