Home
last modified time | relevance | path

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

/PHP-8.0/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.c134 if (device->length > SIZE_MAX - device->allocsz) { in mbfl_memory_device_output()
163 if (len > SIZE_MAX - MBFL_MEMORY_DEVICE_ALLOC_SIZE in mbfl_memory_device_strncat()
164 || device->length > SIZE_MAX - (len + MBFL_MEMORY_DEVICE_ALLOC_SIZE)) { in mbfl_memory_device_strncat()
220 if (device->length > SIZE_MAX - device->allocsz) { in mbfl_wchar_device_output()
226 if (newlen > SIZE_MAX / sizeof(int)) { in mbfl_wchar_device_output()
/PHP-8.0/ext/sodium/
H A Dlibsodium.c1299 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
1510 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1581 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1689 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1738 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1904 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2018 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2132 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2295 if (bin_len >= SIZE_MAX / 2U) { in PHP_FUNCTION()
2992 if (blocksize > SIZE_MAX) { in PHP_FUNCTION()
[all …]
/PHP-8.0/Zend/
H A Dzend_smart_str.c138 if (UNEXPECTED((size_t) len > SIZE_MAX - str->len)) { in _smart_string_alloc_persistent()
164 if (UNEXPECTED((size_t) len > SIZE_MAX - str->len)) { in _smart_string_alloc()
H A Dzend_string.h87 #define ZSTR_MAX_LEN (SIZE_MAX - ZSTR_MAX_OVERHEAD) in END_EXTERN_C()
H A Dzend_types.h64 # define ZEND_SIZE_MAX SIZE_MAX
70 # define ZEND_SIZE_MAX SIZE_MAX
H A Dzend_virtual_cwd.c1213 while(--length < SIZE_MAX && !IS_SLASH(path[length])) { in virtual_chdir_file()
1216 if (length == SIZE_MAX) { in virtual_chdir_file()
/PHP-8.0/ext/bz2/
H A Dbz2.c531 if (size > SIZE_MAX) { in PHP_FUNCTION()
543 if (UNEXPECTED(size > SIZE_MAX)) { in PHP_FUNCTION()
544 php_error_docref(NULL, E_WARNING, "Decompressed size too big, max is %zd", SIZE_MAX); in PHP_FUNCTION()
/PHP-8.0/ext/fileinfo/libmagic/
H A Dfuncs.c47 #ifndef SIZE_MAX
48 #define SIZE_MAX ((size_t)~0) macro
514 if (len > (SIZE_MAX - 1) / 4) { in file_getbuffer()
/PHP-8.0/ext/standard/
H A Diptc.c195 if (iptcdata_len >= SIZE_MAX - sizeof(psheader) - 1025) { in PHP_FUNCTION()
/PHP-8.0/main/
H A Dfopen_wrappers.c580 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));
662 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));
/PHP-8.0/ext/pdo_sqlite/
H A Dsqlite_statement.c247 stmt->columns[colno].maxlen = SIZE_MAX; in pdo_sqlite_stmt_describe()
/PHP-8.0/ext/pcntl/
H A Dpcntl.c850 ZEND_ASSERT(Z_STRLEN_P(element) < SIZE_MAX && ZSTR_LEN(key) < SIZE_MAX); in PHP_FUNCTION()
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_result.c1314 if (total_allocated_rows * sizeof(MYSQLND_ROW_BUFFER) > SIZE_MAX) { in MYSQLND_METHOD()
1370 if (set->row_count * sizeof(MYSQLND_ROW_BUFFER) > SIZE_MAX) { in MYSQLND_METHOD()
1453 if (set->row_count * meta->field_count * sizeof(zval *) > SIZE_MAX) { in MYSQLND_METHOD()
H A Dmysqlnd_ps.c127 if (result->stored_data->row_count * result->meta->field_count * sizeof(zval *) > SIZE_MAX) { in MYSQLND_METHOD()
/PHP-8.0/ext/pcre/pcre2lib/
H A Dpcre2.h470 #define PCRE2_SIZE_MAX SIZE_MAX
/PHP-8.0/ext/exif/
H A Dexif.c1678 } else if (x > (float) SIZE_MAX) { in float_to_size_t()
1679 return SIZE_MAX; in float_to_size_t()
1688 } else if (x > (double) SIZE_MAX) { in double_to_size_t()
1689 return SIZE_MAX; in double_to_size_t()
/PHP-8.0/main/streams/
H A Dplain_wrapper.c1618 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length])); in _php_stream_fopen_with_path()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_helpers.c1578 if (UNEXPECTED(op1_len > SIZE_MAX - op2_len)) { in zend_jit_fast_assign_concat_helper()
1612 if (UNEXPECTED(op1_len > SIZE_MAX - op2_len)) { in zend_jit_fast_concat_helper()
/PHP-8.0/ext/phar/
H A Dphar.c2117 for(n-- ; n != SIZE_MAX; --n) { in php_check_dots()
/PHP-8.0/ext/fileinfo/
H A Dlibmagic.patch2295 #define SIZE_MAX ((size_t)~0)

Completed in 115 milliseconds