Lines Matching refs:pretval
205 static php_iconv_err_t _php_iconv_strlen(size_t *pretval, const char *str, size_t nbytes, const cha…
207 static php_iconv_err_t _php_iconv_substr(smart_str *pretval, const char *str, size_t nbytes, zend_l…
209 static php_iconv_err_t _php_iconv_strpos(size_t *pretval, const char *haystk, size_t haystk_nbytes,…
211 static php_iconv_err_t _php_iconv_mime_encode(smart_str *pretval, const char *fname, size_t fname_n…
213 static php_iconv_err_t _php_iconv_mime_decode(smart_str *pretval, const char *str, size_t str_nbyte…
738 static php_iconv_err_t _php_iconv_strlen(size_t *pretval, const char *str, size_t nbytes, const cha… in _php_iconv_strlen() argument
754 *pretval = (size_t)-1; in _php_iconv_strlen()
803 *pretval = cnt; in _php_iconv_strlen()
811 *pretval = cnt; in _php_iconv_strlen()
822 static php_iconv_err_t _php_iconv_substr(smart_str *pretval, in _php_iconv_substr() argument
872 smart_str_appendl(pretval, "", 0); in _php_iconv_substr()
873 smart_str_0(pretval); in _php_iconv_substr()
926 if (_php_iconv_appendl(pretval, buf, sizeof(buf), cd2) != PHP_ICONV_ERR_SUCCESS) { in _php_iconv_substr()
950 _php_iconv_appendl(pretval, NULL, 0, cd2); in _php_iconv_substr()
952 smart_str_0(pretval); in _php_iconv_substr()
968 static php_iconv_err_t _php_iconv_strpos(size_t *pretval, in _php_iconv_strpos() argument
993 *pretval = (size_t)-1; in _php_iconv_strpos()
1064 *pretval = match_ofs; in _php_iconv_strpos()
1105 *pretval = match_ofs; in _php_iconv_strpos()
1153 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
1227 _php_iconv_appendl(pretval, fname, fname_nbytes, cd_pl); in _php_iconv_mime_encode()
1229 smart_str_appendl(pretval, ": ", sizeof(": ") - 1); in _php_iconv_mime_encode()
1241 smart_str_appendl(pretval, lfchars, lfchars_len); in _php_iconv_mime_encode()
1242 smart_str_appendc(pretval, ' '); in _php_iconv_mime_encode()
1246 smart_str_appendl(pretval, "=?", sizeof("=?") - 1); in _php_iconv_mime_encode()
1248 smart_str_appendl(pretval, out_charset, out_charset_len); in _php_iconv_mime_encode()
1250 smart_str_appendc(pretval, '?'); in _php_iconv_mime_encode()
1259 smart_str_appendc(pretval, 'B'); in _php_iconv_mime_encode()
1261 smart_str_appendc(pretval, '?'); in _php_iconv_mime_encode()
1347 smart_str_appendl(pretval, ZSTR_VAL(encoded), ZSTR_LEN(encoded)); in _php_iconv_mime_encode()
1349 smart_str_appendl(pretval, "?=", sizeof("?=") - 1); in _php_iconv_mime_encode()
1362 smart_str_appendc(pretval, 'Q'); in _php_iconv_mime_encode()
1364 smart_str_appendc(pretval, '?'); in _php_iconv_mime_encode()
1441 smart_str_appendc(pretval, *(char *)p); in _php_iconv_mime_encode()
1445 smart_str_appendc(pretval, '='); in _php_iconv_mime_encode()
1446 smart_str_appendc(pretval, qp_digits[(*p >> 4) & 0x0f]); in _php_iconv_mime_encode()
1447 smart_str_appendc(pretval, qp_digits[(*p & 0x0f)]); in _php_iconv_mime_encode()
1452 smart_str_appendl(pretval, "?=", sizeof("?=") - 1); in _php_iconv_mime_encode()
1464 smart_str_0(pretval); in _php_iconv_mime_encode()
1484 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
1547 err = _php_iconv_appendc(pretval, *p1, cd_pl); in _php_iconv_mime_decode()
1568 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1596 _php_iconv_appendc(pretval, '=', cd_pl); in _php_iconv_mime_decode()
1597 _php_iconv_appendc(pretval, '?', cd_pl); in _php_iconv_mime_decode()
1598 err = _php_iconv_appendl(pretval, csname, (size_t)((p1 + 1) - csname), cd_pl); in _php_iconv_mime_decode()
1623 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1681 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1723 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1745 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1777 _php_iconv_appendc(pretval, '\r', cd_pl); in _php_iconv_mime_decode()
1778 _php_iconv_appendc(pretval, *p1, cd_pl); in _php_iconv_mime_decode()
1791 _php_iconv_appendc(pretval, ' ', cd_pl); in _php_iconv_mime_decode()
1801 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1838 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1867 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl); in _php_iconv_mime_decode()
1884 err = _php_iconv_appendl(pretval, ZSTR_VAL(decoded_text), ZSTR_LEN(decoded_text), cd); in _php_iconv_mime_decode()
1890 err = _php_iconv_appendl(pretval, encoded_word, (size_t)(p1 - encoded_word), cd_pl); in _php_iconv_mime_decode()
1924 _php_iconv_appendc(pretval, *p1, cd_pl); in _php_iconv_mime_decode()
1950 _php_iconv_appendl(pretval, spaces, (size_t)(p1 - spaces), cd_pl); in _php_iconv_mime_decode()
1962 _php_iconv_appendl(pretval, spaces, (size_t)(p1 - spaces), cd_pl); in _php_iconv_mime_decode()
1965 _php_iconv_appendc(pretval, *p1, cd_pl); in _php_iconv_mime_decode()
2000 _php_iconv_appendc(pretval, *p1, cd_pl); in _php_iconv_mime_decode()
2012 _php_iconv_appendc(pretval, '=', cd_pl); in _php_iconv_mime_decode()
2025 smart_str_0(pretval); in _php_iconv_mime_decode()