Searched refs:charset_token (Results 1 - 1 of 1) sorted by relevance
| /PHP_TRUNK/ext/imap/ |
| H A D | php_imap.c | 4219 long charset_token, encoding_token, end_token, end, offset=0, i; local 4234 if ((charset_token = (long)php_memnstr(&string[offset], "=?", 2, string + end))) { /* Is there anything encoded in the string? */ 4235 charset_token -= (long)string; 4236 if (offset != charset_token) { /* Is there anything before the encoded data? */ 4238 memcpy(text, &string[offset], charset_token-offset); 4239 text[charset_token - offset] = 0x00; 4246 if ((encoding_token = (long)php_memnstr(&string[charset_token+2], "?", 1, string+end))) { /* Find token for encoding */ 4250 memcpy(charset, &string[charset_token + 2], encoding_token - (charset_token + 2)); /* Extract charset encoding */ 4251 charset[encoding_token-(charset_token [all...] |
Completed in 8 milliseconds