/illumos-gate/usr/src/boot/libsa/ |
H A D | pkgfs.c | 150 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 D | draw.c | 156 extern FILE *tf; 184 if ( tf == stdout ) in getdraw() 436 fprintf(tf, "gsave\n"); in beginpath() 437 fprintf(tf, "newpath\n"); in beginpath() 441 fprintf(tf, "%s", buf); in beginpath() 479 fprintf(tf, "%s", buf); in drawpath() 481 fprintf(tf, "grestore\n"); in drawpath() 547 fprintf(tf, "gsave\n"); in parsebuf() 578 fprintf(tf, "grestore\n"); in parsebuf() 588 fprintf(tf, "grestore\n"); in parsebuf() [all …]
|
H A D | dpost.c | 851 tf = stdout; in options() 1548 putc('\n', tf); in fontprint() 1798 fprintf(tf, "save\n"); in t_page() 1799 fprintf(tf, "mark\n"); in t_page() 2024 if ( tf == stdout ) { in t_sf() 2410 putc('(', tf); in starttext() 2427 putc('(', tf); in starttext() 2431 putc('(', tf); in starttext() 2611 putc(c, tf); in addchar() 2621 putc(c, tf); in addchar() [all …]
|
H A D | color.c | 132 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 D | trap.c | 81 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 D | nfslog_trans.c | 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() 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() 331 tf->next->prev = tf->prev; in nfslog_close_trans_file() 532 (void) fflush(tf->fp); in nfslog_process_trans_timeout() [all …]
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_hash.c | 237 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 D | ttyadm.c | 76 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 D | otermcap.c | 125 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 D | definit.ksh | 17 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 D | termcap.c | 73 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 D | remcap.c | 128 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 D | announce.c | 60 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 D | vgrindefs.c | 54 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/ast/libast/ |
H A D | Makefile.iffe | 26 tf=$$(mktemp /tmp/iffe.XXXXXXXXXX) && \ 27 $(SED) < "$<" > "$$tf" '$(SEDPATTERN)' && \ 28 $(CP) -p "$$tf" "$<" && \ 29 $(RM) "$$tf"; \
|
/illumos-gate/usr/src/cmd/ast/ |
H A D | Makefile.ast | 171 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 D | init.c | 338 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/test/zfs-tests/tests/functional/upgrade/ |
H A D | upgrade_projectquota_001_pos.ksh | 51 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 D | upgrade_userobj_001_pos.ksh | 51 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 D | korea | 35 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 D | reset | 35 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 D | traditional_chinese | 32 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 D | sed_addr.ksh | 41 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 D | Makefile | 58 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 D | reset | 162 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 …]
|