/PHP-7.3/ext/intl/grapheme/ |
H A D | grapheme_util.h | 42 …NG(offset, max_len) ( offset <= INT32_MIN || offset > INT32_MAX || (offset < 0 ? -offset > (zend_l… argument
|
/PHP-7.3/ext/mysqli/tests/ |
H A D | mysqli_insert_packet_overflow.phpt | 11 $max_len = pow(2, 24); 39 $max_len = pow(2, 24); 40 if ($org_max_allowed_packet < $max_len) { 41 if (!mysqli_query($link, "SET GLOBAL max_allowed_packet = " . ($max_len + 100))) { 69 $max_len = pow(2, 24); 70 if ($max_allowed_packet < $max_len) { 83 $blob = str_repeat('a', $max_len - $com_query_len - $query_len);
|
/PHP-7.3/ext/interbase/tests/ |
H A D | interbase.inc | 78 function rand_binstr($max_len) 80 $len = rand() % $max_len; 88 function rand_str($max_len) 90 $len = rand() % $max_len;
|
/PHP-7.3/ext/spl/internal/ |
H A D | splfileobject.inc | 27 private $max_len = 0; 67 $buf = fgets($this->fp, $this->max_len); 91 return fgetcsv($this->fp, $this->max_len, $delimiter, $enclosure); 232 * @param $max_len set the maximum line length read 234 function setMaxLineLen($max_len) 236 $this->max_len = $max_len; 244 return $this->max_len; 327 $this->line = fgets($this->fp, $this->max_len);
|
/PHP-7.3/Zend/ |
H A D | zend.h | 228 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap); 229 ZEND_API size_t zend_spprintf(char **message, size_t max_len, const char *format, ...) ZEND_ATTRIBU… 230 ZEND_API zend_string *zend_vstrpprintf(size_t max_len, const char *format, va_list ap); 231 ZEND_API zend_string *zend_strpprintf(size_t max_len, const char *format, ...) ZEND_ATTRIBUTE_FORMA… 235 ZEND_API size_t zend_spprintf_unchecked(char **message, size_t max_len, const char *format, ...); 236 ZEND_API zend_string *zend_strpprintf_unchecked(size_t max_len, const char *format, ...);
|
H A D | zend.c | 186 if (max_len && buf.len > max_len) { in ZEND_INI_END() 187 buf.len = max_len; in ZEND_INI_END() 202 ZEND_API size_t zend_spprintf(char **message, size_t max_len, const char *format, ...) /* {{{ */ in zend_spprintf() argument 208 len = zend_vspprintf(message, max_len, format, arg); in zend_spprintf() 220 len = zend_vspprintf(message, max_len, format, arg); in zend_spprintf_unchecked() 226 ZEND_API zend_string *zend_vstrpprintf(size_t max_len, const char *format, va_list ap) /* {{{ */ in zend_vstrpprintf() argument 236 if (max_len && ZSTR_LEN(buf.s) > max_len) { in zend_vstrpprintf() 237 ZSTR_LEN(buf.s) = max_len; in zend_vstrpprintf() 245 ZEND_API zend_string *zend_strpprintf(size_t max_len, const char *format, ...) /* {{{ */ in zend_strpprintf() argument 251 str = zend_vstrpprintf(max_len, format, arg); in zend_strpprintf() [all …]
|
/PHP-7.3/ext/interbase/ |
H A D | ibase_blobs.c | 109 int _php_ibase_blob_get(zval *return_value, ibase_blob *ib_blob, zend_ulong max_len) /* {{{ */ in _php_ibase_blob_get() argument 118 bl_data = zend_string_safe_alloc(1, max_len, 0, 0); in _php_ibase_blob_get() 120 …for (cur_len = stat = 0; (stat == 0 || stat == isc_segment) && cur_len < max_len; cur_len += seg_l… in _php_ibase_blob_get() 122 unsigned short chunk_size = (max_len-cur_len) > USHRT_MAX ? USHRT_MAX in _php_ibase_blob_get() 123 : (unsigned short)(max_len-cur_len); in _php_ibase_blob_get()
|
H A D | php_ibase_includes.h | 179 int _php_ibase_blob_get(zval *return_value, ibase_blob *ib_blob, zend_ulong max_len);
|
H A D | ibase_query.c | 1545 zend_ulong max_len = 0; in _php_ibase_fetch_hash() local 1581 max_len = isc_vax_integer(&bl_info[i+2], item_len); in _php_ibase_fetch_hash() 1587 if (max_len == 0) { in _php_ibase_fetch_hash() 1590 max_len)) { in _php_ibase_fetch_hash()
|
/PHP-7.3/ext/mysqlnd/ |
H A D | mysqlnd_alloc.h | 45 int (*m_sprintf)(char **pbuf, size_t max_len, const char *format, ...); 46 int (*m_vsprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
|
H A D | mysqlnd_alloc.c | 661 static int _mysqlnd_sprintf(char ** pbuf, size_t max_len, const char *format, ...) in _mysqlnd_sprintf() argument 666 len = vspprintf(pbuf, max_len, format, ap); in _mysqlnd_sprintf() 673 static int _mysqlnd_vsprintf(char ** pbuf, size_t max_len, const char * format, va_list ap) in _mysqlnd_vsprintf() argument 675 return vspprintf(pbuf, max_len, format, ap); in _mysqlnd_vsprintf()
|
/PHP-7.3/ext/zlib/ |
H A D | zlib.c | 422 …e(const char *in_buf, size_t in_len, char **out_buf, size_t *out_len, int encoding, size_t max_len) in php_zlib_decode() argument 438 switch (status = php_zlib_inflate_rounds(&Z, max_len, out_buf, out_len)) { in php_zlib_decode() 698 zend_long max_len = 0; \ 699 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &in_buf, &in_len, &max_len)) { \ 702 if (max_len < 0) { \ 703 …ror_docref(NULL, E_WARNING, "length (" ZEND_LONG_FMT ") must be greater or equal zero", max_len); \ 706 if (SUCCESS != php_zlib_decode(in_buf, in_len, &out_buf, &out_len, encoding, max_len)) { \
|
/PHP-7.3/sapi/litespeed/ |
H A D | lscriu.c | 321 static char *LSCRIU_Error_File_Name(char *pchFile, int max_len) in LSCRIU_Error_File_Name() argument 325 snprintf(pchFile, max_len, "%s%s", pchDefaultSocketPath, in LSCRIU_Error_File_Name()
|
H A D | lsapilib.c | 3851 static int lsapi_check_path(const char *p, char *final, int max_len) in lsapi_check_path() argument 3858 if (getcwd(final, max_len) == NULL) in lsapi_check_path()
|
/PHP-7.3/main/streams/ |
H A D | streams.c | 1405 size_t len = 0, max_len; in _php_stream_copy_to_mem() local 1452 max_len = ssbuf.sb.st_size + step; in _php_stream_copy_to_mem() 1454 max_len = step; in _php_stream_copy_to_mem() 1457 result = zend_string_alloc(max_len, persistent); in _php_stream_copy_to_mem() 1460 while ((ret = php_stream_read(src, ptr, max_len - len))) { in _php_stream_copy_to_mem() 1462 if (len + min_room >= max_len) { in _php_stream_copy_to_mem() 1463 result = zend_string_extend(result, max_len + step, persistent); in _php_stream_copy_to_mem() 1464 max_len += step; in _php_stream_copy_to_mem()
|
/PHP-7.3/ext/mbstring/oniguruma/src/ |
H A D | regparse.h | 141 OnigLen max_len; /* max length (byte) */ member
|
H A D | regcomp.c | 3203 len = en->max_len; in tree_max_len() 3212 en->max_len = len; in tree_max_len() 4343 int r, n, one_len, min_len, max_len, in_look_behind; in unravel_case_fold_string() local 4384 get_min_max_byte_len_case_fold_items(n, items, &min_len, &max_len); in unravel_case_fold_string() 4385 q = p + max_len; in unravel_case_fold_string() 4386 if (one_len == max_len && min_len == max_len) { in unravel_case_fold_string() 4387 r = unravel_cf_string_alt_or_cc_add(&list, n, items, max_len, enc, in unravel_case_fold_string() 6197 if (NODE_IS_MAX_FIXED(node)) max = en->max_len; in optimize_nodes()
|
/PHP-7.3/ext/odbc/ |
H A D | php_odbc.c | 1514 SQLUSMALLINT max_len; in PHP_FUNCTION() local 1528 …rc = SQLGetInfo(result->conn_ptr->hdbc,SQL_MAX_CURSOR_NAME_LEN, (void *)&max_len,sizeof(max_len),&… in PHP_FUNCTION() 1533 if (max_len > 0) { in PHP_FUNCTION() 1534 cursorname = emalloc(max_len + 1); in PHP_FUNCTION() 1535 rc = SQLGetCursorName(result->stmt,cursorname,(SQLSMALLINT)max_len,&len); in PHP_FUNCTION() 1546 snprintf(cursorname, max_len+1, "php_curs_" ZEND_ULONG_FMT, (zend_ulong)result->stmt); in PHP_FUNCTION()
|
/PHP-7.3/ext/openssl/ |
H A D | xp_ssl.c | 964 static char *php_openssl_cipher_get_version(const SSL_CIPHER *c, char *buffer, size_t max_len) /* {… in php_openssl_cipher_get_version() argument 968 strncpy(buffer, version, max_len); in php_openssl_cipher_get_version() 969 if (max_len <= strlen(version)) { in php_openssl_cipher_get_version() 970 buffer[max_len - 1] = 0; in php_openssl_cipher_get_version()
|
/PHP-7.3/ext/spl/ |
H A D | spl_directory.c | 2513 zend_long max_len; in SPL_METHOD() local 2517 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &max_len) == FAILURE) { in SPL_METHOD() 2521 if (max_len < 0) { in SPL_METHOD() 2526 intern->u.file.max_line_len = max_len; in SPL_METHOD() 3005 ZEND_ARG_INFO(0, max_len)
|
/PHP-7.3/ext/ldap/ |
H A D | ldap.c | 2568 static size_t _ldap_strlen_max(const char *str, size_t max_len) in _ldap_strlen_max() argument 2572 for (i = 0; i < max_len; ++i) { in _ldap_strlen_max() 2578 return max_len; in _ldap_strlen_max()
|