Lines Matching refs:pstr
615 grapheme_extract_charcount_iter(UBreakIterator *bi, int32_t csize, unsigned char *pstr, int32_t str… in grapheme_extract_charcount_iter() argument
632 U8_FWD_1(pstr, break_pos, str_len); in grapheme_extract_charcount_iter()
655 grapheme_extract_bytecount_iter(UBreakIterator *bi, int32_t bsize, unsigned char *pstr, int32_t str… in grapheme_extract_bytecount_iter() argument
680 grapheme_extract_count_iter(UBreakIterator *bi, int32_t size, unsigned char *pstr, int32_t str_len) in grapheme_extract_count_iter() argument
712 char *str, *pstr; in PHP_FUNCTION() local
773 pstr = str + start; in PHP_FUNCTION()
776 if ( !U8_IS_SINGLE(*pstr) && !U8_IS_LEAD(*pstr) ) { in PHP_FUNCTION()
779 while ( !U8_IS_SINGLE(*pstr) && !U8_IS_LEAD(*pstr) ) { in PHP_FUNCTION()
780 pstr++; in PHP_FUNCTION()
781 if ( pstr >= str_end ) { in PHP_FUNCTION()
790 str_len -= (pstr - str); in PHP_FUNCTION()
796 if ( -1 != grapheme_ascii_check((unsigned char *)pstr, MIN(size + 1, str_len)) ) { in PHP_FUNCTION()
801 RETURN_STRINGL(pstr, nsize); in PHP_FUNCTION()
805 utext_openUTF8(&ut, pstr, str_len, &status); in PHP_FUNCTION()
827 …ret_pos = (*grapheme_extract_iters[extract_type])(bi, size, (unsigned char *)pstr, (int32_t)str_le… in PHP_FUNCTION()
836 RETURN_STRINGL(((char *)pstr), ret_pos); in PHP_FUNCTION()