Lines Matching refs:SHF_RD
53 sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE; in shf_open()
81 sflags |= (oflags & O_ACCMODE) == O_RDONLY ? SHF_RD : in shf_open()
103 sflags |= SHF_RD; in shf_open_hlp()
116 if (!(sflags & (SHF_RD | SHF_WR))) in shf_open_hlp()
126 sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE; in shf_fdopen()
161 sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE; in shf_reopen()
194 if (!(!(sflags & SHF_RD) ^ !(sflags & SHF_WR))) in shf_sopen()
449 if (!(shf->flags & SHF_RD)) in shf_read()
486 if (!(shf->flags & SHF_RD)) in shf_getse()
522 if (!(shf->flags & SHF_RD)) in shf_getchar()
538 if (!(shf->flags & SHF_RD)) in shf_ungetc()