Lines Matching refs:PipeChildStd

226   int PipeChildStd[3];  member
817 cp->PipeChildStd[0] = open(cp->PipeFileSTDIN, O_RDONLY); in kwsysProcess_Execute()
818 if (cp->PipeChildStd[0] < 0) { in kwsysProcess_Execute()
824 if (fcntl(cp->PipeChildStd[0], F_SETFD, FD_CLOEXEC) < 0) { in kwsysProcess_Execute()
829 cp->PipeChildStd[0] = 0; in kwsysProcess_Execute()
831 cp->PipeChildStd[0] = cp->PipeNativeSTDIN[0]; in kwsysProcess_Execute()
842 cp->PipeChildStd[0] = -1; in kwsysProcess_Execute()
858 cp->PipeChildStd[1] = p[1]; in kwsysProcess_Execute()
877 if (!kwsysProcessSetupOutputPipeFile(&cp->PipeChildStd[1], in kwsysProcess_Execute()
884 kwsysProcessCleanupDescriptor(&cp->PipeChildStd[1]); in kwsysProcess_Execute()
885 cp->PipeChildStd[1] = 1; in kwsysProcess_Execute()
888 if (!kwsysProcessSetupOutputPipeNative(&cp->PipeChildStd[1], in kwsysProcess_Execute()
908 cp->PipeChildStd[2] = p[1]; in kwsysProcess_Execute()
927 if (!kwsysProcessSetupOutputPipeFile(&cp->PipeChildStd[2], in kwsysProcess_Execute()
934 kwsysProcessCleanupDescriptor(&cp->PipeChildStd[2]); in kwsysProcess_Execute()
935 cp->PipeChildStd[2] = 2; in kwsysProcess_Execute()
938 if (!kwsysProcessSetupOutputPipeNative(&cp->PipeChildStd[2], in kwsysProcess_Execute()
953 int nextStdIn = cp->PipeChildStd[0]; in kwsysProcess_Execute()
959 si.StdOut = cp->PipeChildStd[1]; in kwsysProcess_Execute()
964 if (nextStdIn != cp->PipeChildStd[0]) { in kwsysProcess_Execute()
976 if (nextStdIn != cp->PipeChildStd[0]) { in kwsysProcess_Execute()
985 si.StdErr = cp->MergeOutput ? cp->PipeChildStd[1] : cp->PipeChildStd[2]; in kwsysProcess_Execute()
991 if (si.StdIn != cp->PipeChildStd[0]) { in kwsysProcess_Execute()
994 if (si.StdOut != cp->PipeChildStd[1]) { in kwsysProcess_Execute()
997 if (si.StdErr != cp->PipeChildStd[2] && !cp->MergeOutput) { in kwsysProcess_Execute()
1004 if (nextStdIn != cp->PipeChildStd[0]) { in kwsysProcess_Execute()
1016 kwsysProcessCleanupDescriptor(&cp->PipeChildStd[i]); in kwsysProcess_Execute()
1502 cp->PipeChildStd[i] = -1; in kwsysProcessInitialize()
1638 kwsysProcessCleanupDescriptor(&cp->PipeChildStd[i]); in kwsysProcessCleanup()