Lines Matching refs:pstr
678 grapheme_extract_charcount_iter(UBreakIterator *bi, int32_t csize, unsigned char *pstr, int32_t str… in grapheme_extract_charcount_iter() argument
695 U8_FWD_1(pstr, break_pos, str_len); in grapheme_extract_charcount_iter()
718 grapheme_extract_bytecount_iter(UBreakIterator *bi, int32_t bsize, unsigned char *pstr, int32_t str… in grapheme_extract_bytecount_iter() argument
743 grapheme_extract_count_iter(UBreakIterator *bi, int32_t size, unsigned char *pstr, int32_t str_len) in grapheme_extract_count_iter() argument
776 char *str, *pstr; in PHP_FUNCTION() local
835 pstr = str + start; in PHP_FUNCTION()
838 if ( !UTF8_IS_SINGLE(*pstr) && !U8_IS_LEAD(*pstr) ) { in PHP_FUNCTION()
841 while ( !UTF8_IS_SINGLE(*pstr) && !U8_IS_LEAD(*pstr) ) { in PHP_FUNCTION()
842 pstr++; in PHP_FUNCTION()
843 if ( pstr >= str_end ) { in PHP_FUNCTION()
852 str_len -= (pstr - str); in PHP_FUNCTION()
858 if ( -1 != grapheme_ascii_check((unsigned char *)pstr, MIN(size + 1, str_len)) ) { in PHP_FUNCTION()
863 RETURN_STRINGL(pstr, nsize); in PHP_FUNCTION()
867 utext_openUTF8(&ut, pstr, str_len, &status); in PHP_FUNCTION()
889 …ret_pos = (*grapheme_extract_iters[extract_type])(bi, size, (unsigned char *)pstr, (int32_t)str_le… in PHP_FUNCTION()
898 RETURN_STRINGL(((char *)pstr), ret_pos); in PHP_FUNCTION()