Lines Matching refs:FLAC__ASSERT
246 FLAC__ASSERT(sizeof(int) >= 4); /* we want to die right away if this is not true */ in FLAC__stream_decoder_new()
311 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_delete()
312 FLAC__ASSERT(0 != decoder->private_); in FLAC__stream_decoder_delete()
313 FLAC__ASSERT(0 != decoder->private_->input); in FLAC__stream_decoder_delete()
350 FLAC__ASSERT(0 != decoder); in init_stream_internal_()
384 FLAC__ASSERT(decoder->private_->cpuinfo.type == FLAC__CPUINFO_TYPE_IA32); in init_stream_internal_()
408 FLAC__ASSERT(decoder->private_->cpuinfo.type == FLAC__CPUINFO_TYPE_X86_64); in init_stream_internal_()
513 FLAC__ASSERT(0 != decoder); in init_FILE_internal_()
514 FLAC__ASSERT(0 != file); in init_FILE_internal_()
583 FLAC__ASSERT(0 != decoder); in init_file_internal_()
633 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_finish()
634 FLAC__ASSERT(0 != decoder->private_); in FLAC__stream_decoder_finish()
635 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_finish()
695 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_set_ogg_serial_number()
696 FLAC__ASSERT(0 != decoder->private_); in FLAC__stream_decoder_set_ogg_serial_number()
697 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_ogg_serial_number()
712 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_set_md5_checking()
713 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_md5_checking()
722 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_set_metadata_respond()
723 FLAC__ASSERT(0 != decoder->private_); in FLAC__stream_decoder_set_metadata_respond()
724 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_metadata_respond()
725 FLAC__ASSERT((uint32_t)type <= FLAC__MAX_METADATA_TYPE_CODE); in FLAC__stream_decoder_set_metadata_respond()
739 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_set_metadata_respond_application()
740 FLAC__ASSERT(0 != decoder->private_); in FLAC__stream_decoder_set_metadata_respond_application()
741 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_metadata_respond_application()
742 FLAC__ASSERT(0 != id); in FLAC__stream_decoder_set_metadata_respond_application()
749 FLAC__ASSERT(0 != decoder->private_->metadata_filter_ids); in FLAC__stream_decoder_set_metadata_respond_application()
768 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_set_metadata_respond_all()
769 FLAC__ASSERT(0 != decoder->private_); in FLAC__stream_decoder_set_metadata_respond_all()
770 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_metadata_respond_all()
781 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_set_metadata_ignore()
782 FLAC__ASSERT(0 != decoder->private_); in FLAC__stream_decoder_set_metadata_ignore()
783 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_metadata_ignore()
784 FLAC__ASSERT((uint32_t)type <= FLAC__MAX_METADATA_TYPE_CODE); in FLAC__stream_decoder_set_metadata_ignore()
798 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_set_metadata_ignore_application()
799 FLAC__ASSERT(0 != decoder->private_); in FLAC__stream_decoder_set_metadata_ignore_application()
800 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_metadata_ignore_application()
801 FLAC__ASSERT(0 != id); in FLAC__stream_decoder_set_metadata_ignore_application()
808 FLAC__ASSERT(0 != decoder->private_->metadata_filter_ids); in FLAC__stream_decoder_set_metadata_ignore_application()
826 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_set_metadata_ignore_all()
827 FLAC__ASSERT(0 != decoder->private_); in FLAC__stream_decoder_set_metadata_ignore_all()
828 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_set_metadata_ignore_all()
838 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_get_state()
839 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_state()
850 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_get_md5_checking()
851 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_md5_checking()
857 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_get_total_samples()
858 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_total_samples()
864 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_get_channels()
865 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_channels()
871 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_get_channel_assignment()
872 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_channel_assignment()
878 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_get_bits_per_sample()
879 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_bits_per_sample()
885 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_get_sample_rate()
886 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_sample_rate()
892 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_get_blocksize()
893 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_get_blocksize()
899 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_get_decode_position()
900 FLAC__ASSERT(0 != decoder->private_); in FLAC__stream_decoder_get_decode_position()
901 FLAC__ASSERT(0 != position); in FLAC__stream_decoder_get_decode_position()
913 FLAC__ASSERT(*position >= FLAC__stream_decoder_get_input_bytes_unconsumed(decoder)); in FLAC__stream_decoder_get_decode_position()
920 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_flush()
921 FLAC__ASSERT(0 != decoder->private_); in FLAC__stream_decoder_flush()
922 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_flush()
946 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_reset()
947 FLAC__ASSERT(0 != decoder->private_); in FLAC__stream_decoder_reset()
948 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_reset()
1007 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_process_single()
1008 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_process_single()
1035 FLAC__ASSERT(0); in FLAC__stream_decoder_process_single()
1043 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_process_until_end_of_metadata()
1044 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_process_until_end_of_metadata()
1062 FLAC__ASSERT(0); in FLAC__stream_decoder_process_until_end_of_metadata()
1071 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_process_until_end_of_stream()
1072 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_process_until_end_of_stream()
1096 FLAC__ASSERT(0); in FLAC__stream_decoder_process_until_end_of_stream()
1105 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_skip_single_frame()
1106 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_skip_single_frame()
1127 FLAC__ASSERT(0); in FLAC__stream_decoder_skip_single_frame()
1137 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_seek_absolute()
1151 FLAC__ASSERT(decoder->private_->seek_callback); in FLAC__stream_decoder_seek_absolute()
1152 FLAC__ASSERT(decoder->private_->tell_callback); in FLAC__stream_decoder_seek_absolute()
1153 FLAC__ASSERT(decoder->private_->length_callback); in FLAC__stream_decoder_seek_absolute()
1154 FLAC__ASSERT(decoder->private_->eof_callback); in FLAC__stream_decoder_seek_absolute()
1208 FLAC__ASSERT(0 != decoder); in FLAC__stream_decoder_get_input_bytes_unconsumed()
1209 FLAC__ASSERT(FLAC__bitreader_is_consumed_byte_aligned(decoder->private_->input)); in FLAC__stream_decoder_get_input_bytes_unconsumed()
1210 FLAC__ASSERT(!(FLAC__bitreader_get_input_bits_unconsumed(decoder->private_->input) & 7)); in FLAC__stream_decoder_get_input_bytes_unconsumed()
1314 FLAC__ASSERT(0 != decoder); in has_id_filtered_()
1315 FLAC__ASSERT(0 != decoder->private_); in has_id_filtered_()
1330 FLAC__ASSERT(FLAC__bitreader_is_consumed_byte_aligned(decoder->private_->input)); in find_metadata_()
1394 FLAC__ASSERT(FLAC__bitreader_is_consumed_byte_aligned(decoder->private_->input)); in read_metadata_()
1491 FLAC__ASSERT(0); in read_metadata_()
1545 FLAC__ASSERT(0); in read_metadata_()
1572 FLAC__ASSERT(FLAC__bitreader_is_consumed_byte_aligned(decoder->private_->input)); in read_metadata_streaminfo_()
1630 FLAC__ASSERT(used_bits % 8 == 0); in read_metadata_streaminfo_()
1645 FLAC__ASSERT(FLAC__bitreader_is_consumed_byte_aligned(decoder->private_->input)); in read_metadata_seektable_()
1686 FLAC__ASSERT(FLAC__bitreader_is_consumed_byte_aligned(decoder->private_->input)); in read_metadata_vorbiscomment_()
1691 FLAC__ASSERT(FLAC__STREAM_METADATA_VORBIS_COMMENT_ENTRY_LENGTH_LEN == 32); in read_metadata_vorbiscomment_()
1714 FLAC__ASSERT(FLAC__STREAM_METADATA_VORBIS_COMMENT_NUM_COMMENTS_LEN == 32); in read_metadata_vorbiscomment_()
1735 FLAC__ASSERT(FLAC__STREAM_METADATA_VORBIS_COMMENT_ENTRY_LENGTH_LEN == 32); in read_metadata_vorbiscomment_()
1792 FLAC__ASSERT(FLAC__bitreader_is_consumed_byte_aligned(decoder->private_->input)); in read_metadata_cuesheet_()
1796 FLAC__ASSERT(FLAC__STREAM_METADATA_CUESHEET_MEDIA_CATALOG_NUMBER_LEN % 8 == 0); in read_metadata_cuesheet_()
1828 FLAC__ASSERT(FLAC__STREAM_METADATA_CUESHEET_TRACK_ISRC_LEN % 8 == 0); in read_metadata_cuesheet_()
1875 FLAC__ASSERT(FLAC__bitreader_is_consumed_byte_aligned(decoder->private_->input)); in read_metadata_picture_()
2048 FLAC__ASSERT(decoder->private_->frame.header.channels == 2); in read_frame_()
2053 FLAC__ASSERT(decoder->private_->frame.header.channels == 2); in read_frame_()
2058 FLAC__ASSERT(decoder->private_->frame.header.channels == 2); in read_frame_()
2063 FLAC__ASSERT(0); in read_frame_()
2092 FLAC__ASSERT(decoder->private_->frame.header.channels == 2); in read_frame_()
2097 FLAC__ASSERT(decoder->private_->frame.header.channels == 2); in read_frame_()
2102 FLAC__ASSERT(decoder->private_->frame.header.channels == 2); in read_frame_()
2120 FLAC__ASSERT(0); in read_frame_()
2148 FLAC__ASSERT(decoder->private_->frame.header.number_type == FLAC__FRAME_NUMBER_TYPE_SAMPLE_NUMBER); in read_frame_()
2172 FLAC__ASSERT(FLAC__bitreader_is_consumed_byte_aligned(decoder->private_->input)); in read_frame_header_()
2247 FLAC__ASSERT(0); in read_frame_header_()
2301 FLAC__ASSERT(0); in read_frame_header_()
2354 FLAC__ASSERT(0); in read_frame_header_()
2619 FLAC__ASSERT(0); in read_subframe_fixed_()
2708 FLAC__ASSERT(0); in read_subframe_lpc_()
2760 …FLAC__ASSERT(partition_order > 0? partition_samples >= predictor_order : decoder->private_->frame.… in read_residual_partitioned_rice_()
2909 FLAC__ASSERT(0); in read_callback_ogg_aspect_()
2928 FLAC__ASSERT(0); in read_callback_proxy_()
2941 FLAC__ASSERT(frame->header.number_type == FLAC__FRAME_NUMBER_TYPE_SAMPLE_NUMBER); in write_audio_frame_to_client_()
3096 FLAC__ASSERT(upper_bound_sample >= lower_bound_sample); in seek_to_absolute_sample_()
3162 …FLAC__ASSERT(decoder->private_->last_frame.header.number_type == FLAC__FRAME_NUMBER_TYPE_SAMPLE_NU… in seek_to_absolute_sample_()
3303 …FLAC__ASSERT(decoder->private_->last_frame.header.number_type == FLAC__FRAME_NUMBER_TYPE_SAMPLE_NU… in seek_to_absolute_sample_ogg_()
3313 FLAC__ASSERT(this_frame_sample != target_sample); in seek_to_absolute_sample_ogg_()