Home
last modified time | relevance | path

Searched refs:read_fd (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp255 int read_fd = -1; in ReadEvent() local
258 read_fd = pollfds[i].fd; in ReadEvent()
263 if (read_fd == sensor_fd_) { in ReadEvent()
265 } else if (read_fd == comms_fd_) { in ReadEvent()
269 if (read_fd >= 0) { in ReadEvent()
270 result = ReadEventFromFd(read_fd, message); in ReadEvent()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_thread.py202 self.read_fd, self.write_fd = os.pipe()
215 os.close(self.read_fd)
222 self.assertEqual(os.read(self.read_fd, 2), "OK",
227 os.close(self.read_fd)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/
Dedk2module.c5115 int read_fd, write_fd; in posix_pipe()
5122 read_fd = _open_osfhandle((Py_intptr_t)read, 0); in posix_pipe()
5124 return Py_BuildValue("(ii)", read_fd, write_fd); in posix_pipe()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dposixmodule.c6768 int read_fd, write_fd; in posix_pipe()
6775 read_fd = _open_osfhandle((Py_intptr_t)read, 0); in posix_pipe()
6777 return Py_BuildValue("(ii)", read_fd, write_fd); in posix_pipe()