/external/libxcam/xcore/ |
D | drm_display.cpp | 63 , _fd (-1) in DrmDisplay() 85 _fd = open_drivers ("/dev/dri/renderD", 128); in DrmDisplay() 88 if (_fd < 0) in DrmDisplay() 89 _fd = open_drivers ("/dev/dri/card", 0); in DrmDisplay() 91 if (_fd < 0) { in DrmDisplay() 92 _fd = drmOpen (_module, DEFAULT_DRM_BUSID); in DrmDisplay() 93 if (_fd >= 0 && !is_authenticated (_fd, DEFAULT_DRM_BUSID)) { in DrmDisplay() 94 drmClose (_fd); in DrmDisplay() 95 _fd = -1; in DrmDisplay() 99 if (_fd < 0) { in DrmDisplay() [all …]
|
D | v4l2_device.cpp | 39 , _fd (-1) in V4l2Device() 155 _fd = ::open (_name, O_RDWR); in open() 156 if (_fd == -1) { in open() 182 ::close (_fd); in close() 183 _fd = -1; in close() 191 if (_fd <= 0) in io_control() 194 return xcam_device_ioctl (_fd, cmd, arg); in io_control() 203 XCAM_ASSERT (_fd > 0); in poll_event() 206 poll_fd.fd = _fd; in poll_event() 520 … pointer = mmap (0, v4l2_buf.length, PROT_READ | PROT_WRITE, map_flags, _fd, v4l2_buf.m.offset); in allocate_buffer()
|
D | v4l2_device.h | 54 return _fd; in get_fd() 60 return (_fd != -1); in is_opened() 128 int _fd; variable
|
D | drm_display.h | 95 return _fd; in get_drm_handle() 136 int _fd; variable
|
/external/u-boot/arch/riscv/include/asm/ |
D | posix_types.h | 72 #define __FD_SET(_fd, fdsetp) \ argument 73 typeof(_fd) (fd) = (_fd); \ 77 #define __FD_CLR(_fd, fdsetp) \ argument 78 typeof(_fd) (fd) = (_fd); \ 82 #define __FD_ISSET(_fd, fdsetp) \ argument 83 typeof(_fd) (fd) = (_fd); \
|
/external/python/cpython3/Lib/multiprocessing/ |
D | semaphore_tracker.py | 31 self._fd = None 36 return self._fd 51 os.close(self._fd) 52 self._fd = None 76 self._fd = w 96 nbytes = os.write(self._fd, msg)
|
D | spawn.py | 103 semaphore_tracker._semaphore_tracker._fd = tracker_fd
|
D | forkserver.py | 293 semaphore_tracker._semaphore_tracker._fd,
|
/external/autotest/client/deps/lansim/src/py/ |
D | tuntap.py | 110 self._fd = fd 125 os.close(self._fd) 238 return os.read(self._fd, self.mtu + ETHERNET_HEADER_SIZE) 250 os.write(self._fd, data) 255 return self._fd
|
/external/autotest/client/common_lib/ |
D | logging_manager.py | 534 self._fd = stream.fileno() 544 fd_copy = os.dup(self._fd) 597 os.dup2(write_end, self._fd) # point FD to the subprocess 599 fd_flags = fcntl.fcntl(self._fd, fcntl.F_GETFD) 600 fcntl.fcntl(self._fd, fcntl.F_SETFD, 640 fd_copy = os.dup(self._fd) 652 os.close(self._fd) 659 os.dup2(old_fd, self._fd)
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | forwarder.py | 80 self._fd = -1 84 self._fd = os.open(self._path, os.O_RDONLY | os.O_CREAT) 85 if self._fd < 0: 87 fcntl.flock(self._fd, fcntl.LOCK_EX) 90 fcntl.flock(self._fd, fcntl.LOCK_UN) 91 os.close(self._fd)
|
/external/autotest/client/cros/ |
D | device_jail_utils.py | 30 self._fd = os.open(path, flag) 33 os.close(self._fd) 37 return self._fd
|
/external/python/cpython3/Lib/ |
D | _pyio.py | 1419 _fd = -1 variable in FileIO 1440 if self._fd >= 0: 1444 os.close(self._fd) 1446 self._fd = -1 1542 self._fd = fd 1545 if self._fd >= 0 and self._closefd and not self.closed: 1563 (class_name, self._fd, self.mode, self._closefd)) 1588 return os.read(self._fd, size) 1602 pos = os.lseek(self._fd, 0, SEEK_CUR) 1603 end = os.fstat(self._fd).st_size [all …]
|
/external/python/google-api-python-client/googleapiclient/ |
D | http.py | 432 self._fd = fd 439 self._fd.seek(0, os.SEEK_END) 440 self._size = self._fd.tell() 485 self._fd.seek(begin) 486 return self._fd.read(length) 507 return self._fd 640 self._fd = fd 692 self._fd.write(content)
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | siginfo.h | 100 int _fd; member 159 #define si_fd _sifields._sigpoll._fd
|
/external/python/google-api-python-client/tests/ |
D | test_http.py | 438 self.assertEqual(self.fd, download._fd) 488 download._fd = self.fd = BytesIO() 565 self.assertEqual(self.fd, download._fd) 610 self.assertEqual(self.fd, download._fd) 631 self.assertEqual(self.fd, download._fd)
|
/external/toolchain-utils/cros_utils/ |
D | logger.py | 256 def _WriteTo(self, _fd, msg, _flush): argument
|
D | command_executer.py | 555 self._fd = fd
|
/external/tensorflow/tensorflow/python/client/ |
D | session_test.py | 1893 self._fd = self._stderr.fileno() 1896 self._dup_fd = os.dup(self._fd) 1898 os.dup2(in_pipe, self._fd) 1907 os.dup2(self._dup_fd, self._fd)
|