Lines Matching refs:p

2693 			const char **p;  in zend_update_current_locale()  local
2695 for (p = ascii_compatible_charmaps; *p; p++) { in zend_update_current_locale()
2696 if (zend_binary_strcasecmp(charmap, len, *p, strlen(*p)) == 0) { in zend_update_current_locale()
2725 unsigned char *p = (unsigned char*)str; in zend_str_tolower_impl() local
2727 unsigned char *end = p + length; in zend_str_tolower_impl()
2733 BLOCKCONV_LOAD(p); in zend_str_tolower_impl()
2735 p += BLOCKCONV_STRIDE; in zend_str_tolower_impl()
2737 } while (p + BLOCKCONV_STRIDE <= end); in zend_str_tolower_impl()
2740 while (p < end) { in zend_str_tolower_impl()
2741 *q++ = zend_tolower_ascii(*p++); in zend_str_tolower_impl()
2747 unsigned char *p = (unsigned char*)str; in zend_str_toupper_impl() local
2749 unsigned char *end = p + length; in zend_str_toupper_impl()
2755 BLOCKCONV_LOAD(p); in zend_str_toupper_impl()
2757 p += BLOCKCONV_STRIDE; in zend_str_toupper_impl()
2759 } while (p + BLOCKCONV_STRIDE <= end); in zend_str_toupper_impl()
2762 while (p < end) { in zend_str_toupper_impl()
2763 *q++ = zend_toupper_ascii(*p++); in zend_str_toupper_impl()
2811 const unsigned char *p = (const unsigned char*)source; in zend_str_tolower_dup_ex() local
2812 const unsigned char *end = p + length; in zend_str_tolower_dup_ex()
2814 while (p < end) { in zend_str_tolower_dup_ex()
2815 if (*p != zend_tolower_ascii(*p)) { in zend_str_tolower_dup_ex()
2819 if (p != (const unsigned char*)source) { in zend_str_tolower_dup_ex()
2820 memcpy(res, source, p - (const unsigned char*)source); in zend_str_tolower_dup_ex()
2822 r = (unsigned char*)p + (res - source); in zend_str_tolower_dup_ex()
2823 zend_str_tolower_impl((char *)r, (const char*)p, end - p); in zend_str_tolower_dup_ex()
2827 p++; in zend_str_tolower_dup_ex()
2835 const unsigned char *p = (const unsigned char*)source; in zend_str_toupper_dup_ex() local
2836 const unsigned char *end = p + length; in zend_str_toupper_dup_ex()
2838 while (p < end) { in zend_str_toupper_dup_ex()
2839 if (*p != zend_toupper_ascii(*p)) { in zend_str_toupper_dup_ex()
2843 if (p != (const unsigned char*)source) { in zend_str_toupper_dup_ex()
2844 memcpy(res, source, p - (const unsigned char*)source); in zend_str_toupper_dup_ex()
2846 r = (unsigned char*)p + (res - source); in zend_str_toupper_dup_ex()
2847 zend_str_toupper_impl((char *)r, (const char*)p, end - p); in zend_str_toupper_dup_ex()
2851 p++; in zend_str_toupper_dup_ex()
2860 unsigned char *p = (unsigned char *) ZSTR_VAL(str); in zend_string_tolower_ex() local
2861 unsigned char *end = p + length; in zend_string_tolower_ex()
2865 while (p + BLOCKCONV_STRIDE <= end) { in zend_string_tolower_ex()
2866 BLOCKCONV_LOAD(p); in zend_string_tolower_ex()
2869 memcpy(ZSTR_VAL(res), ZSTR_VAL(str), p - (unsigned char *) ZSTR_VAL(str)); in zend_string_tolower_ex()
2870 unsigned char *q = (unsigned char*) ZSTR_VAL(res) + (p - (unsigned char*) ZSTR_VAL(str)); in zend_string_tolower_ex()
2877 p += BLOCKCONV_STRIDE; in zend_string_tolower_ex()
2879 zend_str_tolower_impl((char *) q, (const char *) p, end - p); in zend_string_tolower_ex()
2883 p += BLOCKCONV_STRIDE; in zend_string_tolower_ex()
2887 while (p < end) { in zend_string_tolower_ex()
2888 if (*p != zend_tolower_ascii(*p)) { in zend_string_tolower_ex()
2890 memcpy(ZSTR_VAL(res), ZSTR_VAL(str), p - (unsigned char*) ZSTR_VAL(str)); in zend_string_tolower_ex()
2892 unsigned char *q = (unsigned char*) ZSTR_VAL(res) + (p - (unsigned char*) ZSTR_VAL(str)); in zend_string_tolower_ex()
2893 while (p < end) { in zend_string_tolower_ex()
2894 *q++ = zend_tolower_ascii(*p++); in zend_string_tolower_ex()
2899 p++; in zend_string_tolower_ex()
2909 unsigned char *p = (unsigned char *) ZSTR_VAL(str); in zend_string_toupper_ex() local
2910 unsigned char *end = p + length; in zend_string_toupper_ex()
2914 while (p + BLOCKCONV_STRIDE <= end) { in zend_string_toupper_ex()
2915 BLOCKCONV_LOAD(p); in zend_string_toupper_ex()
2918 memcpy(ZSTR_VAL(res), ZSTR_VAL(str), p - (unsigned char *) ZSTR_VAL(str)); in zend_string_toupper_ex()
2919 unsigned char *q = (unsigned char *) ZSTR_VAL(res) + (p - (unsigned char *) ZSTR_VAL(str)); in zend_string_toupper_ex()
2926 p += BLOCKCONV_STRIDE; in zend_string_toupper_ex()
2928 zend_str_toupper_impl((char *) q, (const char *) p, end - p); in zend_string_toupper_ex()
2932 p += BLOCKCONV_STRIDE; in zend_string_toupper_ex()
2936 while (p < end) { in zend_string_toupper_ex()
2937 if (*p != zend_toupper_ascii(*p)) { in zend_string_toupper_ex()
2939 memcpy(ZSTR_VAL(res), ZSTR_VAL(str), p - (unsigned char*) ZSTR_VAL(str)); in zend_string_toupper_ex()
2941 unsigned char *q = (unsigned char *) ZSTR_VAL(res) + (p - (unsigned char *) ZSTR_VAL(str)); in zend_string_toupper_ex()
2942 while (p < end) { in zend_string_toupper_ex()
2943 *q++ = zend_toupper_ascii(*p++); in zend_string_toupper_ex()
2948 p++; in zend_string_toupper_ex()
3475 const char *p; local
3483 p = haystack;
3486 while (p <= end) {
3488 if (needle[i] != p[i]) {
3493 return p;
3495 if (UNEXPECTED(p == end)) {
3498 p += td[(unsigned char)(p[needle_len])];
3509 const char *p; local
3517 p = end;
3518 p -= needle_len;
3520 while (p >= haystack) {
3522 if (needle[i] != p[i]) {
3528 return (const char *)p;
3531 if (UNEXPECTED(p == haystack)) {
3535 p -= td[(unsigned char)(p[-1])];