Lines Matching refs:pretval

146 static php_iconv_err_t _php_iconv_strlen(size_t *pretval, const char *str, size_t nbytes, const cha…
148 static php_iconv_err_t _php_iconv_substr(smart_str *pretval, const char *str, size_t nbytes, zend_l…
150 static php_iconv_err_t _php_iconv_mime_encode(smart_str *pretval, const char *fname, size_t fname_n…
152 static php_iconv_err_t _php_iconv_mime_decode(smart_str *pretval, const char *str, size_t str_nbyte…
547 static php_iconv_err_t _php_iconv_strlen(size_t *pretval, const char *str, size_t nbytes, const cha… in _php_iconv_strlen() argument
564 *pretval = (size_t)-1; in _php_iconv_strlen()
606 *pretval = cnt; in _php_iconv_strlen()
622 static php_iconv_err_t _php_iconv_substr(smart_str *pretval, in _php_iconv_substr() argument
668 smart_str_appendl(pretval, "", 0); in _php_iconv_substr()
669 smart_str_0(pretval); in _php_iconv_substr()
713 if (_php_iconv_appendl(pretval, buf, sizeof(buf), cd2) != PHP_ICONV_ERR_SUCCESS) { in _php_iconv_substr()
735 _php_iconv_appendl(pretval, NULL, 0, cd2); in _php_iconv_substr()
737 smart_str_0(pretval); in _php_iconv_substr()
753 static php_iconv_err_t _php_iconv_strpos(size_t *pretval, in _php_iconv_strpos() argument
780 *pretval = (size_t)-1; in _php_iconv_strpos()
845 *pretval = match_ofs; in _php_iconv_strpos()
903 static php_iconv_err_t _php_iconv_mime_encode(smart_str *pretval, const char *fname, size_t fname_n… in _php_iconv_mime_encode() argument
969 _php_iconv_appendl(pretval, fname, fname_nbytes, cd_pl); in _php_iconv_mime_encode()
971 smart_str_appendl(pretval, ": ", sizeof(": ") - 1); in _php_iconv_mime_encode()
984 smart_str_appendl(pretval, lfchars, lfchars_len); in _php_iconv_mime_encode()
985 smart_str_appendc(pretval, ' '); in _php_iconv_mime_encode()
989 smart_str_appendl(pretval, "=?", sizeof("=?") - 1); in _php_iconv_mime_encode()
991 smart_str_appendl(pretval, out_charset, out_charset_len); in _php_iconv_mime_encode()
993 smart_str_appendc(pretval, '?'); in _php_iconv_mime_encode()
1002 smart_str_appendc(pretval, 'B'); in _php_iconv_mime_encode()
1004 smart_str_appendc(pretval, '?'); in _php_iconv_mime_encode()
1076 smart_str_appendl(pretval, ZSTR_VAL(encoded), ZSTR_LEN(encoded)); in _php_iconv_mime_encode()
1078 smart_str_appendl(pretval, "?=", sizeof("?=") - 1); in _php_iconv_mime_encode()
1091 smart_str_appendc(pretval, 'Q'); in _php_iconv_mime_encode()
1093 smart_str_appendc(pretval, '?'); in _php_iconv_mime_encode()
1150 smart_str_appendc(pretval, *(char *)p); in _php_iconv_mime_encode()
1154 smart_str_appendc(pretval, '='); in _php_iconv_mime_encode()
1155 smart_str_appendc(pretval, qp_digits[(*p >> 4) & 0x0f]); in _php_iconv_mime_encode()
1156 smart_str_appendc(pretval, qp_digits[(*p & 0x0f)]); in _php_iconv_mime_encode()
1161 smart_str_appendl(pretval, "?=", sizeof("?=") - 1); in _php_iconv_mime_encode()
1173 smart_str_0(pretval); in _php_iconv_mime_encode()
1193 static php_iconv_err_t _php_iconv_mime_decode(smart_str *pretval, const char *str, size_t str_nbyte… in _php_iconv_mime_decode() argument
1252 err = _php_iconv_appendc(pretval, *p1, cd_pl); in _php_iconv_mime_decode()
1273 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1301 _php_iconv_appendc(pretval, '=', cd_pl); in _php_iconv_mime_decode()
1302 _php_iconv_appendc(pretval, '?', cd_pl); in _php_iconv_mime_decode()
1303 err = _php_iconv_appendl(pretval, csname, (size_t)((p1 + 1) - csname), cd_pl); in _php_iconv_mime_decode()
1328 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1386 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1424 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1446 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1478 _php_iconv_appendc(pretval, '\r', cd_pl); in _php_iconv_mime_decode()
1479 _php_iconv_appendc(pretval, *p1, cd_pl); in _php_iconv_mime_decode()
1492 _php_iconv_appendc(pretval, ' ', cd_pl); in _php_iconv_mime_decode()
1502 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1541 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1570 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1587 err = _php_iconv_appendl(pretval, ZSTR_VAL(decoded_text), ZSTR_LEN(decoded_text), cd); in _php_iconv_mime_decode()
1589 err = _php_iconv_appendl(pretval, NULL, 0, cd); in _php_iconv_mime_decode()
1596 err = _php_iconv_appendl(pretval, encoded_word, (size_t)(p1 - encoded_word), cd_pl); in _php_iconv_mime_decode()
1630 _php_iconv_appendc(pretval, *p1, cd_pl); in _php_iconv_mime_decode()
1656 _php_iconv_appendl(pretval, spaces, (size_t)(p1 - spaces), cd_pl); in _php_iconv_mime_decode()
1668 _php_iconv_appendl(pretval, spaces, (size_t)(p1 - spaces), cd_pl); in _php_iconv_mime_decode()
1671 _php_iconv_appendc(pretval, *p1, cd_pl); in _php_iconv_mime_decode()
1706 _php_iconv_appendc(pretval, *p1, cd_pl); in _php_iconv_mime_decode()
1718 _php_iconv_appendc(pretval, '=', cd_pl); in _php_iconv_mime_decode()
1731 smart_str_0(pretval); in _php_iconv_mime_decode()