Home
last modified time | relevance | path

Searched refs:elem (Results 1 – 25 of 53) sorted by relevance

123

/php-src/ext/gd/libgd/
H A Dgdcache.c79 elem = head->mru; in gdCacheDelete()
80 while (elem) in gdCacheDelete()
83 prev = elem; in gdCacheDelete()
84 elem = elem->next; in gdCacheDelete()
97 elem = head->mru; in gdCacheGet()
98 while (elem) in gdCacheGet()
112 prev = elem; in gdCacheGet()
113 elem = elem->next; in gdCacheGet()
130 elem = prev; in gdCacheGet()
135 head->mru = elem; in gdCacheGet()
[all …]
/php-src/ext/simplexml/tests/
H A D024.phpt11 <elem attr1='11' attr2='12' attr3='13'/>
12 <elem attr1='21' attr2='22' attr3='23'/>
13 <elem attr1='31' attr2='32' attr3='33'/>
27 test('elem/@attr2');
30 test('elem[2]/@attr2');
34 ===elem/@attr2===
163 ===elem[2]/@attr2===
H A Dbug72957.phpt8 $xml = new SimpleXMLElement('<root><elem>Text</elem></root>');
H A Dcurrent_error.phpt11 <elem/>
36 string(4) "elem"
H A Dkey_error.phpt11 <elem/>
36 string(4) "elem"
/php-src/Zend/
H A Dzend_ptr_stack.c40 void *elem; in zend_ptr_stack_n_push() local
46 elem = va_arg(ptr, void *); in zend_ptr_stack_n_push()
48 *(stack->top_element++) = elem; in zend_ptr_stack_n_push()
58 void **elem; in zend_ptr_stack_n_pop() local
62 elem = va_arg(ptr, void **); in zend_ptr_stack_n_pop()
63 *elem = *(--stack->top_element); in zend_ptr_stack_n_pop()
/php-src/ext/spl/
H A Dspl_dllist.c38 #define SPL_LLIST_RC(elem) Z_EXTRA((elem)->data) argument
40 #define SPL_LLIST_DELREF(elem) if (!--SPL_LLIST_RC(elem)) { \ argument
41 efree(elem); \
44 #define SPL_LLIST_CHECK_DELREF_EX(elem, on_free) if ((elem) && !--SPL_LLIST_RC(elem)) { \ argument
45 efree(elem); \
49 #define SPL_LLIST_CHECK_DELREF(elem) SPL_LLIST_CHECK_DELREF_EX(elem, ;) argument
51 #define SPL_LLIST_ADDREF(elem) SPL_LLIST_RC(elem)++ argument
52 #define SPL_LLIST_CHECK_ADDREF(elem) if (elem) SPL_LLIST_RC(elem)++ argument
164 elem->prev = NULL; in spl_ptr_llist_unshift()
175 llist->head = elem; in spl_ptr_llist_unshift()
[all …]
H A Dspl_heap.c100 zval_ptr_dtor((zval *) elem); in spl_ptr_heap_zval_dtor()
105 Z_TRY_ADDREF_P((zval *) elem); in spl_ptr_heap_zval_ctor()
143 Z_TRY_ADDREF(elem->data); in spl_pqueue_extract_helper()
145 Z_TRY_ADDREF(elem->priority); in spl_pqueue_extract_helper()
319 if (elem) { in spl_ptr_heap_delete_top()
540 zval elem; in spl_heap_object_get_debug_info() local
546 Z_TRY_ADDREF_P(elem); in spl_heap_object_get_debug_info()
670 spl_pqueue_elem elem; in PHP_METHOD() local
710 spl_pqueue_elem elem; in PHP_METHOD() local
737 spl_pqueue_elem *elem; in PHP_METHOD() local
[all …]
/php-src/ext/date/tests/
H A Ddate_sun_info_003.phpt9 foreach ($sun_info as $key => $elem ) {
10 echo "$key: " . date("H:i:s", $elem) . "\n";
16 foreach ($sun_info as $key => $elem ) {
17 echo "$key: " . date("H:i:s", $elem) . "\n";
H A Ddate_sun_info_002.phpt7 foreach ($sun_info as $key => $elem )
9 echo date( 'Y-m-d H:i:s T', $elem ), " ", $key, "\n";
/php-src/ext/xml/tests/
H A Dxml_closures_001.phpt9 $start_element = function ($xp, $elem, $attribs)
11 print "<$elem";
20 $end_element = function ($xp, $elem)
22 print "</$elem>\n";
H A Dxml004.phpt26 function start_element($xp, $elem, $attribs)
28 print "<$elem";
37 function end_element($xp, $elem)
39 print "</$elem>\n";
/php-src/ext/dom/tests/
H A Dgh16336_1.phpt9 $elem = new DOMElement("g");
13 $doc->appendChild($elem);
14 $elem->setAttributeNode($attr);
H A Dgh16336_2.phpt9 $elem = new DOMElement("g");
13 $elem->setAttributeNode($attr);
14 $doc->appendChild($elem);
H A Dbug67474.phpt16 $elem = $doc->documentElement;
17 $list = $elem->getElementsByTagNameNS('', 'a');
19 $list = $elem->getElementsByTagNameNS(null, 'a');
H A Dgh16338.phpt12 $elem = new DOMElement("Rj", "o");
19 $com2->after($elem);
21 $elem->insertBefore($ref);
H A Ddomelement.phpt75 echo 'Element Name: '.(($elem = $dom->getElementByID('n1'))?$elem->localName:'Not Found')."\n";
78 echo 'Element Name: '.(($elem = $dom->getElementByID('n1'))?$elem->localName:'Not Found')."\n";
80 echo 'Element Name: '.(($elem = $dom->getElementByID('n3'))?$elem->nodeName:'Not Found')."\n";
85 echo 'Element Name: '.(($elem = $dom->getElementByID('n3'))?$elem->nodeName:'Not Found')."\n";
H A Ddom002.phpt19 foreach ($elems as $elem) {
20 var_dump($elem->nodeName);
21 dump($elem->childNodes);
H A Dbug34276.phpt14 foreach ($elems as $elem) {
15 var_dump($elem->nodeName);
16 dump($elem->childNodes);
/php-src/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp388 zval *elem; in umsg_format_helper() local
395 ZVAL_DEREF(elem); in umsg_format_helper()
471 double d = zval_get_double(elem); in umsg_format_helper()
479 if (Z_TYPE_P(elem) == IS_DOUBLE) { in umsg_format_helper()
486 tInt32 = (int32_t)Z_DVAL_P(elem); in umsg_format_helper()
490 Z_LVAL_P(elem) < INT32_MIN)) { in umsg_format_helper()
495 tInt32 = (int32_t)Z_LVAL_P(elem); in umsg_format_helper()
507 if (Z_TYPE_P(elem) == IS_DOUBLE) { in umsg_format_helper()
514 tInt64 = (int64_t)Z_DVAL_P(elem); in umsg_format_helper()
518 tInt64 = (int64_t)Z_LVAL_P(elem); in umsg_format_helper()
[all …]
/php-src/ext/sysvmsg/tests/
H A D006.phpt12 foreach ($tests as $elem) {
13 echo @"Sending/receiving '$elem':\n";
15 var_dump(msg_send($queue, 1, $elem, false));
23 var_dump($elem == $msg);
24 var_dump($elem === $msg);
/php-src/ext/standard/tests/array/
H A Dbug22463.phpt10 function cb($v, $elem) {
11 return $v + a($elem);
H A Dbug35821.phpt13 public static function CallBack(Element $elem)
15 $elem->ThrowException();
/php-src/ext/sockets/
H A Dconversions.c110 int *elem; in param_get_bool() local
112 return *elem; in param_get_bool()
222 zval *elem; in from_array_iterate() local
234 func(elem, i, args, ctx); in from_array_iterate()
253 zval *elem; in from_zval_write_aggregation() local
712 zval *elem; in from_zval_write_sockaddr_aux() local
931 zval *elem; in from_zval_write_control_array() local
1031 zval *elem, tmp; in to_zval_read_control_array() local
1219 zval elem; in to_zval_read_iov() local
1381 if (Z_TYPE_P(elem) == IS_OBJECT && Z_OBJCE_P(elem) == socket_ce) { in from_zval_write_fd_array_aux()
[all …]
/php-src/ext/spl/tests/
H A Dbug65387.phpt11 $it2 = new CallbackFilterIterator($it, function($elem) use(&$it2) {
20 $this->it = new CallbackFilterIterator($it, function($elem) {
28 $it2 = new RecursiveCallbackFilterIterator($it, function($elem) use(&$it2) {

Completed in 32 milliseconds

123