Searched refs:tf (Results 1 - 25 of 35) sorted by relevance

12

/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddraw.c158 extern FILE *tf;
186 if ( tf == stdout )
210 else fprintf(tf, "%d %d %d %d Dl\n", hpos + dx, vpos + dy, hpos, vpos);
261 fprintf(tf, "%d %d %d %d De\n", hpos, vpos, a, b);
298 fprintf(tf, "%d %d %d %d %d %d Da\n", hpos, vpos, dx1, dy1, dx2, dy2);
299 else fprintf(tf, "%d %d %d %d %d %d DA\n", hpos+dx1+dx2, vpos+dy1+dy2,
389 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]);
438 fprintf(tf, "gsave\n");
439 fprintf(tf, "newpath\n");
440 fprintf(tf, "
[all...]
H A Dcolor.c134 extern FILE *tf;
156 if ( tf == stdout )
230 fprintf(tf, "%s\n", color);
232 putc('/', tf);
234 putc(*p, tf);
238 fprintf(tf, " /%s", p);
241 fprintf(tf, " setcolor\n");
246 fprintf(tf, "%d setdecoding\n", encoding);
H A Ddpost.c550 FILE *tf = NULL; /* PostScript output goes here */ variable
853 tf = stdout;
1320 fprintf(tf, "%s", buf);
1524 fprintf(tf, "font %d:\n", i);
1529 fprintf(tf, "base=0%o, nchars=%d, spec=%d, name=%s, widtab=0%o, fitab=0%o\n",
1532 fprintf(tf, "widths:\n");
1534 fprintf(tf, " %2d", widthtab[i][j] & BMASK);
1535 if ( j % 20 == 19 ) putc('\n', tf);
1538 fprintf(tf, "\ncodetab:\n");
1540 fprintf(tf, "
[all...]
H A Dpictures.c81 extern FILE *tf;
192 fprintf(tf, "cleartomark restore\n");
194 ps_include(fp_in, tf, page, whiteout, outline, scaleboth,
197 fprintf(tf, "save mark\n");
/illumos-gate/usr/src/boot/lib/libstand/
H A Dpkgfs.c139 struct tarfile *tf, *tfn; local
145 tf = package->pkg_first;
146 while (tf != NULL) {
147 tfn = tf->tf_next;
148 if (tf->tf_cachesz > 0)
149 free(tf->tf_cache);
150 free(tf);
151 tf = tfn;
201 struct tarfile *tf; local
237 tf
252 struct tarfile *tf; local
271 struct tarfile *tf; local
334 struct tarfile *tf; local
383 struct tarfile *tf; local
398 struct tarfile *tf; local
470 cache_data(struct tarfile *tf) argument
600 get_mode(struct tarfile *tf) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/userboot/test/
H A Dtest.c110 struct test_file *tf; local
120 tf = malloc(sizeof(struct test_file));
121 if (stat(path, &tf->tf_stat) < 0) {
122 free(tf);
126 tf->tf_size = st.st_size;
127 if (S_ISDIR(tf->tf_stat.st_mode)) {
128 tf->tf_isdir = 1;
129 tf->tf_u.dir = opendir(path);
130 if (!tf->tf_u.dir)
132 *h_return = tf;
152 struct test_file *tf = h; local
166 struct test_file *tf = h; local
174 struct test_file *tf = h; local
190 struct test_file *tf = h; local
216 struct test_file *tf = h; local
229 struct test_file *tf = h; local
[all...]
/illumos-gate/usr/src/cmd/ttymon/
H A Dttyadm.c83 char ttyflags[BUFSIZ], *tf; local
107 tf = ttyflags;
121 tf = strcat(tf,"c");
124 tf = strcat(tf,"h");
127 tf = strcat(tf,"b");
130 tf = strcat(tf,"
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/trivial/
H A Dzfs_acl_cp_002_neg.ksh63 tf=$(getitem $i $testfiles)
64 ls_attr=$(ls -@ $tf | awk '{print substr($1, 11, 1)}')
H A Dzfs_acl_cp_003_neg.ksh74 typeset tf=$(getitem $i $testfiles)
75 typeset ls_attr=$(usr_exec ls -@ $tf | \
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetttyent.c18 FILE *tf; member in struct:_ttyentjunk
39 if (t->tf == NULL)
40 t->tf = fopen(TTYFILE, "r");
42 rewind(t->tf);
52 if (t->tf != NULL) {
53 (void) fclose(t->tf);
54 t->tf = NULL;
119 if (t->tf == NULL) {
120 if ((t->tf = fopen(TTYFILE, "r")) == NULL)
124 p = fgets(t->line, LINE, t->tf);
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_trans.c314 nfslog_close_trans_file(struct nfslog_trans_file *tf) argument
316 assert(tf != NULL);
317 assert(tf->refcnt > 0);
318 if (tf->refcnt > 1) {
319 (tf->refcnt)--;
323 if (tf->fp != NULL) {
324 (void) fsync(fileno(tf->fp));
325 (void) fclose(tf->fp);
331 tf->prev->next = tf
465 nfslog_process_trans_timeout( struct nfslog_trans_file *tf, uint32_t force_flush) argument
552 trans_read( nfslog_request_record *logrec, struct nfslog_trans_file *tf, char *fhpath, char *path1) argument
622 trans_write( nfslog_request_record *logrec, struct nfslog_trans_file *tf, char *fhpath, char *path1) argument
694 trans_setattr( nfslog_request_record *logrec, struct nfslog_trans_file *tf, char *fhpath, char *path1) argument
759 trans_create( nfslog_request_record *logrec, struct nfslog_trans_file *tf, char *fhpath, char *path1) argument
828 trans_remove( nfslog_request_record *logrec, struct nfslog_trans_file *tf, char *fhpath, char *path1) argument
986 trans_rename( nfslog_request_record *logrec, struct nfslog_trans_file *tf, char *fhpath, char *path1, char *path2) argument
1184 trans_read3( nfslog_request_record *logrec, struct nfslog_trans_file *tf, char *fhpath, char *path1) argument
1254 trans_write3( nfslog_request_record *logrec, struct nfslog_trans_file *tf, char *fhpath, char *path1) argument
1327 trans_setattr3( nfslog_request_record *logrec, struct nfslog_trans_file *tf, char *fhpath, char *path1) argument
1393 trans_create3( nfslog_request_record *logrec, struct nfslog_trans_file *tf, char *fhpath, char *path1) argument
1458 trans_remove3( nfslog_request_record *logrec, struct nfslog_trans_file *tf, char *fhpath, char *path1) argument
1615 trans_rename3( nfslog_request_record *logrec, struct nfslog_trans_file *tf, char *fhpath, char *path1, char *path2) argument
1861 struct nfslog_trans_file *tf = (struct nfslog_trans_file *)transcookie; local
1994 nfslog_print_trans_logentry(struct transentry *pte, struct nfslog_trans_file *tf) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_hash.c237 sctp_tf_t *tf; local
243 tf = &(sctps->sctps_conn_fanout[SCTP_CONN_HASH(sctps, ports)]);
244 mutex_enter(&tf->tf_lock);
246 for (sctp = tf->tf_sctp; sctp != NULL; sctp =
267 mutex_exit(&tf->tf_lock);
277 mutex_exit(&tf->tf_lock);
286 sctp_tf_t *tf; local
292 tf = &(sctps->sctps_listen_fanout[SCTP_LISTEN_HASH(ntohs(lport))]);
293 mutex_enter(&tf->tf_lock);
295 for (sctp = tf
622 sctp_tf_t *tf = sctp->sctp_conn_tfp; local
664 sctp_conn_hash_insert(sctp_tf_t *tf, sctp_t *sctp, int caller_holds_lock) argument
691 sctp_tf_t *tf = sctp->sctp_listen_tfp; local
746 sctp_listen_hash_insert(sctp_tf_t *tf, sctp_t *sctp) argument
855 sctp_lookup(sctp_t *sctp1, in6_addr_t *faddr, sctp_tf_t *tf, uint32_t *ports, int min_state) argument
[all...]
/illumos-gate/usr/src/cmd/captoinfo/
H A Dotermcap.c127 int tf; local
130 tf = 0;
147 tf = open(E_TERMCAP, 0);
150 tf = open(cp, 0);
152 if (tf == 0)
153 tf = open(E_TERMCAP, 0);
155 tf = open(E_TERMCAP, 0);
157 if (tf < 0)
163 cnt = read(tf, ibuf, TBUFSIZE);
165 (void) close(tf);
[all...]
/illumos-gate/usr/src/cmd/vgrind/
H A Dvgrindefs.c56 int tf; local
59 tf = 0;
61 tf = open(filename, 0);
62 if (tf < 0)
68 cnt = read(tf, ibuf, BUFSIZ);
70 close(tf);
96 close(tf);
/illumos-gate/usr/src/cmd/tip/
H A Dremcap.c131 int tf; local
135 tf = 0;
153 tf = open(E_TERMCAP, O_RDONLY);
159 tf = open(RM = cp, O_RDONLY);
164 if (tf == 0)
165 tf = open(E_TERMCAP, O_RDONLY);
166 if (tf < 0)
172 cnt = read(tf, ibuf, BUFSIZ);
174 (void) close(tf);
205 (void) close(tf);
[all...]
/illumos-gate/usr/src/ucblib/libtermcap/
H A Dtermcap.c75 int tf; local
78 tf = -1;
90 tf = open(cp, 0);
101 if (tf < 0)
102 tf = open(E_TERMCAP, 0);
104 tf = open(E_TERMCAP, 0);
106 if (tf < 0)
112 cnt = read(tf, ibuf, BUFSIZ);
114 (void) close(tf);
139 (void) close(tf);
[all...]
/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dstart_svm.c67 char *rootdir, *tf; local
95 switch (rval = convert_bootlist(system_file, mdconf, &tf)) {
106 rval = create_in_file_prop(PROP_KEEP_REPL_STATE, tf);
112 rval = create_in_file_prop(PROP_DEVID_DESTROY, tf);
127 * we copied to temporary file pointed to by tf
129 if (copyfile(tf, MD_CONF)) {
130 debug_printf("svm_start(): copy of %s to %s failed\n", tf,
/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; local
164 if ((tf = fdopen(fd, "w")) == NULL) {
169 print_mesg(tf, request, remote_machine);
170 (void) fclose(tf);
185 print_mesg(FILE *tf, CTL_MSG *request, char *remote_machine) argument
289 (void) fputs(big_buf, tf);
290 (void) fflush(tf);
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dinit.c347 idmap_trustedforest_t *tf; local
404 tf = &pgcfg->trusted_forests[i];
405 for (j = 0; tf->global_catalog[j].host[0] != '\0'; j++)
408 tf->forest_name,
409 tf->global_catalog[j].host,
410 tf->global_catalog[j].port);
411 for (j = 0; tf->domains_in_forest[j].domain[0] != '\0'; j++) {
412 if (tf->domains_in_forest[j].trusted) {
415 tf->forest_name,
416 tf
[all...]
/illumos-gate/usr/src/lib/libast/common/sfio/
H A D_sfopen.c108 { reg int tf;
109 while((tf = syscreatf(file,SF_CREATMODE)) < 0 &&
112 CLOSE(tf);
/illumos-gate/usr/src/cmd/vi/port/
H A Dexpreserve.c97 DIR *tf; local
133 if ((tf = opendir(".")) == NULL)
138 while ((direntry = readdir64(tf)) != NULL)
158 closedir(tf);
/illumos-gate/usr/src/cmd/tbl/
H A DMakefile31 t8.c t9.c tb.c tc.c te.c tf.c tg.c ti.c \
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfakebop.c1682 struct trapframe *tf = (struct trapframe *)tfp; local
1695 * adjust the tf for optional error_code by detecting the code selector
1697 if (tf->code_seg != bcode_sel)
1698 tf = (struct trapframe *)(tfp - 1);
1701 tf->error_code & 0xffffffff);
1703 bop_printf(NULL, "instruction pointer 0x%lx\n", tf->inst_ptr);
1704 bop_printf(NULL, "code segment 0x%lx\n", tf->code_seg & 0xffff);
1705 bop_printf(NULL, "flags register 0x%lx\n", tf->flags_reg);
1707 bop_printf(NULL, "return %%rsp 0x%lx\n", tf->stk_ptr);
1708 bop_printf(NULL, "return %%ss 0x%lx\n", tf
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Diso9660.h202 } tf; member in union:rock_ridge::__anon2191
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_mindex3.cc70 entryFlagsFromTable(uint_t tf) { argument
73 if ((tf & TA_BINARY) != 0)
75 if ((tf & TA_CRYPT) != 0)
77 if ((tf & TA_XDR) != 0)
79 if ((tf & TA_ASN1) != 0)

Completed in 264 milliseconds

12