/PHP-5.3/Zend/ |
H A D | zend_stack.c | 27 stack->top = 0; in zend_stack_init() 48 return stack->top++; in zend_stack_push() 54 if (stack->top > 0) { in zend_stack_top() 66 if (stack->top > 0) { in zend_stack_del_top() 87 if (stack->top == 0) { in zend_stack_is_empty() 100 for (i = 0; i < stack->top; i++) { in zend_stack_destroy() 119 return stack->top; in zend_stack_count() 129 for (i=stack->top-1; i>=0; i--) { in zend_stack_apply() 136 for (i=0; i<stack->top; i++) { in zend_stack_apply() 152 for (i=stack->top-1; i>=0; i--) { in zend_stack_apply_with_argument() [all …]
|
H A D | zend_execute.h | 146 void **top; member 166 page->end = page->top + count; in zend_vm_stack_new_page() 196 return EG(argument_stack)->top; in zend_vm_stack_top() 202 *(EG(argument_stack)->top++) = ptr; in zend_vm_stack_push() 207 *(EG(argument_stack)->top++) = ptr; in zend_vm_stack_push_nocheck() 238 EG(argument_stack)->top += extra; in zend_vm_stack_alloc() 247 EG(argument_stack)->top += size; in zend_vm_stack_alloc() 290 EG(argument_stack)->top += count; in zend_vm_stack_push_args() 293 void *data = *(--p->top); in zend_vm_stack_push_args() 304 return EG(argument_stack)->top++; in zend_vm_stack_push_args() [all …]
|
H A D | zend_ptr_stack.h | 26 int top, max; member 47 if (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()
|
H A D | zend_ptr_stack.c | 32 stack->top = 0; in zend_ptr_stack_init_ex() 52 stack->top++; in zend_ptr_stack_n_push() 69 stack->top--; in zend_ptr_stack_n_pop() 87 int i = stack->top; in zend_ptr_stack_apply() 99 int i = stack->top; in zend_ptr_stack_clean() 105 stack->top = 0; in zend_ptr_stack_clean() 112 return stack->top; in zend_ptr_stack_num_elements()
|
/PHP-5.3/ext/gd/tests/ |
H A D | libgd00100.phpt | 25 $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-5.3/ext/spl/tests/ |
H A D | SplDoublyLinkedList_top_pass_array.phpt | 2 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 D | SplDoublyLinkedList_top_pass_float.phpt | 2 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 D | SplDoublyLinkedList_top_pass_integer.phpt | 2 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 D | SplDoublyLinkedList_top_pass_null.phpt | 2 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 D | spl_pq_top_basic.phpt | 2 SPL: SplPriorityQueue: top and extract flags 16 echo "value: ",$priorityQueue->top(),PHP_EOL; 20 echo "priority: ",$priorityQueue->top(),PHP_EOL; 24 print_r($priorityQueue->top()); 28 echo "value: ",$priorityQueue->top(),PHP_EOL;
|
H A D | heap_top_variation_001.phpt | 2 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 D | spl_pq_top_error_args.phpt | 2 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 D | heap_top_variation_002.phpt | 2 SPL: SplHeap top, corrupted heap 23 // call top, should fail with corrupted heap 25 $h->top();
|
H A D | heap_top_variation_003.phpt | 2 SPL: SplHeap top of empty heap 10 $h->top();
|
H A D | spl_pq_top_error_empty.phpt | 2 SPL: SplPriorityQueue: top exception on empty heap 12 $priorityQueue->top();
|
H A D | heap_011.phpt | 15 var_dump($h->top()); 27 var_dump($h->top());
|
H A D | spl_pq_top_error_corrupt.phpt | 2 SPL: SplPriorityQueue: top and extract flags 31 $priorityQueue->top();
|
H A D | heap_corruption.phpt | 2 SPL: SplHeap - heap corruption via compare exception (with top element deletion) 53 $heap->top();
|
/PHP-5.3/ext/pcre/pcrelib/ |
H A D | pcre_get.c | 81 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-5.3/ext/json/ |
H A D | JSON_parser.c | 204 jp->top += 1; in push() 205 if (jp->top >= jp->depth) { in push() 209 jp->stack[jp->top] = mode; in push() 221 if (jp->top < 0 || jp->stack[jp->top] != mode) { in pop() 225 jp->top -= 1; in pop() 247 jp->top = -1; in new_JSON_parser() 582 if (jp->top > 0) { in parse_JSON() 599 if (jp->top > 1) { in parse_JSON() 600 attach_zval(jp, jp->top - 1, jp->top, &key, assoc TSRMLS_CC); in parse_JSON() 615 if (jp->top > 0) { in parse_JSON() [all …]
|
/PHP-5.3/ext/ldap/tests/ |
H A D | ldap_search_error.phpt | 27 $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 D | ldap_add_basic.phpt | 18 "top", 51 string(3) "top"
|
/PHP-5.3/Zend/tests/ |
H A D | bug63635.phpt | 24 $top = new Node(); 26 $ci = new Node($top);
|
/PHP-5.3/ext/phar/tests/ |
H A D | phar_dir_iterate.phpt | 14 $phar['top.txt'] = 'hi'; 15 $phar['sub/top.txt'] = 'there';
|
/PHP-5.3/sapi/apache_hooks/ |
H A D | mod_php5.c | 58 int top, max, persistent; member 117 stack->top = 0; in sapi_stack_init_ex() 137 return stack->top++; in sapi_stack_push() 140 if(stack->top == 0) { in sapi_stack_pop() 144 return stack->elements[--stack->top]; in sapi_stack_pop() 159 for (i=stack->top-1; i>=0; i--) { in sapi_stack_apply_with_argument_all() 164 for (i=0; i<stack->top; i++) { in sapi_stack_apply_with_argument_all() 179 for (i=stack->top-1; i>=0; i--) { in sapi_stack_apply_with_argument_stop_if_equals() 186 for (i=0; i<stack->top; i++) { in sapi_stack_apply_with_argument_stop_if_equals() 202 for (i=stack->top-1; i>=0; i--) { in sapi_stack_apply_with_argument_stop_if_http_error() [all …]
|