Searched refs:fromfd (Results 1 – 13 of 13) sorted by relevance
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
D | splice.c | 38 int fromfd = open(fromfile, O_RDWR | O_CREAT, TEST_MODE); in splice_0100() local 39 if (fromfd < 0) { in splice_0100() 40 t_error("%s failed: fromfd = %d\n", __func__, fromfd); in splice_0100() 53 ssize_t result = splice(fromfd, &off, tofd, &off, len, flags); in splice_0100() 83 int fromfd = open(path, O_RDONLY); in splice_0200() local 84 if (fromfd < 0) { in splice_0200() 85 t_error("%s failed: fromfd = %d\n", __func__, fromfd); in splice_0200() 98 ssize_t bytes = splice(fromfd, NULL, pipe1[1], NULL, len, flags); in splice_0200()
|
D | sendfile.c | 44 int fromfd = open(fromfile, O_RDONLY); in sendfile_0100() local 45 if (fromfd < 0) { in sendfile_0100() 46 t_error("%s failed: open. fromfd = %d\n", __func__, fromfd); in sendfile_0100() 55 int result = sendfile(tofd, fromfd, &off, 1); in sendfile_0100() 60 close(fromfd); in sendfile_0100() 83 int fromfd = -1; in sendfile_0200() local 87 int result = sendfile(tofd, fromfd, &off, 1); in sendfile_0200()
|
/third_party/python/Lib/multiprocessing/ |
D | reduction.py | 183 with socket.fromfd(conn.fileno(), socket.AF_UNIX, socket.SOCK_STREAM) as s: 188 with socket.fromfd(conn.fileno(), socket.AF_UNIX, socket.SOCK_STREAM) as s:
|
D | connection.py | 947 with socket.fromfd(handle, socket.AF_INET, socket.SOCK_STREAM) as s:
|
/third_party/python/Lib/test/ |
D | test_epoll.py | 145 ep2 = select.epoll.fromfd(ep.fileno())
|
D | test_kqueue.py | 126 kq2 = select.kqueue.fromfd(kq.fileno())
|
D | _test_multiprocessing.py | 5037 s = socket.fromfd(fd, socket.AF_INET, socket.SOCK_STREAM)
|
D | test_socket.py | 2479 sock = socket.fromfd(fd, socket.AF_INET, socket.SOCK_STREAM)
|
/third_party/python/Doc/library/ |
D | select.rst | 339 .. method:: epoll.fromfd(fd) 481 .. method:: kqueue.fromfd(fd)
|
D | socket.rst | 582 :func:`socket.fromfd`, *fileno* will return the same socket and not a 712 .. function:: fromfd(fd, family, type, proto=0)
|
/third_party/python/Lib/ |
D | socket.py | 539 def fromfd(fd, family, type, proto=0): function
|
/third_party/rust/crates/libc/src/unix/bsd/apple/ |
D | mod.rs | 5466 fromfd: ::c_int, in renameatx_np()
|
/third_party/python/Misc/ |
D | HISTORY | 33965 module. And there's a new function fromfd() which creates a socket
|