Lines Matching refs:SHF_RD
54 sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE; in shf_open()
86 sflags |= (oflags & O_ACCMODE) == O_RDONLY ? SHF_RD : in shf_open()
108 sflags |= SHF_RD; in shf_open_hlp()
121 if (!(sflags & (SHF_RD | SHF_WR))) in shf_open_hlp()
131 sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE; in shf_fdopen()
166 sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE; in shf_reopen()
199 if (!(!(sflags & SHF_RD) ^ !(sflags & SHF_WR))) in shf_sopen()
454 if (!(shf->flags & SHF_RD)) in shf_read()
491 if (!(shf->flags & SHF_RD)) in shf_getse()
527 if (!(shf->flags & SHF_RD)) in shf_getchar()
543 if (!(shf->flags & SHF_RD)) in shf_ungetc()