Home
last modified time | relevance | path

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

/PHP-7.2/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.c177 #ifndef SIZE_MAX
178 #define SIZE_MAX ((size_t)-1) macro
205 if((SIZE_MAX - add_len) < target->len || (SIZE_MAX - add_len - 1) < target->len) { in simplestring_addn()
/PHP-7.2/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.2/ext/sodium/
H A Dlibsodium.c1625 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
1838 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1911 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
2023 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
2076 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
2256 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2382 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2508 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2683 if (bin_len >= SIZE_MAX / 2U) { in PHP_FUNCTION()
3388 if (blocksize > SIZE_MAX) { in PHP_FUNCTION()
[all …]
/PHP-7.2/ext/zip/lib/
H A Dzipint.h159 #ifndef SIZE_MAX
161 #define SIZE_MAX ZIP_INT64_MAX macro
163 #define SIZE_MAX ZIP_INT32_MAX macro
165 #define SIZE_MAX ZIP_INT16_MAX macro
H A Dzip_source_filep.c306 if (n > SIZE_MAX) in read_file()
307 n = SIZE_MAX; in read_file()
H A Dzip_source_win32handle.c221 if (n > SIZE_MAX) in _win32_read_file()
222 n = SIZE_MAX; in _win32_read_file()
H A Dzip_dirent.c77 …else if ((nentry > SIZE_MAX/sizeof(*(cd->entry))) || (cd->entry=(zip_entry_t *)malloc(sizeof(*(cd-… in _zip_cdir_new()
/PHP-7.2/ext/bz2/
H A Dbz2.c601 if (size > SIZE_MAX) { in PHP_FUNCTION()
613 if (UNEXPECTED(size > SIZE_MAX)) { in PHP_FUNCTION()
614 php_error_docref(NULL, E_WARNING, "Decompressed size too big, max is %zd", SIZE_MAX); in PHP_FUNCTION()
/PHP-7.2/ext/fileinfo/libmagic/
H A Dfuncs.c48 #ifndef SIZE_MAX
49 #define SIZE_MAX ((size_t)~0) macro
374 if (len > (SIZE_MAX - 1) / 4) { in file_getbuffer()
/PHP-7.2/Zend/
H A Dzend_smart_string.h83 if (UNEXPECTED((size_t) len > SIZE_MAX - str->len)) { in smart_string_alloc()
H A Dzend_types.h58 # define ZEND_SIZE_MAX SIZE_MAX
64 # define ZEND_SIZE_MAX SIZE_MAX
H A Dzend_operators.c1762 if (UNEXPECTED(op1_len > SIZE_MAX - op2_len)) { in concat_function()
/PHP-7.2/ext/standard/
H A Diptc.c211 if (iptcdata_len >= SIZE_MAX - sizeof(psheader) - 1025) { in PHP_FUNCTION()
/PHP-7.2/main/
H A Dfopen_wrappers.c582 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));
661 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));
/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_result.c1333 if (total_allocated_rows * sizeof(MYSQLND_MEMORY_POOL_CHUNK *) > SIZE_MAX) { in MYSQLND_METHOD()
1377 if (set->row_count * sizeof(MYSQLND_MEMORY_POOL_CHUNK *) > SIZE_MAX) { in MYSQLND_METHOD()
1459 if (set->row_count * meta->field_count * sizeof(zval *) > SIZE_MAX) { in MYSQLND_METHOD()
H A Dmysqlnd_ps.c100 if (result->stored_data->row_count * result->meta->field_count * sizeof(zval *) > SIZE_MAX) { in MYSQLND_METHOD()
/PHP-7.2/main/streams/
H A Dplain_wrapper.c1536 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length])); in _php_stream_fopen_with_path()
/PHP-7.2/ext/fileinfo/
H A Dlibmagic.patch1974 #ifndef SIZE_MAX
1975 #define SIZE_MAX ((size_t)~0)

Completed in 87 milliseconds