Home
last modified time | relevance | path

Searched refs:SIZE_MAX (Results 1 – 25 of 39) 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.c1116 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
1451 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1522 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1845 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
1960 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2075 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2189 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2303 if (msg_len >= SIZE_MAX) { in PHP_FUNCTION()
2466 if (bin_len >= SIZE_MAX / 2U) { in PHP_FUNCTION()
3269 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.c150 if (UNEXPECTED((size_t) len > SIZE_MAX - str->len)) { in _smart_string_alloc_persistent()
176 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)
/php-src/ext/bz2/
H A Dbz2.c529 if (size > SIZE_MAX) { in PHP_FUNCTION()
541 if (UNEXPECTED(size > SIZE_MAX)) { in PHP_FUNCTION()
542 php_error_docref(NULL, E_WARNING, "Decompressed size too big, max is %zd", SIZE_MAX); in PHP_FUNCTION()
/php-src/ext/dom/lexbor/lexbor/css/
H A Dparser.c175 if (SIZE_MAX - cur_length < 1024) { in lxb_css_parser_states_push()
234 if ((SIZE_MAX - length) < 1024) { in lxb_css_parser_types_push()
H A Dcss.c125 if (SIZE_MAX - memory->ref_count == 0) { in lxb_css_memory_ref_inc()
H A Drule.h322 if (SIZE_MAX - rule->ref_count == 0) { in lxb_css_rule_ref_inc()
/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/libxml/
H A Dphp_libxml.h160 …ification_nr != object_tag->modification_nr || UNEXPECTED(object_tag->modification_nr == SIZE_MAX); in php_libxml_is_cache_tag_stale()
/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.c606 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));
686 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));
/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.c297 if (SIZE_MAX - tkz->token->null_count < 1) { in lxb_html_tokenizer_state_data()
1669 if (SIZE_MAX - tkz->token->null_count < 1) { in lxb_html_tokenizer_state_cdata_section()
/php-src/ext/pcntl/
H A Dpcntl.c698 ZEND_ASSERT(Z_STRLEN_P(element) < SIZE_MAX && ZSTR_LEN(key) < SIZE_MAX); in PHP_FUNCTION()

Completed in 97 milliseconds

12