/PHP-7.4/ |
H A D | NEWS | 430 . Fixed bug #80747 (Providing RSA key size < 512 generates key that crash 605 . Fixed bug #79423 (copy command is limited to size of file it can copy). 2399 . Fixed bug #77367 (Negative size parameter in mb_split). (Stas)
|
H A D | configure.ac | 260 dnl supports it. This can help reduce the binary size and startup time. 997 [Set size of descriptor sets])], 1050 AC_MSG_CHECKING(linker support for -zcommon-page-size=2097152) 1052 LDFLAGS="$LDFLAGS -Wl,-zcommon-page-size=2097152 -Wl,-zmax-page-size=2097152" 1061 …A_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM -Wl,-zcommon-page-size=2097152 -Wl,-zmax-page-size=20971… 1064 AC_MSG_CHECKING(linker support for -zmax-page-size=2097152) 1066 LDFLAGS="$LDFLAGS -Wl,-zmax-page-size=2097152" 1075 EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM -Wl,-zmax-page-size=2097152"
|
/PHP-7.4/ext/gd/ |
H A D | gd.c | 737 ZEND_ARG_INFO(0, size) 746 ZEND_ARG_INFO(0, size) 757 ZEND_ARG_INFO(0, size) 765 ZEND_ARG_INFO(0, size) 3599 static gdFontPtr php_find_gd_font(int size) in php_find_gd_font() argument 3603 switch (size) { in php_find_gd_font() 3620 zval *zv = zend_hash_index_find(&EG(regular_list), size - 5); in php_find_gd_font() 3622 if (size < 1) { in php_find_gd_font() 3711 int ch = 0, col, x, y, size, i, l = 0; in php_imagechar() local 3734 size = SIZE; in php_imagechar() [all …]
|
/PHP-7.4/ext/pgsql/ |
H A D | pgsql.c | 379 ZEND_ARG_INFO(0, size) 2829 fci.size = sizeof(fci); 3886 size_t size; local 3891 if (zend_parse_parameters(argc, "rl", &pgsql_id, &size) == FAILURE) { 3901 result = lo_truncate64((PGconn *)pgsql->conn, pgsql->lofd, size); 3903 result = lo_truncate((PGconn *)pgsql->conn, pgsql->lofd, size); 3906 result = lo_truncate((PGconn *)pgsql->conn, pgsql->lofd, size);
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_wireprotocol.c | 254 header->size = uint3korr(buffer); in mysqlnd_read_header() 304 buf_size, packet_header->size, packet_header->size - buf_size); in mysqlnd_read_packet_header_and_body() 352 buf[packet->header.size] = '\0'; in php_mysqlnd_greet_read() 670 buf[packet->header.size] = '\0'; in php_mysqlnd_auth_response_read() 940 if (packet->header.size > 1) { in php_mysqlnd_eof_read() 1088 len = packet->header.size - 1; in php_mysqlnd_rset_header_read() 1407 *data_size += header.size; in php_mysqlnd_read_row_ex() 1422 *data_size += header.size; in php_mysqlnd_read_row_ex() 1425 if (!header.size) { in php_mysqlnd_read_row_ex() 1770 packet->header.size = data_size; in php_mysqlnd_rowp_read() [all …]
|
/PHP-7.4/ext/pcre/ |
H A D | php_pcre.c | 161 static void *php_pcre_malloc(PCRE2_SIZE size, void *data) in php_pcre_malloc() argument 163 void *p = pemalloc(size, 1); in php_pcre_malloc() 2415 fci.size = sizeof(fci); in PHP_FUNCTION() 2447 fci.size = sizeof(fci); in PHP_FUNCTION()
|
/PHP-7.4/Zend/ |
H A D | zend_string.h | 28 typedef zend_string *(ZEND_FASTCALL *zend_string_init_interned_func_t)(const char *str, size_t size…
|
H A D | zend_closures.c | 178 fci.size = sizeof(fci); in ZEND_METHOD() 257 fci.size = sizeof(zend_fcall_info); in ZEND_NAMED_FUNCTION()
|
/PHP-7.4/main/streams/ |
H A D | streams.c | 545 size_t to_read_now = MIN(size, stream->chunk_size); in _php_stream_fill_read_buffer() 648 if (stream->writepos - stream->readpos < (zend_off_t)size) { in _php_stream_fill_read_buffer() 684 while (size > 0) { in _php_stream_read() 693 if (toread > size) { in _php_stream_read() 694 toread = size; in _php_stream_read() 699 size -= toread; in _php_stream_read() 705 if (size == 0) { in _php_stream_read() 710 toread = stream->ops->read(stream, buf, size); in _php_stream_read() 728 if ((size_t) toread > size) { in _php_stream_read() 729 toread = size; in _php_stream_read() [all …]
|
H A D | cast.c | 61 static int stream_cookie_reader(void *cookie, char *buffer, int size) in stream_cookie_reader() argument 65 ret = php_stream_read((php_stream*)cookie, buffer, size); in stream_cookie_reader() 69 static int stream_cookie_writer(void *cookie, const char *buffer, int size) in stream_cookie_writer() argument 72 return php_stream_write((php_stream *)cookie, (char *)buffer, size); in stream_cookie_writer() 91 static ssize_t stream_cookie_reader(void *cookie, char *buffer, size_t size) in stream_cookie_reader() argument 95 ret = php_stream_read(((php_stream *)cookie), buffer, size); in stream_cookie_reader() 99 static ssize_t stream_cookie_writer(void *cookie, const char *buffer, size_t size) in stream_cookie_writer() argument 102 return php_stream_write(((php_stream *)cookie), (char *)buffer, size); in stream_cookie_writer()
|
/PHP-7.4/ext/standard/ |
H A D | array.c | 2851 uint32_t i, size; local 2898 uint32_t i, size; local 2923 for (i = 0; i < size; ++i) { 3470 zend_long size = length; local 3483 size = num_in - offset; 3487 array_init_size(return_value, size > 0 ? (uint32_t)size : 0); 6379 zend_long size, current = 0; local 6389 Z_PARAM_LONG(size) 6395 if (size < 1) { 6402 if (size > num_in) { [all …]
|
/PHP-7.4/ext/libxml/ |
H A D | libxml.c | 276 libxml_globals->entity_loader.fci.size = 0; in PHP_GINIT_FUNCTION() 282 if (fci->size > 0) { in _php_libxml_destroy_fci() 284 fci->size = 0; in _php_libxml_destroy_fci() 639 if (fci->size == 0) { in _php_libxml_external_entity_loader() 1177 if (fci.size > 0) { /* argument not null */ in PHP_FUNCTION()
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | zlog.c | 288 size_t size = stream->buf.size ?: stream->buf_init_size; in zlog_stream_buf_alloc_ex() local 291 size = MIN(zlog_limit, MAX(size * 2, needed)); in zlog_stream_buf_alloc_ex() 292 buf = realloc(stream->buf.data, size); in zlog_stream_buf_alloc_ex() 294 size = MIN(zlog_limit, MAX(size, needed)); in zlog_stream_buf_alloc_ex() 295 buf = malloc(size); in zlog_stream_buf_alloc_ex() 303 stream->buf.size = size; in zlog_stream_buf_alloc_ex() 312 if (stream->buf.data && stream->buf.size >= MIN(zlog_limit, stream->buf_init_size)) { in zlog_stream_buf_alloc() 417 if (stream->buf.size - stream->len <= str_len && in zlog_stream_buf_copy_cstr() 431 if (stream->buf.size - stream->len < 1 && !zlog_stream_buf_alloc_ex(stream, 1)) { in zlog_stream_buf_copy_char() 686 stream->buf.data, stream->buf.size, stream->use_syslog); in zlog_stream_prefix_ex()
|
/PHP-7.4/ext/gd/libgd/ |
H A D | gd_png.c | 109 gdImagePtr gdImageCreateFromPngPtr (int size, void *data) in gdImageCreateFromPngPtr() argument 112 gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0); in gdImageCreateFromPngPtr() 454 void * gdImagePngPtr (gdImagePtr im, int *size) in gdImagePngPtr() argument 459 rv = gdDPExtractData(out, size); in gdImagePngPtr() 465 void * gdImagePngPtrEx (gdImagePtr im, int *size, int level, int basefilter) in gdImagePngPtrEx() argument 470 rv = gdDPExtractData(out, size); in gdImagePngPtrEx()
|
/PHP-7.4/ext/mbstring/ |
H A D | mbstring.c | 712 size_t n, size; in php_mb_parse_encoding_list() local 821 size_t size; in php_mb_parse_encoding_array() local 1253 size_t size; in PHP_INI_MH() local 1279 size_t size; in _php_mb_ini_mbstring_http_input_set() local 2006 size_t size = 0; in PHP_FUNCTION() local 3233 size_t size = 0; in php_mb_convert_encoding() local 3235 if (size == 1) { in php_mb_convert_encoding() 3552 size_t size; in PHP_FUNCTION() local 3560 size = 0; in PHP_FUNCTION() 3568 size = 0; in PHP_FUNCTION() [all …]
|
/PHP-7.4/main/ |
H A D | main.c | 952 PHPAPI size_t php_write(void *buf, size_t size) in php_write() argument 954 return PHPWRITE(buf, size); in php_write() 965 size_t size; in php_printf() local 968 size = vspprintf(&buffer, 0, format, args); in php_printf() 969 ret = PHPWRITE(buffer, size); in php_printf() 1247 PHPAPI void php_html_puts(const char *str, size_t size) in php_html_puts() argument 1249 zend_html_puts(str, size); in php_html_puts() 1715 … " (%zu bytes), script=%s\n", t->filename, t->lineno, (size_t)t->addr, t->size, SAFE_FILENAME(SG(r… in php_message_handler_for_zend()
|
/PHP-7.4/ext/pcre/pcre2lib/ |
H A D | pcre2_jit_compile.c | 1764 size = 0; in set_private_data_ptrs() 1840 size = 1; in set_private_data_ptrs() 1860 size = 1; in set_private_data_ptrs() local 1865 size = 1; in set_private_data_ptrs() local 2326 int size; in get_recurse_data_length() local 2343 size = 0; in get_recurse_data_length() 8832 int size; in compile_charn_matchingpath() local 11752 int size; in compile_then_trap_matchingpath() local 11761 size = 3 + (size < 0 ? 0 : size); in compile_then_trap_matchingpath() 12948 int size; in compile_then_trap_backtrackingpath() local [all …]
|
/PHP-7.4/ext/pcre/tests/ |
H A D | bug81424a.phpt | 9 preg_match('/(?P<size>\d+)m|M/', "4M", $m),
|
/PHP-7.4/ext/mysqli/ |
H A D | mysqli.c | 1288 fci.size = sizeof(fci); in php_mysqli_fetch_into_hash()
|
/PHP-7.4/ext/zip/ |
H A D | php_zip.c | 392 add_ascii_assoc_long(return_value, "size", (zend_long) (sb)->size); \ 405 add_ascii_assoc_long(return_value, "size", (zend_long) (sb)->size); \ 1368 RETURN_LONG((zend_long) (zr_rsrc->sb.size)); in php_zip_entry_get_info() 2727 if (sb.size < 1) { 2732 len = sb.size;
|
/PHP-7.4/ext/spl/ |
H A D | spl_fixedarray.c | 44 zend_long size; member 83 if (size > 0) { in spl_fixedarray_init() 86 array->size = size; in spl_fixedarray_init() 89 array->size = 0; in spl_fixedarray_init() 96 if (size == array->size) { in spl_fixedarray_resize() 108 if (size == 0) { in spl_fixedarray_resize() 124 } else if (size > array->size) { in spl_fixedarray_resize() 126 memset(array->elements + array->size, '\0', sizeof(zval) * (size - array->size)); in spl_fixedarray_resize() 130 for (i = size; i < array->size; i++) { in spl_fixedarray_resize() 136 array->size = size; in spl_fixedarray_resize() [all …]
|
/PHP-7.4/ext/fileinfo/tests/ |
H A D | bug78987.phpt | 23 for($size = $minSize; $size <= $maxSize; $size *= 2) { 24 $content = str_repeat('0', $size); 29 printf("%-8d => %s\n", $size, $m <= $map[$size] ? "ok" : "$m");
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 134 file_error(ms, 0, "magic element size %lu != %lu", 988 /* malloc size is a conservative overestimate; could be 1754 #define FILE_NAMES_SIZE 49 /* size of array to contain all names */
|
/PHP-7.4/ext/xml/ |
H A D | xml.c | 566 fci.size = sizeof(fci); in xml_call_handler()
|
/PHP-7.4/TSRM/ |
H A D | tsrm_win32.c | 618 TSRM_API int shmget(key_t key, size_t size, int flags) in shmget() argument 636 DWORD high = size >> 32; in shmget() 637 DWORD low = (DWORD)size; in shmget() 640 DWORD low = size; in shmget() 679 shm->descriptor->shm_segsz = size; in shmget() 691 …if (NULL != shm->descriptor && (shm->descriptor->shm_perm.key != key || size > shm->descriptor->sh… in shmget()
|