Lines Matching refs:result

56  *	A standard Tcl result.
76 int result; /* Result of puts operation. */
120 result = Tcl_Write(chan, argv[i], -1);
121 if (result < 0) {
125 result = Tcl_Write(chan, "\n", 1);
126 if (result < 0) {
147 * A standard Tcl result.
164 int result; /* Result of call to channel
183 result = Tcl_Flush(chan);
184 if (result != TCL_OK) {
188 return result;
201 * A standard Tcl result.
286 * A standard Tcl result.
410 (interp->result[charactersRead-1] == '\n')) {
411 interp->result[charactersRead-1] = '\0';
426 * A standard Tcl result.
503 sprintf(interp->result, "%d", totalRead);
516 sprintf(interp->result, "%d", totalRead);
530 * A standard Tcl result.
549 int result; /* Of calling Tcl_Seek. */
583 result = Tcl_Seek(chan, offset, mode);
584 if (result == -1) {
603 * A standard Tcl result.
635 sprintf(interp->result, "%d", Tcl_Tell(chan));
650 * A standard Tcl result.
683 * error output from the subprocesses is stored in interp->result.
691 len = strlen(interp->result);
692 if ((len > 0) && (interp->result[len - 1] == '\n')) {
693 interp->result[len - 1] = '\0';
711 * A standard Tcl result.
728 int result; /* Of Tcl_Set/GetChannelOption. */
730 Tcl_DString ds; /* DString to hold result of
769 result = Tcl_SetChannelOption(interp, chan, argv[i-1], argv[i]);
770 if (result != TCL_OK) {
771 return result;
787 * A standard Tcl result.
790 * Sets interp->result to "0" or "1" depending on whether the
816 sprintf(interp->result, "%d", Tcl_Eof(chan) ? 1 : 0);
831 * A standard Tcl result.
852 int keepNewline, firstWord, background, length, result;
904 * Get the list of PIDs from the pipeline into interp->result and
943 result = Tcl_Close(interp, chan);
946 * If the last character of interp->result is a newline, then remove
953 length = strlen(interp->result);
955 (interp->result[length-1] == '\n')) {
956 interp->result[length-1] = '\0';
957 interp->result[length] = 'x';
960 return result;
975 * A standard Tcl result.
978 * Sets interp->result to "0" or "1" depending on whether the
1010 sprintf(interp->result, "%d", Tcl_InputBlocked(chan) ? 1 : 0);
1024 * A standard Tcl result.
1285 int result;
1305 result = Tcl_VarEval(interp, script, " ", Tcl_GetChannelName(chan),
1307 if (result != TCL_OK) {
1373 * A standard Tcl result.