Home
last modified time | relevance | path

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

12

/php-src/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.c95 if (device->length > SIZE_MAX - device->allocsz) { in mbfl_memory_device_output()
119 if (len > SIZE_MAX - MBFL_MEMORY_DEVICE_ALLOC_SIZE in mbfl_memory_device_strncat()
120 || device->length > SIZE_MAX - (len + MBFL_MEMORY_DEVICE_ALLOC_SIZE)) { in mbfl_memory_device_strncat()
167 if (device->length > SIZE_MAX - device->allocsz) { in mbfl_wchar_device_output()
173 if (newlen > SIZE_MAX / sizeof(int)) { in mbfl_wchar_device_output()
/php-src/ext/sodium/
H A Dlibsodium.c1117 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
1452 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1523 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1846 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
1961 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2076 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2190 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2304 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2467 if (bin_len >= SIZE_MAX / 2U) { in PHP_FUNCTION()
3270 if (blocksize > SIZE_MAX) { in PHP_FUNCTION()
[all …]
/php-src/ext/dom/lexbor/lexbor/core/
H A Dmem.c104 if (mem->chunk_min_size > (SIZE_MAX - length)) { in lexbor_mem_chunk_init()
166 if ((SIZE_MAX - mem->chunk_length) == 0) { in lexbor_mem_alloc()
H A Darray.c71 if (array->length > (SIZE_MAX - up_to)) in lexbor_array_expand()
H A Darray_obj.c74 if (array->length > (SIZE_MAX - up_to)) { in lexbor_array_obj_expand()
H A Dstr.h29 if (str->length > (SIZE_MAX - (plus_len))) \
H A Dmraw.c116 if ((SIZE_MAX - mem->chunk_length) == 0) { in lexbor_mraw_mem_alloc()
H A Dstr.c111 if (str->length > (SIZE_MAX - plus_len)) { in lexbor_str_check_size()
/php-src/Zend/
H A Dzend_smart_str.c149 if (UNEXPECTED((size_t) len > SIZE_MAX - str->len)) { in _smart_string_alloc_persistent()
175 if (UNEXPECTED((size_t) len > SIZE_MAX - str->len)) { in _smart_string_alloc()
H A Dzend_string.h117 #define ZSTR_MAX_LEN (SIZE_MAX - ZSTR_MAX_OVERHEAD)
H A Dzend_virtual_cwd.c1223 while(--length < SIZE_MAX && !IS_SLASH(path[length])) { in virtual_chdir_file()
1226 if (length == SIZE_MAX) { in virtual_chdir_file()
/php-src/ext/bz2/
H A Dbz2.c528 if (size > SIZE_MAX) { in PHP_FUNCTION()
540 if (UNEXPECTED(size > SIZE_MAX)) { in PHP_FUNCTION()
541 php_error_docref(NULL, E_WARNING, "Decompressed size too big, max is %zd", SIZE_MAX); in PHP_FUNCTION()
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_jit_misc.c140 if (startsize == 0 || maxsize == 0 || maxsize > SIZE_MAX - STACK_GROWTH_RATE) in pcre2_jit_stack_create()
H A Dpcre2.h480 #define PCRE2_SIZE_MAX SIZE_MAX
/php-src/ext/fileinfo/libmagic/
H A Dfuncs.c50 #ifndef SIZE_MAX
51 #define SIZE_MAX ((size_t)~0) macro
564 if (len > (SIZE_MAX - 1) / 4) { in file_getbuffer()
/php-src/ext/standard/
H A Diptc.c195 if (iptcdata_len >= SIZE_MAX - sizeof(psheader) - 1025) { in PHP_FUNCTION()
/php-src/ext/pdo_sqlite/
H A Dsqlite_statement.c249 stmt->columns[colno].maxlen = SIZE_MAX; in pdo_sqlite_stmt_describe()
/php-src/main/
H A Dfopen_wrappers.c594 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-src/ext/dom/lexbor/lexbor/css/
H A Drule.h322 if (SIZE_MAX - rule->ref_count == 0) { in lxb_css_rule_ref_inc()
/php-src/ext/dom/
H A Dphp_dom.h235 …= doc_ptr->cache_tag.modification_nr || UNEXPECTED(doc_ptr->cache_tag.modification_nr == SIZE_MAX); in php_dom_is_cache_tag_stale_from_doc_ptr()
/php-src/ext/mysqlnd/
H A Dmysqlnd_result.c666 if (total_allocated_rows * sizeof(MYSQLND_ROW_BUFFER) > SIZE_MAX) { in MYSQLND_METHOD()
709 if (set->row_count * sizeof(MYSQLND_ROW_BUFFER) > SIZE_MAX) { in MYSQLND_METHOD()
/php-src/ext/dom/lexbor/lexbor/html/tokenizer/
H A Dstate.c294 if (SIZE_MAX - tkz->token->null_count < 1) { in lxb_html_tokenizer_state_data()
1664 if (SIZE_MAX - tkz->token->null_count < 1) { in lxb_html_tokenizer_state_cdata_section()
/php-src/ext/pcntl/
H A Dpcntl.c653 ZEND_ASSERT(Z_STRLEN_P(element) < SIZE_MAX && ZSTR_LEN(key) < SIZE_MAX); in PHP_FUNCTION()
/php-src/TSRM/
H A Dtsrm_win32.c648 if (size == 0 || size > SIZE_MAX - sizeof(shm->descriptor)) { in shmget()

Completed in 92 milliseconds

12