Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/boot/lib/libstand/
H A Dpkgfs.c150 free(tf); in pkgfs_cleanup()
151 tf = tfn; in pkgfs_cleanup()
244 tf = scan_tarfile(package, tf); in pkg_open()
255 if (tf == NULL) in pkg_close()
261 if (tf->tf_fp == tf->tf_size && tf->tf_cachesz > 0) { in pkg_close()
283 fp = tf->tf_fp; in pkg_read()
288 if (fp < tf->tf_cachesz && tf->tf_cachesz < tf->tf_size) in pkg_read()
317 tf->tf_cache = malloc(tf->tf_cachesz); in pkg_read()
319 memcpy(tf->tf_cache, buf, tf->tf_cachesz); in pkg_read()
353 delta = tf->tf_size - tf->tf_fp + ofs; in pkg_seek()
[all …]
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddraw.c158 extern FILE *tf;
186 if ( tf == stdout ) in getdraw()
438 fprintf(tf, "gsave\n"); in beginpath()
439 fprintf(tf, "newpath\n"); in beginpath()
443 fprintf(tf, "%s", buf); in beginpath()
481 fprintf(tf, "%s", buf); in drawpath()
483 fprintf(tf, "grestore\n"); in drawpath()
549 fprintf(tf, "gsave\n"); in parsebuf()
580 fprintf(tf, "grestore\n"); in parsebuf()
590 fprintf(tf, "grestore\n"); in parsebuf()
[all …]
H A Ddpost.c854 tf = stdout; in options()
1551 putc('\n', tf); in fontprint()
1801 fprintf(tf, "save\n"); in t_page()
1802 fprintf(tf, "mark\n"); in t_page()
2027 if ( tf == stdout ) { in t_sf()
2413 putc('(', tf); in starttext()
2430 putc('(', tf); in starttext()
2434 putc('(', tf); in starttext()
2614 putc(c, tf); in addchar()
2624 putc(c, tf); in addchar()
[all …]
H A Dcolor.c134 extern FILE *tf;
156 if ( tf == stdout ) in getcolor()
230 fprintf(tf, "%s\n", color); in setcolor()
232 putc('/', tf); in setcolor()
234 putc(*p, tf); in setcolor()
238 fprintf(tf, " /%s", p); in setcolor()
241 fprintf(tf, " setcolor\n"); in setcolor()
246 fprintf(tf, "%d setdecoding\n", encoding); in setcolor()
/illumos-gate/usr/src/boot/sys/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.c316 assert(tf != NULL); in nfslog_close_trans_file()
317 assert(tf->refcnt > 0); in nfslog_close_trans_file()
318 if (tf->refcnt > 1) { in nfslog_close_trans_file()
319 (tf->refcnt)--; in nfslog_close_trans_file()
323 if (tf->fp != NULL) { in nfslog_close_trans_file()
325 (void) fclose(tf->fp); in nfslog_close_trans_file()
331 tf->prev->next = tf->next; in nfslog_close_trans_file()
332 if (tf->next != NULL) in nfslog_close_trans_file()
333 tf->next->prev = tf->prev; in nfslog_close_trans_file()
534 (void) fflush(tf->fp); in nfslog_process_trans_timeout()
[all …]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_hash.c237 sctp_tf_t *tf; in sctp_conn_match() local
277 mutex_exit(&tf->tf_lock); in sctp_conn_match()
286 sctp_tf_t *tf; in listen_match() local
624 if (!tf) { in sctp_conn_hash_remove()
637 ASSERT(tf->tf_sctp); in sctp_conn_hash_remove()
677 if (tf->tf_sctp) { in sctp_conn_hash_insert()
681 tf->tf_sctp = sctp; in sctp_conn_hash_insert()
694 if (!tf) { in sctp_listen_hash_remove()
714 ASSERT(tf->tf_sctp); in sctp_listen_hash_remove()
756 if (tf->tf_sctp) { in sctp_listen_hash_insert()
[all …]
/illumos-gate/usr/src/cmd/ttymon/
H A Dttyadm.c83 char ttyflags[BUFSIZ], *tf; in main() local
107 tf = ttyflags; in main()
121 tf = strcat(tf,"c"); in main()
124 tf = strcat(tf,"h"); in main()
127 tf = strcat(tf,"b"); in main()
130 tf = strcat(tf,"I"); in main()
133 tf = strcat(tf,"r"); in main()
/illumos-gate/usr/src/cmd/captoinfo/
H A Dotermcap.c127 int tf; in _tgetent() local
130 tf = 0; in _tgetent()
147 tf = open(E_TERMCAP, 0); in _tgetent()
150 tf = open(cp, 0); in _tgetent()
152 if (tf == 0) in _tgetent()
153 tf = open(E_TERMCAP, 0); in _tgetent()
155 tf = open(E_TERMCAP, 0); in _tgetent()
157 if (tf < 0) in _tgetent()
163 cnt = read(tf, ibuf, TBUFSIZE); in _tgetent()
165 (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.c75 int tf; in tgetent() local
78 tf = -1; in tgetent()
90 tf = open(cp, 0); in tgetent()
101 if (tf < 0) in tgetent()
102 tf = open(E_TERMCAP, 0); in tgetent()
104 tf = open(E_TERMCAP, 0); in tgetent()
106 if (tf < 0) in tgetent()
112 cnt = read(tf, ibuf, BUFSIZ); in tgetent()
114 (void) close(tf); in tgetent()
139 (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.c63 static void print_mesg(FILE *tf, CTL_MSG *request, char *remote_machine);
126 FILE *tf; in announce_proc() local
164 if ((tf = fdopen(fd, "w")) == NULL) { in announce_proc()
169 print_mesg(tf, request, remote_machine); in announce_proc()
170 (void) fclose(tf); in announce_proc()
185 print_mesg(FILE *tf, CTL_MSG *request, char *remote_machine) in print_mesg() argument
289 (void) fputs(big_buf, tf); in print_mesg()
290 (void) fflush(tf); in print_mesg()
/illumos-gate/usr/src/cmd/vgrind/
H A Dvgrindefs.c56 int tf; in tgetent() local
59 tf = 0; in tgetent()
61 tf = open(filename, 0); in tgetent()
62 if (tf < 0) in tgetent()
68 cnt = read(tf, ibuf, BUFSIZ); in tgetent()
70 close(tf); in tgetent()
96 close(tf); in tgetent()
/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/cmd/idmap/idmapd/
H A Dinit.c347 idmap_trustedforest_t *tf; in print_idmapdstate() local
405 tf = &pgcfg->trusted_forests[i]; in print_idmapdstate()
406 for (j = 0; tf->global_catalog[j].host[0] != '\0'; j++) in print_idmapdstate()
409 tf->forest_name, in print_idmapdstate()
410 tf->global_catalog[j].host, in print_idmapdstate()
411 tf->global_catalog[j].port); in print_idmapdstate()
412 for (j = 0; tf->domains_in_forest[j].domain[0] != '\0'; j++) { in print_idmapdstate()
413 if (tf->domains_in_forest[j].trusted) { in print_idmapdstate()
416 tf->forest_name, in print_idmapdstate()
417 tf->domains_in_forest[j].domain); in print_idmapdstate()
/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)
42 key 12 all tf(5)
44 key 14 all tf(6)
46 key 16 all tf(7)
47 key 17 all tf(8)
[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)
42 key 12 all tf(5)
44 key 14 all tf(6)
46 key 16 all tf(7)
47 key 17 all tf(8)
[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)
39 key 12 all tf(5)
41 key 14 all tf(6)
43 key 16 all tf(7)
44 key 17 all tf(8)
[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 DMakefile58 tf=$$(mktemp /tmp/ast.XXXXXXXXXX) && \
59 print 'USAGE_LICENSE="[-author?ATT]"' > $$tf && \
60 cat $< >> $$tf && \
61 mv $$tf $@; \
/illumos-gate/usr/src/cmd/loadkeys/type_101/
H A Dreset164 key 112 all tf(1)
165 key 113 all tf(2)
166 key 114 all tf(3)
167 key 115 all tf(4)
168 key 116 all tf(5)
169 key 117 all tf(6)
170 key 118 all tf(7)
171 key 119 all tf(8)
172 key 120 all tf(9)
173 key 121 all tf(10)
[all …]

123