Lines Matching refs:pstr
595 grapheme_extract_charcount_iter(UBreakIterator *bi, int32_t csize, unsigned char *pstr, int32_t str… in grapheme_extract_charcount_iter() argument
612 U8_FWD_1(pstr, break_pos, str_len); in grapheme_extract_charcount_iter()
635 grapheme_extract_bytecount_iter(UBreakIterator *bi, int32_t bsize, unsigned char *pstr, int32_t str… in grapheme_extract_bytecount_iter() argument
660 grapheme_extract_count_iter(UBreakIterator *bi, int32_t size, unsigned char *pstr, int32_t str_len) in grapheme_extract_count_iter() argument
692 char *str, *pstr; in PHP_FUNCTION() local
753 pstr = str + start; in PHP_FUNCTION()
756 if ( !U8_IS_SINGLE(*pstr) && !U8_IS_LEAD(*pstr) ) { in PHP_FUNCTION()
759 while ( !U8_IS_SINGLE(*pstr) && !U8_IS_LEAD(*pstr) ) { in PHP_FUNCTION()
760 pstr++; in PHP_FUNCTION()
761 if ( pstr >= str_end ) { in PHP_FUNCTION()
770 str_len -= (pstr - str); in PHP_FUNCTION()
776 if ( -1 != grapheme_ascii_check((unsigned char *)pstr, MIN(size + 1, str_len)) ) { in PHP_FUNCTION()
781 RETURN_STRINGL(pstr, nsize); in PHP_FUNCTION()
785 utext_openUTF8(&ut, pstr, str_len, &status); in PHP_FUNCTION()
807 …ret_pos = (*grapheme_extract_iters[extract_type])(bi, size, (unsigned char *)pstr, (int32_t)str_le… in PHP_FUNCTION()
816 RETURN_STRINGL(((char *)pstr), ret_pos); in PHP_FUNCTION()