/PHP-7.2/ext/gd/libgd/ |
H A D | gdcache.c | 79 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-7.2/ext/gd/ |
H A D | gdcache.c | 80 elem = head->mru; in gdCacheDelete() 81 while(elem) { in gdCacheDelete() 83 prev = elem; in gdCacheDelete() 84 elem = elem->next; in gdCacheDelete() 97 elem = head->mru; in gdCacheGet() 103 while(elem) { in gdCacheGet() 114 prev = elem; in gdCacheGet() 115 elem = elem->next; in gdCacheGet() 129 elem = prev; in gdCacheGet() 134 head->mru = elem; in gdCacheGet() [all …]
|
/PHP-7.2/ext/intl/msgformat/ |
H A D | msgformat_helpers.cpp | 413 zval *elem; in umsg_format_helper() local 472 convert_to_string_ex(elem); in umsg_format_helper() 476 Z_STRVAL_P(elem), Z_STRLEN_P(elem), &err.code); in umsg_format_helper() 481 "'%s'", Z_STRVAL_P(elem)); in umsg_format_helper() 494 d = Z_DVAL_P(elem); in umsg_format_helper() 496 d = (double)Z_LVAL_P(elem); in umsg_format_helper() 498 SEPARATE_ZVAL_IF_NOT_REF(elem); in umsg_format_helper() 501 ? Z_DVAL_P(elem) in umsg_format_helper() 502 : (double)Z_LVAL_P(elem); in umsg_format_helper() 590 switch (Z_TYPE_P(elem)) { in umsg_format_helper() [all …]
|
/PHP-7.2/Zend/ |
H A D | zend_ptr_stack.c | 44 void *elem; in zend_ptr_stack_n_push() local 50 elem = va_arg(ptr, void *); in zend_ptr_stack_n_push() 52 *(stack->top_element++) = elem; in zend_ptr_stack_n_push() 62 void **elem; in zend_ptr_stack_n_pop() local 66 elem = va_arg(ptr, void **); in zend_ptr_stack_n_pop() 67 *elem = *(--stack->top_element); in zend_ptr_stack_n_pop()
|
/PHP-7.2/ext/simplexml/tests/ |
H A D | 024.phpt | 11 <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'); 35 ===elem/@attr2=== 164 ===elem[2]/@attr2===
|
H A D | bug72957.phpt | 8 $xml = new SimpleXMLElement('<root><elem>Text</elem></root>');
|
/PHP-7.2/ext/spl/ |
H A D | spl_dllist.c | 44 #define SPL_LLIST_DELREF(elem) if(!--(elem)->rc) { \ argument 45 efree(elem); \ 48 #define SPL_LLIST_CHECK_DELREF(elem) if((elem) && !--(elem)->rc) { \ argument 49 efree(elem); \ 52 #define SPL_LLIST_ADDREF(elem) (elem)->rc++ argument 53 #define SPL_LLIST_CHECK_ADDREF(elem) if(elem) (elem)->rc++ argument 199 elem->rc = 1; in spl_ptr_llist_unshift() 200 elem->prev = NULL; in spl_ptr_llist_unshift() 223 elem->rc = 1; in spl_ptr_llist_push() 225 elem->next = NULL; in spl_ptr_llist_push() [all …]
|
H A D | spl_heap.c | 93 if (!Z_ISUNDEF_P(elem)) { in spl_ptr_heap_zval_dtor() 94 zval_ptr_dtor(elem); in spl_ptr_heap_zval_dtor() 100 if (Z_REFCOUNTED_P(elem)) { in spl_ptr_heap_zval_ctor() 101 Z_ADDREF_P(elem); in spl_ptr_heap_zval_ctor() 279 ZVAL_UNDEF(elem); in spl_ptr_heap_delete_top() 631 zval *data, *priority, elem; in SPL_METHOD() local 648 array_init(&elem); in SPL_METHOD() 948 zval elem; in spl_heap_it_move_forward() local 957 zval_ptr_dtor(&elem); in spl_heap_it_move_forward() 982 zval elem; in SPL_METHOD() local [all …]
|
/PHP-7.2/ext/date/tests/ |
H A D | date_sun_info_003.phpt | 9 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 D | date_sun_info_002.phpt | 7 foreach ($sun_info as $key => $elem ) 9 echo date( 'Y-m-d H:i:s T', $elem ), " ", $key, "\n";
|
/PHP-7.2/ext/xml/tests/ |
H A D | xml_closures_001.phpt | 9 $start_element = function ($xp, $elem, $attribs) 11 print "<$elem"; 20 $end_element = function ($xp, $elem) 22 print "</$elem>\n";
|
H A D | xml004.phpt | 26 function start_element($xp, $elem, $attribs) 28 print "<$elem"; 37 function end_element($xp, $elem) 39 print "</$elem>\n";
|
/PHP-7.2/ext/mysqlnd/ |
H A D | mysqlnd_reverse_api.c | 73 MYSQLND_REVERSE_API * elem; in zval_to_mysqlnd() local 74 ZEND_HASH_FOREACH_PTR(&mysqlnd_api_ext_ht, elem) { in zval_to_mysqlnd() 75 if (elem->conversion_cb) { in zval_to_mysqlnd() 76 retval = elem->conversion_cb(zv); in zval_to_mysqlnd()
|
/PHP-7.2/ext/sysvmsg/tests/ |
H A D | 006.phpt | 12 foreach ($tests as $elem) { 13 echo @"Sending/receiving '$elem':\n"; 14 var_dump(msg_send($queue, 1, $elem, false)); 19 var_dump($elem == $msg); 20 var_dump($elem === $msg);
|
/PHP-7.2/ext/sockets/ |
H A D | conversions.c | 109 int *elem; in param_get_bool() local 111 return *elem; in param_get_bool() 221 zval *elem; in from_array_iterate() local 252 zval *elem; in from_zval_write_aggregation() local 699 zval *elem; in from_zval_write_sockaddr_aux() local 910 zval *elem; in from_zval_write_control_array() local 1017 zval *elem, tmp; in to_zval_read_control_array() local 1081 Z_ADDREF_P(elem); in from_zval_write_iov_array_aux() 1090 zval_ptr_dtor(elem); in from_zval_write_iov_array_aux() 1206 zval elem; in to_zval_read_iov() local [all …]
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | bug22463.phpt | 10 function cb($v, $elem) { 11 return $v + a($elem);
|
H A D | bug35821.phpt | 13 public static function CallBack(Element $elem) 15 $elem->ThrowException();
|
/PHP-7.2/ext/dom/tests/ |
H A D | domelement.phpt | 75 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 D | dom002.phpt | 19 foreach ($elems as $elem) { 20 var_dump($elem->nodeName); 21 dump($elem->childNodes);
|
H A D | bug34276.phpt | 14 foreach ($elems as $elem) { 15 var_dump($elem->nodeName); 16 dump($elem->childNodes);
|
/PHP-7.2/ext/spl/tests/ |
H A D | dllist_004.phpt | 29 foreach ($stack as $elem) { 30 echo "[$elem]\n";
|
H A D | dllist_005.phpt | 29 foreach ($queue as $elem) { 30 echo "[$elem]\n";
|
/PHP-7.2/ext/com_dotnet/ |
H A D | com_typeinfo.c | 531 ELEMDESC *elem = &func->lprgelemdescParam[j]; in php_com_process_typeinfo() local 533 php_printf("\t\t/* %s [%d] ", vt_to_string(elem->tdesc.vt), elem->tdesc.vt); in php_com_process_typeinfo() 535 if (elem->paramdesc.wParamFlags & PARAMFLAG_FIN) in php_com_process_typeinfo() 537 if (elem->paramdesc.wParamFlags & PARAMFLAG_FOUT) in php_com_process_typeinfo() 540 if (elem->tdesc.vt == VT_PTR) { in php_com_process_typeinfo() 543 vt_to_string(elem->tdesc.lptdesc->vt), in php_com_process_typeinfo() 544 elem->tdesc.lptdesc->vt in php_com_process_typeinfo() 557 elem->tdesc.vt == VT_PTR ? "&$" : "$", in php_com_process_typeinfo()
|
/PHP-7.2/ext/simplexml/ |
H A D | README | 13 foreach ($obj->node_name as $elem) { 14 // do something with $elem
|
/PHP-7.2/ext/xmlrpc/libxmlrpc/ |
H A D | xml_element.c | 263 xml_element* elem = ecalloc(1, sizeof(xml_element)); in xml_elem_new() local 264 if(elem) { in xml_elem_new() 265 Q_Init(&elem->children); in xml_elem_new() 266 Q_Init(&elem->attrs); in xml_elem_new() 267 simplestring_init(&elem->text); in xml_elem_new() 270 simplestring_addn(&elem->text, "", 0); in xml_elem_new() 272 return elem; in xml_elem_new()
|