Home
last modified time | relevance | path

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

/php-uv/examples/
H A Ddebug_timer.php4 $stat = array(); variable
5 $stat['begin'] = memory_get_usage();
7 uv_timer_start($timer, 10, 1000, function($timer) use (&$stat) {
8 $stat["current"] = memory_get_usage();
9 printf("memory: %d\n", $stat["current"] - $stat['begin']);
H A Dpoll.php8 uv_poll_start($poll, UV::READABLE, function($poll, $stat, $ev, $socket) {
10 var_dump($stat);
14 uv_poll_start($pp, UV::WRITABLE, function($poll, $stat, $ev, $conn) {
16 var_dump($stat);
H A Dlstat.php3 uv_fs_lstat(uv_default_loop(), __FILE__, function($stat) {
4 var_dump($stat);
H A Dstat.php3 uv_fs_stat(uv_default_loop(), __FILE__, function($stat) {
4 var_dump($stat);
H A Dtcp_bind6.php19 uv_tcp_connect($c, uv_ip6_addr('::1',9999), function($client, $stat){
20 if ($stat == 0) {
21 uv_write($client,"Hello",function($socket, $stat){
H A Dfstat.php4 uv_fs_fstat(uv_default_loop(), $file, function($file, $stat) {
5 var_dump($stat);
H A Dfs_poll.php5 uv_fs_poll_start($poll,function($rsc,$stat,$p) {
H A Dtimer.php6 uv_timer_start($timer, 1000, 1000, function($stat) use (&$i, $timer, $loop) {
H A Didle.php6 uv_idle_start($idle, function($stat) use (&$i, $idle, $loop) {
H A Dspawn_fd.php16 function($process, $stat, $signal){
H A Dspawn.php15 function($process, $stat, $signal){
H A Dfingerd.php31 uv_write($socket, $data, function($client, $stat) {
/php-uv/tests/
H A D399-fs-stat-regression-no14.phpt7 uv_fs_stat($loop, $filename, function ($stat) use ($loop) {
8 if (is_long($stat) && $stat < 0) {
16 uv_fs_stat($loop, $filename, function ($stat) {
17 if (is_array($stat) || !$stat) {
H A D330-poll.phpt9 uv_poll_start($poll, UV::READABLE, function($poll, $stat, $ev, $socket) {
14 uv_poll_start($pp, UV::WRITABLE, function($poll, $stat, $ev, $conn) use (&$pp) {
24 uv_tcp_connect($tcp, $address, function($client, $stat) {
28 uv_write($client, $request, function($client, $stat) {
29 if ($stat == 0) {
H A D400-tcp_bind6.phpt20 uv_tcp_connect($c, uv_ip6_addr($addrinfo['address'], $addrinfo['port']), function($client, $stat) {
21 if ($stat == 0) {
22 uv_write($client,"Hello",function($socket, $stat){
H A D400-tcp_bind.phpt20 uv_tcp_connect($c, uv_ip4_addr($addrinfo['address'],$addrinfo['port']), function($client, $stat) {
21 if ($stat == 0) {
22 uv_write($client,"Hello",function($socket, $stat) {
H A D100-uv_check.phpt11 uv_idle_start($idle, function($stat) use (&$i, $idle, $loop){
H A D320-fs-event.phpt7 …uv_fs_event_init(uv_default_loop(), dirname(DIRECTORY_PATH), function($rsc, $name, $event, $stat) {
H A D101-uv-idle.phpt9 uv_idle_start($idle, function($stat)
H A D330-poll-pipe.phpt12 uv_poll_start($poll, UV::READABLE, function($poll, $stat, $ev, $fd) {
H A D320-fs-poll.phpt12 uv_fs_poll_start($poll,function($rsc,$stat,$p,$c) use (&$i) {
H A D600-pipe_bind.phpt28 uv_write($pipe, "Hello", function($stream, $stat) {
H A D005-uv_listen_cb-not-destroyed.phpt52 …uv_tcp_connect($c, uv_ip4_addr('0.0.0.0', 9876), function ($stream, $stat) use (&$closed, $tcpServ…
/php-uv/
H A DREADME.md47 uv_tcp_connect($c, uv_ip4_addr('0.0.0.0',8888), function($stream, $stat){
48 if ($stat == 0) {
49 uv_write($stream,"Hello",function($stream, $stat){
867 uv_idle_start($idle, function($idle_handle, $stat) use (&$i){
904 uv_idle_start($idle, function($idle_handle, $stat) use (&$i){
1467 uv_write($b,"Hello", function($stream,$stat){
2059 uv_idle_start($idle, function($stat) use (&$i, $idle, $loop){
2632 async stat
2640 *callable $callback*: this callback parameter expects (resource $stream, array $stat)
2871 uv_poll_start($poll, UV::WRITABLE, function($poll, $stat, $ev, $conn){
H A Dphp_uv.c443 struct stat stat; local
444 fstat(fd, &stat);
445 if (!S_ISFIFO(stat.st_mode))
1012 PHP_UV_FS_SETUP_AND_EXECUTE(stat, path->val);
2027 static zval php_uv_stat_to_zval(const uv_stat_t *stat) argument
2032 add_assoc_long_ex(&result, ZEND_STRL("dev"), stat->st_dev);
2033 add_assoc_long_ex(&result, ZEND_STRL("ino"), stat->st_ino);
2034 add_assoc_long_ex(&result, ZEND_STRL("mode"), stat->st_mode);
2036 add_assoc_long_ex(&result, ZEND_STRL("uid"), stat->st_uid);
2037 add_assoc_long_ex(&result, ZEND_STRL("gid"), stat->st_gid);
[all …]

Completed in 31 milliseconds