Home
last modified time | relevance | path

Searched refs:_pipe_fd (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/
H A Dfake_v4l2_device.cpp97 status = pipe(_pipe_fd); in create_notify_pipe()
102 status = fcntl(_pipe_fd[0], F_SETFL, O_NONBLOCK); in create_notify_pipe()
107 status = fcntl(_pipe_fd[1], F_SETFL, O_NONBLOCK); in create_notify_pipe()
119 if (_pipe_fd[0] != -1 || _pipe_fd[1] != -1) { in destroy_notify_pipe()
120 ::close(_pipe_fd[0]); in destroy_notify_pipe()
121 ::close(_pipe_fd[1]); in destroy_notify_pipe()
122 _pipe_fd[0] = -1; in destroy_notify_pipe()
123 _pipe_fd[1] = -1; in destroy_notify_pipe()
169 poll_fds[0].fd = _pipe_fd[0]; in poll_event()
189 read(_pipe_fd[0], buf, sizeof(buf)); in poll_event()
[all …]
H A Dfake_v4l2_device.h33 _pipe_fd[0] = -1; in FakeV4l2Device()
34 _pipe_fd[1] = -1; in FakeV4l2Device()
56 int _pipe_fd[2]; variable