/PHP-8.3/ext/intl/grapheme/ |
H A D | grapheme_util.h | 40 …NG(offset, max_len) ( offset <= INT32_MIN || offset > INT32_MAX || (offset < 0 ? -offset > (zend_l… argument
|
/PHP-8.3/ext/mysqli/tests/ |
H A D | mysqli_insert_packet_overflow.phpt | 12 $max_len = pow(2, 24); 40 $max_len = pow(2, 24); 41 if ($org_max_allowed_packet < $max_len) { 42 if (!mysqli_query($link, "SET GLOBAL max_allowed_packet = " . ($max_len + 100))) { 70 $max_len = pow(2, 24); 71 if ($max_allowed_packet < $max_len) { 89 $blob = str_repeat('a', $max_len - $com_query_len - $query_len);
|
/PHP-8.3/Zend/ |
H A D | zend.h | 287 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap); 288 ZEND_API size_t zend_spprintf(char **message, size_t max_len, const char *format, ...) ZEND_ATTRIBU… 289 ZEND_API zend_string *zend_vstrpprintf(size_t max_len, const char *format, va_list ap); 290 ZEND_API zend_string *zend_strpprintf(size_t max_len, const char *format, ...) ZEND_ATTRIBUTE_FORMA… 294 ZEND_API size_t zend_spprintf_unchecked(char **message, size_t max_len, const char *format, ...); 295 ZEND_API zend_string *zend_strpprintf_unchecked(size_t max_len, const char *format, ...);
|
H A D | zend.c | 286 if (max_len && buf.len > max_len) { in ZEND_INI_END() 287 buf.len = max_len; in ZEND_INI_END() 302 ZEND_API size_t zend_spprintf(char **message, size_t max_len, const char *format, ...) /* {{{ */ in zend_spprintf() argument 308 len = zend_vspprintf(message, max_len, format, arg); in zend_spprintf() 320 len = zend_vspprintf(message, max_len, format, arg); in zend_spprintf_unchecked() 326 ZEND_API zend_string *zend_vstrpprintf(size_t max_len, const char *format, va_list ap) /* {{{ */ in zend_vstrpprintf() argument 336 if (max_len && ZSTR_LEN(buf.s) > max_len) { in zend_vstrpprintf() 337 ZSTR_LEN(buf.s) = max_len; in zend_vstrpprintf() 344 ZEND_API zend_string *zend_strpprintf(size_t max_len, const char *format, ...) /* {{{ */ in zend_strpprintf() argument 350 str = zend_vstrpprintf(max_len, format, arg); in zend_strpprintf() [all …]
|
/PHP-8.3/sapi/litespeed/ |
H A D | lscriu.c | 312 static char *LSCRIU_Error_File_Name(char *pchFile, int max_len) in LSCRIU_Error_File_Name() argument 316 snprintf(pchFile, max_len, "%s%s", pchDefaultSocketPath, in LSCRIU_Error_File_Name()
|
H A D | lsapilib.c | 3895 static int lsapi_check_path(const char *p, char *final, int max_len) in lsapi_check_path() argument 3902 if (getcwd(final, max_len) == NULL) in lsapi_check_path()
|
/PHP-8.3/ext/zlib/ |
H A D | zlib.c | 470 …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 486 switch (status = php_zlib_inflate_rounds(&Z, max_len, out_buf, out_len)) { in php_zlib_decode() 741 zend_long max_len = 0; \ 742 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &in_buf, &in_len, &max_len)) { \ 745 if (max_len < 0) { \ 749 if (SUCCESS != php_zlib_decode(in_buf, in_len, &out_buf, &out_len, encoding, max_len)) { \
|
/PHP-8.3/ext/odbc/ |
H A D | php_odbc.c | 1081 SQLUSMALLINT max_len; in PHP_FUNCTION() local 1095 …rc = SQLGetInfo(result->conn_ptr->hdbc,SQL_MAX_CURSOR_NAME_LEN, (void *)&max_len,sizeof(max_len),&… in PHP_FUNCTION() 1100 if (max_len > 0) { in PHP_FUNCTION() 1101 cursorname = emalloc(max_len + 1); in PHP_FUNCTION() 1102 rc = SQLGetCursorName(result->stmt, (SQLCHAR *) cursorname, (SQLSMALLINT)max_len, &len); in PHP_FUNCTION() 1113 snprintf(cursorname, max_len+1, "php_curs_" ZEND_ULONG_FMT, (zend_ulong)result->stmt); in PHP_FUNCTION()
|
/PHP-8.3/ext/spl/ |
H A D | spl_directory.c | 2264 zend_long max_len; in PHP_METHOD() local 2268 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &max_len) == FAILURE) { in PHP_METHOD() 2272 if (max_len < 0) { in PHP_METHOD() 2277 intern->u.file.max_line_len = max_len; in PHP_METHOD()
|
/PHP-8.3/ext/ldap/ |
H A D | ldap.c | 2514 static size_t _ldap_strlen_max(const char *str, size_t max_len) in _ldap_strlen_max() argument 2518 for (i = 0; i < max_len; ++i) { in _ldap_strlen_max() 2524 return max_len; in _ldap_strlen_max()
|