Home
last modified time | relevance | path

Searched refs:SIZE_MAX (Results 1 – 22 of 22) sorted by relevance

/PHP-7.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_defs.h42 #ifndef SIZE_MAX
43 #define SIZE_MAX ((size_t)~0) macro
H A Dmbfl_memory_device.c147 if (device->length > SIZE_MAX - device->allocsz) { in mbfl_memory_device_output()
175 if (device->length > SIZE_MAX - device->allocsz) { in mbfl_memory_device_output2()
205 if (device->length > SIZE_MAX - device->allocsz) { in mbfl_memory_device_output4()
243 if (len > SIZE_MAX - MBFL_MEMORY_DEVICE_ALLOC_SIZE in mbfl_memory_device_strncat()
244 || device->length > SIZE_MAX - (len + MBFL_MEMORY_DEVICE_ALLOC_SIZE)) { in mbfl_memory_device_strncat()
306 if (device->length > SIZE_MAX - device->allocsz) { in mbfl_wchar_device_output()
312 if (newlen > SIZE_MAX / sizeof(int)) { in mbfl_wchar_device_output()
/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.c175 #ifndef SIZE_MAX
176 #define SIZE_MAX ((size_t)-1) macro
203 if((SIZE_MAX - add_len) < target->len || (SIZE_MAX - add_len - 1) < target->len) { in simplestring_addn()
/PHP-7.4/win32/
H A Dphp_stdint.h205 #ifndef SIZE_MAX // [
207 # define SIZE_MAX _UI64_MAX macro
209 # define SIZE_MAX _UI32_MAX macro
/PHP-7.4/ext/sodium/
H A Dlibsodium.c1643 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
1856 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1929 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
2041 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
2094 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
2274 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2400 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2526 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2701 if (bin_len >= SIZE_MAX / 2U) { in PHP_FUNCTION()
3407 if (blocksize > SIZE_MAX) { in PHP_FUNCTION()
[all …]
/PHP-7.4/Zend/
H A Dzend_smart_str.c140 if (UNEXPECTED((size_t) len > SIZE_MAX - str->len)) { in _smart_string_alloc_persistent()
166 if (UNEXPECTED((size_t) len > SIZE_MAX - str->len)) { in _smart_string_alloc()
H A Dzend_string.h79 #define ZSTR_MAX_LEN (SIZE_MAX - ZSTR_MAX_OVERHEAD) in END_EXTERN_C()
H A Dzend_types.h61 # define ZEND_SIZE_MAX SIZE_MAX
67 # define ZEND_SIZE_MAX SIZE_MAX
H A Dzend_virtual_cwd.c1217 while(--length < SIZE_MAX && !IS_SLASH(path[length])) { in virtual_chdir_file()
1220 if (length == SIZE_MAX) { in virtual_chdir_file()
/PHP-7.4/ext/bz2/
H A Dbz2.c605 if (size > SIZE_MAX) { in PHP_FUNCTION()
617 if (UNEXPECTED(size > SIZE_MAX)) { in PHP_FUNCTION()
618 php_error_docref(NULL, E_WARNING, "Decompressed size too big, max is %zd", SIZE_MAX); in PHP_FUNCTION()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dfuncs.c46 #ifndef SIZE_MAX
47 #define SIZE_MAX ((size_t)~0) macro
430 if (len > (SIZE_MAX - 1) / 4) { in file_getbuffer()
/PHP-7.4/ext/standard/
H A Diptc.c209 if (iptcdata_len >= SIZE_MAX - sizeof(psheader) - 1025) { in PHP_FUNCTION()
/PHP-7.4/main/
H A Dfopen_wrappers.c592 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));
674 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));
/PHP-7.4/ext/pdo_sqlite/
H A Dsqlite_statement.c289 stmt->columns[colno].maxlen = SIZE_MAX; in pdo_sqlite_stmt_describe()
/PHP-7.4/ext/pcntl/
H A Dpcntl.c1018 ZEND_ASSERT(Z_STRLEN_P(element) < SIZE_MAX && ZSTR_LEN(key) < SIZE_MAX); in PHP_FUNCTION()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_result.c1316 if (total_allocated_rows * sizeof(MYSQLND_ROW_BUFFER) > SIZE_MAX) { in MYSQLND_METHOD()
1372 if (set->row_count * sizeof(MYSQLND_ROW_BUFFER) > SIZE_MAX) { in MYSQLND_METHOD()
1455 if (set->row_count * meta->field_count * sizeof(zval *) > SIZE_MAX) { in MYSQLND_METHOD()
H A Dmysqlnd_ps.c130 if (result->stored_data->row_count * result->meta->field_count * sizeof(zval *) > SIZE_MAX) { in MYSQLND_METHOD()
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2.h470 #define PCRE2_SIZE_MAX SIZE_MAX
/PHP-7.4/ext/exif/
H A Dexif.c1730 } else if (x > (float) SIZE_MAX) { in float_to_size_t()
1731 return SIZE_MAX; in float_to_size_t()
1740 } else if (x > (double) SIZE_MAX) { in double_to_size_t()
1741 return SIZE_MAX; in double_to_size_t()
/PHP-7.4/main/streams/
H A Dplain_wrapper.c1610 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length])); in _php_stream_fopen_with_path()
/PHP-7.4/ext/phar/
H A Dphar.c2066 for(n-- ; n != SIZE_MAX; --n) { in php_check_dots()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch2245 #define SIZE_MAX ((size_t)~0)

Completed in 111 milliseconds