Lines Matching refs:FLAC__ASSERT
63 …FLAC__ASSERT(metadata->data.vorbis_comment.vendor_string.length == 0 || 0 != metadata->data.vorbis… in FLAC__add_metadata_block()
67 FLAC__ASSERT(i < (1u << FLAC__STREAM_METADATA_LENGTH_LEN)); in FLAC__add_metadata_block()
76 …FLAC__ASSERT(metadata->data.stream_info.min_blocksize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MI… in FLAC__add_metadata_block()
79 …FLAC__ASSERT(metadata->data.stream_info.max_blocksize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MA… in FLAC__add_metadata_block()
82 …FLAC__ASSERT(metadata->data.stream_info.min_framesize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MI… in FLAC__add_metadata_block()
85 …FLAC__ASSERT(metadata->data.stream_info.max_framesize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MA… in FLAC__add_metadata_block()
88 FLAC__ASSERT(FLAC__format_sample_rate_is_valid(metadata->data.stream_info.sample_rate)); in FLAC__add_metadata_block()
91 FLAC__ASSERT(metadata->data.stream_info.channels > 0); in FLAC__add_metadata_block()
92 …FLAC__ASSERT(metadata->data.stream_info.channels <= (1u << FLAC__STREAM_METADATA_STREAMINFO_CHANNE… in FLAC__add_metadata_block()
95 FLAC__ASSERT(metadata->data.stream_info.bits_per_sample > 0); in FLAC__add_metadata_block()
96 …FLAC__ASSERT(metadata->data.stream_info.bits_per_sample <= (1u << FLAC__STREAM_METADATA_STREAMINFO… in FLAC__add_metadata_block()
99 …FLAC__ASSERT(metadata->data.stream_info.total_samples < (FLAC__U64L(1) << FLAC__STREAM_METADATA_ST… in FLAC__add_metadata_block()
140 FLAC__ASSERT(FLAC__STREAM_METADATA_CUESHEET_MEDIA_CATALOG_NUMBER_LEN % 8 == 0); in FLAC__add_metadata_block()
158 FLAC__ASSERT(FLAC__STREAM_METADATA_CUESHEET_TRACK_ISRC_LEN % 8 == 0); in FLAC__add_metadata_block()
216 FLAC__ASSERT(FLAC__bitwriter_is_byte_aligned(bw)); in FLAC__add_metadata_block()
225 FLAC__ASSERT(FLAC__bitwriter_is_byte_aligned(bw)); in FLAC__frame_add_header()
236 FLAC__ASSERT(header->blocksize > 0 && header->blocksize <= FLAC__MAX_BLOCK_SIZE); in FLAC__frame_add_header()
238 FLAC__ASSERT(FLAC__MAX_BLOCK_SIZE <= 65535u); in FLAC__frame_add_header()
264 FLAC__ASSERT(FLAC__format_sample_rate_is_valid(header->sample_rate)); in FLAC__frame_add_header()
292 …FLAC__ASSERT(header->channels > 0 && header->channels <= (1u << FLAC__STREAM_METADATA_STREAMINFO_C… in FLAC__frame_add_header()
298 FLAC__ASSERT(header->channels == 2); in FLAC__frame_add_header()
302 FLAC__ASSERT(header->channels == 2); in FLAC__frame_add_header()
306 FLAC__ASSERT(header->channels == 2); in FLAC__frame_add_header()
310 FLAC__ASSERT(0); in FLAC__frame_add_header()
315 …FLAC__ASSERT(header->bits_per_sample > 0 && header->bits_per_sample <= (1u << FLAC__STREAM_METADAT… in FLAC__frame_add_header()
412 FLAC__ASSERT(0); in FLAC__subframe_add_fixed()
458 FLAC__ASSERT(0); in FLAC__subframe_add_lpc()
493 FLAC__ASSERT(0); in add_entropy_coding_method_()
513 FLAC__ASSERT(rice_parameters[0] == 0); in add_residual_partitioned_rice_()