Home
last modified time | relevance | path

Searched refs:fileoffset (Results 1 – 10 of 10) sorted by relevance

/third_party/libsnd/src/
Did3.c51 if (psf->fileoffset + offset < psf->filelength) in id3_skip()
53 psf->fileoffset += offset ; in id3_skip()
Dfile_io.c209 filelen = filelen - psf->fileoffset ; in psf_get_filelen()
213 if (psf->fileoffset > 0 && psf->filelength > 0) in psf_get_filelen()
292 offset += psf->fileoffset ; in psf_fseek()
312 return absolute_position - psf->fileoffset ; in psf_fseek()
417 return pos - psf->fileoffset ; in psf_ftell()
715 filelen = filelen - psf->fileoffset ; in psf_get_filelen()
719 if (psf->fileoffset > 0 && psf->filelength > 0) in psf_get_filelen()
932 offset += psf->fileoffset ; in psf_fseek()
959 new_position = liNewFilePointer.QuadPart - psf->fileoffset ; in psf_fseek()
1071 return pos - psf->fileoffset ; in psf_ftell()
[all …]
Dtest_file_io.c227 psf->fileoffset = sizeof (data_out [0]) * ARRAY_LEN (data_out) ; in file_read_write_test()
243 psf->fileoffset = 0 ; in file_read_write_test()
334 const size_t fileoffset = 64 ; in file_seek_with_offset_test() local
350 psf->fileoffset = fileoffset ; in file_seek_with_offset_test()
353 test_tell_or_die (psf, real_end - fileoffset, __LINE__) ; in file_seek_with_offset_test()
359 test_seek_or_die (psf, 0, SEEK_END, real_end - fileoffset, __LINE__) ; in file_seek_with_offset_test()
Dau.c315 if (psf->fileoffset > 0 && au_fmt.datasize == -1) in au_read_header()
320 if (psf->fileoffset > 0) in au_read_header()
Dsndfile.c389 psf->fileoffset = psf_ftell (psf) ; in sf_open_fd()
1179 ((SF_EMBED_FILE_INFO*) data)->offset = psf->fileoffset ; in sf_command()
2989 if (psf->fileoffset > 0) in psf_open_file()
2993 …psf_log_printf (psf, "Short filelength: %D (fileoffset: %D)\n", psf->filelength, psf->fileoffset) ; in psf_open_file()
3000 psf->fileoffset = 0 ; in psf_open_file()
3002 psf->fileoffset = psf_ftell (psf) ; in psf_open_file()
3010 psf_log_printf (psf, "Embedded file offset : %D\n", psf->fileoffset) ; in psf_open_file()
3199 if (psf->fileoffset > 0) in psf_open_file()
3218 if (psf->fileoffset > 0) in psf_open_file()
Davr.c169 if (psf->fileoffset > 0) in avr_read_header()
Dcommon.h479 sf_count_t fileoffset ; /* Offset in number of bytes from beginning of file. */ member
Dwav.c338 if (psf->fileoffset > 0 && psf->filelength > RIFFsize + 8) in wav_read_header()
Daiff.c463 if (psf->fileoffset > 0 && psf->filelength > FORMsize + 8) in aiff_read_header()
/third_party/libwebsockets/lib/misc/fts/
DREADME.md199 The first byte of the file header where the magic is, is "fileoffset" 0. All
200 the stored "fileoffset"s are relative to that.
254 VLI|fileoffset of the start of this filepath's line table
262 fileoffset per filepath. This is the way to convert filepath indexes to
267 32-bit...|fileoffset to filepath table for each filepath