/PHP-5.5/Zend/ |
H A D | zend_stack.c | 27 stack->top = 0; in zend_stack_init() 44 return stack->top++; in zend_stack_push() 50 if (stack->top > 0) { in zend_stack_top() 62 if (stack->top > 0) { in zend_stack_del_top() 83 if (stack->top == 0) { in zend_stack_is_empty() 96 for (i = 0; i < stack->top; i++) { in zend_stack_destroy() 115 return stack->top; in zend_stack_count() 125 for (i=stack->top-1; i>=0; i--) { in zend_stack_apply() 132 for (i=0; i<stack->top; i++) { in zend_stack_apply() 148 for (i=stack->top-1; i>=0; i--) { in zend_stack_apply_with_argument() [all …]
|
H A D | zend_ptr_stack.h | 26 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 D | zend_ptr_stack.c | 31 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 D | zend_execute.h | 160 void **top; member 179 page->top = ZEND_VM_STACK_ELEMETS(page); in zend_vm_stack_new_page() 180 page->end = page->top + count; in zend_vm_stack_new_page() 210 return EG(argument_stack)->top; in zend_vm_stack_top() 215 *(EG(argument_stack)->top++) = ptr; in zend_vm_stack_push() 241 EG(argument_stack)->top += extra; in zend_vm_stack_alloc() 249 ret = (void*)EG(argument_stack)->top; in zend_vm_stack_alloc() 250 EG(argument_stack)->top += size; in zend_vm_stack_alloc() 268 EG(argument_stack)->top = (void**)ptr; in zend_vm_stack_free_int() 292 void **p = EG(argument_stack)->top - 1; in zend_vm_stack_clear_multiple() [all …]
|
/PHP-5.5/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.5/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.5/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.5/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() 599 if (jp->top > 0) { in parse_JSON_ex() 616 if (jp->top > 1) { in parse_JSON_ex() 617 attach_zval(jp, jp->top - 1, jp->top, &key, assoc TSRMLS_CC); in parse_JSON_ex() 632 if (jp->top > 0) { in parse_JSON_ex() [all …]
|
/PHP-5.5/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.5/Zend/tests/ |
H A D | bug63635.phpt | 24 $top = new Node(); 26 $ci = new Node($top);
|
/PHP-5.5/ext/phar/tests/ |
H A D | phar_dir_iterate.phpt | 14 $phar['top.txt'] = 'hi'; 15 $phar['sub/top.txt'] = 'there';
|
/PHP-5.5/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 …]
|