Lines Matching refs:byteCount
116 size_t sk_fread(void* buffer, size_t byteCount, FILE* f) { in sk_fread() argument
124 int err = fseek(f, (long)byteCount, SEEK_CUR); in sk_fread()
127 byteCount, curr, feof(f), ferror(f), err)); in sk_fread()
130 return byteCount; in sk_fread()
133 return fread(buffer, 1, byteCount, f); in sk_fread()
136 size_t sk_fwrite(const void* buffer, size_t byteCount, FILE* f) { in sk_fwrite() argument
138 return fwrite(buffer, 1, byteCount, f); in sk_fwrite()
154 bool sk_fseek(FILE* f, size_t byteCount) { in sk_fseek() argument
155 int err = fseek(f, (long)byteCount, SEEK_SET); in sk_fseek()
159 bool sk_fmove(FILE* f, long byteCount) { in sk_fmove() argument
160 int err = fseek(f, byteCount, SEEK_CUR); in sk_fmove()