/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf16.c | 706 bufsize -= 16; in mb_utf16be_to_wchar_avx2() 723 bufsize -= n_chars; in mb_utf16be_to_wchar_avx2() 739 bufsize--; in mb_utf16be_to_wchar_avx2() 753 bufsize--; in mb_utf16be_to_wchar_avx2() 775 bufsize--; in mb_utf16be_to_wchar_avx2() 784 if (len && bufsize >= 4) { in mb_utf16be_to_wchar_avx2() 899 bufsize -= 16; in mb_utf16le_to_wchar_avx2() 910 bufsize -= n_chars; in mb_utf16le_to_wchar_avx2() 925 bufsize--; in mb_utf16le_to_wchar_avx2() 939 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,… 241 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 244 return mb_ucs2be_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs2_to_wchar() 246 return mb_ucs2le_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs2_to_wchar() 258 return mb_ucs2le_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs2_to_wchar() 267 return mb_ucs2be_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs2_to_wchar() 270 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 273 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… 254 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 257 return mb_utf32be_to_wchar(in, in_len, buf, bufsize, NULL); in mb_utf32_to_wchar() 259 return mb_utf32le_to_wchar(in, in_len, buf, bufsize, NULL); in mb_utf32_to_wchar() 273 return mb_utf32le_to_wchar(in, in_len, buf, bufsize, NULL); in mb_utf32_to_wchar() 282 return mb_utf32be_to_wchar(in, in_len, buf, bufsize, NULL); in mb_utf32_to_wchar() 285 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 288 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,… 322 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 325 return mb_ucs4be_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs4_to_wchar() 327 return mb_ucs4le_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs4_to_wchar() 341 return mb_ucs4le_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs4_to_wchar() 350 return mb_ucs4be_to_wchar(in, in_len, buf, bufsize, NULL); in mb_ucs4_to_wchar() 353 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 356 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… 89 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 92 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… 102 …static size_t mb_##id##_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… 105 uint32_t *out = buf, *limit = buf + bufsize; \ 159 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 162 uint32_t *out = buf, *limit = buf + bufsize; in mb_ascii_to_wchar() 213 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 216 uint32_t *out = buf, *limit = buf + bufsize; in mb_8859_1_to_wchar() 529 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 532 uint32_t *out = buf, *limit = buf + bufsize; in mb_cp1252_to_wchar() 730 …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.c | 64 static size_t mb_utf8_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… 68 …ocomo_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, unsigned int *st… 70 …ddi_a_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, unsigned int *st… 72 …ddi_b_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, unsigned int *st… 74 static size_t mb_utf8_sb_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… 446 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 449 uint32_t *out = buf, *limit = buf + bufsize; in mb_utf8_to_wchar() 735 uint32_t *out = buf, *limit = buf + bufsize - 1; in mb_mobile_utf8_to_wchar() 910 …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() 1020 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,… 246 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 248 ZEND_ASSERT(bufsize >= 3); in mb_base64_to_wchar() 251 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… 170 …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 172 ZEND_ASSERT(bufsize >= 3); in mb_uuencode_to_wchar() 175 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,… 252 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 255 uint32_t *out = buf, *limit = buf + bufsize - 2; in mb_qprint_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… 343 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 346 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… 510 …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 512 …ZEND_ASSERT(bufsize >= 5); /* This function will infinite-loop if called with a tiny output buffer… in mb_utf7imap_to_wchar() 521 uint32_t *out = buf, *limit = buf + bufsize - 1; in mb_utf7imap_to_wchar()
|
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… 495 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 497 …ZEND_ASSERT(bufsize >= 5); /* This function will infinite-loop if called with a tiny output buffer… in mb_utf7_to_wchar() 507 uint32_t *out = buf, *limit = buf + bufsize; in mb_utf7_to_wchar()
|
H A D | mbfilter_cjk.c | 464 ZEND_ASSERT(bufsize >= 3); in mb_iso2022jp_to_wchar() 467 uint32_t *out = buf, *limit = buf + bufsize; in mb_iso2022jp_to_wchar() 3120 ZEND_ASSERT(bufsize >= 3); in mb_cp5022x_to_wchar() 3123 uint32_t *out = buf, *limit = buf + bufsize; in mb_cp5022x_to_wchar() 3816 uint32_t *out = buf, *limit = buf + bufsize; in mb_iso2022jpms_to_wchar() 4234 uint32_t *out = buf, *limit = buf + bufsize; in mb_iso2022kr_to_wchar() 4844 uint32_t *out = buf, *limit = buf + bufsize; in mb_sjis_to_wchar() 5491 ZEND_ASSERT(bufsize >= 5); in mb_sjismac_to_wchar() 5494 uint32_t *out = buf, *limit = buf + bufsize; in mb_sjismac_to_wchar() 7545 uint32_t *out = buf, *limit = buf + bufsize; in mb_cp932_to_wchar() [all …]
|
/php-src/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… 97 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 100 uint32_t *out = buf, *limit = buf + bufsize; in mb_8bit_to_wchar()
|
/php-src/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-src/ext/standard/ |
H A D | info.c | 604 static void php_get_windows_cpu(char *buf, size_t bufsize) in php_get_windows_cpu() argument 610 snprintf(buf, bufsize, "i%d", SysInfo.dwProcessorType); in php_get_windows_cpu() 613 snprintf(buf, bufsize, "MIPS R%d000", SysInfo.wProcessorLevel); in php_get_windows_cpu() 616 snprintf(buf, bufsize, "Alpha %d", SysInfo.wProcessorLevel); in php_get_windows_cpu() 619 snprintf(buf, bufsize, "PPC 6%02d", SysInfo.wProcessorLevel); in php_get_windows_cpu() 622 snprintf(buf, bufsize, "IA64"); in php_get_windows_cpu() 626 snprintf(buf, bufsize, "IA32"); in php_get_windows_cpu() 631 snprintf(buf, bufsize, "AMD64"); in php_get_windows_cpu() 636 snprintf(buf, bufsize, "ARM64"); in php_get_windows_cpu() 641 snprintf(buf, bufsize, "Unknown"); in php_get_windows_cpu()
|
/php-src/main/ |
H A D | network.c | 1011 PHPAPI char *php_socket_strerror(long err, char *buf, size_t bufsize) argument 1020 strncpy(buf, errstr, bufsize); 1021 buf[bufsize?(bufsize-1):0] = 0; 1033 strncpy(buf, sysbuf, bufsize); 1034 buf[bufsize?(bufsize-1):0] = 0;
|
H A D | rfc1867.c | 191 int bufsize; member 225 bytes_to_read = self->bufsize - self->bytes_in_buffer; in fill_buffer() 263 self->bufsize = minsize; in multipart_buffer_new() 317 if (self->bytes_in_buffer < self->bufsize) { in next_line() 321 line[self->bufsize] = 0; in next_line()
|
H A D | php_network.h | 67 PHPAPI char *php_socket_strerror(long err, char *buf, size_t bufsize);
|
/php-src/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-src/docs-old/ |
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
|