Searched refs:max_size (Results 1 – 18 of 18) sorted by relevance
/php-src/Zend/ |
H A D | zend_call_stack.c | 129 size_t max_size; in zend_call_stack_get_linux_pthread() local 160 stack->max_size = max_size; in zend_call_stack_get_linux_pthread() 177 size_t max_size; in zend_call_stack_get_linux_proc_maps() local 243 stack->max_size = max_size; in zend_call_stack_get_linux_proc_maps() 276 size_t max_size; in zend_call_stack_get_freebsd_pthread() local 294 stack->max_size = max_size; in zend_call_stack_get_freebsd_pthread() 436 size_t max_size; in zend_call_stack_get_macos() local 458 stack->max_size = max_size; in zend_call_stack_get_macos() 589 stack->max_size = max_size; in zend_call_stack_get_netbsd_pthread() 607 size_t len, max_size; in zend_call_stack_get_netbsd_vm() local [all …]
|
H A D | zend_call_stack.h | 32 size_t max_size; member
|
/php-src/Zend/tests/stack_limit/ |
H A D | stack_limit_010.phpt | 34 printf("Expected max_size: 0x%x\n", $expectedMaxSize); 35 printf("Actual max_size: %s\n", $stack['max_size']); 37 var_dump($stack['max_size'] === sprintf('0x%x', $expectedMaxSize)); 44 ["max_size"]=> 51 Expected max_size: 0x%x 52 Actual max_size: 0x%x
|
H A D | stack_limit_009.phpt | 22 ["max_size"]=>
|
H A D | stack_limit_012.phpt | 33 ["max_size"]=>
|
H A D | stack_limit_004.phpt | 47 ["max_size"]=>
|
H A D | stack_limit_007.phpt | 37 ["max_size"]=>
|
H A D | stack_limit_011.phpt | 44 ["max_size"]=>
|
H A D | stack_limit_008.phpt | 50 ["max_size"]=>
|
H A D | stack_limit_003.phpt | 57 ["max_size"]=>
|
H A D | stack_limit_001.phpt | 72 ["max_size"]=>
|
H A D | stack_limit_002.phpt | 75 ["max_size"]=>
|
H A D | stack_limit_006.phpt | 316 ["max_size"]=>
|
/php-src/ext/pcre/pcre2lib/sljit/ |
H A D | sljitUtils.c | 175 …it_stack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_size, void *allocator_… in sljit_allocate_stack() argument 182 if (start_size > max_size || start_size < 1) in sljit_allocate_stack() 189 ptr = SLJIT_MALLOC(max_size, allocator_data); in sljit_allocate_stack() 196 stack->end = stack->min_start + max_size; in sljit_allocate_stack() 247 if (start_size > max_size || start_size < 1) in sljit_allocate_stack() 256 max_size = (max_size + page_align) & ~page_align; in sljit_allocate_stack() 259 ptr = VirtualAlloc(NULL, max_size, MEM_RESERVE, PAGE_READWRITE); in sljit_allocate_stack() 266 stack->end = stack->min_start + max_size; in sljit_allocate_stack() 275 ptr = mmap(NULL, max_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in sljit_allocate_stack() 281 ptr = mmap(NULL, max_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, dev_zero, 0); in sljit_allocate_stack() [all …]
|
H A D | sljitLir.h | 2276 …it_stack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_size, void *allocator_…
|
/php-src/ext/spl/ |
H A D | spl_heap.c | 56 size_t max_size; member 261 heap->max_size = PTR_HEAP_BLOCK_SIZE; in spl_ptr_heap_init() 273 if (heap->count+1 > heap->max_size) { in spl_ptr_heap_insert() 274 size_t alloc_size = heap->max_size * heap->elem_size; in spl_ptr_heap_insert() 278 heap->max_size *= 2; in spl_ptr_heap_insert() 358 heap->max_size = from->max_size; in spl_ptr_heap_clone() 363 heap->elements = safe_emalloc(from->elem_size, from->max_size, 0); in spl_ptr_heap_clone() 364 memcpy(heap->elements, from->elements, from->elem_size * from->max_size); in spl_ptr_heap_clone()
|
/php-src/ext/zend_test/ |
H A D | test.c | 570 str = strpprintf(0, "0x%zx", stack.max_size); in ZEND_FUNCTION() 608 void *limit = zend_call_stack_limit(stack.base, stack.max_size, 4096); in ZEND_FUNCTION()
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_match.c | 7057 PCRE2_SIZE max_size = 1024 * mb->heap_limit; in pcre2_match() local 7058 if (max_size < frame_size) return PCRE2_ERROR_HEAPLIMIT; in pcre2_match() 7059 heapframes_size = max_size; in pcre2_match()
|
Completed in 55 milliseconds