Home
last modified time | relevance | path

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

12345

/PHP-7.2/ext/gd/tests/
H A Dlibgd00100.phpt25 $top = 240;
30 $x, $top,
31 $x+2*$d, $top,
39 $top = 40;
44 $left, $top,
45 $right, $top,
53 $top = 240;
58 $left, $top,
59 $right, $top,
67 $top = -15;
[all …]
/PHP-7.2/Zend/
H A Dzend_stack.c30 stack->top = 0; in zend_stack_init()
39 if (stack->top >= stack->max) { in zend_stack_push()
44 return stack->top++; in zend_stack_push()
50 if (stack->top > 0) { in zend_stack_top()
60 --stack->top; in zend_stack_del_top()
78 return stack->top == 0; in zend_stack_is_empty()
101 return stack->top; in zend_stack_count()
111 for (i=stack->top-1; i>=0; i--) { in zend_stack_apply()
118 for (i=0; i<stack->top; i++) { in zend_stack_apply()
141 for (i=0; i<stack->top; i++) { in zend_stack_apply_with_argument()
[all …]
H A Dzend_ptr_stack.h26 int top, max; member
47 if (stack->top+count > stack->max) { \ in END_EXTERN_C()
51 } while (stack->top+count > stack->max); \ in END_EXTERN_C()
53 stack->top_element = stack->elements+stack->top; \ in END_EXTERN_C()
64 stack->top += ZEND_PTR_STACK_NUM_ARGS;
78 stack->top += ZEND_PTR_STACK_NUM_ARGS; in zend_ptr_stack_2_push()
90 stack->top -= 3; in zend_ptr_stack_3_pop()
97 stack->top -= 2; in zend_ptr_stack_2_pop()
104 stack->top++; in zend_ptr_stack_push()
110 stack->top--; in zend_ptr_stack_pop()
[all …]
H A Dzend_ptr_stack.c31 stack->top = stack->max = 0; in zend_ptr_stack_init_ex()
51 stack->top++; in zend_ptr_stack_n_push()
68 stack->top--; in zend_ptr_stack_n_pop()
86 int i = stack->top; in zend_ptr_stack_apply()
98 int i = stack->top; in zend_ptr_stack_clean()
104 stack->top = 0; in zend_ptr_stack_clean()
111 return stack->top; in zend_ptr_stack_num_elements()
H A Dzend_objects_API.c32 objects->top = 1; /* Skip 0 so that handles are true */ in zend_objects_store_init()
47 if (objects->top > 1) { in zend_objects_store_call_destructors()
49 for (i = 1; i < objects->top; i++) { in zend_objects_store_call_destructors()
70 if (objects->object_buckets && objects->top > 1) { in zend_objects_store_mark_destructed()
72 zend_object **end = objects->object_buckets + objects->top; in zend_objects_store_mark_destructed()
89 if (objects->top <= 1) { in zend_objects_store_free_object_storage()
95 obj_ptr = objects->object_buckets + objects->top; in zend_objects_store_free_object_storage()
144 if (EG(objects_store).top == EG(objects_store).size) { in zend_objects_store_put()
150 handle = EG(objects_store).top++; in zend_objects_store_put()
/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_cmd.c446 stack->top = next; in phpdbg_stack_push()
447 next->top = NULL; in phpdbg_stack_push()
451 next->top = stack->top; in phpdbg_stack_push()
465 stack->top = param->top; in phpdbg_stack_separate()
480 if (!top || top->type == STACK_PARAM) { in phpdbg_stack_verify()
520 if (top && top->type == STACK_PARAM) { in phpdbg_stack_verify()
546 if (top) { in phpdbg_stack_verify()
547 top = top->next; in phpdbg_stack_verify()
620 (*top) = (*top)->next; in phpdbg_stack_resolve()
655 if (command->subs && (*top) && ((*top)->type == STR_PARAM)) { in phpdbg_stack_resolve()
[all …]
H A Dphpdbg_parser.y72 | input T_SEPARATOR command { phpdbg_stack_separate($1.top); $$ = $3; }
77 : parameters { $$.top = PHPDBG_G(parser_stack)->top; }
78 …xpression { phpdbg_stack_push(PHPDBG_G(parser_stack), &$1); $$.top = PHPDBG_G(parser_stack)->top; }
82 …: parameter { phpdbg_stack_push(PHPDBG_G(parser_stack), &$1); $$.top = PHPDBG_G(parser_stack)->top
83 …parameter { phpdbg_stack_push(PHPDBG_G(parser_stack), &$2); $$.top = PHPDBG_G(parser_stack)->top; }
182 const phpdbg_param_t *top = PHPDBG_G(parser_stack);
184 while (top) {
185 phpdbg_param_debug(top, "--> ");
186 top = top->next;
H A Dphpdbg_sigio_win32.c35 top: in ZEND_EXTERN_MODULE_GLOBALS()
43 goto top; in ZEND_EXTERN_MODULE_GLOBALS()
61 goto top; in ZEND_EXTERN_MODULE_GLOBALS()
/PHP-7.2/ext/spl/tests/
H A DSplDoublyLinkedList_top_pass_float.phpt2 SplDoublyLinkedList::top() - pass in an unexpected float parameter
9 $list->push("top");
10 $list->top(3.14159);
14 Warning: SplDoublyLinkedList::top() expects exactly 0 parameters, 1 given in %s on line %d
H A DSplDoublyLinkedList_top_pass_array.phpt2 SplDoublyLinkedList::top() - pass in an unexpected array
9 $list->push("top");
10 $list->top(array());
14 Warning: SplDoublyLinkedList::top() expects exactly 0 parameters, 1 given in %s on line %d
H A DSplDoublyLinkedList_top_pass_integer.phpt2 SplDoublyLinkedList::top() - pass in an unexpected integer parameter
9 $list->push("top");
10 $list->top(45);
14 Warning: SplDoublyLinkedList::top() expects exactly 0 parameters, 1 given in %s on line %d
H A DSplDoublyLinkedList_top_pass_null.phpt2 SplDoublyLinkedList::top() - pass in an unexpected null parameter
9 $list->push("top");
10 $list->top(null);
14 Warning: SplDoublyLinkedList::top() expects exactly 0 parameters, 1 given in %s on line %d
H A Dheap_top_variation_001.phpt2 SPL: SplHeap top, illegal number of args
10 // top doesn't take any args, lets see what happens if we give it one
11 $h->top('bogus');
14 Warning: SplHeap::top() expects exactly 0 parameters, 1 given in %s
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 Dspl_pq_top_error_args.phpt2 SPL: SplPriorityQueue: top too many arguments exception
9 $priorityQueue->top('var');
12 Warning: SplPriorityQueue::top() expects exactly 0 parameters, 1 given in %s
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 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();
/PHP-7.2/ext/pcre/pcrelib/
H A Dpcre_get.c81 int top, bot; in pcre_get_stringnumber() local
87 if (top <= 0) return PCRE_ERROR_NOSUBSTRING; in pcre_get_stringnumber()
97 if (top <= 0) return PCRE_ERROR_NOSUBSTRING; in pcre_get_stringnumber()
107 if (top <= 0) return PCRE_ERROR_NOSUBSTRING; in pcre_get_stringnumber()
116 while (top > bot) in pcre_get_stringnumber()
118 int mid = (top + bot) / 2; in pcre_get_stringnumber()
123 if (c > 0) bot = mid + 1; else top = mid; in pcre_get_stringnumber()
164 int top, bot; in pcre_get_stringtable_entries() local
200 while (top > bot) in pcre_get_stringtable_entries()
202 int mid = (top + bot) / 2; in pcre_get_stringtable_entries()
[all …]
/PHP-7.2/ext/ldap/tests/
H A Dldap_search_error.phpt27 $result = ldap_search($link, $dn, $filter, array(1 => 'top'));
30 $result = ldap_search(array(), $dn, $filter, array('top'));
33 $result = ldap_search(array($link, $link), array($dn), $filter, array('top'));
36 $result = ldap_search(array($link, $link), $dn, array($filter), array('top'));
H A Dldap_modify_basic.phpt18 "top",
53 string(3) "top"
/PHP-7.2/Zend/tests/
H A Dbug63635.phpt24 $top = new Node();
26 $ci = new Node($top);
/PHP-7.2/ext/phar/tests/
H A Dphar_dir_iterate.phpt14 $phar['top.txt'] = 'hi';
15 $phar['sub/top.txt'] = 'there';

Completed in 46 milliseconds

12345