Home
last modified time | relevance | path

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

/external/flac/src/flac/
Dforeign_metadata.c76 static FLAC__bool append_block_(foreign_metadata_t *fm, FLAC__off_t offset, FLAC__uint32 size, cons… in append_block_()
93 FLAC__off_t offset, eof_offset; in read_from_aiff_()
104 eof_offset = (FLAC__off_t)8 + (FLAC__off_t)unpack32be_(buffer+4); in read_from_aiff_()
184 FLAC__off_t offset, eof_offset = -1, ds64_data_size = -1; in read_from_wave_()
195 if(fm->is_rf64 && sizeof(FLAC__off_t) < 8) { in read_from_wave_()
202 eof_offset = (FLAC__off_t)8 + (FLAC__off_t)unpack32le_(buffer+4); in read_from_wave_()
271 ds64_data_size = (FLAC__off_t)unpack64le_(buffer2+8); in read_from_wave_()
272 if(ds64_data_size == (FLAC__off_t)(-1)) { in read_from_wave_()
288 eof_offset = (FLAC__off_t)8 + (FLAC__off_t)unpack64le_(buffer2); in read_from_wave_()
290 if((FLAC__off_t)unpack64le_(buffer2) < 0 || eof_offset < 0) { in read_from_wave_()
[all …]
Dforeign_metadata.h41 FLAC__off_t offset;
72 … const char *infilename, const char *outfilename, FLAC__off_t offset1, FLAC__off_t offset2, FLAC__…
Dencode.h115 int flac__encode_file(FILE *infile, FLAC__off_t infilesize, const char *infilename, const char *out…
Dmain.c264 FLAC__off_t format_input_size;
593 option_values.format_input_size = (FLAC__off_t)(-1); in init_options()
695 option_values.format_input_size = (FLAC__off_t)ix; in parse_option()
1692 FLAC__off_t infilesize; in encode_file()
1705 infilesize = (FLAC__off_t)(-1); in encode_file()
1800 …rite && strcmp(outfilename, "-") && grabbag__file_get_filesize(outfilename) != (FLAC__off_t)(-1)) { in encode_file()
2052 …rite && strcmp(outfilename, "-") && grabbag__file_get_filesize(outfilename) != (FLAC__off_t)(-1)) { in decode_file()
Dvorbiscomment.c118 const FLAC__off_t size = grabbag__file_get_filesize(field->field_value); in set_vc_field()
Dencode.c65 FLAC__off_t filesize;
136 static FLAC__bool EncoderSession_construct(EncoderSession *e, encode_options_t options, FLAC__off_t
955 int flac__encode_file(FILE *infile, FLAC__off_t infilesize, const char *infilename, const char *out… in flac__encode_file()
1104 infilesize -= (FLAC__off_t)skip * encoder_session.info.bytes_per_wide_sample; in flac__encode_file()
1135 infilesize -= (FLAC__off_t)trim * encoder_session.info.bytes_per_wide_sample; in flac__encode_file()
1273 …infilesize -= (FLAC__off_t)((*options.align_reservoir_samples) * encoder_session.info.bytes_per_wi… in flac__encode_file()
1519 FLAC__bool EncoderSession_construct(EncoderSession *e, encode_options_t options, FLAC__off_t infile… in EncoderSession_construct()
2519 if(fseeko(e->fin, (FLAC__off_t)absolute_byte_offset, SEEK_SET) < 0) in flac_decoder_seek_callback()
2528 FLAC__off_t pos; in flac_decoder_tell_callback()
Ddecode.c91 FLAC__off_t fm_offset1, fm_offset2, fm_offset3;
268 FLAC__off_t written_size = ftello(d->fout); in DecoderSession_destroy()
/external/flac/src/utils/flacdiff/
Dmain.cpp52 …Decoder(AutoFILE &f, FLAC__off_t tgt): tgtpos_((FLAC__uint64)tgt), curpos_(0), go_(true), err_(fal… in Decoder()
72 FLAC__off_t off = ftello(f_); in tell_callback()
109 static bool show_diff(AutoFILE &f1, AutoFILE &f2, FLAC__off_t off) in show_diff()
165 static FLAC__off_t get_diff_offset(AutoFILE &f1, AutoFILE &f2) in get_diff_offset()
167 FLAC__off_t off = 0; in get_diff_offset()
189 FLAC__off_t off; in run()
/external/flac/src/libFLAC/
Dmetadata_iterators.c111 …terator, FILE **tempfile, char **tempfilename, int fixup_is_last_code, FLAC__off_t fixup_is_last_f…
113 static FLAC__bool copy_n_bytes_from_file_(FILE *file, FILE *tempfile, FLAC__off_t bytes, FLAC__Meta…
114 …_cb, FLAC__IOHandle temp_handle, FLAC__IOCallback_Write temp_write_cb, FLAC__off_t bytes, FLAC__Me…
335 FLAC__off_t offset[SIMPLE_ITERATOR_MAX_PUSH_DEPTH];
336 FLAC__off_t first_offset; /* this is the offset to the STREAMINFO block */
532 FLAC__off_t this_offset; in FLAC__metadata_simple_iterator_prev()
549 while(ftello(iterator->file) + (FLAC__off_t)iterator->length < iterator->offset[iterator->depth]) { in FLAC__metadata_simple_iterator_prev()
658 FLAC__ASSERT_DECLARATION(FLAC__off_t debug_target_offset = iterator->offset[iterator->depth];) in FLAC__metadata_simple_iterator_set_block()
685 …FLAC__ASSERT(!ret || ftello(iterator->file) == debug_target_offset + (FLAC__off_t)FLAC__STREAM_MET… in FLAC__metadata_simple_iterator_set_block()
691 …FLAC__ASSERT(!ret || ftello(iterator->file) == debug_target_offset + (FLAC__off_t)FLAC__STREAM_MET… in FLAC__metadata_simple_iterator_set_block()
[all …]
Dstream_decoder.c3363 else if(fseeko(decoder->private_->file, (FLAC__off_t)absolute_byte_offset, SEEK_SET) < 0) in file_seek_callback_()
3371 FLAC__off_t pos; in file_tell_callback_()
Dstream_encoder.c4498 if(fseeko(encoder->private_->file, (FLAC__off_t)absolute_byte_offset, SEEK_SET) < 0)
4506 FLAC__off_t offset;
/external/flac/include/share/
Dcompat.h51 #define FLAC__off_t __int64 /* use this instead of off_t to fix the 2 GB limit */ macro
62 #define FLAC__off_t off_t macro
/external/flac/src/test_seeking/
Dmain.c95 static FLAC__off_t get_filesize_(const char *srcpath) in get_filesize_()
110 FLAC__off_t rawfilesize = get_filesize_(rawfilename); in read_pcm_()
269 static FLAC__bool seek_barrage(FLAC__bool is_ogg, const char *filename, FLAC__off_t filesize, uint3… in seek_barrage()
401 FLAC__off_t flacfilesize; in main()
/external/flac/include/test_libs_common/
Dfile_utils_flac.h34 …ils__generate_flacfile(FLAC__bool is_ogg, const char *output_filename, FLAC__off_t *output_filesiz…
/external/flac/include/share/grabbag/
Dfile.h42 FLAC__off_t grabbag__file_get_filesize(const char *srcpath);
/external/flac/src/share/grabbag/
Dfile.c71 FLAC__off_t grabbag__file_get_filesize(const char *srcpath) in grabbag__file_get_filesize()
Dpicture.c282 const FLAC__off_t size = grabbag__file_get_filesize(filepath); in read_file()
/external/flac/src/test_libs_common/
Dfile_utils_flac.c72 …ils__generate_flacfile(FLAC__bool is_ogg, const char *output_filename, FLAC__off_t *output_filesiz… in file_utils__generate_flacfile()
/external/flac/src/test_libFLAC++/
Dencoders.cpp148 else if(fseeko(file_, (FLAC__off_t)absolute_byte_offset, SEEK_SET) < 0) in seek_callback()
156 FLAC__off_t pos; in tell_callback()
Ddecoders.cpp61 static FLAC__off_t flacfilesize_;
237 if(fseeko(file_, (FLAC__off_t)absolute_byte_offset, SEEK_SET) < 0) { in seek_callback()
253 FLAC__off_t offset = ftello(file_); in tell_callback()
Dmetadata_manip.cpp305 FLAC__off_t o = (FLAC__off_t)offset; in chain_seek_cb_()
/external/flac/src/test_libFLAC/
Ddecoders.c63 static FLAC__off_t flacfilesize_;
176 if(fseeko(dcd->file, (FLAC__off_t)absolute_byte_offset, SEEK_SET) < 0) { in stream_decoder_seek_callback_()
187 FLAC__off_t offset; in stream_decoder_tell_callback_()
Dencoders.c133 FLAC__off_t pos; in stream_encoder_tell_callback_()
Dmetadata_manip.c291 FLAC__off_t o = (FLAC__off_t)offset; in chain_seek_cb_()
/external/flac/src/metaflac/
Doperations_shorthand_vorbiscomment.c197 const FLAC__off_t size = grabbag__file_get_filesize(field->field_value); in set_vc_field()