Home
last modified time | relevance | path

Searched refs:off_t (Results 1 – 25 of 75) sorted by relevance

123

/reactos/sdk/lib/3rdparty/libmpg123/
H A Dntom.c48 off_t ntm; in ntom_val()
50 off_t f; in ntom_val()
82 off_t ntom_frmouts(mpg123_handle *fr, off_t frame) in ntom_frmouts()
85 off_t f; in ntom_frmouts()
87 off_t soff = 0; in ntom_frmouts()
98 soff = (ntm + frame*(off_t)fr->spf*(off_t)fr->ntom_step)/(off_t)NTOM_MUL; in ntom_frmouts()
104 off_t ntom_ins2outs(mpg123_handle *fr, off_t ins) in ntom_ins2outs()
106 off_t soff = 0; in ntom_ins2outs()
124 soff = ((off_t)ntm + (off_t)ins*(off_t)fr->ntom_step)/(off_t)NTOM_MUL; in ntom_ins2outs()
130 off_t ntom_frameoff(mpg123_handle *fr, off_t soff) in ntom_frameoff()
[all …]
H A Dindex.c15 static off_t fi_next(struct frame_index *fi) in fi_next()
17 return (off_t)fi->fill*fi->step; in fi_next()
59 off_t *newdata = NULL; in fi_resize()
67 newdata = safe_realloc(fi->data, newsize*sizeof(off_t)); in fi_resize()
81 void fi_add(struct frame_index *fi, off_t pos) in fi_add()
87 off_t framenum = fi->fill*fi->step; in fi_add()
106 int fi_set(struct frame_index *fi, off_t *offsets, off_t step, size_t fill) in fi_set()
112 memcpy(fi->data, offsets, fill*sizeof(off_t)); in fi_set()
H A Dlfs_wrap.c168 off_t largenum; in mpg123_decode_frame()
188 off_t largenum; in mpg123_framebyframe_decode()
209 off_t largeval; in mpg123_framepos()
226 off_t largeval; in mpg123_tell()
243 off_t largeval; in mpg123_tellframe()
260 off_t largeval; in mpg123_tell_stream()
277 off_t largeval; in mpg123_seek()
295 off_t largeval; in mpg123_feedseek()
316 off_t largeval; in mpg123_seek_frame()
544 off_t wrap_lseek(void *handle, off_t offset, int whence) in wrap_lseek()
[all …]
H A Dreaders.c34 static off_t nix_lseek(int fd, off_t offset, int whence){ return -1; } in nix_lseek()
39 static off_t io_seek(struct reader_data *rdat, off_t offset, int whence);
227 static off_t stream_lseek(mpg123_handle *fr, off_t pos, int whence) in stream_lseek()
229 off_t ret; in stream_lseek()
333 static off_t stream_skip_bytes(mpg123_handle *fr,off_t len) in stream_skip_bytes()
432 off_t len; in get_fileinfo()
796 static off_t feed_skip_bytes(mpg123_handle *fr,off_t len) in feed_skip_bytes()
822 off_t feed_set_pos(mpg123_handle *fr, off_t pos) in feed_set_pos()
891 off_t feed_set_pos(mpg123_handle *fr, off_t pos) in feed_set_pos()
908 static off_t bad_skip_bytes(mpg123_handle *mh, off_t len) bugger_off in bad_fullread()
[all …]
H A Dframe.c658 static off_t frame_fuzzy_find(mpg123_handle *fr, off_t want_frame, off_t* get_frame) in frame_fuzzy_find()
706 off_t frame_index_find(mpg123_handle *fr, off_t want_frame, off_t* get_frame) in frame_index_find()
709 off_t gopos = 0; in frame_index_find()
751 off_t frame_ins2outs(mpg123_handle *fr, off_t ins) in frame_ins2outs()
753 off_t outs = 0; in frame_ins2outs()
773 off_t frame_outs(mpg123_handle *fr, off_t num) in frame_outs()
775 off_t outs = 0; in frame_outs()
799 off_t outs = 0; in frame_expect_outsamples()
819 off_t frame_offset(mpg123_handle *fr, off_t outs) in frame_offset()
821 off_t num = 0; in frame_offset()
[all …]
H A Dlibmpg123.c545 off_t (*r_lseek)(int, off_t, int) ) in mpg123_replace_reader() argument
557 off_t (*r_lseek)(void*, off_t, int), in mpg123_replace_reader_handle() argument
1148 off_t b; in mpg123_timeframe()
1172 off_t pos = 0; in mpg123_tell()
1260 off_t pos; in mpg123_seek()
1306 off_t attribute_align_arg mpg123_feedseek(mpg123_handle *mh, off_t sampleoff, int whence, off_t *in… in mpg123_feedseek()
1309 off_t pos; in mpg123_feedseek()
1367 off_t pos = 0; in mpg123_seek_frame()
1436 off_t length; in mpg123_length()
1464 off_t oldpos; in mpg123_scan()
[all …]
H A Dparse.c240 if((off_t)long_tmp != fr->rdat.filelen - fr->audio_start && NOQUIET) in check_lame_tag()
244 - (off_t)long_tmp ); in check_lame_tag()
288 off_t pad_in; in check_lame_tag()
289 off_t pad_out; in check_lame_tag()
505 off_t framepos; in read_frame()
991 int attribute_align_arg mpg123_position(mpg123_handle *fr, off_t no, off_t buffsize, in mpg123_position()
992 off_t *current_frame, off_t *frames_left, in mpg123_position()
997 off_t cur, left; in mpg123_position()
1018 off_t t = fr->rd->tell(fr); in mpg123_position()
1020 left = (off_t)((double)(fr->rdat.filelen-t)/bpf); in mpg123_position()
[all …]
/reactos/sdk/include/reactos/libs/libmpg123/
H A Dframe.h216 off_t num; /* frame offset ... */
246 off_t track_frames;
247 off_t track_samples;
249 off_t mean_frames;
281 off_t begin_os;
283 off_t end_os;
363 off_t frame_index_find(mpg123_handle *fr, off_t want_frame, off_t* get_frame);
392 void frame_gapless_init(mpg123_handle *fr, off_t framecount, off_t bskip, off_t eskip);
414 off_t frame_ins2outs(mpg123_handle *fr, off_t ins);
415 off_t frame_outs(mpg123_handle *fr, off_t num);
[all …]
H A Dreader.h34 off_t fileoff; /* Beginning of chain is at this file offset. */
55 off_t filelen; /* total file length or total buffer size */
56 off_t filepos; /* position in file or position in buffer chain */
65 off_t (*r_lseek)(int fd, off_t offset, int whence);
69 off_t (*r_lseek_handle)(void *handle, off_t offset, int whence);
74 off_t (*lseek)(int fd, off_t offset, int whence);
90off_t (*skip_bytes) (mpg123_handle *, off_t len); /* succ: >=0, else error o…
92 int (*back_bytes) (mpg123_handle *, off_t bytes);
93 int (*seek_frame) (mpg123_handle *, off_t num);
94 off_t (*tell) (mpg123_handle *);
[all …]
H A Dmpg123.h768 , off_t *num, unsigned char **audio, size_t *bytes );
845 MPG123_EXPORT off_t mpg123_tell(mpg123_handle *mh);
866 MPG123_EXPORT off_t mpg123_seek( mpg123_handle *mh
867 , off_t sampleoff, int whence );
878 , off_t sampleoff, int whence, off_t *input_offset );
887 , off_t frameoff, int whence );
904 , off_t **offsets, off_t *step, size_t *fill );
916 , off_t *offsets, off_t step, size_t fill );
925 …T int mpg123_position( mpg123_handle *mh, off_t frame_offset, off_t buffered_bytes, off_t *current…
1677 , off_t (*r_lseek)(int, off_t, int)
[all …]
H A Dgapless.h14 static off_t sample_adjust(mpg123_handle *mh, off_t x) in sample_adjust()
16 off_t s; in sample_adjust()
38 static off_t sample_unadjust(mpg123_handle *mh, off_t x) in sample_unadjust()
40 off_t s; in sample_unadjust()
77 off_t byteoff = (fr->num == fr->lastframe) ? samples_to_bytes(fr, fr->lastoff) : 0; in frame_buffercheck()
78 if((off_t)fr->buffer.fill > byteoff) in frame_buffercheck()
88 off_t byteoff = samples_to_bytes(fr, fr->firstoff); in frame_buffercheck()
89 if((off_t)fr->buffer.fill > byteoff) in frame_buffercheck()
H A Dindex.h28 off_t *data; /* actual data, the frame positions */
29 off_t step; /* advancement in frame number per index point */
30 off_t next; /* frame offset supposed to come next into the index */
51 void fi_add(struct frame_index *fi, off_t pos);
54 int fi_set(struct frame_index *fi, off_t *offsets, off_t step, size_t fill);
H A Dmpg123lib_intern.h299 off_t decoder_synth_bytes(mpg123_handle *fr , off_t s);
300 off_t samples_to_bytes(mpg123_handle *fr , off_t s);
301 off_t bytes_to_samples(mpg123_handle *fr , off_t b);
302 off_t outblock_bytes(mpg123_handle *fr, off_t s);
H A Ddecode.h33 void ntom_set_ntom(mpg123_handle *fr, off_t num);
218 unsigned long ntom_val(mpg123_handle *fr, off_t frame); /* compute ntom_val for frame offset */
225 off_t ntom_frame_outsamples(mpg123_handle *fr);
227 off_t ntom_frmouts(mpg123_handle *fr, off_t frame);
228 off_t ntom_ins2outs(mpg123_handle *fr, off_t ins);
229 off_t ntom_frameoff(mpg123_handle *fr, off_t soff);
H A Dicy.h19 off_t interval;
20 off_t next;
/reactos/sdk/lib/fslib/vfatlib/check/
H A Dfsck.fat.h185 off_t offset;
186 off_t lfn_offset;
199 off_t fat_start;
200 off_t fat_size; /* unit is bytes */
204 off_t root_start;
206 off_t data_start;
209 off_t fsinfo_start; /* 0 if not present */
211 off_t backupboot_start; /* 0 if not present */
H A Dlfn.h29 void lfn_add_slot(DIR_ENT * de, off_t dir_offset);
32 char *lfn_get(DIR_ENT * de, off_t * lfn_offset);
37 void lfn_fix_checksum(off_t from, off_t to, const char *short_name);
H A Dio.c44 off_t pos;
118 static off_t WIN32lseek(HANDLE fd, off_t offset, int whence) in WIN32lseek()
138 return (off_t)-1; in WIN32lseek()
144 return (off_t)-1; in WIN32lseek()
282 void fs_read(off_t pos, int size, void *data) in fs_read()
289 const off_t seekpos_aligned = pos - (pos % 512); in fs_read()
322 int fs_test(off_t pos, int size) in fs_test()
329 const off_t seekpos_aligned = pos - (pos % 512); // TMN: in fs_test()
344 void fs_write(off_t pos, int size, void *data) in fs_write()
355 const off_t seekpos_aligned = pos - (pos % 512); in fs_write()
H A Dio.h49 void fs_read(off_t pos, int size, void *data);
54 int fs_test(off_t pos, int size);
59 void fs_write(off_t pos, int size, void *data);
H A Dlfn.c49 off_t *lfn_offsets = NULL;
181 void lfn_fix_checksum(off_t from, off_t to, const char *short_name) in lfn_fix_checksum()
206 void lfn_add_slot(DIR_ENT * de, off_t dir_offset) in lfn_add_slot()
264 lfn_offsets = alloc(lfn_slot * sizeof(off_t)); in lfn_add_slot()
284 lfn_offsets = alloc(sizeof(off_t)); in lfn_add_slot()
299 lfn_offsets = alloc(lfn_slot * sizeof(off_t)); in lfn_add_slot()
331 lfn_offsets = alloc(sizeof(off_t)); in lfn_add_slot()
418 char *lfn_get(DIR_ENT * de, off_t * lfn_offset) in lfn_get()
H A Dboot.c238 fs_write((off_t)s * lss, sizeof(i), &i); in read_fsinfo()
339 off_t fat_length;
341 off_t data_size;
366 fs_test((off_t)((total_sectors & ~1) - 1) * logical_sector_size,
374 fs->fat_start = (off_t)le16toh(b.reserved) * logical_sector_size;
375 fs->root_start = ((off_t)le16toh(b.reserved) + b.fats * fat_length) *
382 data_size = (off_t)total_sectors * logical_sector_size - fs->data_start;
524 off_t find_volume_de(DOS_FS * fs, DIR_ENT * de)
527 off_t offset;
558 off_t offset;
/reactos/modules/rosapps/applications/net/ncftp/sio/
H A Dsyshdrs.h87 # define Lseek(a,b,c) lseek(a, (off_t) b, c)
92 # define Lseek(a,b,c) lseek(a, (off_t) b, c)
95 # define Lseek(a,b,c) lseek(a, (off_t) b, c)
/reactos/sdk/tools/mkisofs/schilytools/mkisofs/
H A Dmkisofs.h112 off_t size;
141 off_t hfs_off; /* offset to real start of fork */
162 off_t size;
300 off_t size;
304 off_t off;
404 extern off_t maxnonlarge;
633 extern void udf_set_extattr_macresfork __PR((unsigned char *buf, off_t size, unsigned rba));
634 extern void udf_set_extattr_freespace __PR((unsigned char *buf, off_t size, unsigned rba));
635 extern int udf_get_symlinkcontents __PR((char *, char *, off_t *));
/reactos/modules/rosapps/applications/net/ncftp/libncftp/
H A Dsyshdrs.h88 # define Lseek(a,b,c) lseek(a, (off_t) b, c)
93 # define Lseek(a,b,c) lseek(a, (off_t) b, c)
96 # define Lseek(a,b,c) lseek(a, (off_t) b, c)
/reactos/modules/rosapps/applications/net/ncftp/ncftp/
H A Dsyshdrs.h124 # define Lseek(a,b,c) lseek(a, (off_t) b, c)
129 # define Lseek(a,b,c) lseek(a, (off_t) b, c)
132 # define Lseek(a,b,c) lseek(a, (off_t) b, c)

123