Home
last modified time | relevance | path

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

/PHP-7.3/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.3/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.c149 if (device->length > SIZE_MAX - device->allocsz) { in mbfl_memory_device_output()
177 if (device->length > SIZE_MAX - device->allocsz) { in mbfl_memory_device_output2()
207 if (device->length > SIZE_MAX - device->allocsz) { in mbfl_memory_device_output4()
245 if (len > SIZE_MAX - MBFL_MEMORY_DEVICE_ALLOC_SIZE in mbfl_memory_device_strncat()
246 || device->length > SIZE_MAX - (len + MBFL_MEMORY_DEVICE_ALLOC_SIZE)) { in mbfl_memory_device_strncat()
308 if (device->length > SIZE_MAX - device->allocsz) { in mbfl_wchar_device_output()
314 if (newlen > SIZE_MAX / sizeof(int)) { in mbfl_wchar_device_output()
/PHP-7.3/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.3/ext/sodium/
H A Dlibsodium.c1626 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
1839 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1912 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
2024 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
2077 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
2257 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2383 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2509 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2684 if (bin_len >= SIZE_MAX / 2U) { in PHP_FUNCTION()
3390 if (blocksize > SIZE_MAX) { in PHP_FUNCTION()
[all …]
/PHP-7.3/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_types.h61 # define ZEND_SIZE_MAX SIZE_MAX
67 # define ZEND_SIZE_MAX SIZE_MAX
H A Dzend_virtual_cwd.c1455 while(--length < SIZE_MAX && !IS_SLASH(path[length])) { in virtual_chdir_file()
1458 if (length == SIZE_MAX) { in virtual_chdir_file()
H A Dzend_operators.c1850 if (UNEXPECTED(op1_len > SIZE_MAX - op2_len)) { in concat_function()
/PHP-7.3/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.3/ext/bz2/
H A Dbz2.c597 if (size > SIZE_MAX) { in PHP_FUNCTION()
609 if (UNEXPECTED(size > SIZE_MAX)) { in PHP_FUNCTION()
610 php_error_docref(NULL, E_WARNING, "Decompressed size too big, max is %zd", SIZE_MAX); in PHP_FUNCTION()
/PHP-7.3/ext/fileinfo/libmagic/
H A Dfuncs.c48 #ifndef SIZE_MAX
49 #define SIZE_MAX ((size_t)~0) macro
380 if (len > (SIZE_MAX - 1) / 4) { in file_getbuffer()
/PHP-7.3/ext/standard/
H A Diptc.c209 if (iptcdata_len >= SIZE_MAX - sizeof(psheader) - 1025) { in PHP_FUNCTION()
/PHP-7.3/main/
H A Dfopen_wrappers.c580 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));
659 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));
/PHP-7.3/ext/pdo_sqlite/
H A Dsqlite_statement.c285 stmt->columns[colno].maxlen = SIZE_MAX; in pdo_sqlite_stmt_describe()
/PHP-7.3/ext/mysqlnd/
H A Dmysqlnd_result.c1310 if (total_allocated_rows * sizeof(MYSQLND_ROW_BUFFER) > SIZE_MAX) { in MYSQLND_METHOD()
1359 if (set->row_count * sizeof(MYSQLND_ROW_BUFFER) > SIZE_MAX) { in MYSQLND_METHOD()
1442 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.3/ext/pcre/pcre2lib/
H A Dpcre2.h475 #define PCRE2_SIZE_MAX SIZE_MAX
/PHP-7.3/main/streams/
H A Dplain_wrapper.c1577 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length])); in _php_stream_fopen_with_path()
/PHP-7.3/ext/fileinfo/
H A Dlibmagic.patch2828 #ifndef SIZE_MAX
2829 #define SIZE_MAX ((size_t)~0)
/PHP-7.3/ext/phar/
H A Dphar.c2079 for(n-- ; n != SIZE_MAX; --n) {

Completed in 202 milliseconds