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.c52 if (outf == NULL) { in traceon()
53 outf = fopen("trace", "a"); in traceon()
54 if (outf == NULL) { in traceon()
58 fprintf(outf, "trace turned on\n"); in traceon()
68 if (outf != NULL) { in traceoff()
69 fprintf(outf, "trace turned off\n"); in traceoff()
70 fclose(outf); in traceoff()
71 outf = NULL; in traceoff()
H A Dchkinput.c128 if (outf) { in _chkinput()
129 (void) fprintf(outf, "Found a character on the input " in _chkinput()
139 if (outf) { in _chkinput()
140 (void) fprintf(outf, "Reading ahead\n"); in _chkinput()
149 if (outf) in _chkinput()
158 if (outf) in _chkinput()
159 (void) fprintf(outf, "No input waiting\n"); in _chkinput()
181 if (outf) in _print_queue()
183 (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.c58 if (outf) in _makenew()
59 fprintf(outf, "MAKENEW(%d, %d, %d, %d)\n", in _makenew()
129 if (outf) { in _makenew()
130 fprintf(outf, "MAKENEW: win->_clear = %d\n", win->_clear); in _makenew()
131 fprintf(outf, "MAKENEW: win->_flags = %0.2o\n", win->_flags); in _makenew()
132 fprintf(outf, "MAKENEW: win->_maxy = %d\n", win->_maxy); in _makenew()
133 fprintf(outf, "MAKENEW: win->_maxx = %d\n", win->_maxx); in _makenew()
134 fprintf(outf, "MAKENEW: win->_begy = %d\n", win->_begy); in _makenew()
135 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.c55 if (outf) in resetty()
56 fprintf(outf, "resetty(), file %x, SP %x, flags %x, " in resetty()
68 if (outf) in resetty()
69 fprintf(outf, "resetty(), file %x, SP %x, flags %x, " in resetty()
86 if (outf) in resetty()
87 fprintf(outf, "resetty(), file %x, SP %x, flags %x\n", in resetty()
H A Dwmove.c53 if (outf) { in wmove()
54 fprintf(outf, "MOVE to win "); in wmove()
56 fprintf(outf, "stdscr "); in wmove()
58 fprintf(outf, "%o ", win); in wmove()
59 fprintf(outf, "(%d, %d)\n", y, x); in wmove()
H A Doutch.c63 if (outf) in _outwch()
65 fprintf(outf, "^%c", c^0100); in _outwch()
67 fprintf(outf, "%c", c&0177); in _outwch()
69 if (outf) in _outwch()
70 fprintf(outf, "_outch: char '%s' term %x file %x=%d\n", in _outwch()
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 Dinit_costs.c114 if (outf) { in _init_costs()
115 fprintf(outf, "icfixed %d=%d+%d\n", _COST(icfixed), in _init_costs()
118 fprintf(outf, "from ich1 %x '%s' %d\n", insert_character, in _init_costs()
120 fprintf(outf, "ip %x '%s' %d\n", insert_padding, in _init_costs()
122 fprintf(outf, "dcfixed %d\n", _COST(dcfixed)); in _init_costs()
H A Dnocbreak.c62 if (outf) in nocbreak()
63 fprintf(outf, "nocbreak(), file %x, flags %x\n", in nocbreak()
66 if (outf) in nocbreak()
67 fprintf(outf, "nocbreak(), file %x, flags %x\n", in nocbreak()
H A Dcbreak.c90 if (outf) in cbreak()
91 fprintf(outf, "cbreak(), file %x, flags %x\n", in cbreak()
94 if (outf) in cbreak()
95 fprintf(outf, "cbreak(), file %x, flags %x\n", in cbreak()
H A Dnoraw.c62 if (outf) in noraw()
63 fprintf(outf, "noraw(), file %x, flags %x\n", in noraw()
66 if (outf) in noraw()
67 fprintf(outf, "noraw(), file %x, flags %x\n", in noraw()
H A Draw.c67 if (outf) in raw()
68 fprintf(outf, "raw(), file %x, iflag %x, cflag %x\n", in raw()
71 if (outf) in raw()
72 fprintf(outf, "raw(), file %x, flags %x\n", in raw()
H A Dsavetty.c72 if (outf) in savetty()
73 fprintf(outf, "savetty(), file %x, SP %x, flags %x,%x,%x,%x\n", in savetty()
77 if (outf) in savetty()
78 fprintf(outf, "savetty(), file %x, SP %x, flags %x\n", in savetty()
H A Dwgetch.c64 if (outf) { in wgetch()
65 fprintf(outf, "WGETCH: SP->fl_echoit = %c\n", in wgetch()
67 fprintf(outf, "_use_keypad %d, kp_state %d\n", in wgetch()
69 fprintf(outf, "file %x fd %d\n", SP->input_file, in wgetch()
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioLib.cc77 AudioFile* outf; in Audio_WriteOutputFile() local
81 outf = new AudioFile(path, (FileAccess)WriteOnly); in Audio_WriteOutputFile()
82 if (outf == 0) in Audio_WriteOutputFile()
86 if ((err = outf->SetHeader(hdr)) || (err = outf->Create())) { in Audio_WriteOutputFile()
87 delete outf; in Audio_WriteOutputFile()
92 err = AudioCopy(input, outf); in Audio_WriteOutputFile()
95 delete outf; in Audio_WriteOutputFile()
/illumos-gate/usr/src/ucblib/libcurses/
H A Dcr_tty.c85 fprintf(outf, "GETTMODE: GT = %s\n", GT ? "TRUE" : "FALSE"); in gettmode()
86 fprintf(outf, "GETTMODE: NONL = %s\n", NONL ? "TRUE" : "FALSE"); in gettmode()
87 fprintf(outf, "GETTMODE: ospeed = %d\n", ospeed); in gettmode()
102 fprintf(outf, "SETTERM(\"%s\")\n", type); in setterm()
103 fprintf(outf, "SETTERM: LINES = %d, COLS = %d\n", LINES, COLS); in setterm()
113 fprintf(outf, "SETTERM: tty = %s\n", type); in setterm()
135 fprintf(outf, "SETTERM: LINES = %d, COLS = %d\n", LINES, COLS); in setterm()
183 fprintf(outf, "%2.2s = %s\n", namp, *fp[-1] ? "TRUE" : "FALSE"); in zap()
194 fprintf(outf, "%2.2s = %s", in zap()
198 fprintf(outf, "%s", unctrl(*cp)); in zap()
[all …]
H A Dnewwin.c89 fprintf(outf, "NEWWIN: win->_ch_off = %d\n", win->_ch_off); in newwin()
166 fprintf(outf, "MAKENEW(%d, %d, %d, %d)\n", nl, nc, by, bx); in makenew()
171 fprintf(outf, "MAKENEW: nl = %d\n", nl); in makenew()
178 fprintf(outf, "MAKENEW: nc = %d\n", nc); in makenew()
191 fprintf(outf, "MAKENEW: win->_clear = %d\n", win->_clear); in makenew()
192 fprintf(outf, "MAKENEW: win->_leave = %d\n", win->_leave); in makenew()
193 fprintf(outf, "MAKENEW: win->_scroll = %d\n", win->_scroll); in makenew()
195 fprintf(outf, "MAKENEW: win->_maxy = %d\n", win->_maxy); in makenew()
196 fprintf(outf, "MAKENEW: win->_maxx = %d\n", win->_maxx); in makenew()
197 fprintf(outf, "MAKENEW: win->_begy = %d\n", win->_begy); in makenew()
[all …]
H A Dinitscr.c39 fprintf(outf, "INITSCR()\n"); in initscr()
49 fprintf(outf, "INITSCR: term = %s\n", sp); in initscr()
59 fprintf(outf, "INITSCR: curscr = 0%o\n", curscr); in initscr()
64 fprintf(outf, "LINES = %d, COLS = %d\n", LINES, COLS); in initscr()
72 fprintf(outf, "INITSCR: stdscr = 0%o\n", stdscr); in initscr()
H A Drefresh.c93 fprintf(outf, "REFRESH(%0.2o): curwin = %d\n", win, curwin); in wrefresh()
94 fprintf(outf, "REFRESH:\n\tfirstch\tlastch\n"); in wrefresh()
98 fprintf(outf, "%d\t%d\t%d\n", wy, win->_firstch[wy], in wrefresh()
115 fprintf(outf, "\t%d\t%d\n", win->_firstch[wy], in wrefresh()
194 fprintf(outf, "MAKECH: 1: wx = %d, lx = %d\n", wx, lx); in makech()
209 fprintf(outf, "MAKECH: clsp = %d," in makech()
215 fprintf(outf, "MAKECH: using" in makech()
274 fprintf(outf, in makech()
284 fprintf(outf, "MAKECH: 2: wx = %d, lx = %d\n", wx, lx); in makech()
311 fprintf(outf, "MAKECH: 3: wx = %d, lx = %d\n", wx, lx); in makech()
H A Daddch.c40 fprintf(outf, "ADDCH('%c') at (%d, %d)\n", c, y, x); in waddch()
51 fprintf(outf, "ADDCH: 1: y = %d, x = %d, firstch = %d," in waddch()
71 fprintf(outf, "ADDCH: 2: y = %d, x = %d, firstch = %d," in waddch()
103 fprintf(outf, "SET_CH(%0.2o, %d, %d)\n", win, y, x); in set_ch()
114 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