Lines Matching refs:charset_token
4218 long charset_token, encoding_token, end_token, end, offset=0, i; in PHP_FUNCTION() local
4233 …if ((charset_token = (long)php_memnstr(&string[offset], "=?", 2, string + end))) { /* Is there any… in PHP_FUNCTION()
4234 charset_token -= (long)string; in PHP_FUNCTION()
4235 if (offset != charset_token) { /* Is there anything before the encoded data? */ in PHP_FUNCTION()
4237 memcpy(text, &string[offset], charset_token-offset); in PHP_FUNCTION()
4238 text[charset_token - offset] = 0x00; in PHP_FUNCTION()
4245 …if ((encoding_token = (long)php_memnstr(&string[charset_token+2], "?", 1, string+end))) { /* Find… in PHP_FUNCTION()
4249 …memcpy(charset, &string[charset_token + 2], encoding_token - (charset_token + 2)); /* Extract char… in PHP_FUNCTION()
4250 charset[encoding_token-(charset_token + 2)] = 0x00; in PHP_FUNCTION()
4290 charset_token = offset; in PHP_FUNCTION()
4294 …memcpy(text, &string[charset_token], end - charset_token); /* Extract unencoded text from string */ in PHP_FUNCTION()
4295 text[end - charset_token] = 0x00; in PHP_FUNCTION()