Searched refs:SFM_MASK (Results 1 – 2 of 2) sorted by relevance
183 #define SFM_MASK (SFM_READ | SFM_WRITE | SFM_RDWR) macro184 #define SFM_UNMASK (~SFM_MASK)
1431 if (((whence & SFM_MASK) == SFM_WRITE && psf->file.mode == SFM_READ) || in sf_seek()1432 ((whence & SFM_MASK) == SFM_READ && psf->file.mode == SFM_WRITE)) in sf_seek()1504 { int new_mode = (whence & SFM_MASK) ? (whence & SFM_MASK) : psf->file.mode ; in sf_seek()