Home
last modified time | relevance | path

Searched refs:tf (Results 1 – 25 of 52) sorted by relevance

123

/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddraw.c156 extern FILE *tf;
184 if ( tf == stdout ) in getdraw()
208 else fprintf(tf, "%d %d %d %d Dl\n", hpos + dx, vpos + dy, hpos, vpos); in drawline()
259 fprintf(tf, "%d %d %d %d De\n", hpos, vpos, a, b); in drawellip()
296 fprintf(tf, "%d %d %d %d %d %d Da\n", hpos, vpos, dx1, dy1, dx2, dy2); in drawarc()
297 else fprintf(tf, "%d %d %d %d %d %d DA\n", hpos+dx1+dx2, vpos+dy1+dy2, in drawarc()
387 fprintf(tf, "%d %d %d %d %d %d Ds\n", x[i], y[i], x[i+1], y[i+1], x[i+2], y[i+2]); in drawspline()
436 fprintf(tf, "gsave\n"); in beginpath()
437 fprintf(tf, "newpath\n"); in beginpath()
438 fprintf(tf, "%d %d m\n", hpos, vpos); in beginpath()
[all …]
H A Ddpost.c548 FILE *tf = NULL; /* PostScript output goes here */ variable
851 tf = stdout; in options()
1318 fprintf(tf, "%s", buf); in devcntrl()
1522 fprintf(tf, "font %d:\n", i); in fontprint()
1527 fprintf(tf, "base=0%o, nchars=%d, spec=%d, name=%s, widtab=0%o, fitab=0%o\n", in fontprint()
1530 fprintf(tf, "widths:\n"); in fontprint()
1532 fprintf(tf, " %2d", widthtab[i][j] & BMASK); in fontprint()
1533 if ( j % 20 == 19 ) putc('\n', tf); in fontprint()
1536 fprintf(tf, "\ncodetab:\n"); in fontprint()
1538 fprintf(tf, " %2d", codetab[i][j] & BMASK); in fontprint()
[all …]
H A Dcolor.c132 extern FILE *tf;
154 if ( tf == stdout ) in getcolor()
228 fprintf(tf, "%s\n", color); in setcolor()
230 putc('/', tf); in setcolor()
232 putc(*p, tf); in setcolor()
236 fprintf(tf, " /%s", p); in setcolor()
239 fprintf(tf, " setcolor\n"); in setcolor()
244 fprintf(tf, "%d setdecoding\n", encoding); in setcolor()
/illumos-gate/usr/src/boot/efi/loader/arch/amd64/
H A Dtrap.c81 void report_exc(struct trapframe *tf);
83 report_exc(struct trapframe *tf) in report_exc() argument
93 printf("Exception %u\n", tf->tf_trapno); in report_exc()
96 (uint16_t)tf->tf_ss, (uint16_t)tf->tf_cs, (uint16_t)tf->tf_ds, in report_exc()
97 (uint16_t)tf->tf_es, (uint16_t)tf->tf_fs, (uint16_t)tf->tf_gs); in report_exc()
100 (uint32_t)tf->tf_err, (uint32_t)tf->tf_rflags, tf->tf_addr, in report_exc()
101 tf->tf_rsp, tf->tf_rip); in report_exc()
108 tf->tf_rdi, tf->tf_rsi, tf->tf_rdx, tf->tf_rcx, tf->tf_r8, in report_exc()
109 tf->tf_r9, tf->tf_rax, tf->tf_rbx, tf->tf_rbp, tf->tf_r10, in report_exc()
110 tf->tf_r11, tf->tf_r12, tf->tf_r13, tf->tf_r14, tf->tf_r15); in report_exc()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_trans.c312 nfslog_close_trans_file(struct nfslog_trans_file *tf) in nfslog_close_trans_file() argument
314 assert(tf != NULL); in nfslog_close_trans_file()
315 assert(tf->refcnt > 0); in nfslog_close_trans_file()
316 if (tf->refcnt > 1) { in nfslog_close_trans_file()
317 (tf->refcnt)--; in nfslog_close_trans_file()
321 if (tf->fp != NULL) { in nfslog_close_trans_file()
322 (void) fsync(fileno(tf->fp)); in nfslog_close_trans_file()
323 (void) fclose(tf->fp); in nfslog_close_trans_file()
329 tf->prev->next = tf->next; in nfslog_close_trans_file()
330 if (tf->next != NULL) in nfslog_close_trans_file()
[all …]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_hash.c238 sctp_tf_t *tf; in sctp_conn_match() local
244 tf = &(sctps->sctps_conn_fanout[SCTP_CONN_HASH(sctps, ports)]); in sctp_conn_match()
245 mutex_enter(&tf->tf_lock); in sctp_conn_match()
247 for (sctp = tf->tf_sctp; sctp != NULL; sctp = in sctp_conn_match()
268 mutex_exit(&tf->tf_lock); in sctp_conn_match()
278 mutex_exit(&tf->tf_lock); in sctp_conn_match()
287 sctp_tf_t *tf; in listen_match() local
293 tf = &(sctps->sctps_listen_fanout[SCTP_LISTEN_HASH(ntohs(lport))]); in listen_match()
294 mutex_enter(&tf->tf_lock); in listen_match()
296 for (sctp = tf->tf_sctp; sctp; sctp = sctp->sctp_listen_hash_next) { in listen_match()
[all …]
/illumos-gate/usr/src/cmd/ttymon/
H A Dttyadm.c76 char ttyflags[BUFSIZ], *tf; in main() local
95 tf = ttyflags; in main()
109 tf = strcat(tf, "c"); in main()
112 tf = strcat(tf, "h"); in main()
115 tf = strcat(tf, "b"); in main()
118 tf = strcat(tf, "I"); in main()
121 tf = strcat(tf, "r"); in main()
/illumos-gate/usr/src/cmd/captoinfo/
H A Dotermcap.c125 int tf; in _tgetent() local
128 tf = 0; in _tgetent()
145 tf = open(E_TERMCAP, 0); in _tgetent()
148 tf = open(cp, 0); in _tgetent()
150 if (tf == 0) in _tgetent()
151 tf = open(E_TERMCAP, 0); in _tgetent()
153 tf = open(E_TERMCAP, 0); in _tgetent()
155 if (tf < 0) in _tgetent()
161 cnt = read(tf, ibuf, TBUFSIZE); in _tgetent()
163 (void) close(tf); in _tgetent()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/definit/
H A Ddefinit.ksh17 typeset tf=$(mktemp)
18 if [[ -z "$tf" || ! -f "$tf" ]]; then
29 if ! $dir/$bin $dir/init.data > $tf; then
33 if ! diff $tf $dir/init.expected; then
/illumos-gate/usr/src/ucblib/libtermcap/
H A Dtermcap.c73 int tf; in tgetent() local
76 tf = -1; in tgetent()
88 tf = open(cp, 0); in tgetent()
99 if (tf < 0) in tgetent()
100 tf = open(E_TERMCAP, 0); in tgetent()
102 tf = open(E_TERMCAP, 0); in tgetent()
104 if (tf < 0) in tgetent()
110 cnt = read(tf, ibuf, BUFSIZ); in tgetent()
112 (void) close(tf); in tgetent()
137 (void) close(tf); in tgetent()
/illumos-gate/usr/src/cmd/tip/
H A Dremcap.c128 int tf; in getent() local
132 tf = 0; in getent()
150 tf = open(E_TERMCAP, O_RDONLY); in getent()
156 tf = open(RM = cp, O_RDONLY); in getent()
161 if (tf == 0) in getent()
162 tf = open(E_TERMCAP, O_RDONLY); in getent()
163 if (tf < 0) in getent()
169 cnt = read(tf, ibuf, BUFSIZ); in getent()
171 (void) close(tf); in getent()
202 (void) close(tf); in getent()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dannounce.c60 static void print_mesg(FILE *tf, CTL_MSG *request, char *remote_machine);
123 FILE *tf; in announce_proc() local
161 if ((tf = fdopen(fd, "w")) == NULL) { in announce_proc()
166 print_mesg(tf, request, remote_machine); in announce_proc()
167 (void) fclose(tf); in announce_proc()
182 print_mesg(FILE *tf, CTL_MSG *request, char *remote_machine) in print_mesg() argument
286 (void) fputs(big_buf, tf); in print_mesg()
287 (void) fflush(tf); in print_mesg()
/illumos-gate/usr/src/cmd/vgrind/
H A Dvgrindefs.c54 int tf; in tgetent() local
57 tf = 0; in tgetent()
59 tf = open(filename, 0); in tgetent()
60 if (tf < 0) in tgetent()
66 cnt = read(tf, ibuf, BUFSIZ); in tgetent()
68 close(tf); in tgetent()
94 close(tf); in tgetent()
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dinit.c338 idmap_trustedforest_t *tf; in print_idmapdstate() local
396 tf = &pgcfg->trusted_forests[i]; in print_idmapdstate()
397 for (j = 0; tf->global_catalog[j].host[0] != '\0'; j++) in print_idmapdstate()
400 tf->forest_name, in print_idmapdstate()
401 tf->global_catalog[j].host, in print_idmapdstate()
402 tf->global_catalog[j].port); in print_idmapdstate()
403 for (j = 0; tf->domains_in_forest[j].domain[0] != '\0'; j++) { in print_idmapdstate()
404 if (tf->domains_in_forest[j].trusted) { in print_idmapdstate()
407 tf->forest_name, in print_idmapdstate()
408 tf->domains_in_forest[j].domain); in print_idmapdstate()
/illumos-gate/usr/src/cmd/ast/libast/
H A DMakefile.iffe26 tf=$$(mktemp /tmp/iffe.XXXXXXXXXX) && \
27 $(SED) < "$<" > "$$tf" '$(SEDPATTERN)' && \
28 $(CP) -p "$$tf" "$<" && \
29 $(RM) "$$tf"; \
/illumos-gate/usr/src/cmd/ast/
H A DMakefile.ast171 tf=$$(mktemp /tmp/ast.XXXXXXXXXX) && \
172 $(SED) < "$@" > "$$tf" '$(SEDPATTERN)' && \
173 $(CP) -p "$$tf" "$@" && \
174 $(RM) "$$tf"; \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/upgrade/
H A Dupgrade_projectquota_001_pos.ksh51 log_must mkfiles $TESTDIR/tf $((RANDOM % 100 + 1))
53 log_must mkfiles $TESTDIR/fs1/tf $((RANDOM % 100 + 1))
58 log_must mkfiles $TESTDIR/fs2/tf $((RANDOM % 100 + 1))
62 log_must mkfiles $TESTDIR/fs3/tf $((RANDOM % 100 + 1))
92 log_must mkfile 1m $TESTDIR/fs2/dir/tf
H A Dupgrade_userobj_001_pos.ksh51 log_must mkfiles $TESTDIR/tf $((RANDOM % 1000 + 1))
53 log_must mkfiles $TESTDIR/fs1/tf $((RANDOM % 1000 + 1))
55 log_must mkfiles $TESTDIR/fs2/tf $((RANDOM % 1000 + 1))
70 log_must mkfile 1m $TESTDIR/fs1/tf
/illumos-gate/usr/src/cmd/loadkeys/type_4/
H A Dkorea35 key 5 all tf(1)
36 key 6 all tf(2)
37 key 7 all tf(10)
38 key 8 all tf(3)
39 key 9 all tf(11)
40 key 10 all tf(4)
41 key 11 all tf(12)
42 key 12 all tf(5)
44 key 14 all tf(6)
46 key 16 all tf(7)
[all …]
H A Dreset35 key 5 all tf(1)
36 key 6 all tf(2)
37 key 7 all tf(10)
38 key 8 all tf(3)
39 key 9 all tf(11)
40 key 10 all tf(4)
41 key 11 all tf(12)
42 key 12 all tf(5)
44 key 14 all tf(6)
46 key 16 all tf(7)
[all …]
H A Dtraditional_chinese32 key 5 all tf(1)
33 key 6 all tf(2)
34 key 7 all tf(10)
35 key 8 all tf(3)
36 key 9 all tf(11)
37 key 10 all tf(4)
38 key 11 all tf(12)
39 key 12 all tf(5)
41 key 14 all tf(6)
43 key 16 all tf(7)
[all …]
/illumos-gate/usr/src/test/util-tests/tests/sed/
H A Dsed_addr.ksh41 tf=`mktemp`
42 [[ -n "$tf" && -f "$tf" ]] || fatal "Could not create temp file $f"
43 eval $f=$tf
/illumos-gate/usr/src/cmd/ast/tools/
H A DMakefile57 tf=$$(mktemp /tmp/ast.XXXXXXXXXX) && \
58 print 'USAGE_LICENSE="[-author?ATT]"' > $$tf && \
59 cat $< >> $$tf && \
60 mv $$tf $@; \
/illumos-gate/usr/src/cmd/loadkeys/type_101/
H A Dreset162 key 112 all tf(1)
163 key 113 all tf(2)
164 key 114 all tf(3)
165 key 115 all tf(4)
166 key 116 all tf(5)
167 key 117 all tf(6)
168 key 118 all tf(7)
169 key 119 all tf(8)
170 key 120 all tf(9)
171 key 121 all tf(10)
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dio.sh501 tf=`mktemp`
502 echo foo bar > $tf
503 $SHELL -c 'echo xxx 1<>; '$tf
504 actual=$(cat $tf)
507 rm -f $tf
509 cp /dev/null $tf
510 $SHELL -c '{ echo "Foo"; echo "bar"; uname; } >; '$tf
511 [[ -s "$tf" ]] || err_exit ">; does not work with -c"
512 rm -f $tf

123