/illumos-gate/usr/src/boot/lib/libstand/ |
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 | 158 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 D | dpost.c | 854 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 D | color.c | 134 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 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 | 316 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 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 | 83 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 D | otermcap.c | 127 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 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 | 75 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 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 | 63 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 D | vgrindefs.c | 56 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 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 | 347 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 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 | 164 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 …]
|