Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 15 of 15) sorted by relevance

/device/generic/goldfish/libqemu/
Dtest_util.c45 pipe_openSocket( Pipe* pipe, int port ) in pipe_openSocket() argument
50 pipe->socket = -1; in pipe_openSocket()
70 pipe->socket = fd; in pipe_openSocket()
75 pipe_openQemuPipe( Pipe* pipe, const char* pipename ) in pipe_openQemuPipe() argument
77 pipe->socket = qemu_pipe_open(pipename); in pipe_openQemuPipe()
78 if (pipe->socket < 0) { in pipe_openQemuPipe()
86 pipe_send( Pipe* pipe, const void* buff, size_t bufflen ) in pipe_send() argument
91 ret = write(pipe->socket, ptr, bufflen); in pipe_send()
109 pipe_recv( Pipe* pipe, void* buff, size_t bufflen ) in pipe_recv() argument
114 ret = read(pipe->socket, buff, bufflen); in pipe_recv()
[all …]
Dtest_util.h29 int pipe_openSocket( Pipe* pipe, int port );
30 int pipe_openQemuPipe( Pipe* pipe, const char* pipename );
31 int pipe_send( Pipe* pipe, const void* buff, size_t bufflen );
32 int pipe_recv( Pipe* pipe, void* buff, size_t bufflen );
33 void pipe_close( Pipe* pipe );
Dtest_guest_1.c42 Pipe pipe[1]; in main() local
47 if (pipe_openSocket(pipe, port) < 0) { in main()
53 if (pipe_openQemuPipe(pipe, PIPE_NAME) < 0) { in main()
70 int ret = pipe_send(pipe, buff, len); in main()
79 ret = pipe_recv(pipe, buff2, len); in main()
99 pipe_close(pipe); in main()
Dtest_guest_2.c50 Pipe pipe[1]; in main() local
137 if (pipe_openSocket(pipe, localPort) < 0) { in main()
144 if (pipe_openQemuPipe(pipe, pipeName) < 0) { in main()
163 int ret = pipe_send(pipe, buffer, bufferSize); in main()
176 ret = pipe_recv(pipe, buffer2 + pos, len); in main()
234 pipe_close(pipe); in main()
/device/asus/fugu/kernel-headers/linux/
Dpsb_drm.h635 uint32_t pipe; member
642 uint32_t pipe; member
690 uint32_t pipe; member
754 uint32_t pipe; member
957 int pipe; member
981 uint32_t pipe; member
1022 uint32_t pipe; member
1037 uint32_t pipe; member
1116 uint32_t pipe; member
1122 uint32_t pipe; member
[all …]
/device/asus/fugu/original-kernel-headers/linux/
Dpsb_drm.h691 uint32_t pipe; member
699 uint32_t pipe; member
746 uint32_t pipe; member
805 uint32_t pipe; member
1046 int pipe; member
1073 uint32_t pipe; member
1116 uint32_t pipe; member
1129 uint32_t pipe; member
1201 uint32_t pipe; member
1207 uint32_t pipe; member
[all …]
/device/google/dragon/crash_collector/
Dcrash_dispatcher.cc48 if (pipe(pipe_fds) == -1) { in main()
/device/generic/goldfish/camera/
DEmulatedCameraDevice.cpp296 if (pipe(thread_fds) == 0) { in readyToRun()
/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp289 if (pipe(mThreadClosingPipe)) { in openHub()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_thread.c307 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c500 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c514 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch()
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c514 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch()
/device/google/dragon/sensor_hub/
Dsensors.cpp599 int result = pipe(wakeFds); in cros_ec_sensors_poll_context_t()
/device/htc/flounder/sensor_hub/libsensors/
Dsensors.cpp659 int result = pipe(wakeFds); in sensors_poll_context_t()