/freebsd-11-stable/contrib/byacc/ |
H A D | output.c | 6 #define CountLine(fp) (!rflag || ((fp) == code_file)) 35 putc_code(FILE * fp, int c) argument 37 if ((c == '\n') && (fp == code_file)) 39 putc(c, fp); 43 putl_code(FILE * fp, const char *s) argument 45 if (fp == code_file) 47 fputs(s, fp); 51 puts_code(FILE * fp, const char *s) argument 53 fputs(s, fp); 57 puts_param_types(FILE * fp, param *list, int more) argument 82 puts_param_names(FILE * fp, param *list, int more) argument 94 write_code_lineno(FILE * fp) argument 114 define_prefixed(FILE * fp, const char *name) argument 135 output_prefix(FILE * fp) argument 238 output_stype(FILE * fp) argument 255 output_ltype(FILE * fp) argument 275 output_YYINT_typedef(FILE * fp) argument 1204 output_defines(FILE * fp) argument 1272 output_stored_text(FILE * fp) argument 1557 output_backtracking_parser(FILE * fp) argument 1577 output_pure_parser(FILE * fp) argument 1658 output_parse_decl(FILE * fp) argument 1680 output_lex_decl(FILE * fp) argument 1786 output_error_decl(FILE * fp) argument 1815 output_yydestruct_decl(FILE * fp) argument 1944 output_externs(FILE * fp, const char *const section[]) argument 1964 FILE *fp; local [all...] |
H A D | yaccpar.c | 409 write_section(FILE * fp, const char *const section[]) argument 416 if (fp == code_file) 418 fprintf(fp, "%s\n", s);
|
/freebsd-11-stable/contrib/expat/xmlwf/ |
H A D | xmlwf.c | 62 FILE *fp; member in struct:xmlwfUserData 73 FILE *fp = ((XmlwfUserData *)userData)->fp; local 77 fputts(T("&"), fp); 80 fputts(T("<"), fp); 83 fputts(T(">"), fp); 87 fputts(T("
"), fp); 91 fputts(T("""), fp); 96 ftprintf(fp, T("&#%d;"), *s); 100 puttc(*s, fp); 107 attributeValue(FILE *fp, const XML_Char *s) argument 166 FILE *fp = ((XmlwfUserData *)userData)->fp; local 187 FILE *fp = ((XmlwfUserData *)userData)->fp; local 210 FILE *fp = ((XmlwfUserData *)userData)->fp; local 253 FILE *fp = ((XmlwfUserData *)userData)->fp; local 271 FILE *fp = ((XmlwfUserData *)userData)->fp; local 524 FILE *fp = ((XmlwfUserData *)XML_GetUserData((XML_Parser)userData))->fp; local 532 FILE *fp = ((XmlwfUserData *)XML_GetUserData(parser))->fp; local 560 FILE *fp = data->fp; local 593 FILE *fp = data->fp; local 604 FILE *fp = usrData->fp; local 616 FILE *fp = usrData->fp; local 628 FILE *fp = data->fp; local 638 FILE *fp = data->fp; local 648 FILE *fp = data->fp; local 662 FILE *fp = data->fp; local 675 FILE *fp = data->fp; local 687 FILE *fp = data->fp; local 708 FILE *fp = data->fp; local 745 FILE *fp = data->fp; local 761 FILE *fp = data->fp; local [all...] |
/freebsd-11-stable/contrib/gcc/config/s390/ |
H A D | fixdfdi.h | 25 #define EXPD(fp) (((fp.l.i[0]) >> 16) & 0x7FFF) 30 #define SIGND(fp) ((fp.l.i[0]) & SIGNBIT) 31 #define MANTD_HIGH_LL(fp) ((fp.ll[0] & HIGH_LL_FRAC_MASK) | HIGH_LL_UNIT_BIT) 32 #define MANTD_LOW_LL(fp) (fp.ll[1]) 33 #define FRACD_ZERO_P(fp) (!fp [all...] |
/freebsd-11-stable/sys/kern/ |
H A D | subr_firmware.c | 150 struct priv_fw *fp = NULL; local 158 fp = &firmware_table[i]; 159 if (fp->fw.name != NULL && strcasecmp(name, fp->fw.name) == 0) 161 else if (!FW_INUSE(fp)) 162 *empty_slot = fp; 164 return (i < FIRMWARE_MAX ) ? fp : NULL; 223 struct priv_fw *fp; local 227 fp = lookup(imagename, NULL); 228 if (fp 259 struct priv_fw *fp; local 302 struct priv_fw *fp; local 359 struct priv_fw *fp = PRIV_FW(p); local 423 struct priv_fw *fp; local 467 struct priv_fw *fp; local [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_labels.c | 32 extract_label_info(ctf_file_t *fp, const ctf_lblent_t **ctl, uint_t *num_labels) argument 39 if (fp->ctf_version < CTF_VERSION_2) 40 return (ctf_set_errno(fp, ECTF_NOTSUP)); 42 h = (const ctf_header_t *)fp->ctf_data.cts_data; 45 *ctl = (const ctf_lblent_t *)(fp->ctf_buf + h->cth_lbloff); 55 ctf_label_topmost(ctf_file_t *fp) argument 61 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR) 65 (void) ctf_set_errno(fp, ECTF_NOLABELDATA); 69 if ((s = ctf_strraw(fp, (ctlp + num_labels - 1)->ctl_label)) == NULL) 70 (void) ctf_set_errno(fp, ECTF_CORRUP 80 ctf_label_iter(ctf_file_t *fp, ctf_label_f *func, void *arg) argument 138 ctf_label_info(ctf_file_t *fp, const char *lname, ctf_lblinfo_t *linfo) argument [all...] |
/freebsd-11-stable/lib/libc/stdio/ |
H A D | getdelim.c | 110 FILE * __restrict fp) 115 FLOCKFILE_CANCELSAFE(fp); 116 ORIENT(fp, -1); 126 if (fp->_r <= 0 && __srefill(fp)) { 127 /* If fp is at EOF already, we just need space for the NUL. */ 128 if (!__sfeof(fp) || expandtofit(linep, 1, linecapp)) 136 while ((endp = memchr(fp->_p, delim, fp->_r)) == NULL) { 137 if (sappend(linep, &linelen, linecapp, fp 109 getdelim(char ** __restrict linep, size_t * __restrict linecapp, int delim, FILE * __restrict fp) argument [all...] |
H A D | ungetwc.c | 51 __ungetwc(wint_t wc, FILE *fp, locale_t locale) argument 59 if ((len = l->__wcrtomb(buf, wc, &fp->_mbstate)) == (size_t)-1) { 60 fp->_flags |= __SERR; 64 if (__ungetc((unsigned char)buf[len], fp) == EOF) 74 ungetwc_l(wint_t wc, FILE *fp, locale_t locale) argument 79 FLOCKFILE_CANCELSAFE(fp); 80 ORIENT(fp, 1); 81 r = __ungetwc(wc, fp, locale); 87 ungetwc(wint_t wc, FILE *fp) argument 89 return ungetwc_l(wc, fp, __get_local [all...] |
H A D | fputwc.c | 50 __fputwc(wchar_t wc, FILE *fp, locale_t locale) argument 56 if ((len = l->__wcrtomb(buf, wc, &fp->_mbstate)) == (size_t)-1) { 57 fp->_flags |= __SERR; 62 if (__sputc((unsigned char)buf[i], fp) == EOF) 72 fputwc_l(wchar_t wc, FILE *fp, locale_t locale) argument 77 FLOCKFILE_CANCELSAFE(fp); 78 ORIENT(fp, 1); 79 r = __fputwc(wc, fp, locale); 85 fputwc(wchar_t wc, FILE *fp) argument 87 return fputwc_l(wc, fp, __get_local [all...] |
H A D | fscanf.c | 53 fscanf(FILE * __restrict fp, char const * __restrict fmt, ...) argument 59 FLOCKFILE_CANCELSAFE(fp); 60 ret = __svfscanf(fp, __get_locale(), fmt, ap); 66 fscanf_l(FILE * __restrict fp, locale_t locale, char const * __restrict fmt, ...) argument 73 FLOCKFILE_CANCELSAFE(fp); 74 ret = __svfscanf(fp, locale, fmt, ap);
|
H A D | fputs.c | 52 fputs_unlocked(const char * __restrict s, FILE * __restrict fp) argument 62 ORIENT(fp, -1); 63 retval = __sfvwrite(fp, &uio); 70 fputs(const char * __restrict s, FILE * __restrict fp) argument 74 FLOCKFILE_CANCELSAFE(fp); 75 retval = fputs_unlocked(s, fp);
|
H A D | putw.c | 47 putw(int w, FILE *fp) argument 57 FLOCKFILE_CANCELSAFE(fp); 58 retval = __sfvwrite(fp, &uio);
|
/freebsd-11-stable/sys/sys/ |
H A D | file.h | 84 off_t foffset_lock(struct file *fp, int flags); 85 void foffset_lock_uio(struct file *fp, struct uio *uio, int flags); 86 void foffset_unlock(struct file *fp, off_t val, int flags); 87 void foffset_unlock_uio(struct file *fp, struct uio *uio, int flags); 90 foffset_get(struct file *fp) argument 93 return (foffset_lock(fp, FOF_NOLOCK)); 96 typedef int fo_rdwr_t(struct file *fp, struct uio *uio, 99 typedef int fo_truncate_t(struct file *fp, off_t length, 101 typedef int fo_ioctl_t(struct file *fp, u_long com, void *data, 103 typedef int fo_poll_t(struct file *fp, in 295 fo_read(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, struct thread *td) argument 303 fo_write(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, struct thread *td) argument 311 fo_truncate(struct file *fp, off_t length, struct ucred *active_cred, struct thread *td) argument 319 fo_ioctl(struct file *fp, u_long com, void *data, struct ucred *active_cred, struct thread *td) argument 327 fo_poll(struct file *fp, int events, struct ucred *active_cred, struct thread *td) argument 335 fo_stat(struct file *fp, struct stat *sb, struct ucred *active_cred, struct thread *td) argument 343 fo_close(struct file *fp, struct thread *td) argument 350 fo_kqfilter(struct file *fp, struct knote *kn) argument 357 fo_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, struct thread *td) argument 365 fo_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, struct thread *td) argument 373 fo_sendfile(struct file *fp, int sockfd, struct uio *hdr_uio, struct uio *trl_uio, off_t offset, size_t nbytes, off_t *sent, int flags, struct thread *td) argument 383 fo_seek(struct file *fp, off_t offset, int whence, struct thread *td) argument 390 fo_fill_kinfo(struct file *fp, struct kinfo_file *kif, struct filedesc *fdp) argument 397 fo_mmap(struct file *fp, vm_map_t map, vm_offset_t *addr, vm_size_t size, vm_prot_t prot, vm_prot_t cap_maxprot, int flags, vm_ooffset_t foff, struct thread *td) argument 409 fo_aio_queue(struct file *fp, struct kaiocb *job) argument [all...] |
/freebsd-11-stable/contrib/nvi/catalog/ |
H A D | dump.c | 38 parse(FILE *fp) argument 43 if ((s = getc(fp)) == EOF) \ 49 if ((ch = getc(fp)) == EOF) \ 56 if ((ch = getc(fp)) == EOF) \ 72 if ((ch = getc(fp)) == EOF) 78 if ((ch = getc(fp)) == EOF) 90 FILE *fp; local 93 if ((fp = fopen(*argv, "r")) == NULL) { 97 parse(fp); 98 (void)fclose(fp); [all...] |
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | stack_machdep.c | 46 struct frame *fp; local 50 fp = frame; 52 if (!INKERNEL((vm_offset_t)fp) || 53 !ALIGNED_POINTER(fp, uint64_t)) 55 callpc = fp->fr_pc; 66 if (v9next_frame(fp) <= fp || 67 v9next_frame(fp) >= frame + KSTACK_PAGES * PAGE_SIZE) 69 fp = v9next_frame(fp); [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | scan.c | 58 scan_ident (FILE *fp, sstring *s, int c) argument 66 c = getc (fp); 77 scan_string (FILE *fp, sstring *s, int init) argument 83 c = getc (fp); 88 c = getc (fp); 93 c = getc (fp); 109 skip_spaces (FILE *fp, int c) argument 114 c = getc (fp); 117 c = getc (fp); 120 ungetc (c, fp); 145 read_upto(FILE *fp, sstring *str, int delim) argument 162 get_token(FILE *fp, sstring *s) argument [all...] |
/freebsd-11-stable/sys/dev/hwpmc/ |
H A D | hwpmc_arm.c | 79 uintptr_t pc, r, stackstart, stackend, fp; local 95 fp = PMC_TRAPFRAME_TO_FP(tf); 98 !PMC_IN_KERNEL_STACK(fp, stackstart, stackend)) 103 r = fp - sizeof(uintptr_t); 113 r = fp - 3 * sizeof(uintptr_t); 116 fp = *(uintptr_t *)r; 117 if (!PMC_IN_KERNEL_STACK(fp, stackstart, stackend)) 128 uintptr_t pc, r, oldfp, fp; local 142 oldfp = fp = PMC_TRAPFRAME_TO_FP(tf); 145 !PMC_IN_USERSPACE(fp)) [all...] |
H A D | hwpmc_arm64_md.c | 65 uintptr_t pc, r, stackstart, stackend, fp; local 81 fp = PMC_TRAPFRAME_TO_FP(tf); 84 !PMC_IN_KERNEL_STACK(fp, stackstart, stackend)) 89 r = fp + sizeof(uintptr_t); 99 r = fp; 102 fp = *(uintptr_t *)r; 103 if (!PMC_IN_KERNEL_STACK(fp, stackstart, stackend)) 114 uintptr_t pc, r, oldfp, fp; local 128 oldfp = fp = PMC_TRAPFRAME_TO_FP(tf); 131 !PMC_IN_USERSPACE(fp)) [all...] |
/freebsd-11-stable/contrib/amd/fsinfo/ |
H A D | wr_fstab.c | 51 static void write_aix1_dkrmount(FILE *ef, char *hn, fsmount *fp); 53 static void write_aix3_dkrmount(FILE *ef, char *hn, fsmount *fp); 57 static void write_generic_dkrmount(FILE *ef, char *hn, fsmount *fp); 59 static void write_ultrix_dkrmount(FILE *ef, char *hn, fsmount *fp); 66 void (*op_mount) (FILE *ef, char *hn, fsmount *fp); 120 write_aix1_dkrmount(FILE *ef, char *hn, fsmount *fp) argument 122 char *h = xstrdup(fp->f_ref->m_dk->d_host->h_hostname); 130 fp->f_localname, 133 fp->f_volname, 134 fp 169 write_aix3_dkrmount(FILE *ef, char *hn, fsmount *fp) argument 203 write_ultrix_dkrmount(FILE *ef, char *hn, fsmount *fp) argument 237 write_generic_dkrmount(FILE *ef, char *hn, fsmount *fp) argument 297 fsmount *fp; local [all...] |
/freebsd-11-stable/bin/sh/ |
H A D | show.c | 71 shtree(union node *n, int ind, char *pfx, FILE *fp) argument 79 indent(ind, pfx, fp); 90 shtree(n->nbinary.ch1, ind, NULL, fp); 92 fputs(s, fp); 93 shtree(n->nbinary.ch2, ind, NULL, fp); 96 shcmd(n, fp); 98 putc('\n', fp); 102 shcmd(lp->n, fp); 104 fputs(" | ", fp); 107 fputs(" &", fp); 122 shcmd(union node *cmd, FILE *fp) argument 173 sharg(union node *arg, FILE *fp) argument 258 indent(int amount, char *pfx, FILE *fp) argument [all...] |
/freebsd-11-stable/contrib/ipfilter/tools/ |
H A D | ipfcomp.c | 71 FILE *fp; local 87 fp = cfile; 89 fprintf(fp, "/*\n"); 90 fprintf(fp, "* Copyright (C) 2012 by Darren Reed.\n"); 91 fprintf(fp, "*\n"); 92 fprintf(fp, "* Redistribution and use in source and binary forms are permitted\n"); 93 fprintf(fp, "* provided that this notice is preserved and due credit is given\n"); 94 fprintf(fp, "* to the original author and the contributors.\n"); 95 fprintf(fp, "*/\n\n"); 97 fprintf(fp, "#includ 450 static FILE *fp = NULL; local [all...] |
/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex_mkexrc.c | 43 FILE *fp; local 74 if ((fp = fdopen(fd, "w")) == NULL) { 80 if (seq_save(sp, fp, "abbreviate ", SEQ_ABBREV) || ferror(fp)) 82 if (seq_save(sp, fp, "map ", SEQ_COMMAND) || ferror(fp)) 84 if (seq_save(sp, fp, "map! ", SEQ_INPUT) || ferror(fp)) 86 if (opts_save(sp, fp) || ferror(fp)) [all...] |
/freebsd-11-stable/usr.bin/tail/ |
H A D | forward.c | 98 forward(FILE *fp, const char *fn, enum STYLE style, off_t off, struct stat *sbp) argument 109 if (fseeko(fp, off, SEEK_SET) == -1) { 114 if ((ch = getc(fp)) == EOF) { 115 if (ferror(fp)) { 126 if ((ch = getc(fp)) == EOF) { 127 if (ferror(fp)) { 140 fseeko(fp, -off, SEEK_END) == -1) { 145 while (getc(fp) != EOF); 146 if (ferror(fp)) { 151 if (bytes(fp, f 191 rlines(FILE *fp, const char *fn, off_t off, struct stat *sbp) argument [all...] |
/freebsd-11-stable/contrib/ldns/drill/ |
H A D | drill_util.h | 36 void print_rrsig_abbr(FILE *fp, ldns_rr *sig); 40 void print_dnskey_abbr(FILE *fp, ldns_rr *key); 44 void print_ds_abbr(FILE *fp, ldns_rr *ds); 49 void print_rr_list_abbr(FILE *fp, ldns_rr_list *sig, const char *usr);
|
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | fput.c | 28 ** fp -- the file pointer for the buffer to be written to 38 sm_io_fputs(fp, timeout, s) 39 SM_FILE_T *fp; 46 SM_REQUIRE_ISA(fp, SmFileMagic); 51 return sm_fvwrite(fp, timeout, &uio);
|