HomeSort by relevance Sort by last modified time
    Searched full:fromfd (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /toolchain/binutils/binutils-2.27/binutils/
rename.c 45 int fromfd, tofd, nread; local
49 fromfd = open (from, O_RDONLY | O_BINARY);
50 if (fromfd < 0)
60 close (fromfd);
64 while ((nread = read (fromfd, buf, sizeof buf)) > 0)
69 close (fromfd);
76 close (fromfd);
  /frameworks/base/cmds/incidentd/src/
FdBuffer.cpp 123 status_t FdBuffer::readProcessedDataInStream(int fd, unique_fd toFd, unique_fd fromFd,
128 {.fd = fromFd.get(), .events = POLLIN},
136 fcntl(fromFd.get(), F_SETFL, fcntl(fromFd.get(), F_GETFL, 0) | O_NONBLOCK);
238 ssize_t amt = ::read(fromFd.get(), mBuffer.writeBuffer(), mBuffer.currentToWrite());
241 VLOG("Fail to read fromFd %d: %s", fromFd.get(), strerror(errno));
245 VLOG("Reached EOF of fromFd %d", fromFd.get());
FdBuffer.h 55 * The parsing process provides IO fds which are 'toFd' and 'fromFd'. The function
57 * and stores the processed data from 'fromFd' in memory for later usage.
63 status_t readProcessedDataInStream(int fd, unique_fd toFd, unique_fd fromFd, int64_t timeoutMs,
  /external/python/cpython2/Lib/multiprocessing/
reduction.py 181 def fromfd(fd, family, type_, proto=0): function
182 s = socket.fromfd(fd, family, type_, proto)
193 _sock = fromfd(fd, family, type_, proto)
  /prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/
reduction.py 181 def fromfd(fd, family, type_, proto=0): function
182 s = socket.fromfd(fd, family, type_, proto)
193 _sock = fromfd(fd, family, type_, proto)
  /prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/
reduction.py 181 def fromfd(fd, family, type_, proto=0): function
182 s = socket.fromfd(fd, family, type_, proto)
193 _sock = fromfd(fd, family, type_, proto)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
reduction.py 181 def fromfd(fd, family, type_, proto=0): function
182 s = socket.fromfd(fd, family, type_, proto)
193 _sock = fromfd(fd, family, type_, proto)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
reduction.py 181 def fromfd(fd, family, type_, proto=0): function
182 s = socket.fromfd(fd, family, type_, proto)
193 _sock = fromfd(fd, family, type_, proto)
  /external/autotest/client/cros/graphics/
gbm.py 108 def fromFD(cls, device, fd, width, height, stride, bo_format, usage):
202 bo = GBMBuffer.fromFD(device,
256 bo = GBMBuffer.fromFD(device,
  /external/python/cpython3/Lib/
_compat_pickle.py 73 ('_socket', 'fromfd'): ('socket', 'fromfd'),
socket.py 14 fromfd() -- create a socket object from an open file descriptor [*]
63 __all__ = ["fromfd", "getfqdn", "create_connection",
454 def fromfd(fd, family, type, proto=0): function
455 """ fromfd(fd, family, type[, proto]) -> socket object
  /frameworks/av/media/mtp/
MtpUtils.cpp 159 android::base::unique_fd fromFd(open(fromPath, O_RDONLY));
160 if (fromFd == -1) {
180 ret = sendfile(toFd, fromFd, &offset, transfer_length);
  /cts/hostsidetests/security/securityPatch/CVE-2016-8424/
poc.c 49 __s32 fd; /* DmaBufFd or FromFd */
  /cts/hostsidetests/security/securityPatch/CVE-2016-8429/
poc.c 68 __s32 fd; /* DmaBufFd or FromFd */
  /libcore/ojluni/src/main/java/sun/nio/fs/
UnixNativeDispatcher.java 193 * renameat(int fromfd, const char* old, int tofd, const char* new)
195 static void renameat(int fromfd, byte[] from, int tofd, byte[] to) throws UnixException {
199 renameat0(fromfd, fromBuffer.address(), tofd, toBuffer.address());
205 private static native void renameat0(int fromfd, long fromAddress, int tofd, long toAddress)
  /external/python/cpython3/Lib/multiprocessing/
reduction.py 176 with socket.fromfd(conn.fileno(), socket.AF_UNIX, socket.SOCK_STREAM) as s:
181 with socket.fromfd(conn.fileno(), socket.AF_UNIX, socket.SOCK_STREAM) as s:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-dynload/
select.so 
  /external/linux-kselftest/tools/testing/selftests/capabilities/
test_execve.c 154 static void copy_fromat_to(int fromfd, const char *fromname, const char *toname)
156 int from = openat(fromfd, fromname, O_RDONLY);
  /cts/hostsidetests/security/securityPatch/CVE-2016-8428/
poc.c 48 __s32 fd; /* DmaBufFd or FromFd */
  /cts/hostsidetests/security/securityPatch/CVE-2016-8430/
poc.c 56 __s32 fd; /* DmaBufFd or FromFd */
  /cts/hostsidetests/security/securityPatch/CVE-2016-8460/
poc.c 47 __s32 fd; /* DmaBufFd or FromFd */
  /cts/hostsidetests/security/securityPatch/CVE-2016-8482/
poc.c 45 __s32 fd; /* DmaBufFd or FromFd */
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_kqueue.py 100 kq2 = select.kqueue.fromfd(kq.fileno())
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_kqueue.py 100 kq2 = select.kqueue.fromfd(kq.fileno())
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_kqueue.py 100 kq2 = select.kqueue.fromfd(kq.fileno())

Completed in 9048 milliseconds

1 2 3 4