Home
last modified time | relevance | path

Searched refs:data (Results 1 – 8 of 8) sorted by relevance

/php-uv/tests/
H A D300-fs.phpt5 define("FIXTURE_PATH", dirname(__FILE__) . "/fixtures/hello.data");
8 uv_fs_read(uv_default_loop(), $r, $offset = 0, $len = 32, function($stream, $data) {
9 if (is_long($data)) {
10 if ($data < 0) {
16 echo trim($data) . "\n";
23 uv_fs_read(uv_default_loop(), $r, $offset = 1, $len = 32, function($stream, $data) {
24 if (is_long($data)) {
25 if ($data < 0) {
31 echo "H" . trim($data) . "\n";
H A D600-pipe_bind.phpt13 uv_read_start($pipe,function($pipe, $data) use ($stream) {
14 if ($data === \UV::EOF) {
18 echo $data;
H A D800-uv_queue_work.phpt7 $data = ob_get_clean();
8 if (!preg_match("/Thread Safety.+?enabled/", $data) || PHP_VERSION_ID >= 80000) {
H A D320-fs-sendfile.phpt5 define("FIXTURE_PATH", dirname(__FILE__) . "/fixtures/hello.data");
/php-uv/examples/
H A Dfs.php3 uv_fs_read(uv_default_loop(),$r,function($stream, $data) {
4 if (is_long($data)) {
12 echo $data;
H A Dfingerd.php24 $data = ""; variable
26 $data .= join("",array_map("pad",$keys)) . "\r\n";
28 $data .= join("", array_map("pad",array_values($user))) . "\r\n";
31 uv_write($socket, $data, function($client, $stat) {
/php-uv/
H A Dphp_uv.c180 req->data = uv;
184 w->req.data = uv; \
190 w->req.data = uv; \
2454 PHP_UV_INIT_SEND_REQ(w, uv, data->val, data->len);
2602 data.n = n;
2603 data.loop = loop;
3796 PHP_UV_INIT_WRITE_REQ(w, uv, data->val, data->len, cb)
3829 PHP_UV_INIT_WRITE_REQ(w, uv, data->val, data->len, cb);
4334 zval *data; local
4796 req->data = uv;
[all …]
H A DREADME.md331 ### void uv_write(resource $handle, string $data, callable $callback)
340 *string $data*: buffer.
351 ### void uv_write2(resource $handle, string $data, resource $send, callable $callback)
1240 ### void uv_udp_send(resource $handle, string $data, resource $uv_addr, callable $callback)
1250 *string $data*: data
1285 ### void uv_udp_send6(resource $handle, string $data, resource $uv_addr6, callable $callback)
1295 *string $data*: data

Completed in 43 milliseconds