/freebsd-11-stable/lib/libc/string/ |
H A D | memccpy.c | 44 const unsigned char *fp = f; local 47 if ((*tp++ = *fp++) == uc)
|
/freebsd-11-stable/bin/uuidgen/ |
H A D | uuidgen.c | 47 FILE *fp; local 53 fp = stdout; /* default output file */ 68 if (fp != stdout) 70 fp = fopen(optarg, "w"); 71 if (fp == NULL) 107 fprintf(fp, "%s\n", p); 112 if (fp != stdout) 113 fclose(fp);
|
/freebsd-11-stable/lib/libc/stdio/ |
H A D | fputws.c | 47 fputws_l(const wchar_t * __restrict ws, FILE * __restrict fp, locale_t locale) argument 59 FLOCKFILE_CANCELSAFE(fp); 60 ORIENT(fp, 1); 61 if (prepwrite(fp) != 0) 69 &fp->_mbstate); 73 if (__sfvwrite(fp, &uio) != 0) 83 fputws(const wchar_t * __restrict ws, FILE * __restrict fp) argument 85 return fputws_l(ws, fp, __get_locale());
|
H A D | fwrite.c | 54 FILE * __restrict fp) 75 fp->_flags |= __SERR; 86 ORIENT(fp, -1); 92 if (__sfvwrite(fp, &uio) != 0) 99 FILE * __restrict fp) 103 FLOCKFILE_CANCELSAFE(fp); 104 n = fwrite_unlocked(buf, size, count, fp); 53 fwrite_unlocked(const void * __restrict buf, size_t size, size_t count, FILE * __restrict fp) argument 98 fwrite(const void * __restrict buf, size_t size, size_t count, FILE * __restrict fp) argument
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/hexagon/ |
H A D | common_entry_exit_abi1.S | 35 // Save r25:24 at fp+#-8 and r27:26 at fp+#-16. 47 memd(fp+#-16) = r27:26 50 memd(fp+#-8) = r25:24 64 r27:26 = memd(fp+#-16) 67 r25:24 = memd(fp+#-8) 81 lr = memw(fp+#4) 82 r27:26 = memd(fp+#-16) 85 r25:24 = memd(fp+#-8) 98 r25:24 = memd(fp [all...] |
/freebsd-11-stable/usr.sbin/rpcbind/ |
H A D | warmstart.c | 71 FILE *fp; local 76 fp = fopen(filename, "w"); 77 if (fp == NULL) { 82 fp = fopen(filename, "w"); 83 if (fp == NULL) { 91 xdrstdio_create(&xdrs, fp, XDR_ENCODE); 95 fclose(fp); 99 fclose(fp); 106 FILE *fp; local 122 fp [all...] |
/freebsd-11-stable/sys/dev/cxgb/ |
H A D | cxgb_t3fw.c | 22 const struct firmware *fp, *parent; local 27 fp = firmware_register("cxgb_t3fw", t3fw, 30 if (fp == NULL) 32 parent = fp; 55 const struct firmware *fp, *parent; local 60 fp = firmware_register("cxgb_t3b_protocol_sram", t3b_protocol_sram, 63 if (fp == NULL) 65 parent = fp; 88 const struct firmware *fp, *parent; local 93 fp 121 const struct firmware *fp, *parent; local 154 const struct firmware *fp, *parent; local [all...] |
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | fwrite.c | 27 ** fp -- file pointer writing to 39 sm_io_write(fp, timeout, buf, size) 40 SM_FILE_T *fp; 48 SM_REQUIRE_ISA(fp, SmFileMagic); 50 if (fp->f_write == NULL) 62 if (sm_fvwrite(fp, timeout, &uio) == 0)
|
H A D | put.c | 32 ** fp -- file to output to 45 sm_io_putc(fp, timeout, c) 46 SM_FILE_T *fp; 50 SM_REQUIRE_ISA(fp, SmFileMagic); 51 if (cantwrite(fp)) 56 return sm_putc(fp, timeout, c);
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | write_pid.c | 42 FILE *fp; local 46 fp = fopen (ret, "w"); 47 if (fp == NULL) { 51 fprintf (fp, "%u", (unsigned)getpid()); 52 fclose (fp);
|
/freebsd-11-stable/contrib/libreadline/examples/ |
H A D | rlcat.c | 130 fcopy(fp) 131 FILE *fp; 136 while ((c = getc(fp)) != EOF) 157 FILE *fp; local 165 fp = stdin; 168 fp = fopen (argv[i], "r"); 169 if (fp == 0) 175 r = fcopy (fp); 176 if (fp != stdin) 177 fclose(fp); [all...] |
/freebsd-11-stable/sys/powerpc/fpu/ |
H A D | fpu_emu.h | 107 #define ISSNAN(fp) ((fp)->fp_class == FPC_SNAN) 108 #define ISQNAN(fp) ((fp)->fp_class == FPC_QNAN) 109 #define ISNAN(fp) ((fp)->fp_class < 0) 110 #define ISZERO(fp) ((fp)->fp_class == 0) 111 #define ISINF(fp) ((fp) [all...] |
/freebsd-11-stable/contrib/openbsm/bin/praudit/ |
H A D | praudit.c | 66 print_tokens(FILE *fp) argument 78 type = fgetc(fp); 80 ungetc(type, fp); 83 while ((reclen = au_read_rec(fp, &buf)) != -1) { 111 FILE *fp; local 162 fp = fopen(argv[i], "r"); 163 if ((fp == NULL) || (print_tokens(fp) == -1)) 165 if (fp != NULL) 166 fclose(fp); [all...] |
/freebsd-11-stable/contrib/ntp/sntp/libopts/ |
H A D | save.c | 42 prt_entry(FILE * fp, tOptDesc * od, char const * l_arg); 45 prt_value(FILE * fp, int depth, tOptDesc * pOD, tOptionValue const * ovp); 48 prt_string(FILE * fp, char const * name, char const * pz); 51 prt_val_list(FILE * fp, char const * name, tArgList * al); 54 prt_nested(FILE * fp, tOptDesc * p); 60 prt_no_arg_opt(FILE * fp, tOptDesc * p, tOptDesc * pOD); 63 prt_str_arg(FILE * fp, tOptDesc * pOD); 66 prt_enum_arg(FILE * fp, tOptDesc * od); 69 prt_set_arg(FILE * fp, tOptDesc * od); 72 prt_file_arg(FILE * fp, tOptDes 278 prt_entry(FILE * fp, tOptDesc * od, char const * l_arg) argument 343 prt_value(FILE * fp, int depth, tOptDesc * pOD, tOptionValue const * ovp) argument 409 prt_string(FILE * fp, char const * name, char const * pz) argument 445 prt_val_list(FILE * fp, char const * name, tArgList * al) argument 481 prt_nested(FILE * fp, tOptDesc * p) argument 524 FILE * fp; local 573 prt_no_arg_opt(FILE * fp, tOptDesc * p, tOptDesc * pOD) argument 596 prt_str_arg(FILE * fp, tOptDesc * pOD) argument 623 prt_enum_arg(FILE * fp, tOptDesc * od) argument 647 prt_set_arg(FILE * fp, tOptDesc * od) argument 668 prt_file_arg(FILE * fp, tOptDesc * od, tOptions * opts) argument 722 FILE * fp = open_sv_file(opts); local [all...] |
/freebsd-11-stable/lib/libsysdecode/ |
H A D | utrace.c | 54 print_utrace_rtld(FILE *fp, void *p) argument 63 fprintf(fp, "dlopen(%s, ", ut->name); 66 fprintf(fp, "RTLD_NOW"); 69 fprintf(fp, "RTLD_LAZY"); 72 fprintf(fp, "%#x", mode & RTLD_MODEMASK); 75 fprintf(fp, " | RTLD_GLOBAL"); 77 fprintf(fp, " | RTLD_TRACE"); 79 fprintf(fp, " | %#x", mode & 81 fprintf(fp, ")"); 84 fprintf(fp, " 148 print_utrace_malloc(FILE *fp, void *p) argument 163 sysdecode_utrace(FILE *fp, void *p, size_t len) argument [all...] |
/freebsd-11-stable/sys/netpfil/pf/ |
H A D | pf_osfp.c | 97 struct pf_os_fingerprint fp, *fpresult; local 113 memset(&fp, 0, sizeof(fp)); 116 fp.fp_psize = ntohs(ip->ip_len); 117 fp.fp_ttl = ip->ip_ttl; 119 fp.fp_flags |= PF_OSFP_DF; 125 fp.fp_psize = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen); 126 fp.fp_ttl = ip6->ip6_hlim; 127 fp.fp_flags |= PF_OSFP_DF; 128 fp 247 struct pf_os_fingerprint *fp; local 265 struct pf_os_fingerprint *fp, fpadd; local 467 struct pf_os_fingerprint *fp; local [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_print.c | 157 FILE *fp = pap->pa_file; local 193 (void) fprintf(fp, "%#llx", (u_longlong_t)value); 200 dt_print_hex(FILE *fp, caddr_t addr, size_t size) argument 204 (void) fprintf(fp, "%#x", *(uint8_t *)addr); 208 (void) fprintf(fp, "%#x", *(uint16_t *)addr); 212 (void) fprintf(fp, "%#x", *(uint32_t *)addr); 215 (void) fprintf(fp, "%#llx", 220 (void) fprintf(fp, "<invalid size %u>", (uint_t)size); 231 FILE *fp = pap->pa_file; local 238 (void) fprintf(fp, "<unknow 285 FILE *fp = pap->pa_file; local 316 FILE *fp = pap->pa_file; local 368 FILE *fp = pap->pa_file; local 478 FILE *fp = pap->pa_file; local 548 FILE *fp = pap->pa_file; local 642 dtrace_print(dtrace_hdl_t *dtp, FILE *fp, const char *typename, caddr_t addr, size_t len) argument [all...] |
/freebsd-11-stable/contrib/binutils/ld/ |
H A D | ldmisc.c | 66 vfinfo (FILE *fp, const char *fmt, va_list arg, bfd_boolean is_warning) argument 74 putc (*fmt, fp); 85 putc ('%', fp); 97 fprintf_vma (fp, value); 112 fputs (p, fp); 134 putc (' ', fp); 137 fprintf (fp, "0x%s", p); 148 fprintf (fp, _("no symbol")); 159 fprintf (fp, "%s", demangled); 164 fprintf (fp, " [all...] |
/freebsd-11-stable/contrib/groff/src/devices/grohtml/ |
H A D | output.cpp | 148 : fp(f), max_line_length(n), col(0), fixed_point(0), newlines(0) 154 if (fp) 155 fflush(fp); 156 fp = f; 164 PUTC(c, fp); 172 PUTC('\n', fp); 187 PUTC('\n', fp); 188 FPUTS("<!-- ", fp); 189 FPUTS(s, fp); 190 FPUTS(" -->\n", fp); [all...] |
/freebsd-11-stable/usr.bin/chpass/ |
H A D | edit.c | 111 FILE *fp; local 114 if ((fp = fopen(tfn, "w")) == NULL) { 119 (void)fprintf(fp, 122 (void)fprintf(fp, "Login: %s\n", pw->pw_name); 123 (void)fprintf(fp, "Password: %s\n", pw->pw_passwd); 124 (void)fprintf(fp, "Uid [#]: %lu\n", (unsigned long)pw->pw_uid); 125 (void)fprintf(fp, "Gid [# or name]: %lu\n", 127 (void)fprintf(fp, "Change [month day year]: %s\n", 129 (void)fprintf(fp, "Expire [month day year]: %s\n", 131 (void)fprintf(fp, "Clas 205 FILE *fp; local [all...] |
/freebsd-11-stable/usr.bin/rev/ |
H A D | rev.c | 63 FILE *fp; local 79 fp = stdin; 84 if ((fp = fopen(*argv, "r")) == NULL) { 92 while ((p = fgetwln(fp, &len)) != NULL) { 99 if (ferror(fp)) { 101 clearerr(fp); 104 (void)fclose(fp);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/crt/ |
H A D | crtbegin.c | 22 typedef void (*fp)(void); typedef 24 static fp __CTOR_LIST__[] 25 __attribute__((section(".ctors"), aligned(sizeof(fp)))) = {(fp)-1}; 26 extern fp __CTOR_LIST_END__[]; 73 static fp __DTOR_LIST__[] 74 __attribute__((section(".dtors"), aligned(sizeof(fp)))) = {(fp)-1}; 75 extern fp __DTOR_LIST_END__[];
|
/freebsd-11-stable/sbin/pfctl/ |
H A D | pfctl_osfp.c | 49 # define DEBUG(fp, str, v...) \ 50 fprintf(stderr, "%s:%s:%s " str "\n", (fp)->fp_os.fp_class_nm, \ 51 (fp)->fp_os.fp_version_nm, (fp)->fp_os.fp_subtype_nm , ## v); 53 # define DEBUG(fp, str, v...) ((void)0) 100 struct pf_osfp_ioctl fp; local 126 memset(&fp, 0, sizeof(fp)); 175 fp.fp_ttl = ttl; 177 fp 457 pfctl_lookup_fingerprint(pf_osfp_t fp, char *buf, size_t len) argument 548 add_fingerprint(int dev, int opts, struct pf_osfp_ioctl *fp) argument 658 import_fingerprint(struct pf_osfp_ioctl *fp) argument 1009 print_ioctl(struct pf_osfp_ioctl *fp) argument [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/ctf/ |
H A D | ctf_mod.c | 102 ctf_write(ctf_file_t *fp, int fd) argument 104 return (ctf_set_errno(fp, ENOTSUP)); 123 ctf_file_t *fp = NULL; local 159 if ((fp = ctf_bufopen(&ctfsect, &symsect, &strsect, error)) == NULL) 162 if (!ctf_leave_compressed && (caddr_t)fp->ctf_base != mp->ctfdata) { 171 kobj_set_ctf(mp, (caddr_t)fp->ctf_base, fp->ctf_size); 172 fp->ctf_data.cts_data = fp->ctf_base; 173 fp [all...] |
/freebsd-11-stable/lib/libc/gen/ |
H A D | pututxline.c | 46 FILE *fp; local 61 fp = fdopen(fd, "r+"); 62 if (fp == NULL) { 66 return (fp); 72 FILE *fp; local 84 fp = futx_open(_PATH_UTX_ACTIVE); 85 if (fp == NULL) 87 while (fread(&fe, sizeof(fe), 1, fp) == 1) { 99 ret = fseeko(fp, -(off_t)sizeof(fe), SEEK_CUR); 108 partial = ftello(fp); 142 FILE *fp; local 202 FILE *fp; local [all...] |