Searched refs:stdout (Results 1 - 25 of 38) sorted by relevance

12

/ast/src/lib/libtk/library/demos/
H A Dhello16 puts stdout "Hello, world"; destroy .
H A Dbrowse40 puts stdout "\"$file\" isn't a directory or regular file"
H A Dmenu.tcl54 -command {puts stdout "Hello"} -accelerator Control+a -underline 6
55 bind . <Control-a> {puts stdout "Hello"}
57 puts stdout "Goodbye"} -accelerator Control+b -underline 6
58 bind . <Control-b> {puts stdout "Goodbye"}
H A Dcscroll.tcl16 label $w.msg -font $font -wraplength 4i -justify left -text "This window displays a canvas widget that can be scrolled either using the scrollbars or by dragging with button 2 in the canvas. If you click button 1 on one of the rectangles, its indices will be printed on stdout."
91 puts stdout "You buttoned at [lindex [$canvas itemconf $id -text] 4]"
H A Ditems.tcl243 puts stdout "Items enclosed by area: $items"
250 puts stdout "Items overlapping area: $items"
/ast/src/cmd/INIT/
H A Dmktest.sh24 stdout=9
29 eval "exec $stdout>&1"
169 then print -u$stdout
177 print -u$stdout -r -- '#' "$@"
179 shell) print -u$stdout -r -f ": $QUOTE"$'\n' -- "$*"
189 print -u$stdout -r -f $'UNIT'
191 do print -u$stdout -r -f " $QUOTE" -- "$ARG"
193 print -u$stdout
195 shell) print -u$stdout -r -f $'set x'
197 do print -u$stdout
[all...]
H A Drelease.c304 fprintf(stdout, "%s\n", id + 10);
352 fputc(i, stdout);
359 fputs(s, stdout);
/ast/src/lib/libtksh/lib/tksh7.6/
H A Dparray.tcl2 # Print the contents of a global array on stdout.
27 puts stdout [format "%-*s = %s" $maxl $nameString $array($name)]
H A Dinit.tcl118 return [uplevel exec >&@stdout <@stdin [list $new] [lrange $args 1 end]]
/ast/src/cmd/ksh93/tests/
H A Dmath.sh43 compound out=( typeset stdout stderr ; integer res )
159 out.stderr="${ { out.stdout="${ ${SHELL} -o nounset -o errexit -c "${cmd}" ; (( out.res=$? )) ; }" ; } 2>&1 ; }"
162 [[ "${out.stdout}" == ${tst.stdoutpattern} ]] || err_exit "${testname}: Expected stdout to match $(printf '%q\n' "${tst.stdoutpattern}"), got $(printf '%q\n' "${out.stdout}")"
H A Dcomvario.sh371 compound out=( typeset stdout stderr ; integer res )
421 out.stderr="${ { out.stdout="${ ${SHELL} -c "${test.cmd}" ; (( out.res=$? )) ; }" ; } 2>&1 ; }"
424 [[ "${out.stdout}" == ${test.stdoutpattern} ]] || err_exit "${testname}: Expected match for ${test.stdoutpattern}, got $(printf "%q\n" "${out.stdout}")"
427 read -C val <<<"${out.stdout}" || err_exit "${testname}: read -C val failed with exit code $?"
440 compound out=( typeset stdout stderr ; integer res )
451 out.stderr="${ { out.stdout="${ ${SHELL} -o nounset -c "${tests[i]}" ; (( out.res=$? )) ; }" ; } 2>&1 ; }"
453 [[ "${out.stdout}" == '' ]] || err_exit "$0/${i}: Expected empty stdout, got $(printf '%q\n' "${out.stdout}")"
[all...]
H A Dstatics.sh87 compound out=( typeset stdout stderr ; integer res )
642 out.stderr="${ { out.stdout="${ ${SHELL} -o nounset -c "${currtest.cmd}" ; (( out.res=$? )) ; }" ; } 2>&1 ; }"
645 [[ "${out.stdout}" == "${currtest.expected_output}" ]] || err_exit "${currtest.name}: Expected stdout == $(printf "%q\n" "${currtest.expected_output}"), got $(printf "%q\n" "${out.stdout}")"
H A Darrays2.sh185 compound out=( typeset stdout stderr ; integer res )
200 out.stderr="${ { out.stdout="${ ${SHELL} -o nounset -o errexit -c "${tst.cmd}" ; (( out.res=$? )) ; }" ; } 2>&1 ; }"
202 [[ "${out.stdout}" == ${tst.stdoutpattern} ]] || err_exit "${testname}: Expected stdout to match $(printf '%q\n' "${tst.stdoutpattern}"), got $(printf '%q\n' "${out.stdout}")"
/ast/src/lib/libz/
H A Dminigzip.c302 SET_BINARY_MODE(stdout);
306 gz_uncompress(file, stdout);
308 file = gzdopen(fileno(stdout), outmode);
309 if (file == NULL) error("can't gzdopen stdout");
/ast/src/cmd/mailx/
H A Dcollect.c99 fflush(stdout);
194 * New message collected from stdout.
208 * stdout = new message.
413 headout(stdout, hp, g);
414 fflush(stdout);
501 filecopy(state.var.signature, fp, state.var.signature, state.collect.fp, stdout, (off_t)0, NiL, NiL, 0);
645 putline(stdout, s);
654 fp = stdout;
663 fp = stdout;
H A Dcmd1.c337 obuf = stdout;
349 obuf = stdout;
360 if (obuf != stdout)
565 quote(stdout, (char*)hp->value);
606 quote(stdout, pp.data);
645 quote(stdout, pp.buf);
683 mimelist(state.part.mime, stdout, NiL);
692 else if (!mimelist(state.part.mime, stdout, s))
H A Dmisc.c98 fflush(stdout);
101 fp = stdout;
H A Dproc.c106 if (streq(file, "-") || streq(file, "/dev/stdout") || streq(file, "/dev/fd/1"))
107 return stdout;
272 if (fp == stdout || fp == stderr)
456 * of stdin and stdout. The command name can be a sequence of words.
H A Dmain.c516 fflush(stdout);
H A Dtty.c364 fflush(stdout);
/ast/src/cmd/bzip/
H A Dbzip2.c237 /*-- source modes; F==file, I==stdin, O==stdout --*/
327 if (zStream != stdout) {
423 if (stream != stdout) {
841 copyFileName ( outName, "(stdout)" ); break;
846 copyFileName ( outName, "(stdout)" ); break;
879 outStr = stdout;
880 if ( isatty ( fileno ( stdout ) ) ) {
892 outStr = stdout;
893 if ( isatty ( fileno ( stdout ) ) ) {
963 copyFileName ( outName, "(stdout)" ); brea
[all...]
/ast/src/lib/libast/astsa/
H A Dast.h121 #define sfstdout stdout
/ast/src/lib/libtk/library/
H A Dconsole.tcl57 flush stdout
177 flush stdout
395 # dest - The output tag to be used: either "stderr" or "stdout".
/ast/src/cmd/cs/vcs_src/
H A Dmnt_imount.c152 #define PROMPT() {printf("[%s]> ", (istate.fd > 0 ? istate.cs_svc : "IM")); if (xjade) printf("\n"); fflush(stdout);}
/ast/src/cmd/tw/
H A Dfind.c917 if (streq(b, "/dev/stdout") || streq(b, "/dev/fd/1"))

Completed in 51 milliseconds

12