| /src/external/bsd/nvi/dist/common/ |
| trace.c | 37 static FILE *tfp; variable 48 if (tfp != NULL && tfp != stderr) 49 (void)fclose(tfp); 61 if (name == NULL || (tfp = fopen(name, "w")) == NULL) 62 tfp = stderr; 77 if (tfp == NULL) 81 (void)vfprintf(tfp, fmt, ap); 84 (void)fflush(tfp);
|
| /src/external/bsd/ipf/dist/lib/ |
| ipft_hx.c | 27 static FILE *tfp = NULL; variable 33 if (tfp && tfd != -1) { 34 rewind(tfp); 40 tfp = stdin; 44 tfp = fdopen(tfd, "r"); 79 while (fgets(line, sizeof(line)-1, tfp)) { 150 if (feof(tfp))
|
| ipft_tx.c | 33 static FILE *tfp = NULL; variable 90 if (tfp && tfd != -1) { 91 rewind(tfp); 97 tfp = stdin; 101 tfp = fdopen(tfd, "r"); 129 while (fgets(line, sizeof(line)-1, tfp)) { 157 if (feof(tfp))
|
| /src/sys/compat/linux/arch/alpha/ |
| linux_machdep.c | 96 struct trapframe *tfp = l->l_md.md_tf; local 105 memset(tfp->tf_regs, 0, FRAME_SIZE * sizeof tfp->tf_regs[0]);
|
| /src/sys/arch/arm/gemini/ |
| gemini_timer.c | 203 timer_factors_t *tfp = &sc->sc_tf; local 207 GEMINI_TIMERn_COUNTER(n), tfp->tf_counter); 209 GEMINI_TIMERn_LOAD(n), tfp->tf_reload); 211 GEMINI_TIMERn_MATCH1(n), tfp->tf_match1); 213 GEMINI_TIMERn_MATCH2(n), tfp->tf_match2); 218 r |= tfp->tf_tmcr & GEMINI_TIMER_TMnCR_MASK(n); 369 timer_factors_t *tfp = &sc->sc_tf; local 379 tfp->tf_tmcr = TIMER_TMCR_TMnENABLE(n); 382 tfp->tf_counter = ~0U; 388 tfp->tf_counter = count_freq [all...] |
| /src/usr.bin/config/ |
| mkheaders.c | 364 FILE *tfp; local 367 if ((tfp = fopen(tfname, "w")) == NULL) 370 rval = ht_enumerate(attrtab, locators_print, tfp); 372 fflush(tfp); 373 if (ferror(tfp)) 375 if (fclose(tfp) == EOF) 390 FILE *tfp; local 395 if ((tfp = fopen(tfname, "w")) == NULL) 398 fputs("\n/* pseudo-devices */\n", tfp); 400 fprintf(tfp, "void %sattach(int);\n" 475 FILE *tfp, *nfp; local [all...] |
| /src/usr.bin/rdist/ |
| docmd.c | 368 FILE *tfp; variable 400 tfp = NULL; 402 if ((tfp = fopen(tempfile, "w")) == NULL) { 423 if (tfp != NULL) 424 (void) fclose(tfp); 478 dolog(tfp, "new: %s\n", name);
|
| /src/external/gpl2/xcvs/dist/src/ |
| logmsg.c | 238 FILE *tfp; local 244 tfp = CVS_FOPEN (CVSADM_TEMPLATE, "rb"); 245 if (tfp == NULL) 252 while (!feof (tfp)) 255 n = fread (buf, 1, sizeof buf, tfp); 263 if (ferror (tfp)) 266 if (fclose (tfp) < 0) 526 FILE *tfp; local 535 if ((tfp = CVS_FOPEN (template, "r")) != NULL) 540 while (getline (&line, &line_chars_allocated, tfp) >= 0 [all...] |
| /src/sys/arch/m68k/m68k/ |
| db_trace.c | 502 int tfp; local 505 tfp = pos.k_fp + FR_SAVFP + 4 + (5 * 4); 508 regp = tfp + offsetof(struct frame, f_sr); 515 regp = tfp + offsetof(struct frame, f_pc);
|
| /src/sys/external/bsd/drm2/dist/drm/i915/display/ |
| dvo_tfp410.c | 101 struct tfp410_priv *tfp = dvo->dev_priv; local 129 if (!tfp->quiet) { 138 struct tfp410_priv *tfp = dvo->dev_priv; local 154 if (!tfp->quiet) { 178 struct tfp410_priv *tfp; local 181 tfp = kzalloc(sizeof(struct tfp410_priv), GFP_KERNEL); 182 if (tfp == NULL) 186 dvo->dev_priv = tfp; 187 tfp->quiet = true; 202 tfp->quiet = false 307 struct tfp410_priv *tfp = dvo->dev_priv; local [all...] |
| /src/external/bsd/nvi/dist/ex/ |
| ex_tag.c | 591 TAGF *atfp, *tfp; local 615 if (tagf_copy(sp, atfp, &tfp)) 617 TAILQ_INSERT_TAIL(&nexp->tagfq, tfp, q); 637 TAGF *tfp; local 639 MALLOC_RET(sp, tfp, TAGF *, sizeof(TAGF)); 640 *tfp = *otfp; 643 if ((tfp->name = strdup(otfp->name)) == NULL) 646 *tfpp = tfp; 711 tagf_free(SCR *sp, TAGF *tfp) 716 TAILQ_REMOVE(&exp->tagfq, tfp, q) 897 TAGF *tfp; local 939 TAGF *tfp; local 1149 TAGF *tfp; local [all...] |
| /src/sys/arch/alpha/alpha/ |
| machdep.c | 1681 struct trapframe *tfp = l->l_md.md_tf; local 1695 memset(tfp, 0, sizeof(*tfp)); 1699 tfp->tf_regs[i] = 0xbabefacedeadbeef; 1704 tfp->tf_regs[FRAME_PS] = ALPHA_PSL_USERSET; 1705 tfp->tf_regs[FRAME_PC] = pack->ep_entry & ~3; 1707 tfp->tf_regs[FRAME_A0] = stack; /* a0 = sp */ 1708 tfp->tf_regs[FRAME_A1] = 0; /* a1 = rtld cleanup */ 1709 tfp->tf_regs[FRAME_A2] = 0; /* a2 = rtld object */ 1710 tfp->tf_regs[FRAME_A3] = l->l_proc->p_psstrp; /* a3 = ps_strings * [all...] |
| /src/external/gpl3/binutils/dist/gprofng/libcollector/ |
| unwind.c | 1389 struct frame * tfp = (struct frame*) ((char*) (fp->fr_savfp) + STACK_BIAS); local 1391 ind = process_sigreturn (lbuf, old_ind, lsize, tpc, &tfp, bptr, extra_frame); 1395 fp = tfp;
|
| /src/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
| unwind.c | 1389 struct frame * tfp = (struct frame*) ((char*) (fp->fr_savfp) + STACK_BIAS); local 1391 ind = process_sigreturn (lbuf, old_ind, lsize, tpc, &tfp, bptr, extra_frame); 1395 fp = tfp;
|