Home
last modified time | relevance | path

Searched refs:flacfilename (Results 1 – 7 of 7) sorted by relevance

/external/flac/src/test_seeking/
Dmain.c105 static FLAC__bool read_pcm_(FLAC__int32 *pcm[], const char *rawfilename, const char *flacfilename) in read_pcm_() argument
119 if(!FLAC__metadata_get_streaminfo(flacfilename, &streaminfo)) { in read_pcm_()
120 printf("ERROR: getting STREAMINFO from %s\n", flacfilename); in read_pcm_()
129 …chain && (FLAC__metadata_chain_read(chain, flacfilename) || FLAC__metadata_chain_read_ogg(chain, f… in read_pcm_()
138 printf("ERROR: getting STREAMINFO from %s\n", flacfilename); in read_pcm_()
398 const char *flacfilename, *rawfilename = 0; in main() local
412 flacfilename = argv[1]; in main()
438 flacfilesize = get_filesize_(flacfilename); in main()
440 fprintf(stderr, "ERROR: can't determine filesize for %s\n", flacfilename); in main()
444 if (rawfilename && !read_pcm_(pcm, rawfilename, flacfilename)) { in main()
[all …]
/external/flac/src/test_libFLAC++/
Dmetadata_manip.cpp80 static const char *flacfilename(bool is_ogg) in flacfilename() function
607 …if(!file_utils__generate_flacfile(is_ogg, flacfilename(is_ogg), 0, 512 * 1024, &streaminfo, metada… in generate_file_()
620 const char *filename = flacfilename(is_ogg); in test_file_()
688 if(!FLAC::Metadata::get_streaminfo(flacfilename(/*is_ogg=*/false), streaminfo)) in test_level_0_()
710 if(!FLAC::Metadata::get_tags(flacfilename(/*is_ogg=*/false), tags)) in test_level_0_()
727 if(!FLAC::Metadata::get_tags(flacfilename(/*is_ogg=*/false), tags)) in test_level_0_()
742 if(!FLAC::Metadata::get_cuesheet(flacfilename(/*is_ogg=*/false), cuesheet)) in test_level_0_()
759 if(!FLAC::Metadata::get_cuesheet(flacfilename(/*is_ogg=*/false), cuesheet)) in test_level_0_()
774 …if(!FLAC::Metadata::get_picture(flacfilename(/*is_ogg=*/false), picture, /*type=*/(::FLAC__StreamM… in test_level_0_()
791 …if(!FLAC::Metadata::get_picture(flacfilename(/*is_ogg=*/false), picture, /*type=*/(::FLAC__StreamM… in test_level_0_()
[all …]
Ddecoders.cpp63 static const char *flacfilename(bool is_ogg) in flacfilename() function
113 …if(!file_utils__generate_flacfile(is_ogg, flacfilename(is_ogg), &flacfilesize_, 512 * 1024, &strea… in generate_file_()
387 FILE *file = ::flac_fopen(flacfilename(is_ogg), "rb"); in test_respond()
400 init_status = is_ogg? init_ogg(flacfilename(is_ogg)) : init(flacfilename(is_ogg)); in test_respond()
504 dynamic_cast<FLAC::Decoder::File*>(decoder)->init_ogg(flacfilename(is_ogg)) : in test_stream_decoder()
505 dynamic_cast<FLAC::Decoder::File*>(decoder)->init(flacfilename(is_ogg)); in test_stream_decoder()
558 dynamic_cast<StreamDecoder*>(decoder)->file_ = ::flac_fopen(flacfilename(is_ogg), "rb"); in test_stream_decoder()
571 FILE *file = ::flac_fopen(flacfilename(is_ogg), "rb"); in test_stream_decoder()
587 dynamic_cast<FLAC::Decoder::File*>(decoder)->init_ogg(flacfilename(is_ogg)) : in test_stream_decoder()
588 dynamic_cast<FLAC::Decoder::File*>(decoder)->init(flacfilename(is_ogg)); in test_stream_decoder()
[all …]
Dencoders.cpp61 static const char *flacfilename(bool is_ogg) in flacfilename() function
327 file = ::flac_fopen(flacfilename(is_ogg), "w+b"); in test_stream_encoder()
352 dynamic_cast<FLAC::Encoder::File*>(encoder)->init_ogg(flacfilename(is_ogg)) : in test_stream_encoder()
353 dynamic_cast<FLAC::Encoder::File*>(encoder)->init(flacfilename(is_ogg)); in test_stream_encoder()
554 (void) grabbag__file_remove_file(flacfilename(is_ogg)); in test_encoders()
/external/flac/src/test_libFLAC/
Dmetadata_manip.c73 static const char *flacfilename(FLAC__bool is_ogg) in flacfilename() function
368 FLAC__metadata_chain_read_ogg(chain, flacfilename(is_ogg)) : in read_chain_()
369 FLAC__metadata_chain_read(chain, flacfilename(is_ogg)) in read_chain_()
616 …if(!file_utils__generate_flacfile(is_ogg, flacfilename(is_ogg), 0, 512 * 1024, &streaminfo, metada… in generate_file_()
631 const char *filename = flacfilename(is_ogg); in test_file_()
713 if(!FLAC__metadata_get_streaminfo(flacfilename(/*is_ogg=*/false), &streaminfo)) in test_level_0_()
732 if(!FLAC__metadata_get_tags(flacfilename(/*is_ogg=*/false), &tags)) in test_level_0_()
745 if(!FLAC__metadata_get_cuesheet(flacfilename(/*is_ogg=*/false), &cuesheet)) in test_level_0_()
758 …if(!FLAC__metadata_get_picture(flacfilename(/*is_ogg=*/false), &picture, /*type=*/(FLAC__StreamMet… in test_level_0_()
769 if(!remove_file_(flacfilename(/*is_ogg=*/false))) in test_level_0_()
[all …]
Ddecoders.c65 static const char *flacfilename(FLAC__bool is_ogg) in flacfilename() function
92 pdcd->file = flac_fopen(flacfilename(is_ogg), mode); in open_test_file()
93 safe_strncpy(pdcd->filename, flacfilename(is_ogg), sizeof (pdcd->filename)); in open_test_file()
121 …if(!file_utils__generate_flacfile(is_ogg, flacfilename(is_ogg), &flacfilesize_, 512 * 1024, &strea… in generate_file_()
364 …FLAC__stream_decoder_init_ogg_file(decoder, flacfilename(is_ogg), stream_decoder_write_callback_, … in stream_decoder_test_respond_()
365 …FLAC__stream_decoder_init_file(decoder, flacfilename(is_ogg), stream_decoder_write_callback_, stre… in stream_decoder_test_respond_()
444 FLAC__stream_decoder_init_ogg_file(decoder, flacfilename(is_ogg), 0, 0, 0, 0) : in test_stream_decoder()
445 FLAC__stream_decoder_init_file(decoder, flacfilename(is_ogg), 0, 0, 0, 0); in test_stream_decoder()
514 …FLAC__stream_decoder_init_ogg_file(decoder, flacfilename(is_ogg), stream_decoder_write_callback_, … in test_stream_decoder()
515 …FLAC__stream_decoder_init_file(decoder, flacfilename(is_ogg), stream_decoder_write_callback_, stre… in test_stream_decoder()
[all …]
Dencoders.c54 static const char *flacfilename(FLAC__bool is_ogg) in flacfilename() function
280 file = flac_fopen(flacfilename(is_ogg), "w+b"); in test_stream_encoder()
310 …FLAC__stream_encoder_init_ogg_file(encoder, flacfilename(is_ogg), stream_encoder_progress_callback… in test_stream_encoder()
311 …FLAC__stream_encoder_init_file(encoder, flacfilename(is_ogg), stream_encoder_progress_callback_, /… in test_stream_encoder()
509 (void) grabbag__file_remove_file(flacfilename(is_ogg)); in test_encoders()