Home
last modified time | relevance | path

Searched refs:outf (Results 1 – 25 of 66) sorted by relevance

123

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtrace.c50 if (outf == NULL) { in traceon()
51 outf = fopen("trace", "a"); in traceon()
52 if (outf == NULL) { in traceon()
56 fprintf(outf, "trace turned on\n"); in traceon()
66 if (outf != NULL) { in traceoff()
67 fprintf(outf, "trace turned off\n"); in traceoff()
68 fclose(outf); in traceoff()
69 outf = NULL; in traceoff()
H A Dchkinput.c126 if (outf) { in _chkinput()
127 (void) fprintf(outf, "Found a character on the input " in _chkinput()
137 if (outf) { in _chkinput()
138 (void) fprintf(outf, "Reading ahead\n"); in _chkinput()
147 if (outf) in _chkinput()
156 if (outf) in _chkinput()
157 (void) fprintf(outf, "No input waiting\n"); in _chkinput()
179 if (outf) in _print_queue()
181 (void) fprintf(outf, "inputQ[%d] = %c\n", i, inputQ[i]); in _print_queue()
H A Dwaddch.c64 if (outf) in waddch()
66 fprintf(outf, "'%c'", rawc); in waddch()
68 fprintf(outf, "'%c' %o, raw %o", c, c, rawc); in waddch()
124 if ((win->_attrs) && outf) in waddch()
159 if (outf) { in waddch()
162 fprintf(outf, "ERR because " in waddch()
166 fprintf(outf, "line: '"); in waddch()
169 fprintf(outf, "%c", in waddch()
171 fprintf(outf, "'\n"); in waddch()
186 if (outf) { in waddch()
[all …]
H A Dtparm.c294 if (outf) in tparm()
374 if (outf) in tparm()
530 if (outf) in tparm()
531 fprintf(outf, "TPARM:" in tparm()
552 else if (outf) { in tparm()
553 fprintf(outf, "TPARM: bad" in tparm()
569 else if (outf) { in tparm()
583 if (outf) in tparm()
607 if (outf) in tparm()
716 if (outf) in tparm()
[all …]
H A Dmakenew.c56 if (outf) in _makenew()
57 fprintf(outf, "MAKENEW(%d, %d, %d, %d)\n", in _makenew()
127 if (outf) { in _makenew()
128 fprintf(outf, "MAKENEW: win->_clear = %d\n", win->_clear); in _makenew()
129 fprintf(outf, "MAKENEW: win->_flags = %0.2o\n", win->_flags); in _makenew()
130 fprintf(outf, "MAKENEW: win->_maxy = %d\n", win->_maxy); in _makenew()
131 fprintf(outf, "MAKENEW: win->_maxx = %d\n", win->_maxx); in _makenew()
132 fprintf(outf, "MAKENEW: win->_begy = %d\n", win->_begy); in _makenew()
133 fprintf(outf, "MAKENEW: win->_begx = %d\n", win->_begx); in _makenew()
H A Dnewscreen.c86 if (outf == NULL) { in newscreen()
87 outf = fopen("trace", "w"); in newscreen()
88 if (outf == NULL) { in newscreen()
92 setbuf(outf, (char *)NULL); in newscreen()
95 if (outf) in newscreen()
201 if (outf) in newscreen()
202 fprintf(outf, "LINES = %d, COLS = %d\n", LINES, COLS); in newscreen()
279 if (outf) in newscreen()
280 fprintf(outf, "SP %x, stdscr %x, curscr %x\n", in newscreen()
309 if (outf) in _chk_trm()
[all …]
H A Dresetty.c53 if (outf) in resetty()
54 fprintf(outf, "resetty(), file %x, SP %x, flags %x, " in resetty()
66 if (outf) in resetty()
67 fprintf(outf, "resetty(), file %x, SP %x, flags %x, " in resetty()
84 if (outf) in resetty()
85 fprintf(outf, "resetty(), file %x, SP %x, flags %x\n", in resetty()
H A Dwmove.c51 if (outf) { in wmove()
52 fprintf(outf, "MOVE to win "); in wmove()
54 fprintf(outf, "stdscr "); in wmove()
56 fprintf(outf, "%o ", win); in wmove()
57 fprintf(outf, "(%d, %d)\n", y, x); in wmove()
H A Dtgetch.c111 if (outf) in tgetch()
142 if (outf) in _readchar()
143 fprintf(outf, "FIONREAD returns %d\n", arg); in _readchar()
163 if (outf) in _readchar()
204 if (outf) in _getkey()
237 if (outf) in _getkey()
238 fprintf(outf, "Timed out\n"); in _getkey()
242 if (outf) in _getkey()
243 fprintf(outf, in _getkey()
356 if (outf) in _getkey()
[all …]
H A Doutch.c61 if (outf) in _outwch()
63 fprintf(outf, "^%c", c^0100); in _outwch()
65 fprintf(outf, "%c", c&0177); in _outwch()
67 if (outf) in _outwch()
68 fprintf(outf, "_outch: char '%s' term %x file %x=%d\n", in _outwch()
H A Dinit_costs.c112 if (outf) { in _init_costs()
113 fprintf(outf, "icfixed %d=%d+%d\n", _COST(icfixed), in _init_costs()
116 fprintf(outf, "from ich1 %x '%s' %d\n", insert_character, in _init_costs()
118 fprintf(outf, "ip %x '%s' %d\n", insert_padding, in _init_costs()
120 fprintf(outf, "dcfixed %d\n", _COST(dcfixed)); in _init_costs()
H A Dnocbreak.c60 if (outf) in nocbreak()
61 fprintf(outf, "nocbreak(), file %x, flags %x\n", in nocbreak()
64 if (outf) in nocbreak()
65 fprintf(outf, "nocbreak(), file %x, flags %x\n", in nocbreak()
H A Dcbreak.c88 if (outf) in cbreak()
89 fprintf(outf, "cbreak(), file %x, flags %x\n", in cbreak()
92 if (outf) in cbreak()
93 fprintf(outf, "cbreak(), file %x, flags %x\n", in cbreak()
H A Dnoraw.c60 if (outf) in noraw()
61 fprintf(outf, "noraw(), file %x, flags %x\n", in noraw()
64 if (outf) in noraw()
65 fprintf(outf, "noraw(), file %x, flags %x\n", in noraw()
H A Draw.c65 if (outf) in raw()
66 fprintf(outf, "raw(), file %x, iflag %x, cflag %x\n", in raw()
69 if (outf) in raw()
70 fprintf(outf, "raw(), file %x, flags %x\n", in raw()
H A Dsavetty.c70 if (outf) in savetty()
71 fprintf(outf, "savetty(), file %x, SP %x, flags %x,%x,%x,%x\n", in savetty()
75 if (outf) in savetty()
76 fprintf(outf, "savetty(), file %x, SP %x, flags %x\n", in savetty()
H A Dwscrl.c53 if (outf) in wscrl()
55 fprintf(outf, "scroll(stdscr, %d)\n", n); in wscrl()
58 fprintf(outf, "scroll(curscr, %d)\n", n); in wscrl()
60 fprintf(outf, "scroll(%x, %d)\n", win, n); in wscrl()
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioLib.cc75 AudioFile* outf; in Audio_WriteOutputFile() local
79 outf = new AudioFile(path, (FileAccess)WriteOnly); in Audio_WriteOutputFile()
80 if (outf == 0) in Audio_WriteOutputFile()
84 if ((err = outf->SetHeader(hdr)) || (err = outf->Create())) { in Audio_WriteOutputFile()
85 delete outf; in Audio_WriteOutputFile()
90 err = AudioCopy(input, outf); in Audio_WriteOutputFile()
93 delete outf; in Audio_WriteOutputFile()
/illumos-gate/usr/src/ucblib/libcurses/
H A Dcr_tty.c83 fprintf(outf, "GETTMODE: GT = %s\n", GT ? "TRUE" : "FALSE"); in gettmode()
84 fprintf(outf, "GETTMODE: NONL = %s\n", NONL ? "TRUE" : "FALSE"); in gettmode()
85 fprintf(outf, "GETTMODE: ospeed = %d\n", ospeed); in gettmode()
100 fprintf(outf, "SETTERM(\"%s\")\n", type); in setterm()
101 fprintf(outf, "SETTERM: LINES = %d, COLS = %d\n", LINES, COLS); in setterm()
111 fprintf(outf, "SETTERM: tty = %s\n", type); in setterm()
133 fprintf(outf, "SETTERM: LINES = %d, COLS = %d\n", LINES, COLS); in setterm()
181 fprintf(outf, "%2.2s = %s\n", namp, *fp[-1] ? "TRUE" : "FALSE"); in zap()
192 fprintf(outf, "%2.2s = %s", in zap()
196 fprintf(outf, "%s", unctrl(*cp)); in zap()
[all …]
H A Dnewwin.c87 fprintf(outf, "NEWWIN: win->_ch_off = %d\n", win->_ch_off); in newwin()
164 fprintf(outf, "MAKENEW(%d, %d, %d, %d)\n", nl, nc, by, bx); in makenew()
169 fprintf(outf, "MAKENEW: nl = %d\n", nl); in makenew()
176 fprintf(outf, "MAKENEW: nc = %d\n", nc); in makenew()
189 fprintf(outf, "MAKENEW: win->_clear = %d\n", win->_clear); in makenew()
190 fprintf(outf, "MAKENEW: win->_leave = %d\n", win->_leave); in makenew()
191 fprintf(outf, "MAKENEW: win->_scroll = %d\n", win->_scroll); in makenew()
193 fprintf(outf, "MAKENEW: win->_maxy = %d\n", win->_maxy); in makenew()
194 fprintf(outf, "MAKENEW: win->_maxx = %d\n", win->_maxx); in makenew()
195 fprintf(outf, "MAKENEW: win->_begy = %d\n", win->_begy); in makenew()
[all …]
H A Dinitscr.c37 fprintf(outf, "INITSCR()\n"); in initscr()
47 fprintf(outf, "INITSCR: term = %s\n", sp); in initscr()
57 fprintf(outf, "INITSCR: curscr = 0%o\n", curscr); in initscr()
62 fprintf(outf, "LINES = %d, COLS = %d\n", LINES, COLS); in initscr()
70 fprintf(outf, "INITSCR: stdscr = 0%o\n", stdscr); in initscr()
H A Drefresh.c91 fprintf(outf, "REFRESH(%0.2o): curwin = %d\n", win, curwin); in wrefresh()
92 fprintf(outf, "REFRESH:\n\tfirstch\tlastch\n"); in wrefresh()
96 fprintf(outf, "%d\t%d\t%d\n", wy, win->_firstch[wy], in wrefresh()
113 fprintf(outf, "\t%d\t%d\n", win->_firstch[wy], in wrefresh()
192 fprintf(outf, "MAKECH: 1: wx = %d, lx = %d\n", wx, lx); in makech()
207 fprintf(outf, "MAKECH: clsp = %d," in makech()
213 fprintf(outf, "MAKECH: using" in makech()
272 fprintf(outf, in makech()
282 fprintf(outf, "MAKECH: 2: wx = %d, lx = %d\n", wx, lx); in makech()
309 fprintf(outf, "MAKECH: 3: wx = %d, lx = %d\n", wx, lx); in makech()
H A Daddch.c38 fprintf(outf, "ADDCH('%c') at (%d, %d)\n", c, y, x); in waddch()
49 fprintf(outf, "ADDCH: 1: y = %d, x = %d, firstch = %d," in waddch()
69 fprintf(outf, "ADDCH: 2: y = %d, x = %d, firstch = %d," in waddch()
101 fprintf(outf, "SET_CH(%0.2o, %d, %d)\n", win, y, x); in set_ch()
112 fprintf(outf, "SET_CH: change gives f/l: %d/%d [%d/%d]\n", in set_ch()
/illumos-gate/usr/src/test/util-tests/tests/make/
H A Dmake_test.ksh136 outf=$(mktemp)
139 $MAKE -C > $outf 2>&1 && fail "$tst" || pass "$tst"
140 egrep -s 'Missing argument' $outf && pass "$tst (output)" \
144 MAKEFLAGS="-C" $MAKE > $outf 2>&1 && fail "$tst" || pass "$tst"
145 egrep -s 'Missing argument' $outf && pass "$tst (output)" \
149 $MAKE -C /no/such/directory > $outf 2>&1 && fail "$tst" || pass "$tst"
150 egrep -s 'No such file or directory' $outf && pass "$tst (output)" \
154 MAKEFLAGS="-C /no/such/directory" $MAKE > $outf 2>&1 && fail "$tst" \
156 egrep -s 'No such file or directory' $outf && pass "$tst (output)" \
159 rm -f $outf
/illumos-gate/usr/src/cmd/dtrace/test/tst/i86xpv/xdt/
H A Dtst.schedargs.ksh44 outf=/tmp/sched.args.$$
48 $dtrace -c '/usr/bin/sleep 10' -o $outf -qs /dev/stdin <<EOF
109 ' $outf
120 rm $outf

123