Home
last modified time | relevance | path

Searched refs:top (Results 1 – 25 of 116) sorted by relevance

12345

/PHP-8.2/ext/gd/tests/
H A Dlibgd00100.phpt26 $top = 240;
31 $x, $top,
32 $x+2*$d, $top,
40 $top = 40;
45 $left, $top,
46 $right, $top,
54 $top = 240;
59 $left, $top,
60 $right, $top,
68 $top = -15;
[all …]
/PHP-8.2/Zend/
H A Dzend_stack.c28 stack->top = 0; in zend_stack_init()
36 if (stack->top >= stack->max) { in zend_stack_push()
41 return stack->top++; in zend_stack_push()
47 if (stack->top > 0) { in zend_stack_top()
57 --stack->top; in zend_stack_del_top()
74 return stack->top == 0; in zend_stack_is_empty()
95 return stack->top; in zend_stack_count()
105 for (i=stack->top-1; i>=0; i--) { in zend_stack_apply()
112 for (i=0; i<stack->top; i++) { in zend_stack_apply()
135 for (i=0; i<stack->top; i++) { in zend_stack_apply_with_argument()
[all …]
H A Dzend_ptr_stack.h24 int top, max; member
46 if (stack->top+count > stack->max) { \ in END_EXTERN_C()
50 } while (stack->top+count > stack->max); \ in END_EXTERN_C()
52 stack->top_element = stack->elements+stack->top; \ in END_EXTERN_C()
63 stack->top += ZEND_PTR_STACK_NUM_ARGS;
77 stack->top += ZEND_PTR_STACK_NUM_ARGS; in zend_ptr_stack_2_push()
89 stack->top -= 3; in zend_ptr_stack_3_pop()
96 stack->top -= 2; in zend_ptr_stack_2_pop()
103 stack->top++; in zend_ptr_stack_push()
109 stack->top--; in zend_ptr_stack_pop()
[all …]
H A Dzend_ptr_stack.c27 stack->top = stack->max = 0; in zend_ptr_stack_init_ex()
47 stack->top++; in zend_ptr_stack_n_push()
64 stack->top--; in zend_ptr_stack_n_pop()
82 int i = stack->top; in zend_ptr_stack_apply()
93 while (i < stack->top) { in zend_ptr_stack_reverse_apply()
103 int i = stack->top; in zend_ptr_stack_clean()
109 stack->top = 0; in zend_ptr_stack_clean()
116 return stack->top; in zend_ptr_stack_num_elements()
H A Dzend_objects_API.c31 objects->top = 1; /* Skip 0 so that handles are true */ in zend_objects_store_init()
46 if (objects->top > 1) { in zend_objects_store_call_destructors()
50 for (i = 1; i < objects->top; i++) { in zend_objects_store_call_destructors()
72 if (objects->object_buckets && objects->top > 1) { in zend_objects_store_mark_destructed()
74 zend_object **end = objects->object_buckets + objects->top; in zend_objects_store_mark_destructed()
91 if (objects->top <= 1) { in zend_objects_store_free_object_storage()
98 obj_ptr = objects->object_buckets + objects->top; in zend_objects_store_free_object_storage()
139 handle = EG(objects_store).top++; in zend_objects_store_put_cold()
154 } else if (UNEXPECTED(EG(objects_store).top == EG(objects_store).size)) { in zend_objects_store_put()
158 handle = EG(objects_store).top++; in zend_objects_store_put()
/PHP-8.2/sapi/phpdbg/
H A Dphpdbg_cmd.c445 stack->top = next; in phpdbg_stack_push()
446 next->top = NULL; in phpdbg_stack_push()
450 next->top = stack->top; in phpdbg_stack_push()
464 stack->top = param->top; in phpdbg_stack_separate()
479 if (!top || top->type == STACK_PARAM) { in phpdbg_stack_verify()
519 if (top && top->type == STACK_PARAM) { in phpdbg_stack_verify()
545 if (top) { in phpdbg_stack_verify()
546 top = top->next; in phpdbg_stack_verify()
619 (*top) = (*top)->next; in phpdbg_stack_resolve()
654 if (command->subs && (*top) && ((*top)->type == STR_PARAM)) { in phpdbg_stack_resolve()
[all …]
H A Dphpdbg_parser.y68 | input T_SEPARATOR command { phpdbg_stack_separate($1.top); $$ = $3; }
73 : parameters { $$.top = PHPDBG_G(parser_stack)->top; }
74 …xpression { phpdbg_stack_push(PHPDBG_G(parser_stack), &$1); $$.top = PHPDBG_G(parser_stack)->top; }
78 …: parameter { phpdbg_stack_push(PHPDBG_G(parser_stack), &$1); $$.top = PHPDBG_G(parser_stack)->top
79 …parameter { phpdbg_stack_push(PHPDBG_G(parser_stack), &$2); $$.top = PHPDBG_G(parser_stack)->top; }
178 const phpdbg_param_t *top = PHPDBG_G(parser_stack);
180 while (top) {
181 phpdbg_param_debug(top, "--> ");
182 top = top->next;
H A Dphpdbg_cmd.h67 phpdbg_param_t *top; member
81 (v)->top = NULL; \
137 …ck_resolve(const phpdbg_command_t *commands, const phpdbg_command_t *parent, phpdbg_param_t **top);
/PHP-8.2/ext/spl/tests/
H A Dspl_pq_top_basic.phpt2 SPL: SplPriorityQueue: top and extract flags
18 echo "value: ",$priorityQueue->top(),PHP_EOL;
24 echo "priority: ",$priorityQueue->top(),PHP_EOL;
28 print_r($priorityQueue->top());
32 echo "value: ",$priorityQueue->top(),PHP_EOL;
H A Dheap_top_variation_002.phpt2 SPL: SplHeap top, corrupted heap
23 // call top, should fail with corrupted heap
25 $h->top();
H A DSplDoublyLinkedList_top_empty.phpt2 SplDoublyLinkedList::top empty
8 (new SplDoublyLinkedList)->top();
H A Dheap_top_variation_003.phpt2 SPL: SplHeap top of empty heap
10 $h->top();
H A Dspl_pq_top_error_empty.phpt2 SPL: SplPriorityQueue: top exception on empty heap
12 $priorityQueue->top();
H A Dheap_011.phpt15 var_dump($h->top());
27 var_dump($h->top());
H A Dspl_pq_top_error_corrupt.phpt2 SPL: SplPriorityQueue: top and extract flags
31 $priorityQueue->top();
H A Dheap_corruption.phpt2 SPL: SplHeap - heap corruption via compare exception (with top element deletion)
55 $heap->top();
/PHP-8.2/ext/pcre/pcre2lib/
H A Dpcre2_script_run.c311 int top = PRIV(ucd_digit_sets)[0]; in PRIV() local
314 if (top <= bot + 1) /* <= rather than == is paranoia */ in PRIV()
316 digitset = top; in PRIV()
319 mid = (top + bot) / 2; in PRIV()
320 if (c <= PRIV(ucd_digit_sets)[mid]) top = mid; else bot = mid; in PRIV()
/PHP-8.2/ext/ldap/tests/
H A Dldap_search_error.phpt22 $result = ldap_search($link, $dn, $filter, array(1 => 'top'));
26 ldap_search(array(), $dn, $filter, array('top'));
32 ldap_search(array($link, $link), array($dn), $filter, array('top'));
38 ldap_search(array($link, $link), $dn, array($filter), array('top'));
H A Dldap_modify_basic.phpt19 "top",
53 string(3) "top"
H A Dldap_add_basic.phpt19 "top",
51 string(3) "top"
H A Dconnect.inc39 "top",
49 "top",
76 "top",
/PHP-8.2/Zend/tests/
H A Dbug63635.phpt24 $top = new Node();
26 $ci = new Node($top);
/PHP-8.2/ext/opcache/jit/ir/dynasm/
H A Dminilua.c1158 L->top=ci->top;
1168 ci->top=L->top+20;
1901 if(lim<ci->top)lim=ci->top;
2276 L1->ci->top=L1->top+20;
2582 setobj(L,L->top,L->top-1);
4889 if(!call_binTM(L,top-2,top-1,top-2,TM_CONCAT))
5171 ci->top=L->top=func+aux;
5195 if(b)L->top=L->ci->top;
5233 L->top=L->ci->top;
5249 L->top=L->ci->top;
[all …]
/PHP-8.2/ext/phar/tests/
H A Dphar_dir_iterate.phpt13 $phar['top.txt'] = 'hi';
14 $phar['sub/top.txt'] = 'there';
/PHP-8.2/ext/spl/
H A Dspl_heap.stub.php24 public function top(): mixed {} function in SplPriorityQueue
96 public function top(): mixed {} function in SplHeap

Completed in 54 milliseconds

12345