f 2653 src/decNumber/decNumber.c decNumber *f=buff; // reduced fraction f 2722 src/decNumber/decNumber.c f=allocbuff; // use the allocated space f 2737 src/decNumber/decNumber.c decNumberCopy(f, rhs); f 2738 src/decNumber/decNumber.c exp=f->exponent+f->digits; // adjusted to Hull rules f 2739 src/decNumber/decNumber.c f->exponent=-(f->digits); // to range f 2770 src/decNumber/decNumber.c f->exponent--; // f=f/10 f 2786 src/decNumber/decNumber.c decMultiplyOp(a, a, f, &workset, &ignore); // a=a*f f 2802 src/decNumber/decNumber.c decDivideOp(b, f, a, &workset, DIVIDE, &ignore); // b=f/a f 2843 src/decNumber/decNumber.c decCompareOp(b, f, b, &workset, COMPARE, &ignore); // b ? f, reversed f 2858 src/decNumber/decNumber.c decCompareOp(b, b, f, &workset, COMPARE, &ignore); // b ? f f 1924 src/dps8/dps8_cpu.h int (* f) (cpu_state_t *); // pointer to mop() [returns character to be stored] f 6543 src/dps8/dps8_eis.c if (e->m == NULL || e->m->f == NULL) f 6603 src/dps8/dps8_eis.c int mres = m->f(cpup); // execute mop f 181 src/dps8/dps8_math.c long double f = fabsl(f0); f 184 src/dps8/dps8_math.c long double mant = frexpl(f, &exp); f 305 src/dps8/dps8_math.c long double f = fabsl(f0); f 307 src/dps8/dps8_math.c long double mant = MYfrexpl(f, &exp); f 392 src/dps8/dps8_math.c f 395 src/dps8/dps8_math.c f 398 src/dps8/dps8_math.c f 24 src/dps8/dps8_math.h float72 IEEElongdoubleToFloat72(long double f); f 27 src/dps8/dps8_math.h float36 IEEEdoubleTofloat36(double f); f 1190 src/dps8/dps8_mgp.c FILE *f = fopen("/dev/urandom", "rb"); f 1191 src/dps8/dps8_mgp.c if (f) f 1193 src/dps8/dps8_mgp.c if (fread(rnd, sizeof(rnd), 1, f)) f 1197 src/dps8/dps8_mgp.c fclose(f); f 4430 src/dps8/dps8_sys.c FILE *f = fopen("/dev/urandom", "rb"); f 4431 src/dps8/dps8_sys.c if (f) f 4433 src/dps8/dps8_sys.c if (fread(rnd, sizeof(rnd), 1, f)) f 4437 src/dps8/dps8_sys.c fclose(f); f 78 src/dps8/hdbg.h # define HDBGAPURead(s, o, f, d, c) hdbgAPURead (s, o, f, d, c) f 79 src/dps8/hdbg.h # define HDBGAPUWrite(s, o, f, d, c) hdbgAPUWrite (s, o, f, d, c) f 98 src/dps8/libtelnet.h # define TELNET_GNU_PRINTF(f,a) __attribute__((format(printf, f, a))) /* internal helper */ f 101 src/dps8/libtelnet.h # define TELNET_GNU_PRINTF(f,a) /* internal helper */ f 151 src/dps8/utfile.c FILE *f = fopen("/dev/urandom", "rb"); f 152 src/dps8/utfile.c if (f) f 154 src/dps8/utfile.c if (fread(rnd, sizeof(rnd), 1, f)) f 158 src/dps8/utfile.c fclose(f); f 72 src/libsir/include/sir/filecache.h void _sir_fflush(FILE* f); f 59 src/libsir/include/sir/filesystem.h bool _sir_openfile(FILE* restrict* restrict f, const char* restrict path, f 179 src/libsir/include/sir/helpers.h void _sir_safefclose(FILE* restrict* restrict f); f 317 src/libsir/include/sir/types.h FILE* f; f 113 src/libsir/src/sirfilecache.c FILE* f = NULL; f 114 src/libsir/src/sirfilecache.c retval = _sir_openfile(&f, sf->path, SIR_FOPENMODE, SIR_PATH_REL_TO_CWD); f 115 src/libsir/src/sirfilecache.c if (retval && NULL != f) { f 118 src/libsir/src/sirfilecache.c sf->f = f; f 128 src/libsir/src/sirfilecache.c _sir_safefclose(&sf->f); f 141 src/libsir/src/sirfilecache.c size_t wrote = fwrite(output, sizeof(char), writeLen, sf->f); f 147 src/libsir/src/sirfilecache.c clearerr(sf->f); f 182 src/libsir/src/sirfilecache.c int getstat = fstat(fileno(sf->f), &st); f 283 src/libsir/src/sirfilecache.c _sir_fflush(sf->f); f 366 src/libsir/src/sirfilecache.c return _sir_validptrnofail(sf) && _sir_validptrnofail(sf->f) && f 642 src/libsir/src/sirfilecache.c void _sir_fflush(FILE* f) { f 643 src/libsir/src/sirfilecache.c if (_sir_validptr(f) && 0 != fflush(f)) f 149 src/libsir/src/sirfilesystem.c bool _sir_openfile(FILE* restrict* restrict f, const char* restrict path, f 151 src/libsir/src/sirfilesystem.c if (!_sir_validptrptr(f) || !_sir_validstr(path) || !_sir_validstr(mode)) f 164 src/libsir/src/sirfilesystem.c int ret = _sir_fopen(f, abs_path, mode); f 169 src/libsir/src/sirfilesystem.c return 0 == _sir_fopen(f, path, mode); f 54 src/libsir/src/sirhelpers.c void _sir_safefclose(FILE* restrict* restrict f) { f 55 src/libsir/src/sirhelpers.c if (!f || !*f) f 58 src/libsir/src/sirhelpers.c if (0 != fclose(*f)) f 61 src/libsir/src/sirhelpers.c *f = NULL; f 5416 src/simh/scp.c FILE *f; f 5418 src/simh/scp.c if ((f = _popen ("ver", "r"))) { f 5421 src/simh/scp.c if (NULL == fgets (osversion, sizeof(osversion)-1, f)) f 5425 src/simh/scp.c _pclose (f); f 5433 src/simh/scp.c FILE *f; f 5435 src/simh/scp.c if ((f = popen \ f 5438 src/simh/scp.c if ((f = popen \ f 5446 src/simh/scp.c if (NULL == fgets (osversion, sizeof(osversion)-1, f)) { f 5451 src/simh/scp.c pclose (f); f 10535 src/simh/scp.c int Fprintf (FILE *f, const char* fmt, ...) f 10541 src/simh/scp.c ret = vfprintf (f, fmt, args); f 155 src/simh/scp.h int Fprintf (FILE *f, const char *fmt, ...) GCC_FMT_ATTR(2, 3); f 120 src/simh/sim_disk.c uint32 f; f 126 src/simh/sim_disk.c for (f = 0; f < DKUF_N_FMT && fmts[f].name; f++) { f 127 src/simh/sim_disk.c if (fmts[f].name && (strcmp (cptr, fmts[f].name) == 0)) { f 128 src/simh/sim_disk.c if ((fmts[f].impl_fnc) && (fmts[f].impl_fnc() != SCPE_OK)) f 131 src/simh/sim_disk.c (fmts[f].fmtval << DKUF_V_FMT) | fmts[f].uflags; f 142 src/simh/sim_disk.c int32 f = DK_GET_FMT (uptr); f 146 src/simh/sim_disk.c if (fmts[i].fmtval == f) { f 369 src/simh/sim_disk.c uint32 f = DK_GET_FMT (uptr); f 408 src/simh/sim_disk.c if (f == DKUF_F_STD) f 493 src/simh/sim_disk.c uint32 f = DK_GET_FMT (uptr); f 495 src/simh/sim_disk.c switch (f) { /* case on format */ f 1049 src/simh/sim_disk.c int (*close_function)(FILE *f); f 233 src/simh/sim_tape.c uint32 f = 0; f 244 src/simh/sim_tape.c f = MT_GET_FMT (uptr); f 254 src/simh/sim_tape.c switch (f) { /* case on format */ f 401 src/simh/sim_tape.c uint32 f = MT_GET_FMT (uptr); f 418 src/simh/sim_tape.c switch (f) { /* the read method depends on the tape format */ f 519 src/simh/sim_tape.c + (f == MTUF_F_STD ? (sbc + 1) & ~1 : sbc); /* of the record */ f 615 src/simh/sim_tape.c uint32 f = MT_GET_FMT (uptr); f 635 src/simh/sim_tape.c switch (f) { /* the read method depends on the tape format */ f 705 src/simh/sim_tape.c - (f == MTUF_F_STD ? (sbc + 1) & ~1 : sbc); /* of the record */ f 790 src/simh/sim_tape.c uint32 f = MT_GET_FMT (uptr); f 817 src/simh/sim_tape.c if (f == MTUF_F_P7B) /* p7b? strip SOR */ f 855 src/simh/sim_tape.c uint32 f = MT_GET_FMT (uptr); f 874 src/simh/sim_tape.c if (f == MTUF_F_P7B) /* p7b? strip SOR */ f 907 src/simh/sim_tape.c uint32 f = MT_GET_FMT (uptr); f 925 src/simh/sim_tape.c switch (f) { /* case on format */ f 1820 src/simh/sim_tape.c uint32 f = MT_GET_FMT (uptr); f 1822 src/simh/sim_tape.c return (uptr->pos <= fmts[f].bot)? TRUE: FALSE; f 1852 src/simh/sim_tape.c uint32 f; f 1860 src/simh/sim_tape.c for (f = 0; f < MTUF_N_FMT; f++) { f 1861 src/simh/sim_tape.c if (fmts[f].name && (strcmp (cptr, fmts[f].name) == 0)) { f 1863 src/simh/sim_tape.c (f << MTUF_V_FMT) | fmts[f].uflags; f 1874 src/simh/sim_tape.c int32 f = MT_GET_FMT (uptr); f 1876 src/simh/sim_tape.c if (fmts[f].name) f 1877 src/simh/sim_tape.c fprintf (st, "%s format", fmts[f].name); f 122 src/simh/sim_tape.h # define MT_DENS(f) (((f) & MTVF_DENS_MASK) >> UNIT_V_DF_TAPE) f 888 src/simh/sim_tmxr.c FILE *f = fopen("/dev/urandom", "rb"); f 889 src/simh/sim_tmxr.c if (f) f 891 src/simh/sim_tmxr.c if (fread(rnd, sizeof(rnd), 1, f)) f 895 src/simh/sim_tmxr.c fclose(f);