Home
last modified time | relevance | path

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

123

/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/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
DPBlackBox.h63 ANTLRTokenBuffer *pipe; variable
73 , pipe(0) in ParserBlackBox()
88 pipe = new ANTLRTokenBuffer(scan); in ParserBlackBox()
91 _parser = new Parser(pipe); in ParserBlackBox()
99 , pipe(0) in ParserBlackBox()
114 pipe = new ANTLRTokenBuffer(scan); in ParserBlackBox()
117 _parser = new Parser(pipe); in ParserBlackBox()
124 delete in; delete scan; delete pipe; delete _parser; delete tok; in ~ParserBlackBox() local
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
DPBlackBox.h54 ANTLRTokenBuffer *pipe; variable
66 pipe = new ANTLRTokenBuffer(scan); in ParserBlackBox()
69 _parser = new Parser(pipe); in ParserBlackBox()
84 pipe = new ANTLRTokenBuffer(scan); in ParserBlackBox()
87 _parser = new Parser(pipe); in ParserBlackBox()
94 delete in; delete scan; delete pipe; delete _parser; delete tok; in ~ParserBlackBox() local
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcommands.py59 pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r')
60 text = pipe.read()
61 sts = pipe.close()
Dmimetools.py225 pipe = os.popen(command, 'w')
226 copyliteral(input, pipe)
227 pipe.close()
234 pipe = os.popen(command + ' <' + tempname, 'r')
235 copybinary(pipe, output)
236 pipe.close()
Dpopen2.py52 p2cread, p2cwrite = os.pipe()
53 c2pread, c2pwrite = os.pipe()
55 errout, errin = os.pipe()
122 p2cread, p2cwrite = os.pipe()
123 c2pread, c2pwrite = os.pipe()
Duuid.py305 with os.popen(cmd) as pipe:
306 for line in pipe:
353 pipe = os.popen(os.path.join(dir, 'ipconfig') + ' /all')
357 for line in pipe:
362 pipe.close()
Dplatform.py377 pipe = None variable in _popen
388 self.pipe = open(tmpfile,'rb')
394 return self.pipe.read()
399 return self.pipe.readlines()
405 if self.pipe:
406 rc = self.pipe.close()
502 pipe = popen(cmd)
503 info = pipe.read()
504 if pipe.close():
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
Dlpwatch.py42 pipe = os.popen('lpq -P' + name + ' 2>&1', 'r')
50 for line in pipe:
93 sts = pipe.close()
/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/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dplatform.py377 pipe = None variable in _popen
388 self.pipe = open(tmpfile,'rb')
394 return self.pipe.read()
399 return self.pipe.readlines()
405 if self.pipe:
406 rc = self.pipe.close()
502 pipe = popen(cmd)
503 info = pipe.read()
504 if pipe.close():
/device/google/dragon/crash_collector/
Dcrash_dispatcher.cc48 if (pipe(pipe_fds) == -1) { in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_signal.py152 os_done_r, os_done_w = os.pipe()
264 self.read, self.write = os.pipe()
296 r, w = os.pipe()
Dtest_poll.py36 rd, wr = os.pipe()
Dtest_thread.py202 self.read_fd, self.write_fd = os.pipe()
Dtest_shutil.py327 pipe = os.path.join(subdir, "mypipe")
328 os.mkfifo(pipe)
335 self.assertEqual("`%s` is a named pipe" % pipe, error_msg)
Dtest_uuid.py458 fds = os.pipe()
/device/linaro/bootloader/edk2/StdLib/Include/
Dunistd.h149 int pipe(int *);
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShell.uni45 #string STR_SHELL_INVALID_SPLIT #language en-US "Invalid use of pipe (%B|%N).\r\n"
/device/linaro/bootloader/edk2/ArmPlatformPkg/
DArmPlatformPkg.fdf42 # the pipe "|" character, followed by the size of the region, also in hex with the leading
72 # the pipe "|" character, followed by the size of the region, also in hex with the leading
/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp299 if (pipe(mThreadClosingPipe)) { in openHub()

123