Home
last modified time | relevance | path

Searched refs:out_len (Results 1 – 12 of 12) sorted by relevance

/PHP-7.1/win32/
H A Dcodepage.h65 PW32CP wchar_t *php_win32_cp_conv_utf8_to_w(const char* in, size_t in_len, size_t *out_len);
67 PW32CP wchar_t *php_win32_cp_conv_cur_to_w(const char* in, size_t in_len, size_t *out_len);
69 PW32CP wchar_t *php_win32_cp_conv_ascii_to_w(const char* in, size_t in_len, size_t *out_len);
72 PW32CP char *php_win32_cp_conv_w_to_utf8(const wchar_t* in, size_t in_len, size_t *out_len);
74 PW32CP char *php_win32_cp_conv_w_to_cur(const wchar_t* in, size_t in_len, size_t *out_len);
81 …ceinline static wchar_t *php_win32_cp_conv_any_to_w(const char* in, size_t in_len, size_t *out_len) in php_win32_cp_conv_any_to_w() argument
91 ret = php_win32_cp_conv_ascii_to_w(in, in_len, out_len); in php_win32_cp_conv_any_to_w()
95 ret = php_win32_cp_conv_utf8_to_w(in, in_len, out_len); in php_win32_cp_conv_any_to_w()
106 ret = php_win32_cp_conv_to_w(acp->id, acp->to_w_fl, in, in_len, out_len); in php_win32_cp_conv_any_to_w()
112 ret = php_win32_cp_conv_cur_to_w(in, in_len, out_len); in php_win32_cp_conv_any_to_w()
[all …]
H A Dcodepage.c70 if (PHP_WIN32_CP_IGNORE_LEN_P != out_len) { in php_win32_cp_to_w_int()
71 *out_len = ret_len - 1; in php_win32_cp_to_w_int()
86 ret = php_win32_cp_to_w_int(in, in_len, out_len, cur_cp->id, cur_cp->from_w_fl); in php_win32_cp_conv_cur_to_w()
93 return php_win32_cp_to_w_int(in, in_len, out_len, cp, flags); in php_win32_cp_conv_to_w()
159 if (PHP_WIN32_CP_IGNORE_LEN_P != out_len) { in php_win32_cp_conv_ascii_to_w()
160 *out_len = in_len; in php_win32_cp_conv_ascii_to_w()
163 if (PHP_WIN32_CP_IGNORE_LEN_P != out_len) { in php_win32_cp_conv_ascii_to_w()
164 *out_len = 0; in php_win32_cp_conv_ascii_to_w()
209 if (PHP_WIN32_CP_IGNORE_LEN_P != out_len) { in php_win32_cp_from_w_int()
210 *out_len = target_len - 1; in php_win32_cp_from_w_int()
[all …]
H A Dioutil.h158 …line static wchar_t *php_win32_ioutil_conv_any_to_w(const char* in, size_t in_len, size_t *out_len) in php_win32_ioutil_conv_any_to_w() argument
211 if (PHP_WIN32_CP_IGNORE_LEN_P != out_len) { in php_win32_ioutil_conv_any_to_w()
212 *out_len = mb_len; in php_win32_ioutil_conv_any_to_w()
/PHP-7.1/ext/zip/lib/
H A Dzip_source_deflate.c101 uInt out_len; in compress_read() local
111 out_len = (uInt)ZIP_MIN(UINT_MAX, len); in compress_read()
113 ctx->zstr.avail_out = out_len; in compress_read()
132 out_offset += out_len; in compress_read()
134 out_len = (uInt)ZIP_MIN(UINT_MAX, len-out_offset); in compress_read()
136 ctx->zstr.avail_out = out_len; in compress_read()
201 uInt out_len; in decompress_read() local
210 out_len = (uInt)ZIP_MIN(UINT_MAX, len); in decompress_read()
212 ctx->zstr.avail_out = out_len; in decompress_read()
221 out_offset += out_len; in decompress_read()
[all …]
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_eol.c89 int in_len = *len, out_len, cursor, i; in phpdbg_eol_convert() local
96 out_len = *len; in phpdbg_eol_convert()
101 out_len++; in phpdbg_eol_convert()
104 out = (char *)emalloc(out_len); in phpdbg_eol_convert()
145 out = (char *)emalloc(out_len); in phpdbg_eol_convert()
/PHP-7.1/ext/standard/
H A Dpassword.c82 static int php_password_salt_to64(const char *str, const size_t str_len, const size_t out_len, char… in php_password_salt_to64() argument
90 if (ZSTR_LEN(buffer) < out_len) { in php_password_salt_to64()
95 for (pos = 0; pos < out_len; pos++) { in php_password_salt_to64()
H A Dfilters.c1887 size_t out_len = 0; in php_dechunk() local
1914 return out_len; in php_dechunk()
1922 return out_len; in php_dechunk()
1929 return out_len; in php_dechunk()
1941 return out_len; in php_dechunk()
1957 return out_len; in php_dechunk()
1966 return out_len; in php_dechunk()
1973 return out_len; in php_dechunk()
1993 out_len += end - p; in php_dechunk()
1994 return out_len; in php_dechunk()
[all …]
H A Dstring.c2244 size_t out_len; local
2253 out_len = chunks + 1;
2254 if (endlen !=0 && out_len > INT_MAX/endlen) {
2257 out_len *= endlen;
2258 if (out_len > INT_MAX - srclen - 1) {
2261 out_len += srclen + 1;
2263 dest = zend_string_alloc(out_len * sizeof(char), 0);
/PHP-7.1/ext/zlib/
H A Dzlib.c424 static int php_zlib_decode(const char *in_buf, size_t in_len, char **out_buf, size_t *out_len, int … in php_zlib_decode() argument
440 switch (status = php_zlib_inflate_rounds(&Z, max_len, out_buf, out_len)) { in php_zlib_decode()
458 *out_len = 0; in php_zlib_decode()
699 size_t out_len; \
708 if (SUCCESS != php_zlib_decode(in_buf, in_len, &out_buf, &out_len, encoding, max_len)) { \
711 RETVAL_STRINGL(out_buf, out_len); \
/PHP-7.1/main/
H A Doutput.c1254 size_t out_len = 0; in php_output_handler_compat_func() local
1256 func(output_context->in.data, output_context->in.used, &out_str, &out_len, output_context->op); in php_output_handler_compat_func()
1260 output_context->out.used = out_len; in php_output_handler_compat_func()
H A Dfastcgi.c936 unsigned int out_len = tmp > UINT_MAX ? UINT_MAX : (unsigned int)tmp; in safe_write() local
938 ret = write(req->fd, ((char*)buf)+n, out_len); in safe_write()
940 int out_len = tmp > INT_MAX ? INT_MAX : (int)tmp; in safe_write() local
942 ret = send(req->fd, ((char*)buf)+n, out_len, 0); in safe_write()
/PHP-7.1/ext/curl/
H A Dinterface.c3574 int out_len; in PHP_FUNCTION() local
3590 if ((out = curl_easy_unescape(ch->cp, str, str_len, &out_len))) { in PHP_FUNCTION()
3591 RETVAL_STRINGL(out, out_len); in PHP_FUNCTION()

Completed in 68 milliseconds