/openbsd-current/lib/libc/stdio/ |
H A D | fwprintf.c | 39 fwprintf(FILE * __restrict fp, const wchar_t * __restrict fmt, ...) argument 45 ret = vfwprintf(fp, fmt, ap);
|
H A D | fwscanf.c | 34 fwscanf(FILE * __restrict fp, const wchar_t * __restrict fmt, ...) argument 40 r = vfwscanf(fp, fmt, ap);
|
/openbsd-current/lib/libc/string/ |
H A D | memccpy.c | 40 const unsigned char *fp = f; local 43 if ((*tp++ = *fp++) == uc)
|
/openbsd-current/gnu/llvm/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...] |
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.asm/ |
H A D | frv.inc | 4 sti fp, @(sp,0) 5 mov sp, fp 7 sti gr5, @(fp,8) 12 ldi @(fp,8), gr5 13 ld @(fp,gr0), fp 45 setlos #0, fp
|
/openbsd-current/gnu/usr.sbin/mkhybrid/src/ |
H A D | match.c | 194 FILE *fp; local 197 if ((fp = fopen(file, "r")) == NULL) { 202 while (fscanf(fp, "%s", name) != EOF) { 204 fclose(fp); 209 fclose(fp); 237 FILE *fp; local 240 if ((fp = fopen(file, "r")) == NULL) { 245 while (fscanf(fp, "%s", name) != EOF) { 247 fclose(fp); 252 fclose(fp); 258 FILE *fp; local 279 FILE *fp; local [all...] |
/openbsd-current/lib/libc/thread/ |
H A D | rthread_file.c | 51 * The FILE lock structure. The FILE *fp is locked if the owner is 53 * reassigned to a different file by setting fp. 57 FILE *fp; /* The target file. */ member in struct:file_lock 100 find_lock(int idx, FILE *fp) argument 105 if (flh[idx].fl.fp == fp && flh[idx].fl.owner != NULL) 116 while (p != NULL && (p->fp != fp || p->owner == NULL)) 129 do_lock(int idx, FILE *fp) argument 164 p->fp 173 _thread_flockfile(FILE * fp) argument 220 _thread_ftrylockfile(FILE * fp) argument 269 _thread_funlockfile(FILE * fp) argument [all...] |
/openbsd-current/lib/libkeynote/ |
H A D | keynote-keygen.c | 58 print_space(FILE *fp, int n) argument 61 fprintf(fp, " "); 68 print_key(FILE *fp, char *algname, char *key, int start, int length) argument 72 print_space(fp, start); 73 fprintf(fp, "\"%s", algname); 81 fprintf(fp, "\"\n"); 85 fprintf(fp, "\\\n"); 86 print_space(fp, start); 91 fprintf(fp, "%c", key[i]); 94 fprintf(fp, "\"\ 107 FILE *fp; local [all...] |
/openbsd-current/gnu/lib/libreadline/examples/ |
H A D | rlcat.c | 124 fcopy(fp) 125 FILE *fp; 130 while ((c = getc(fp)) != EOF) 151 FILE *fp; local 159 fp = stdin; 162 fp = fopen (argv[i], "r"); 163 if (fp == 0) 169 r = fcopy (fp); 170 if (fp != stdin) 171 fclose(fp); [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.bugs/ |
H A D | 900210_01.C | 34 void (*fp) (void); variable 43 i = fp; /* ERROR - */ 49 l = fp; /* ERROR - */ 55 s = fp; /* ERROR - */ 61 c = fp; /* ERROR - */ 67 si = fp; /* ERROR - */ 73 sl = fp; /* ERROR - */ 79 ss = fp; /* ERROR - */ 85 sc = fp; /* ERROR - */ 91 ui = fp; /* ERRO [all...] |
H A D | 900210_02.C | 34 void (*fp) (void); variable 98 fp = i; /* ERROR - */ 99 fp = l; /* ERROR - */ 100 fp = s; /* ERROR - */ 101 fp = c; /* ERROR - */ 102 fp = si; /* ERROR - */ 103 fp = sl; /* ERROR - */ 104 fp = ss; /* ERROR - */ 105 fp = sc; /* ERROR - */ 106 fp [all...] |
/openbsd-current/sys/net/ |
H A D | pf_osfp.c | 125 struct pf_os_fingerprint fp, *fpresult; local 141 memset(&fp, 0, sizeof(fp)); 148 fp.fp_psize = ntohs(ip->ip_len); 149 fp.fp_ttl = ip->ip_ttl; 151 fp.fp_flags |= PF_OSFP_DF; 171 fp.fp_psize = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen); 172 fp.fp_ttl = ip6->ip6_hlim; 173 fp.fp_flags |= PF_OSFP_DF; 174 fp 313 struct pf_os_fingerprint *fp; local 333 struct pf_os_fingerprint *fp, *fp_prealloc, fpadd; local 550 struct pf_os_fingerprint *fp; local [all...] |
/openbsd-current/gnu/usr.bin/binutils-2.17/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); 147 fprintf (fp, _("no symbol")); 149 fprintf (fp, "%s", name); 155 fprintf (fp, " [all...] |
/openbsd-current/usr.bin/paste/ |
H A D | paste.c | 96 FILE *fp; member in struct:list 118 lp->fp = stdin; 119 else if ((lp->fp = fopen(p, "r")) == NULL) 132 if (lp->fp == NULL) { 138 if ((len = getline(&line, &linesize, lp->fp)) == -1) { 139 if (ferror(lp->fp)) 140 err(1, "%s", lp->fp == stdin ? 144 if (lp->fp != stdin) 145 fclose(lp->fp); 146 lp->fp 176 FILE *fp; local [all...] |
/openbsd-current/usr.bin/unvis/ |
H A D | unvis.c | 38 void process(FILE *fp, const char *filename); 43 FILE *fp; local 60 if ((fp=fopen(*argv, "r")) != NULL) { 61 process(fp, *argv); 62 fclose(fp); 77 process(FILE *fp, const char *filename) argument 83 while ((c = getc(fp)) != EOF) {
|
/openbsd-current/usr.bin/tail/ |
H A D | forward.c | 50 static inline void tfprint(FILE *fp); 106 if (fseeko(tf[i].fp, off, SEEK_SET) == -1) { 111 if ((ch = getc(tf[i].fp)) == EOF) { 112 if (ferror(tf[i].fp)) { 123 if ((ch = getc(tf[i].fp)) == EOF) { 124 if (ferror(tf[i].fp)) { 137 fseeko(tf[i].fp, -off, SEEK_END) == -1) { 142 while (getc(tf[i].fp) != EOF) 144 if (ferror(tf[i].fp)) { 156 if (fseeko(tf[i].fp, (off_ 290 tfprint(FILE *fp) argument [all...] |
/openbsd-current/sys/sys/ |
H A D | file.h | 108 #define FREF(fp) \ 112 atomic_inc_int(&(fp)->f_count); \ 115 #define FRELE(fp,p) \ 116 (atomic_dec_int_nv(&fp->f_count) == 0 ? fdrop(fp, p) : 0) 123 foffset(struct file *fp) argument 127 mtx_enter(&fp->f_mtx); 128 offset = fp->f_offset; 129 mtx_leave(&fp->f_mtx);
|
/openbsd-current/gnu/llvm/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__[]; 77 static fp __DTOR_LIST__[] 78 __attribute__((section(".dtors"), aligned(sizeof(fp)))) = {(fp)-1}; 79 extern fp __DTOR_LIST_END__[];
|
/openbsd-current/usr.sbin/tcpdump/ |
H A D | pfctl_osfp.c | 43 # define DEBUG(fp, str, v...) \ 44 fprintf(stderr, "%s:%s:%s " str "\n", (fp)->fp_os.fp_class_nm, \ 45 (fp)->fp_os.fp_version_nm, (fp)->fp_os.fp_subtype_nm , ## v); 47 # define DEBUG(fp, str, v...) ((void)0) 96 struct pf_osfp_ioctl fp; local 122 memset(&fp, 0, sizeof(fp)); 171 fp.fp_ttl = ttl; 173 fp 441 pfctl_lookup_fingerprint(pf_osfp_t fp, char *buf, size_t len) argument 532 add_fingerprint(int dev, int opts, struct pf_osfp_ioctl *fp) argument 642 import_fingerprint(struct pf_osfp_ioctl *fp) argument 994 print_ioctl(struct pf_osfp_ioctl *fp) argument [all...] |
/openbsd-current/sbin/pfctl/ |
H A D | pfctl_osfp.c | 43 # define DEBUG(fp, str, v...) \ 44 fprintf(stderr, "%s:%s:%s " str "\n", (fp)->fp_os.fp_class_nm, \ 45 (fp)->fp_os.fp_version_nm, (fp)->fp_os.fp_subtype_nm , ## v); 47 # define DEBUG(fp, str, v...) ((void)0) 96 struct pf_osfp_ioctl fp; local 117 memset(&fp, 0, sizeof(fp)); 166 fp.fp_ttl = ttl; 168 fp 443 pfctl_lookup_fingerprint(pf_osfp_t fp, char *buf, size_t len) argument 534 add_fingerprint(int dev, int opts, struct pf_osfp_ioctl *fp) argument 645 import_fingerprint(struct pf_osfp_ioctl *fp) argument 997 print_ioctl(struct pf_osfp_ioctl *fp) argument [all...] |
/openbsd-current/lib/libc/net/ |
H A D | getproto.c | 43 if (!pd->stayopen && pd->fp != NULL) { 44 (void)fclose(pd->fp); 45 pd->fp = NULL;
|
/openbsd-current/usr.bin/rcs/ |
H A D | ident.c | 49 FILE *fp; local 73 if ((fp = fopen(argv[i], "r")) == NULL) { 79 ident_file(argv[i], fp); 80 (void)fclose(fp); 91 ident_file(const char *filename, FILE *fp) argument 100 for (c = 0; c != EOF; c = getc(fp)) { 101 if (feof(fp) || ferror(fp)) 104 ident_line(fp); 115 ident_line(FILE *fp) argument [all...] |
/openbsd-current/usr.bin/mail/ |
H A D | popen.c | 43 struct fp { struct 44 FILE *fp; member in struct:fp 47 struct fp *link; 49 static struct fp *fp_head; 68 FILE *fp; local 70 if ((fp = fopen(file, mode)) != NULL) { 71 register_file(fp, 0, 0); 72 (void)fcntl(fileno(fp), F_SETFD, FD_CLOEXEC); 74 return(fp); 80 FILE *fp; local 90 Fclose(FILE *fp) argument 104 FILE *fp; local 161 register_file(FILE *fp, int pipe, pid_t pid) argument 175 unregister_file(FILE *fp) argument 189 file_pid(FILE *fp) argument [all...] |
/openbsd-current/sys/kern/ |
H A D | kern_descrip.c | 196 fd_iterfile(struct file *fp, struct proc *p) argument 202 if (fp == NULL) 205 nfp = LIST_NEXT(fp, f_list); 219 if (fp != NULL) 220 FRELE(fp, p); 228 struct file *fp; local 236 fp = fdp->fd_ofiles[fd]; 237 if (fp != NULL) 238 atomic_inc_int(&fp->f_count); 241 return (fp); 247 struct file *fp; local 264 fd_checkclosed(struct filedesc *fdp, int fd, struct file *fp) argument 290 struct file *fp; local 348 struct file *fp; local 408 struct file *fp; local 646 finishdup(struct proc *p, struct file *fp, int old, int new, register_t *retval, int dupflags) argument 700 fdinsert(struct filedesc *fdp, int fd, int flags, struct file *fp) argument 747 struct file *fp; local 793 struct file *fp; local 830 struct file *fp; local 1004 struct file *fp; local 1036 struct file *fp; local 1149 struct file *fp = fdp->fd_ofiles[i]; local 1185 struct file *fp; local 1225 closef(struct file *fp, struct proc *p) argument 1262 fdrop(struct file *fp, struct proc *p) argument 1301 struct file *fp; local [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/ |
H A D | mkdeps.c | 226 deps_write (d, fp, colmax) 228 FILE *fp; 243 fputs (" \\\n ", fp); 248 putc (' ', fp); 251 fputs (d->targetv[i], fp); 254 putc (':', fp); 255 putc (' ', fp); 264 fputs (" \\\n ", fp); 269 putc (' ', fp); 272 fputs (d->depv[i], fp); [all...] |