Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 25 of 130) sorted by relevance

123456

/php-src/ext/mbstring/libmbfl/mbfl/
H A Dmk_eaw_tbl.awk7 prev = -1
21 if (prev < 0) {
23 } else if (v - prev > 1) {
31 prev = v
33 if (prev >= 0) {
38 prev = -1
48 if (prev < 0) {
58 prev = ve
60 if (prev >= 0) {
65 prev = -1
[all …]
/php-src/Zend/
H A Dzend_atomic.h111 *expected = prev; in zend_atomic_bool_compare_exchange_ex()
121 *expected = prev; in zend_atomic_int_compare_exchange_ex()
198 return prev;
202 int prev = false;
204 return prev;
218 return prev;
224 return prev;
250 return prev;
260 return prev;
356 return prev;
[all …]
H A Dzend_arena.h31 zend_arena *prev; member
40 arena->prev = NULL; in zend_arena_create()
47 zend_arena *prev = arena->prev; in zend_arena_destroy() local
49 arena = prev; in zend_arena_destroy()
105 zend_arena *prev = arena->prev; in zend_arena_release() local
119 arena = arena->prev; in zend_arena_contains()
146 arena->prev = NULL; in zend_arena_create()
153 zend_arena *prev = arena->prev; in zend_arena_destroy() local
159 arena = prev; in zend_arena_destroy()
199 zend_arena *prev = arena->prev; in zend_arena_release() local
[all …]
H A Dzend_llist.c38 tmp->prev = l->tail; in zend_llist_add_element()
57 tmp->prev = NULL; in zend_llist_prepend_element()
59 l->head->prev = tmp; in zend_llist_prepend_element()
71 if ((current)->prev) {\
77 (current)->next->prev = (current)->prev;\
79 (l)->tail = (current)->prev;\
135 if (old_tail->prev) { in zend_llist_remove_tail()
136 old_tail->prev->next = NULL; in zend_llist_remove_tail()
141 l->tail = old_tail->prev; in zend_llist_remove_tail()
219 elements[0]->prev = NULL; in zend_llist_sort()
[all …]
/php-src/ext/ffi/tests/
H A Dlist.phpt20 dlist *prev;
28 $node->prev = $node;
36 $prev = $node;
38 FFI::free($prev);
47 $node->prev = $this->root->prev;
48 $this->root->prev->next = $node;
49 $this->root->prev = $node;
57 $node->prev->next = $node->next;
58 $node->next->prev = $node->prev;
/php-src/ext/standard/tests/array/
H A Dprev_basic.phpt2 Test prev() function : basic functionality
6 * Test basic functionality of prev()
9 echo "*** Testing prev() : basic functionality ***\n";
14 var_dump(prev($array));
17 var_dump(prev($array));
20 var_dump(prev($array));
27 var_dump(prev($array2));
32 *** Testing prev() : basic functionality ***
H A Dprev_variation2.phpt2 Test prev() function : usage variation - Multi-dimensional arrays
6 * Test prev() when passed:
12 echo "*** Testing prev() : usage variations ***\n";
21 var_dump(prev($array_arg));
22 var_dump(prev($array_arg));
25 var_dump(prev($array_arg[0]));
28 *** Testing prev() : usage variations ***
H A Dprev_error3.phpt2 prev - ensure we cannot pass a temporary
6 * Pass temporary variables to prev() to test behaviour
10 var_dump(prev(array(1, 2)));
13 Fatal error: Uncaught Error: prev(): Argument #1 ($array) could not be passed by reference in %s:%d
H A Dprev_error2.phpt2 prev - ensure warning is received when passing an indirect temporary.
6 * Pass temporary variables to prev() to test behaviour
16 var_dump(prev(f()));
/php-src/ext/spl/tests/SplObjectStorage/
H A Dbug49263.phpt10 $s->attach($o1, array('prev' => 2, 'next' => $o2));
11 $s->attach($o2, array('prev' => $o1));
19 …;a:4:{i:0;O:8:"stdClass":0:{}i:1;a:2:{s:4:"prev";i:2;s:4:"next";O:8:"stdClass":0:{}}i:2;r:6;i:3;a:…
30 ["prev"]=>
44 ["prev"]=>
/php-src/ext/gd/libgd/
H A Dgdcache.c77 gdCache_element_t *elem, *prev; in gdCacheDelete() local
83 prev = elem; in gdCacheDelete()
85 gdPFree ((char *) prev); in gdCacheDelete()
94 gdCache_element_t *elem, *prev = NULL, *prevprev = NULL; in gdCacheGet() local
105 prev->next = elem->next; in gdCacheGet()
111 prevprev = prev; in gdCacheGet()
112 prev = elem; in gdCacheGet()
130 elem = prev; in gdCacheGet()
/php-src/ext/dom/lexbor/lexbor/core/
H A Dmem.c44 lexbor_mem_chunk_t *prev, *chunk; in lexbor_mem_clean() local
52 while (chunk->prev) { in lexbor_mem_clean()
53 prev = chunk->prev; in lexbor_mem_clean()
58 chunk = prev; in lexbor_mem_clean()
71 lexbor_mem_chunk_t *chunk, *prev; in lexbor_mem_destroy() local
82 prev = chunk->prev; in lexbor_mem_destroy()
84 chunk = prev; in lexbor_mem_destroy()
175 mem->chunk->next->prev = mem->chunk; in lexbor_mem_alloc()
/php-src/ext/spl/tests/
H A Ddllist_010.phpt2 SPL: DoublyLinkedList: prev
13 $dll->prev();
22 $dll->prev();
H A Ddllist_011.phpt2 SPL: DoublyLinkedList: prev
7 $dll->prev();
/php-src/main/streams/
H A Dfilter.c163 bucket->prev = NULL; in php_stream_bucket_prepend()
166 brigade->head->prev = bucket; in php_stream_bucket_prepend()
180 bucket->prev = brigade->tail; in php_stream_bucket_append()
194 if (bucket->prev) { in php_stream_bucket_unlink()
200 bucket->next->prev = bucket->prev; in php_stream_bucket_unlink()
288 filter->prev = NULL; in php_stream_filter_prepend_ex()
291 chain->head->prev = filter; in php_stream_filter_prepend_ex()
310 filter->prev = chain->tail; in php_stream_filter_append_ex()
392 filter->prev->next = NULL; in _php_stream_filter_append()
485 if (filter->prev) { in php_stream_filter_remove()
[all …]
/php-src/sapi/fpm/fpm/
H A Dfpm_php_trace.c75 long prev; in fpm_php_trace_dump() local
124 execute_data = prev = l; in fpm_php_trace_dump()
126 while (prev) { in fpm_php_trace_dump()
129 if (0 > fpm_trace_get_long(prev + offsetof(zend_execute_data, func), &l)) { in fpm_php_trace_dump()
155 if (0 > fpm_trace_get_long(prev + offsetof(zend_execute_data, opline), &l)) { in fpm_php_trace_dump()
172 if (0 > fpm_trace_get_long(prev + offsetof(zend_execute_data, prev_execute_data), &l)) { in fpm_php_trace_dump()
176 prev = l; in fpm_php_trace_dump()
H A Dfpm_events.c177 elt->prev = NULL; in fpm_event_queue_add()
182 (*queue)->prev = elt; in fpm_event_queue_add()
205 if (q->prev) { in fpm_event_queue_del()
206 q->prev->next = q->next; in fpm_event_queue_del()
209 q->next->prev = q->prev; in fpm_event_queue_del()
214 (*queue)->prev = NULL; in fpm_event_queue_del()
443 if (q->prev) { in fpm_event_loop()
444 q->prev->next = q->next; in fpm_event_loop()
447 q->next->prev = q->prev; in fpm_event_loop()
452 fpm_event_queue_timer->prev = NULL; in fpm_event_loop()
/php-src/ext/random/tests/03_randomizer/methods/
H A DgetFloat_opposite_signs.phpt32 $prev = null;
36 if ($prev !== null) {
37 printf(" (%+.17g)", ($float - $prev));
41 $prev = $float;
/php-src/ext/date/tests/
H A DDateTime_data-spring-type2-type3.inc14 * + prev: the day before the transition day 2010-03-13 18:38:28 EST
22 $end = new DateTime('2010-03-13 18:38:28'); // prev, zt3
23 $start = new DateTime('2010-02-11 02:18:48 EST'); // sp prev, zt2
28 $start = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2
33 $start = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2
38 $start = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2
42 $end = new DateTime('2010-03-13 18:38:28'); // prev, zt3
62 $end = new DateTime('2010-03-13 18:38:28'); // prev, zt3
82 $end = new DateTime('2010-03-13 18:38:28'); // prev, zt3
H A DDateTime_data-spring-type3-type2.inc14 * + prev: the day before the transition day 2010-03-13 18:38:28 EST
22 $end = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2
23 $start = new DateTime('2010-02-11 02:18:48'); // sp prev, zt3
28 $start = new DateTime('2010-03-13 18:38:28'); // prev, zt3
33 $start = new DateTime('2010-03-13 18:38:28'); // prev, zt3
38 $start = new DateTime('2010-03-13 18:38:28'); // prev, zt3
42 $end = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2
62 $end = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2
82 $end = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2
H A DDateTime_data-spring-type3-type3.inc14 * + prev: the day before the transition day 2010-03-13 18:38:28
22 $end = new DateTime('2010-03-13 18:38:28'); // prev, zt3
23 $start = new DateTime('2010-02-11 02:18:48'); // sp prev, zt3
28 $start = new DateTime('2010-03-13 18:38:28'); // prev, zt3
33 $start = new DateTime('2010-03-13 18:38:28'); // prev, zt3
38 $start = new DateTime('2010-03-13 18:38:28'); // prev, zt3
42 $end = new DateTime('2010-03-13 18:38:28'); // prev, zt3
62 $end = new DateTime('2010-03-13 18:38:28'); // prev, zt3
82 $end = new DateTime('2010-03-13 18:38:28'); // prev, zt3
H A DDateTime_data-spring-type2-type2.inc14 * + prev: the day before the transition day 2010-03-13 18:38:28 EST
22 $end = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2
23 $start = new DateTime('2010-02-11 02:18:48 EST'); // sp prev, zt2
28 $start = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2
33 $start = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2
38 $start = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2
42 $end = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2
62 $end = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2
82 $end = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2
H A DDateTime_data-fall-type2-type2.inc14 * + prev: the day before the transition day 2010-11-06 18:38:28 EDT
24 $end = new DateTime('2010-11-06 18:38:28 EDT'); // prev, zt2
25 $start = new DateTime('2010-10-04 02:18:48 EDT'); // sp prev, zt2
30 $start = new DateTime('2010-11-06 18:38:28 EDT'); // prev, zt2
35 $start = new DateTime('2010-11-06 18:38:28 EDT'); // prev, zt2
40 $start = new DateTime('2010-11-06 18:38:28 EDT'); // prev, zt2
45 $start = new DateTime('2010-11-06 18:38:28 EDT'); // prev, zt2
50 $start = new DateTime('2010-11-06 18:38:28 EDT'); // prev, zt2
54 $end = new DateTime('2010-11-06 18:38:28 EDT'); // prev, zt2
84 $end = new DateTime('2010-11-06 18:38:28 EDT'); // prev, zt2
[all …]
/php-src/ext/intl/tests/
H A Dcollation_customization.phpt16 $prev = null;
19 if( is_null( $prev ) )
23 $eqrc = ut_coll_compare( $coll, $prev, $i );
28 $prev = $i;
/php-src/ext/spl/
H A Dspl_dllist.c164 elem->prev = NULL; in spl_ptr_llist_unshift()
184 elem->prev = llist->tail; in spl_ptr_llist_push()
209 if (tail->prev) { in spl_ptr_llist_pop()
210 tail->prev->next = NULL; in spl_ptr_llist_pop()
220 tail->prev = NULL; in spl_ptr_llist_pop()
768 if (element->prev) { in PHP_METHOD()
773 element->next->prev = element->prev; in PHP_METHOD()
839 zval prev; in spl_dllist_it_helper_move_forward() local
848 zval prev; in spl_dllist_it_helper_move_forward() local
1191 elem->prev = element->prev; in PHP_METHOD()
[all …]

Completed in 36 milliseconds

123456