Searched refs:pipe (Results 1 – 5 of 5) sorted by relevance
98 pipe = subprocess.Popen(105 pid.append(pipe.pid)107 output = pipe.communicate(input=stdin_input)[0]115 if pipe.returncode:117 pipe.returncode))
85 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testEmptyFile() local86 doc.readContent(pipe[1]); in testEmptyFile()170 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testNormalMetadataOnly() local172 doc.readContent(pipe[1]); in testNormalMetadataOnly()225 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testErrorAbortsWrite() local229 final FileOutputStream os = new FileOutputStream(pipe[1].getFileDescriptor()); in testErrorAbortsWrite()232 pipe[1].closeWithError("ZOMG"); in testErrorAbortsWrite()242 doc.writeMetadataAndContent(second, pipe[0]); in testErrorAbortsWrite()
78 pipe = self._cmd2pipe[cmd_tuple]80 self._lru = [(cmd_tuple, pipe)] + [i for i in self._lru if i[0] != cmd_tuple]81 return pipe92 pipe = self.SpawnProcess(cmd)93 self._cmd2pipe[cmd_tuple] = pipe94 self._lru = [(cmd_tuple, pipe)] + self._lru95 return pipe100 def TerminateProcess(self, pipe): argument101 pipe.stdin.close()102 pipe.stdout.close()[all …]
382 for (UCHAR pipe = 0; pipe < intr_desc.bNumEndpoints; pipe++) { in TestInterfaceHandle() local383 if (AdbGetEndpointInformation(interface_handle, pipe, &pipe_info)) { in TestInterfaceHandle()384 printf("\n PIPE %u info:", pipe); in TestInterfaceHandle()387 printf("\n--- AdbGetEndpointInformation(%u) failure %u", pipe, in TestInterfaceHandle()
525 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in startRead() local526 final ParcelFileDescriptor readEnd = pipe[0]; in startRead()527 final ParcelFileDescriptor writeEnd = pipe[1]; in startRead()555 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in startWrite() local556 final ParcelFileDescriptor readEnd = pipe[0]; in startWrite()557 final ParcelFileDescriptor writeEnd = pipe[1]; in startWrite()