Home
last modified time | relevance | path

Searched refs:uv (Results 1 – 13 of 13) sorted by relevance

/php-uv/
H A Dconfig.w324 ARG_WITH("uv", "for uv support", "no");
8 ERROR('uv depends on the sockets extension');
11 if (CHECK_HEADER_ADD_INCLUDE("uv.h", "CFLAGS_UV", PHP_UV + "\\include")
12 && CHECK_LIB("libuv.lib", "uv", PHP_UV)) {
13 EXTENSION('uv', 'php_uv.c uv.c', PHP_UV_SHARED);
15 WARNING("uv not enabled; libraries and/or headers not found");
18 CHECK_LIB("Iphlpapi.lib","uv", PHP_UV);
19 CHECK_LIB("psapi.lib","uv", PHP_UV);
20 CHECK_LIB("userenv.lib","uv", PHP_UV);
21 CHECK_LIB("Ws2_32.lib","uv", PHP_UV);
[all …]
H A Dphp_uv.c1392 uv_stop(uv->uv.fs.loop);
1398 uv_stop(uv->uv.work.loop);
1601 uv_stop(uv->uv.handle.loop);
1871 switch (uv->uv.fs.fs_type) {
1898 if (uv->uv.fs.result < 0) {
1940 if (uv->uv.fs.result == 0) {
1950 ZVAL_STRINGL(&params[1], uv->buffer, uv->uv.fs.result);
2636 uv->uv.handle.data = uv;
3536 uv_unref(&uv->uv.handle);
3607 uv_ref(&uv->uv.handle);
[all …]
H A Dconfig.m41 PHP_ARG_WITH(uv, Whether to include "uv" support,
2 [ --with-uv[=DIR] Include "uv" support])
4 PHP_ARG_ENABLE(uv-debug, for uv debug support,
5 [ --enable-uv-debug Enable enable uv debug support], no, no)
21 AC_DEFINE(PHP_UV_DEBUG, 1, [Enable uv debug support])
31 AC_DEFINE(PHP_UV_DTRACE, 1, [Enable uv dtrace support])
43 PHP_NEW_EXTENSION(uv, php_uv.c uv.c $SOURCES, $ext_shared)
45 PHP_ADD_EXTENSION_DEP(uv, sockets, true)
66 SEARCH_FOR="/include/uv.h"
79 PHP_CHECK_LIBRARY(uv, uv_version,
[all …]
H A DREADME.md1 # php-uv
13 cd php-uv
441 close uv handle.
492 *resource $uv*: uv resource handle which started uv_read.
1770 *resource $handle*: uv resource handle (uv rwlock)
1796 *resource $handle*: uv resource handle (uv rwlock)
1814 *resource $handle*: uv resource handle (uv rwlock)
1840 *resource $handle*: uv resource handle (uv rwlock)
1874 *resource $handle*: uv resource handle (uv mutex)
1916 *resource $handle*: uv resource handle (uv sem)
[all …]
H A Dphp_uv.h178 } uv; member
237 ZEND_BEGIN_MODULE_GLOBALS(uv)
239 ZEND_END_MODULE_GLOBALS(uv)
/php-uv/examples/
H A Dudp_bind.php12 $uv = uv_udp_init(); variable
13 uv_udp_send($uv, "Hello", uv_ip4_addr("0.0.0.0", 10000), function($uv, $status) {
15 uv_close($uv);
/php-uv/tests/
H A D000-load.phpt2 Check for php-uv presence
4 <?php if (!extension_loaded("uv")) print "skip"; ?>
7 echo "uv extension is available";
9 uv extension is available
H A D500-udp_bind.phpt14 $uv = uv_udp_init();
15 uv_udp_send($uv, "Hello", uv_ip4_addr("0.0.0.0", 10000), function($uv, $s) {
16 uv_close($uv);
H A D500-udp_bind6.phpt14 $uv = uv_udp_init();
15 uv_udp_send($uv, "Hello", uv_ip6_addr("::1", 10000), function($uv, $s) {
16 uv_close($uv);
H A D320-fs-readlink.phpt6 $uv = uv_loop_new();
8 uv_fs_readlink($uv, __FILE__, function ($result) {
12 uv_run($uv);
H A D010-uv_loop_new.phpt4 <?php if(!extension_loaded("uv")) print "skip"; ?>
H A D001-constants.phpt2 Check for php-uv constants
/php-uv/.github/workflows/
H A Dci.yml32 # install 'php-uv'
33 phpize && ./configure --with-uv=$(readlink -f `pwd`/libuv)
36 echo "extension = uv.so" >> $(php -r 'echo php_ini_loaded_file();')

Completed in 38 milliseconds