Lines Matching defs:offset
234 uint32_t offset;
431 fskip_long(FILE * fp, long offset, int whence)
460 if (whence != SEEK_CUR || offset < 0) {
463 while (offset > 0) {
464 size_t const bytes_to_skip = min_size_t(sizeof(buffer), offset);
470 offset -= (long) read;
477 if (0 == fseek(fp, offset, whence)) {
481 if (whence != SEEK_CUR || offset < 0) {
489 while (offset > 0) {
490 size_t const bytes_to_skip = min_size_t(sizeof(buffer), offset);
496 offset -= (long) read;
503 fskip_uint32(FILE * fp, uint32_t offset)
506 while (offset > INT_MAX && ret == 0) {
507 offset -= INT_MAX;
510 if (offset > 0 && ret == 0) {
511 ret = fskip_long(fp, offset, SEEK_CUR);
1619 /* A bug, since we correctly skip the offset earlier in the code.
1620 if (pcm_aiff_data->blkAlgn.offset != 0) {
1621 error_printf("Block offset is not 0 bytes in '%s'\n", file_name);
1697 aiff_info.blkAlgn.offset = read_32_bits_high_low(sf);
1701 if (fskip_uint32(sf, aiff_info.blkAlgn.offset) != 0)
1708 pcm_data_pos += aiff_info.blkAlgn.offset;
1788 * When this function returns, the file offset will be positioned at the
2107 static off_t lame123_seek_in_file(void* handle, off_t offset, int direction)
2109 if (fseek((FILE*)handle, offset, direction) != 0)