/PHP-8.1/win32/ |
H A D | codepage.h | 63 PW32CP wchar_t *php_win32_cp_conv_utf8_to_w(const char* in, size_t in_len, size_t *out_len); 65 PW32CP wchar_t *php_win32_cp_conv_cur_to_w(const char* in, size_t in_len, size_t *out_len); 67 PW32CP wchar_t *php_win32_cp_conv_ascii_to_w(const char* in, size_t in_len, size_t *out_len); 70 PW32CP char *php_win32_cp_conv_w_to_utf8(const wchar_t* in, size_t in_len, size_t *out_len); 72 PW32CP char *php_win32_cp_conv_w_to_cur(const wchar_t* in, size_t in_len, size_t *out_len); 79 __forceinline static wchar_t *php_win32_cp_conv_any_to_w(const char* in, size_t in_len, size_t *out… in php_win32_cp_conv_any_to_w() argument 89 ret = php_win32_cp_conv_ascii_to_w(in, in_len, out_len); in php_win32_cp_conv_any_to_w() 93 ret = php_win32_cp_conv_utf8_to_w(in, in_len, out_len); in php_win32_cp_conv_any_to_w() 104 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() 110 ret = php_win32_cp_conv_cur_to_w(in, in_len, out_len); in php_win32_cp_conv_any_to_w() [all …]
|
H A D | codepage.c | 43 assert(in_len ? (in[in_len] == L'\0') : 1); in php_win32_cp_to_w_int() 45 tmp_len = !in_len ? -1 : (int)in_len + 1; in php_win32_cp_to_w_int() 112 assert(in && in_len ? in[in_len] == '\0' : 1); in php_win32_cp_conv_ascii_to_w() 119 in_len = strlen(in); in php_win32_cp_conv_ascii_to_w() 122 end = in + in_len; in php_win32_cp_conv_ascii_to_w() 124 if (in_len > 15) { in php_win32_cp_conv_ascii_to_w() 166 if (in_len > 15) { in php_win32_cp_conv_ascii_to_w() 198 ret[in_len] = L'\0'; in php_win32_cp_conv_ascii_to_w() 203 *out_len = in_len; in php_win32_cp_conv_ascii_to_w() 220 assert(in_len ? in[in_len] == '\0' : 1); in php_win32_cp_from_w_int() [all …]
|
H A D | ioutil.h | 180 __forceinline static wchar_t *php_win32_ioutil_conv_any_to_w(const char* in, size_t in_len, size_t … in php_win32_ioutil_conv_any_to_w() argument 185 mb = php_win32_cp_conv_any_to_w(in, in_len, &mb_len); in php_win32_ioutil_conv_any_to_w()
|
/PHP-8.1/ext/zlib/ |
H A D | php_zlib.h | 34 #define PHP_ZLIB_BUFFER_SIZE_GUESS(in_len) (((size_t) ((double) in_len * (double) 1.015)) + 10 + 8 … argument
|
H A D | zlib.c | 401 Z.avail_in = in_len; in php_zlib_encode() 481 if (in_len) { in php_zlib_decode() 528 size_t in_len; in PHP_FUNCTION() local 567 ctx.in.used = in_len; in PHP_FUNCTION() 741 size_t in_len; \ 978 if (in_len <= 0 && flush_type != Z_FINISH) { in PHP_FUNCTION() 982 out = zend_string_alloc((in_len > CHUNK_SIZE) ? in_len : CHUNK_SIZE, 0); in PHP_FUNCTION() 985 ctx->Z.avail_in = in_len; in PHP_FUNCTION() 1182 size_t in_len, out_size, buffer_used; in PHP_FUNCTION() local 1212 if (in_len <= 0 && flush_type != Z_FINISH) { in PHP_FUNCTION() [all …]
|
/PHP-8.1/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_jis.c | 37 static bool mb_check_iso2022jp(unsigned char *in, size_t in_len); 38 static bool mb_check_jis(unsigned char *in, size_t in_len); 478 static bool mb_check_jis(unsigned char *in, size_t in_len) in mb_check_jis() argument 480 unsigned char *p = in, *e = p + in_len; in mb_check_jis() 575 static bool mb_check_iso2022jp(unsigned char *in, size_t in_len) in mb_check_iso2022jp() argument 577 unsigned char *p = in, *e = p + in_len; in mb_check_iso2022jp()
|
H A D | mbfilter_utf7imap.c | 84 static bool mb_check_utf7imap(unsigned char *in, size_t in_len); 475 static bool mb_check_utf7imap(unsigned char *in, size_t in_len) in mb_check_utf7imap() argument 477 unsigned char *p = in, *e = p + in_len; in mb_check_utf7imap()
|
H A D | mbfilter_utf7.c | 35 static bool mb_check_utf7(unsigned char *in, size_t in_len); 481 static bool mb_check_utf7(unsigned char *in, size_t in_len) in mb_check_utf7() argument 483 unsigned char *p = in, *e = p + in_len; in mb_check_utf7()
|
/PHP-8.1/ext/hash/ |
H A D | php_hash.h | 161 static inline void php_hash_bin2hex(char *out, const unsigned char *in, size_t in_len) in php_hash_bin2hex() argument 166 for(i = 0; i < in_len; i++) { in php_hash_bin2hex()
|
/PHP-8.1/ext/iconv/ |
H A D | php_iconv.h | 95 PHP_ICONV_API php_iconv_err_t php_iconv_string(const char * in_p, size_t in_len, zend_string **out,…
|
H A D | iconv.c | 438 PHP_ICONV_API php_iconv_err_t php_iconv_string(const char *in_p, size_t in_len, zend_string **out, … in php_iconv_string() argument 459 in_left= in_len; in php_iconv_string() 460 out_left = in_len + 32; /* Avoid realloc() most cases */ in php_iconv_string() 483 bsz += in_len; in php_iconv_string()
|
/PHP-8.1/main/ |
H A D | fastcgi.c | 218 int in_len; member 970 ret = read(req->fd, ((char*)buf)+n, in_len); 972 int in_len = tmp > INT_MAX ? INT_MAX : (int)tmp; local 974 ret = recv(req->fd, ((char*)buf)+n, in_len, 0); 1051 req->in_len = 0; 1222 if (req->in_len == 0) { 1231 if (req->in_len == 0) { 1236 if (req->in_len >= rest) { 1239 ret = (int)safe_read(req, str, req->in_len); 1245 req->in_len -= ret; [all …]
|
/PHP-8.1/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_encoding.h | 136 typedef bool (*mb_check_fn)(unsigned char *in, size_t in_len);
|