Lines Matching refs:byteCount
73 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* f) {
81 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR);
84 byteCount, curr, feof((FILE*)f), ferror((FILE*)f), err));
87 return byteCount;
90 return ::fread(buffer, 1, byteCount, (FILE*)f);
93 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f) {
95 return ::fwrite(buffer, 1, byteCount, (FILE*)f);
103 bool sk_fseek(SkFILE* f, size_t byteCount) {
104 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_SET);
108 bool sk_fmove(SkFILE* f, long byteCount) {
109 int err = ::fseek((FILE*)f, byteCount, SEEK_CUR);