Home
last modified time | relevance | path

Searched refs:buf_len (Results 26 – 35 of 35) sorted by relevance

12

/PHP-7.4/ext/iconv/
H A Diconv.c2620 const char *ps, size_t buf_len, size_t *consumed, in php_iconv_stream_filter_append_bucket() argument
2634 initial_out_buf_size = buf_len; in php_iconv_stream_filter_append_bucket()
2635 icnt = buf_len; in php_iconv_stream_filter_append_bucket()
2796 *consumed += buf_len - icnt; in php_iconv_stream_filter_append_bucket()
/PHP-7.4/ext/soap/
H A Dphp_encoding.c2840 size_t buf_len=64, real_len; in to_xml_datetime_ex() local
2858 buf = (char *) emalloc(buf_len); in to_xml_datetime_ex()
2859 while ((real_len = strftime(buf, buf_len, format, ta)) == buf_len || real_len == 0) { in to_xml_datetime_ex()
2860 buf_len *= 2; in to_xml_datetime_ex()
2861 buf = (char *) erealloc(buf, buf_len); in to_xml_datetime_ex()
2883 if (real_len >= buf_len) { in to_xml_datetime_ex()
/PHP-7.4/ext/date/
H A Dphp_date.c1670 size_t buf_len = 256, real_len; in php_strftime() local
1729 buf = zend_string_alloc(buf_len, 0); in php_strftime()
1730 …while ((real_len = strftime(ZSTR_VAL(buf), buf_len, ZSTR_VAL(format), &ta)) == buf_len || real_len… in php_strftime()
1731 buf_len *= 2; in php_strftime()
1732 buf = zend_string_extend(buf, buf_len, 0); in php_strftime()
1750 if (real_len && real_len != buf_len) { in php_strftime()
/PHP-7.4/ext/phar/
H A Dphar.c1547 static inline char *phar_strnstr(const char *buf, int buf_len, const char *search, int search_len) … in phar_strnstr() argument
1552 if (buf_len < search_len) { in phar_strnstr()
1559 if (!(c = memchr(c + 1, search[0], buf_len - search_len - so_far))) { in phar_strnstr()
1565 if (so_far >= (buf_len - search_len)) { in phar_strnstr()
/PHP-7.4/ext/sodium/
H A Dlibsodium.c686 size_t buf_len = Z_STRLEN(*buf_zv); in PHP_FUNCTION() local
687 if (buf_len > 0) { in PHP_FUNCTION()
688 sodium_memzero(buf, (size_t) buf_len); in PHP_FUNCTION()
/PHP-7.4/ext/spl/
H A Dspl_directory.c2138 size_t buf_len = intern->u.file.current_line_len; in spl_filesystem_file_read_csv() local
2139 char *buf = estrndup(intern->u.file.current_line, buf_len); in spl_filesystem_file_read_csv()
2146 …php_fgetcsv(intern->u.file.stream, delimiter, enclosure, escape, buf_len, buf, &intern->u.file.cur… in spl_filesystem_file_read_csv()
/PHP-7.4/ext/mbstring/
H A Dmbstring.c5065 size_t buf_len; in php_mb_chr() local
5112 buf_len = 4; in php_mb_chr()
5113 buf = (char *) emalloc(buf_len + 1); in php_mb_chr()
5125 ret_str = php_mb_convert_encoding_ex(buf, buf_len, enc, &mbfl_encoding_ucs4be, &ret_len); in php_mb_chr()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_structs.h178 typedef int (*func_mysqlnd_local_infile__read)(void * ptr, zend_uchar * buf, unsigned int buf_len);
/PHP-7.4/ext/curl/
H A Dinterface.c1761 static int curl_debug(CURL *cp, curl_infotype type, char *buf, size_t buf_len, void *ctx) /* {{{ */ in curl_debug() argument
1769 ch->header.str = zend_string_init(buf, buf_len, 0); in curl_debug()
/PHP-7.4/ext/pgsql/
H A Dpgsql.c3531 size_t buf_len = PGSQL_LO_READ_BUF_SIZE; local
3545 buf_len = len < 0 ? 0 : len;
3548 buf = zend_string_alloc(buf_len, 0);

Completed in 104 milliseconds

12