Home
last modified time | relevance | path

Searched refs:max_len (Results 1 – 9 of 9) sorted by relevance

/php-src/ext/intl/grapheme/
H A Dgrapheme_util.h40 …NG(offset, max_len) ( offset <= INT32_MIN || offset > INT32_MAX || (offset < 0 ? -offset > (zend_l… argument
/php-src/ext/mysqli/tests/
H A Dmysqli_insert_packet_overflow.phpt28 $max_len = pow(2, 24);
29 if ($org_max_allowed_packet < $max_len) {
30 if (!mysqli_query($link, "SET GLOBAL max_allowed_packet = " . ($max_len + 100))) {
58 $max_len = pow(2, 24);
59 if ($max_allowed_packet < $max_len) {
77 $blob = str_repeat('a', $max_len - $com_query_len - $query_len);
/php-src/Zend/
H A Dzend.h297 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap);
298 ZEND_API size_t zend_spprintf(char **message, size_t max_len, const char *format, ...) ZEND_ATTRIBU…
299 ZEND_API zend_string *zend_vstrpprintf(size_t max_len, const char *format, va_list ap);
300 ZEND_API zend_string *zend_strpprintf(size_t max_len, const char *format, ...) ZEND_ATTRIBUTE_FORMA…
304 ZEND_API size_t zend_spprintf_unchecked(char **message, size_t max_len, const char *format, ...);
305 ZEND_API zend_string *zend_strpprintf_unchecked(size_t max_len, const char *format, ...);
H A Dzend.c295 if (max_len && buf.len > max_len) { in ZEND_INI_END()
296 buf.len = max_len; in ZEND_INI_END()
311 ZEND_API size_t zend_spprintf(char **message, size_t max_len, const char *format, ...) /* {{{ */ in zend_spprintf() argument
317 len = zend_vspprintf(message, max_len, format, arg); in zend_spprintf()
329 len = zend_vspprintf(message, max_len, format, arg); in zend_spprintf_unchecked()
335 ZEND_API zend_string *zend_vstrpprintf(size_t max_len, const char *format, va_list ap) /* {{{ */ in zend_vstrpprintf() argument
345 if (max_len && ZSTR_LEN(buf.s) > max_len) { in zend_vstrpprintf()
346 ZSTR_LEN(buf.s) = max_len; in zend_vstrpprintf()
353 ZEND_API zend_string *zend_strpprintf(size_t max_len, const char *format, ...) /* {{{ */ in zend_strpprintf() argument
359 str = zend_vstrpprintf(max_len, format, arg); in zend_strpprintf()
[all …]
/php-src/sapi/litespeed/
H A Dlscriu.c313 static char *LSCRIU_Error_File_Name(char *pchFile, int max_len) in LSCRIU_Error_File_Name() argument
317 snprintf(pchFile, max_len, "%s%s", pchDefaultSocketPath, in LSCRIU_Error_File_Name()
H A Dlsapilib.c3890 static int lsapi_check_path(const char *p, char *final, int max_len) in lsapi_check_path() argument
3897 if (getcwd(final, max_len) == NULL) in lsapi_check_path()
/php-src/ext/zlib/
H A Dzlib.c469 …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
485 switch (status = php_zlib_inflate_rounds(&Z, max_len, out_buf, out_len)) { in php_zlib_decode()
740 zend_long max_len = 0; \
741 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &in_buf, &in_len, &max_len)) { \
744 if (max_len < 0) { \
748 if (SUCCESS != php_zlib_decode(in_buf, in_len, &out_buf, &out_len, encoding, max_len)) { \
/php-src/ext/odbc/
H A Dphp_odbc.c1174 SQLUSMALLINT max_len; in PHP_FUNCTION() local
1187 …rc = SQLGetInfo(result->conn_ptr->hdbc,SQL_MAX_CURSOR_NAME_LEN, (void *)&max_len,sizeof(max_len),&… in PHP_FUNCTION()
1192 if (max_len > 0) { in PHP_FUNCTION()
1193 cursorname = emalloc(max_len + 1); in PHP_FUNCTION()
1194 rc = SQLGetCursorName(result->stmt, (SQLCHAR *) cursorname, (SQLSMALLINT)max_len, &len); in PHP_FUNCTION()
1205 snprintf(cursorname, max_len+1, "php_curs_" ZEND_ULONG_FMT, (zend_ulong)result->stmt); in PHP_FUNCTION()
/php-src/ext/spl/
H A Dspl_directory.c2251 zend_long max_len; in PHP_METHOD() local
2255 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &max_len) == FAILURE) { in PHP_METHOD()
2259 if (max_len < 0) { in PHP_METHOD()
2264 intern->u.file.max_line_len = max_len; in PHP_METHOD()

Completed in 41 milliseconds