/PHP-8.3/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf16.c | 700 bufsize -= 16; in mb_utf16be_to_wchar_avx2() 717 bufsize -= n_chars; in mb_utf16be_to_wchar_avx2() 733 bufsize--; in mb_utf16be_to_wchar_avx2() 747 bufsize--; in mb_utf16be_to_wchar_avx2() 769 bufsize--; in mb_utf16be_to_wchar_avx2() 778 if (len && bufsize >= 4) { in mb_utf16be_to_wchar_avx2() 893 bufsize -= 16; in mb_utf16le_to_wchar_avx2() 904 bufsize -= n_chars; in mb_utf16le_to_wchar_avx2() 919 bufsize--; in mb_utf16le_to_wchar_avx2() 933 bufsize--; in mb_utf16le_to_wchar_avx2() [all …]
|
H A D | mbfilter_ucs2.c | 34 static size_t mb_ucs2_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… 35 static size_t mb_ucs2be_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… 37 static size_t mb_ucs2le_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… 238 static size_t mb_ucs2_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… in mb_ucs2_to_wchar() argument 241 return mb_ucs2be_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs2_to_wchar() 243 return mb_ucs2le_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs2_to_wchar() 255 return mb_ucs2le_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs2_to_wchar() 264 return mb_ucs2be_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs2_to_wchar() 267 static size_t mb_ucs2be_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… in mb_ucs2be_to_wchar() argument 270 uint32_t *out = buf, *limit = buf + bufsize; in mb_ucs2be_to_wchar() [all …]
|
H A D | mbfilter_utf32.c | 34 static size_t mb_utf32_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, … 35 static size_t mb_utf32be_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… 37 static size_t mb_utf32le_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… 251 static size_t mb_utf32_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, … in mb_utf32_to_wchar() argument 254 return mb_utf32be_to_wchar(in, in_len, buf, bufsize, NULL); in mb_utf32_to_wchar() 256 return mb_utf32le_to_wchar(in, in_len, buf, bufsize, NULL); in mb_utf32_to_wchar() 270 return mb_utf32le_to_wchar(in, in_len, buf, bufsize, NULL); in mb_utf32_to_wchar() 279 return mb_utf32be_to_wchar(in, in_len, buf, bufsize, NULL); in mb_utf32_to_wchar() 282 static size_t mb_utf32be_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… in mb_utf32be_to_wchar() argument 285 uint32_t *out = buf, *limit = buf + bufsize; in mb_utf32be_to_wchar() [all …]
|
H A D | mbfilter_ucs4.c | 33 static size_t mb_ucs4_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… 34 static size_t mb_ucs4be_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… 36 static size_t mb_ucs4le_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… 319 static size_t mb_ucs4_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… in mb_ucs4_to_wchar() argument 322 return mb_ucs4be_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs4_to_wchar() 324 return mb_ucs4le_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs4_to_wchar() 338 return mb_ucs4le_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs4_to_wchar() 347 return mb_ucs4be_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs4_to_wchar() 350 static size_t mb_ucs4be_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… in mb_ucs4be_to_wchar() argument 353 uint32_t *out = buf, *limit = buf + bufsize; in mb_ucs4be_to_wchar() [all …]
|
H A D | mbfilter_7bit.c | 34 static size_t mb_7bit_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… 88 static size_t mb_7bit_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… in mb_7bit_to_wchar() argument 91 uint32_t *out = buf, *limit = buf + bufsize; in mb_7bit_to_wchar()
|
H A D | mbfilter_singlebyte.c | 59 …static size_t mb_##id##_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… 101 …static size_t mb_##id##_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… 104 uint32_t *out = buf, *limit = buf + bufsize; \ 158 static size_t mb_ascii_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, … in mb_ascii_to_wchar() argument 161 uint32_t *out = buf, *limit = buf + bufsize; in mb_ascii_to_wchar() 212 static size_t mb_8859_1_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… in mb_8859_1_to_wchar() argument 215 uint32_t *out = buf, *limit = buf + bufsize; in mb_8859_1_to_wchar() 528 static size_t mb_cp1252_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… in mb_cp1252_to_wchar() argument 531 uint32_t *out = buf, *limit = buf + bufsize; in mb_cp1252_to_wchar() 729 …scii8_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, unsigned int *st… in mb_armscii8_to_wchar() argument [all …]
|
H A D | mbfilter_utf8_mobile.c | 41 …ocomo_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, unsigned int *st… 43 …ddi_a_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, unsigned int *st… 45 …ddi_b_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, unsigned int *st… 47 static size_t mb_utf8_sb_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… 407 uint32_t *out = buf, *limit = buf + bufsize - 1; in mb_mobile_utf8_to_wchar() 503 …ocomo_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, unsigned int *st… in mb_utf8_docomo_to_wchar() argument 505 …return mb_mobile_utf8_to_wchar(in, in_len, buf, bufsize, state, mbfl_docomo2uni_pua, mbfilter_sjis… in mb_utf8_docomo_to_wchar() 582 …return mb_mobile_utf8_to_wchar(in, in_len, buf, bufsize, state, mbfl_kddi2uni_pua, mbfilter_sjis_e… in mb_utf8_kddi_a_to_wchar() 684 …return mb_mobile_utf8_to_wchar(in, in_len, buf, bufsize, state, mbfl_kddi2uni_pua_b, mbfilter_sjis… in mb_utf8_kddi_b_to_wchar() 692 static size_t mb_utf8_sb_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… in mb_utf8_sb_to_wchar() argument [all …]
|
H A D | mbfilter_base64.c | 34 static size_t mb_base64_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… 245 static size_t mb_base64_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… in mb_base64_to_wchar() argument 247 ZEND_ASSERT(bufsize >= 3); in mb_base64_to_wchar() 250 uint32_t *out = buf, *limit = buf + bufsize; in mb_base64_to_wchar()
|
H A D | mbfilter_uuencode.c | 33 …ncode_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, unsigned int *st… 169 …ncode_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, unsigned int *st… in mb_uuencode_to_wchar() argument 171 ZEND_ASSERT(bufsize >= 3); in mb_uuencode_to_wchar() 174 uint32_t *out = buf, *limit = buf + bufsize; in mb_uuencode_to_wchar()
|
H A D | mbfilter_qprint.c | 33 static size_t mb_qprint_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… 251 static size_t mb_qprint_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… in mb_qprint_to_wchar() argument 254 uint32_t *out = buf, *limit = buf + bufsize - 2; in mb_qprint_to_wchar()
|
H A D | mbfilter_utf8.c | 52 static size_t mb_utf8_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… 219 static size_t mb_utf8_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… in mb_utf8_to_wchar() argument 222 uint32_t *out = buf, *limit = buf + bufsize; in mb_utf8_to_wchar()
|
H A D | mbfilter_htmlent.c | 35 static size_t mb_htmlent_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… 342 static size_t mb_htmlent_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… in mb_htmlent_to_wchar() argument 345 uint32_t *out = buf, *limit = buf + bufsize; in mb_htmlent_to_wchar()
|
H A D | mbfilter_utf7imap.c | 84 …7imap_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, unsigned int *st… 509 …7imap_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, unsigned int *st… in mb_utf7imap_to_wchar() argument 511 …ZEND_ASSERT(bufsize >= 5); /* This function will infinite-loop if called with a tiny output buffer… in mb_utf7imap_to_wchar() 520 uint32_t *out = buf, *limit = buf + bufsize - 1; in mb_utf7imap_to_wchar()
|
H A D | mbfilter_cjk.c | 447 ZEND_ASSERT(bufsize >= 3); in mb_iso2022jp_to_wchar() 450 uint32_t *out = buf, *limit = buf + bufsize; in mb_iso2022jp_to_wchar() 3103 ZEND_ASSERT(bufsize >= 3); in mb_cp5022x_to_wchar() 3106 uint32_t *out = buf, *limit = buf + bufsize; in mb_cp5022x_to_wchar() 3799 uint32_t *out = buf, *limit = buf + bufsize; in mb_iso2022jpms_to_wchar() 4217 uint32_t *out = buf, *limit = buf + bufsize; in mb_iso2022kr_to_wchar() 4818 uint32_t *out = buf, *limit = buf + bufsize; in mb_sjis_to_wchar() 5465 ZEND_ASSERT(bufsize >= 5); in mb_sjismac_to_wchar() 5468 uint32_t *out = buf, *limit = buf + bufsize; in mb_sjismac_to_wchar() 7519 uint32_t *out = buf, *limit = buf + bufsize; in mb_cp932_to_wchar() [all …]
|
H A D | mbfilter_utf7.c | 35 static size_t mb_utf7_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… 494 static size_t mb_utf7_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… in mb_utf7_to_wchar() argument 496 …ZEND_ASSERT(bufsize >= 5); /* This function will infinite-loop if called with a tiny output buffer… in mb_utf7_to_wchar() 506 uint32_t *out = buf, *limit = buf + bufsize; in mb_utf7_to_wchar()
|
/PHP-8.3/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfilter_8bit.c | 39 static size_t mb_8bit_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… 96 static size_t mb_8bit_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… in mb_8bit_to_wchar() argument 99 uint32_t *out = buf, *limit = buf + bufsize; in mb_8bit_to_wchar()
|
/PHP-8.3/ext/mysqlnd/ |
H A D | mysqlnd_loaddata.c | 147 int bufsize; in mysqlnd_handle_local_infile() local 223 …while ((bufsize = infile.local_infile_read (info, buf + MYSQLND_HEADER_SIZE, buflen - MYSQLND_HEAD… in mysqlnd_handle_local_infile() 224 if ((ret = net->data->m.send(net, vio, buf, bufsize, conn->stats, conn->error_info)) == 0) { in mysqlnd_handle_local_infile() 238 if (bufsize < 0) { in mysqlnd_handle_local_infile()
|
/PHP-8.3/ext/standard/ |
H A D | info.c | 621 void php_get_windows_cpu(char *buf, int bufsize) in php_get_windows_cpu() argument 627 snprintf(buf, bufsize, "i%d", SysInfo.dwProcessorType); in php_get_windows_cpu() 630 snprintf(buf, bufsize, "MIPS R%d000", SysInfo.wProcessorLevel); in php_get_windows_cpu() 633 snprintf(buf, bufsize, "Alpha %d", SysInfo.wProcessorLevel); in php_get_windows_cpu() 636 snprintf(buf, bufsize, "PPC 6%02d", SysInfo.wProcessorLevel); in php_get_windows_cpu() 639 snprintf(buf, bufsize, "IA64"); in php_get_windows_cpu() 643 snprintf(buf, bufsize, "IA32"); in php_get_windows_cpu() 648 snprintf(buf, bufsize, "AMD64"); in php_get_windows_cpu() 653 snprintf(buf, bufsize, "ARM64"); in php_get_windows_cpu() 658 snprintf(buf, bufsize, "Unknown"); in php_get_windows_cpu()
|
/PHP-8.3/main/ |
H A D | network.c | 1027 PHPAPI char *php_socket_strerror(long err, char *buf, size_t bufsize) argument 1036 strncpy(buf, errstr, bufsize); 1037 buf[bufsize?(bufsize-1):0] = 0; 1049 strncpy(buf, sysbuf, bufsize); 1050 buf[bufsize?(bufsize-1):0] = 0;
|
H A D | rfc1867.c | 190 int bufsize; member 224 bytes_to_read = self->bufsize - self->bytes_in_buffer; in fill_buffer() 262 self->bufsize = minsize; in multipart_buffer_new() 316 if (self->bytes_in_buffer < self->bufsize) { in next_line() 320 line[self->bufsize] = 0; in next_line()
|
H A D | php_network.h | 69 PHPAPI char *php_socket_strerror(long err, char *buf, size_t bufsize);
|
/PHP-8.3/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 1640 int bufsize = 0; in fpm_conf_load_ini_file() local 1670 if (n == bufsize) { in fpm_conf_load_ini_file() 1671 bufsize += 1024; in fpm_conf_load_ini_file() 1672 newbuf = (char*) realloc(buf, sizeof(char) * (bufsize + 2)); in fpm_conf_load_ini_file()
|
/PHP-8.3/docs/ |
H A D | streams.md | 291 size_t bufsize, int persistent, const char * mode) 297 * `bufsize` is the size of the buffer to use - if 0, then buffering at the
|