Home
last modified time | relevance | path

Searched refs:loop (Results 1 – 24 of 24) sorted by relevance

/php-uv/tests/
H A D005-uv_listen_cb-not-destroyed.phpt7 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 D006-uv_async_init-no-memory-leak.phpt7 $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 D100-uv_stop.phpt2 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 D010-uv_loop_new.phpt7 $loop = uv_loop_new();
8 $async = uv_async_init($loop, function($async) {
13 uv_run($loop);
H A D399-fs-stat-regression-no14.phpt5 $loop = uv_default_loop();
7 uv_fs_stat($loop, $filename, function ($stat) use ($loop) {
16 uv_fs_stat($loop, $filename, function ($stat) {
H A D100-uv_check.phpt5 $loop = uv_default_loop();
6 $check = uv_check_init($loop);
11 uv_idle_start($idle, function($stat) use (&$i, $idle, $loop){
H A D003-uv_write_different-callbacks.phpt5 $loop = uv_loop_new();
7 $handler = uv_pipe_init($loop, false);
14 uv_run($loop);
H A D002-uv_loop_delete_segfault.phpt5 $loop = uv_loop_new();
6 uv_loop_delete($loop);
H A D330-poll-pipe.phpt9 $loop = uv_loop_new();
10 $poll = uv_poll_init($loop, $fd);
17 uv_run($loop);
H A D004-uv_write-no-memory_leak.phpt9 $loop = uv_loop_new();
11 $handler = uv_pipe_init($loop, false);
22 uv_run($loop, \UV::RUN_DEFAULT);
H A D100-uv_async.phpt5 $loop = uv_default_loop();
6 $async = uv_async_init($loop, function($async) {
H A D100-uv_prepare.phpt5 $loop = uv_default_loop();
6 $prepare = uv_prepare_init($loop);
H A D101-uv-idle.phpt5 $loop = uv_default_loop();
10 use (&$i, $idle, $loop) {
H A D800-uv_queue_work.phpt13 $loop = uv_default_loop();
22 $queue = uv_queue_work($loop, $a, $b);
H A D100-uv_timer.phpt5 $loop = uv_default_loop();
/php-uv/examples/
H A Dcheck.php2 $loop = uv_default_loop(); variable
3 $check = uv_check_init($loop);
8 uv_idle_start($idle, function($status) use (&$i, $idle, $loop){
H A Dqueue.php2 $loop = uv_default_loop(); variable
4 $queue = uv_queue_work($loop, function(){
H A Dprepare.php2 $loop = uv_default_loop(); variable
3 $prepare = uv_prepare_init($loop);
H A Dasync.php2 $loop = uv_default_loop(); variable
3 $async = uv_async_init($loop, function($async) {
H A Dtimer.php2 $loop = uv_default_loop(); variable
6 uv_timer_start($timer, 1000, 1000, function($stat) use (&$i, $timer, $loop) {
H A Didle.php2 $loop = uv_default_loop(); variable
6 uv_idle_start($idle, function($stat) use (&$i, $idle, $loop) {
/php-uv/
H A DREADME.md203 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 Dphp_uv.c1245 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 Dphp_uv.h160 uv_loop_t loop; member
218 uv_loop_t loop; member

Completed in 52 milliseconds