Searched refs:encoding_token (Results 1 - 1 of 1) sorted by relevance

/PHP_5_4/ext/imap/
H A Dphp_imap.c4218 long charset_token, encoding_token, end_token, end, offset=0, i; local
4245 if ((encoding_token = (long)php_memnstr(&string[charset_token+2], "?", 1, string+end))) { /* Find token for encoding */
4246 encoding_token -= (long)string;
4247 if ((end_token = (long)php_memnstr(&string[encoding_token+3], "?=", 2, string+end))) { /* Find token for end of encoded data */
4249 memcpy(charset, &string[charset_token + 2], encoding_token - (charset_token + 2)); /* Extract charset encoding */
4250 charset[encoding_token-(charset_token + 2)] = 0x00;
4251 encoding=string[encoding_token + 1]; /* Extract encoding from string */
4252 memcpy(text, &string[encoding_token + 3], end_token - (encoding_token + 3)); /* Extract text */
4253 text[end_token - (encoding_token
[all...]

Completed in 9 milliseconds