Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 22 of 22) 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/generic/goldfish/opengl/shared/OpenglCodecCommon/
DWin32PipeStream.cpp40 Win32PipeStream::Win32PipeStream(HANDLE pipe, size_t bufSize) : in Win32PipeStream() argument
42 m_pipe(pipe) in Win32PipeStream()
87 HANDLE pipe; in accept() local
91 pipe = ::CreateNamedPipe( in accept()
103 if (pipe == INVALID_HANDLE_VALUE) { in accept()
113 if (::ConnectNamedPipe(pipe, NULL) == 0 && GetLastError() != ERROR_PIPE_CONNECTED) { in accept()
115 CloseHandle(pipe); in accept()
119 clientStream = new Win32PipeStream(pipe, m_bufsize); in accept()
126 HANDLE pipe; in connect() local
135 pipe = ::CreateFile( in connect()
[all …]
DWin32PipeStream.h35 Win32PipeStream(HANDLE pipe, size_t bufSize);
/device/samsung/manta/sepolicy/
Dsystem_server.te1 # Label the .gps.interface.pipe.to_jni pipe with gps_data_file.
2 type_transition system_server system_data_file:fifo_file gps_data_file ".gps.interface.pipe.to_jni";
Dgpsd.te1 # gpsd on manta uses /data/.gps.interface.pipe.to_gpsd,
2 # /data/.gps.interface.pipe.to_jni, /data/.gpsd.lock,
Dfile_contexts30 /data/\.gps\.interface\.pipe\.to_gpsd u:object_r:gps_data_file:s0
31 /data/\.gps\.interface\.pipe\.to_jni u:object_r:gps_data_file:s0
/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/asus/grouper/sepolicy/
Dsystem_server.te4 # Access .gps.interface.pipe.to_gpsd.
/device/generic/goldfish/camera/
DEmulatedCameraDevice.cpp294 if (pipe(thread_fds) == 0) { in readyToRun()
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_thread.c308 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch()
/device/samsung/manta/libsensors/
Dsensors.cpp206 int result = pipe(wakeFds); in sensors_poll_context_t()
/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/lge/hammerhead/libsensors/
Dsensors.cpp231 int result = pipe(wakeFds); in sensors_poll_context_t()
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c472 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/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c499 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch()
/device/lge/mako/camera/mm-camera-interface/
Dmm_camera_poll_thread.c391 rc = pipe(poll_cb->data.pfds); in mm_camera_poll_thread_launch()
/device/htc/flounder/sensor_hub/libsensors/
Dsensors.cpp659 int result = pipe(wakeFds); in sensors_poll_context_t()