/php-uv/tests/ |
H A D | 005-uv_listen_cb-not-destroyed.phpt | 7 private $loop; 10 public function __construct($loop) 12 $this->loop = $loop; 13 $this->tcp = uv_tcp_init($loop); 25 $client = uv_tcp_init($this->loop); 43 $loop = uv_loop_new(); 45 $tcpServer = new TcpServer($loop); 51 $c = uv_tcp_init($loop); 62 uv_run($loop, UV::RUN_DEFAULT);
|
H A D | 006-uv_async_init-no-memory-leak.phpt | 7 $loop = uv_loop_new(); 9 $async = uv_async_init($loop, static function ($async) { 16 uv_run($loop, UV::RUN_DEFAULT); 17 uv_loop_delete($loop); 18 unset($loop);
|
H A D | 100-uv_stop.phpt | 2 Test uv_stop ends loop execution 5 $loop = uv_default_loop(); 9 uv_timer_start($timer, 10, 10, function($timer) use (&$i, $loop) { 14 uv_stop($loop);
|
H A D | 010-uv_loop_new.phpt | 7 $loop = uv_loop_new(); 8 $async = uv_async_init($loop, function($async) { 13 uv_run($loop);
|
H A D | 399-fs-stat-regression-no14.phpt | 5 $loop = uv_default_loop(); 7 uv_fs_stat($loop, $filename, function ($stat) use ($loop) { 16 uv_fs_stat($loop, $filename, function ($stat) {
|
H A D | 100-uv_check.phpt | 5 $loop = uv_default_loop(); 6 $check = uv_check_init($loop); 11 uv_idle_start($idle, function($stat) use (&$i, $idle, $loop){
|
H A D | 003-uv_write_different-callbacks.phpt | 5 $loop = uv_loop_new(); 7 $handler = uv_pipe_init($loop, false); 14 uv_run($loop);
|
H A D | 002-uv_loop_delete_segfault.phpt | 5 $loop = uv_loop_new(); 6 uv_loop_delete($loop);
|
H A D | 330-poll-pipe.phpt | 9 $loop = uv_loop_new(); 10 $poll = uv_poll_init($loop, $fd); 17 uv_run($loop);
|
H A D | 004-uv_write-no-memory_leak.phpt | 9 $loop = uv_loop_new(); 11 $handler = uv_pipe_init($loop, false); 22 uv_run($loop, \UV::RUN_DEFAULT);
|
H A D | 100-uv_async.phpt | 5 $loop = uv_default_loop(); 6 $async = uv_async_init($loop, function($async) {
|
H A D | 100-uv_prepare.phpt | 5 $loop = uv_default_loop(); 6 $prepare = uv_prepare_init($loop);
|
H A D | 101-uv-idle.phpt | 5 $loop = uv_default_loop(); 10 use (&$i, $idle, $loop) {
|
H A D | 800-uv_queue_work.phpt | 13 $loop = uv_default_loop(); 22 $queue = uv_queue_work($loop, $a, $b);
|
H A D | 100-uv_timer.phpt | 5 $loop = uv_default_loop();
|
/php-uv/examples/ |
H A D | check.php | 2 $loop = uv_default_loop(); variable 3 $check = uv_check_init($loop); 8 uv_idle_start($idle, function($status) use (&$i, $idle, $loop){
|
H A D | queue.php | 2 $loop = uv_default_loop(); variable 4 $queue = uv_queue_work($loop, function(){
|
H A D | prepare.php | 2 $loop = uv_default_loop(); variable 3 $prepare = uv_prepare_init($loop);
|
H A D | async.php | 2 $loop = uv_default_loop(); variable 3 $async = uv_async_init($loop, function($async) {
|
H A D | timer.php | 2 $loop = uv_default_loop(); variable 6 uv_timer_start($timer, 1000, 1000, function($stat) use (&$i, $timer, $loop) {
|
H A D | idle.php | 2 $loop = uv_default_loop(); variable 6 uv_idle_start($idle, function($stat) use (&$i, $idle, $loop) {
|
/php-uv/ |
H A D | README.md | 203 run event loop 930 *resource $loop*: loop resource or null. if not specified loop resource then use uv_default_loop re… 955 *resource $loop*: 976 *resource $loop*: 995 *resource $loop*: loop resource or null. if not specified loop resource then use uv_default_loop re… 1950 *resource $loop*: uv loop handle 1969 setup prepare loop callback. (pre loop callback) 2021 *resource $loop*: uv loop handle 2038 stats check loop callback. (after loop callback) 2102 *resource $loop*: uv loop resource [all …]
|
H A D | php_uv.c | 1245 uv_loop_t *loop = &loop_obj->loop; local 2578 php_uv_loop_t *loop = data->loop; local 2586 loop->gc_buffer = erealloc(loop->gc_buffer, loop->gc_buffer_size * sizeof(zval)); 2603 data.loop = loop; 2646 uv_loop_init(&loop->loop); 2815 uv_loop_t *loop = &UV_G(default_loop)->loop; local 3593 uv_update_time(&loop->loop); 3625 uv_run(&loop->loop, run_mode); 3641 uv_stop(&loop->loop); 3753 now = uv_now(&loop->loop); [all …]
|
H A D | php_uv.h | 160 uv_loop_t loop; member 218 uv_loop_t loop; member
|