Lines Matching refs:psPtr

721     PipeState *psPtr = (PipeState *) instanceData;
726 if (psPtr->inFile != NULL) {
727 fd = (int) Tcl_GetFileInfo(psPtr->inFile, NULL);
739 if (psPtr->outFile != NULL) {
740 fd = (int) Tcl_GetFileInfo(psPtr->outFile, NULL);
754 if (psPtr->inFile != NULL) {
755 fd = (int) Tcl_GetFileInfo(psPtr->inFile, NULL);
765 if (psPtr->outFile != NULL) {
766 fd = (int) Tcl_GetFileInfo(psPtr->outFile, NULL);
904 PipeState *psPtr = (PipeState *) instanceData;
910 fd = (int) Tcl_GetFileInfo(psPtr->inFile, NULL);
954 PipeState *psPtr = (PipeState *) instanceData;
959 fd = (int) Tcl_GetFileInfo(psPtr->outFile, NULL);
993 PipeState *psPtr = (PipeState *) instanceData;
995 if ((mask & TCL_READABLE) && (psPtr->inFile != (Tcl_File) NULL)) {
996 Tcl_WatchFile(psPtr->inFile, TCL_READABLE);
998 if ((mask & TCL_WRITABLE) && (psPtr->outFile != (Tcl_File) NULL)) {
999 Tcl_WatchFile(psPtr->outFile, TCL_WRITABLE);
1003 if (psPtr->inFile != (Tcl_File) NULL) {
1004 Tcl_WatchFile(psPtr->inFile, TCL_EXCEPTION);
1006 if (psPtr->outFile != (Tcl_File) NULL) {
1007 Tcl_WatchFile(psPtr->outFile, TCL_EXCEPTION);
1038 PipeState *psPtr = (PipeState *) instanceData;
1041 if ((mask & TCL_READABLE) && (psPtr->inFile != (Tcl_File) NULL)) {
1042 present |= Tcl_FileReady(psPtr->inFile, TCL_READABLE);
1044 if ((mask & TCL_WRITABLE) && (psPtr->outFile != (Tcl_File) NULL)) {
1045 present |= Tcl_FileReady(psPtr->outFile, TCL_WRITABLE);
1048 if (psPtr->inFile != (Tcl_File) NULL) {
1049 present |= Tcl_FileReady(psPtr->inFile, TCL_EXCEPTION);
1051 if (psPtr->outFile != (Tcl_File) NULL) {
1052 present |= Tcl_FileReady(psPtr->outFile, TCL_EXCEPTION);
1081 PipeState *psPtr = (PipeState *) instanceData;
1084 return psPtr->inFile;
1087 return psPtr->outFile;