Lines Matching refs:FLAC__ASSERT
95 FLAC__ASSERT(0 != object); in clone()
123 FLAC__ASSERT(0); in clone()
135 FLAC__ASSERT(object.is_valid()); in Prototype()
148 FLAC__ASSERT(0 != object); in Prototype()
155 FLAC__ASSERT(0 != object); in Prototype()
172 FLAC__ASSERT(object.is_valid()); in operator =()
189 FLAC__ASSERT(0 != object); in operator =()
198 FLAC__ASSERT(0 != object); in assign_object()
207 FLAC__ASSERT(is_valid()); in get_is_last()
213 FLAC__ASSERT(is_valid()); in get_type()
219 FLAC__ASSERT(is_valid()); in get_length()
225 FLAC__ASSERT(is_valid()); in set_is_last()
243 FLAC__ASSERT(is_valid()); in get_min_blocksize()
249 FLAC__ASSERT(is_valid()); in get_max_blocksize()
255 FLAC__ASSERT(is_valid()); in get_min_framesize()
261 FLAC__ASSERT(is_valid()); in get_max_framesize()
267 FLAC__ASSERT(is_valid()); in get_sample_rate()
273 FLAC__ASSERT(is_valid()); in get_channels()
279 FLAC__ASSERT(is_valid()); in get_bits_per_sample()
285 FLAC__ASSERT(is_valid()); in get_total_samples()
291 FLAC__ASSERT(is_valid()); in get_md5sum()
297 FLAC__ASSERT(is_valid()); in set_min_blocksize()
298 FLAC__ASSERT(value >= FLAC__MIN_BLOCK_SIZE); in set_min_blocksize()
299 FLAC__ASSERT(value <= FLAC__MAX_BLOCK_SIZE); in set_min_blocksize()
305 FLAC__ASSERT(is_valid()); in set_max_blocksize()
306 FLAC__ASSERT(value >= FLAC__MIN_BLOCK_SIZE); in set_max_blocksize()
307 FLAC__ASSERT(value <= FLAC__MAX_BLOCK_SIZE); in set_max_blocksize()
313 FLAC__ASSERT(is_valid()); in set_min_framesize()
314 FLAC__ASSERT(value < (1u << FLAC__STREAM_METADATA_STREAMINFO_MIN_FRAME_SIZE_LEN)); in set_min_framesize()
320 FLAC__ASSERT(is_valid()); in set_max_framesize()
321 FLAC__ASSERT(value < (1u << FLAC__STREAM_METADATA_STREAMINFO_MAX_FRAME_SIZE_LEN)); in set_max_framesize()
327 FLAC__ASSERT(is_valid()); in set_sample_rate()
328 FLAC__ASSERT(FLAC__format_sample_rate_is_valid(value)); in set_sample_rate()
334 FLAC__ASSERT(is_valid()); in set_channels()
335 FLAC__ASSERT(value > 0); in set_channels()
336 FLAC__ASSERT(value <= FLAC__MAX_CHANNELS); in set_channels()
342 FLAC__ASSERT(is_valid()); in set_bits_per_sample()
343 FLAC__ASSERT(value >= FLAC__MIN_BITS_PER_SAMPLE); in set_bits_per_sample()
344 FLAC__ASSERT(value <= FLAC__MAX_BITS_PER_SAMPLE); in set_bits_per_sample()
350 FLAC__ASSERT(is_valid()); in set_total_samples()
351 FLAC__ASSERT(value < (((FLAC__uint64)1) << FLAC__STREAM_METADATA_STREAMINFO_TOTAL_SAMPLES_LEN)); in set_total_samples()
357 FLAC__ASSERT(is_valid()); in set_md5sum()
358 FLAC__ASSERT(0 != value); in set_md5sum()
382 FLAC__ASSERT(is_valid()); in set_length()
400 FLAC__ASSERT(is_valid()); in get_id()
406 FLAC__ASSERT(is_valid()); in get_data()
412 FLAC__ASSERT(is_valid()); in set_id()
413 FLAC__ASSERT(0 != value); in set_id()
419 FLAC__ASSERT(is_valid()); in set_data()
425 FLAC__ASSERT(is_valid()); in set_data()
443 FLAC__ASSERT(is_valid()); in get_num_points()
449 FLAC__ASSERT(is_valid()); in get_point()
450 FLAC__ASSERT(indx < object_->data.seek_table.num_points); in get_point()
456 FLAC__ASSERT(is_valid()); in resize_points()
462 FLAC__ASSERT(is_valid()); in set_point()
463 FLAC__ASSERT(indx < object_->data.seek_table.num_points); in set_point()
469 FLAC__ASSERT(is_valid()); in insert_point()
470 FLAC__ASSERT(indx <= object_->data.seek_table.num_points); in insert_point()
476 FLAC__ASSERT(is_valid()); in delete_point()
477 FLAC__ASSERT(indx < object_->data.seek_table.num_points); in delete_point()
483 FLAC__ASSERT(is_valid()); in is_legal()
489 FLAC__ASSERT(is_valid()); in template_append_placeholders()
495 FLAC__ASSERT(is_valid()); in template_append_point()
501 FLAC__ASSERT(is_valid()); in template_append_points()
507 FLAC__ASSERT(is_valid()); in template_append_spaced_points()
513 FLAC__ASSERT(is_valid()); in template_append_spaced_points_by_samples()
519 FLAC__ASSERT(is_valid()); in template_sort()
595 FLAC__ASSERT(entry.is_valid()); in Entry()
602 FLAC__ASSERT(entry.is_valid()); in operator =()
620 FLAC__ASSERT(is_valid()); in get_field_length()
626 FLAC__ASSERT(is_valid()); in get_field_name_length()
632 FLAC__ASSERT(is_valid()); in get_field_value_length()
638 FLAC__ASSERT(is_valid()); in get_entry()
644 FLAC__ASSERT(is_valid()); in get_field()
650 FLAC__ASSERT(is_valid()); in get_field_name()
656 FLAC__ASSERT(is_valid()); in get_field_value()
662 FLAC__ASSERT(is_valid()); in set_field()
663 FLAC__ASSERT(0 != field); in set_field()
690 FLAC__ASSERT(is_valid()); in set_field_name()
691 FLAC__ASSERT(0 != field_name); in set_field_name()
711 FLAC__ASSERT(is_valid()); in set_field_value()
712 FLAC__ASSERT(0 != field_value); in set_field_value()
877 FLAC__ASSERT(is_valid()); in get_num_comments()
883 FLAC__ASSERT(is_valid()); in get_vendor_string()
889 FLAC__ASSERT(is_valid()); in get_comment()
890 FLAC__ASSERT(indx < object_->data.vorbis_comment.num_comments); in get_comment()
896 FLAC__ASSERT(is_valid()); in set_vendor_string()
904 FLAC__ASSERT(is_valid()); in resize_comments()
910 FLAC__ASSERT(is_valid()); in set_comment()
911 FLAC__ASSERT(indx < object_->data.vorbis_comment.num_comments); in set_comment()
917 FLAC__ASSERT(is_valid()); in insert_comment()
918 FLAC__ASSERT(indx <= object_->data.vorbis_comment.num_comments); in insert_comment()
924 FLAC__ASSERT(is_valid()); in append_comment()
930 FLAC__ASSERT(is_valid()); in replace_comment()
936 FLAC__ASSERT(is_valid()); in delete_comment()
937 FLAC__ASSERT(indx < object_->data.vorbis_comment.num_comments); in delete_comment()
943 FLAC__ASSERT(is_valid()); in find_entry_from()
949 FLAC__ASSERT(is_valid()); in remove_entry_matching()
955 FLAC__ASSERT(is_valid()); in remove_entries_matching()
997 FLAC__ASSERT(is_valid()); in get_index()
998 FLAC__ASSERT(i < object_->num_indices); in get_index()
1004 FLAC__ASSERT(is_valid()); in set_isrc()
1005 FLAC__ASSERT(0 != value); in set_isrc()
1012 FLAC__ASSERT(is_valid()); in set_type()
1013 FLAC__ASSERT(value <= 1); in set_type()
1019 FLAC__ASSERT(is_valid()); in set_index()
1020 FLAC__ASSERT(i < object_->num_indices); in set_index()
1038 FLAC__ASSERT(is_valid()); in get_media_catalog_number()
1044 FLAC__ASSERT(is_valid()); in get_lead_in()
1050 FLAC__ASSERT(is_valid()); in get_is_cd()
1056 FLAC__ASSERT(is_valid()); in get_num_tracks()
1062 FLAC__ASSERT(is_valid()); in get_track()
1063 FLAC__ASSERT(i < object_->data.cue_sheet.num_tracks); in get_track()
1069 FLAC__ASSERT(is_valid()); in set_media_catalog_number()
1070 FLAC__ASSERT(0 != value); in set_media_catalog_number()
1077 FLAC__ASSERT(is_valid()); in set_lead_in()
1083 FLAC__ASSERT(is_valid()); in set_is_cd()
1089 FLAC__ASSERT(is_valid()); in set_index()
1090 FLAC__ASSERT(track_num < object_->data.cue_sheet.num_tracks); in set_index()
1091 FLAC__ASSERT(index_num < object_->data.cue_sheet.tracks[track_num].num_indices); in set_index()
1097 FLAC__ASSERT(is_valid()); in resize_indices()
1098 FLAC__ASSERT(track_num < object_->data.cue_sheet.num_tracks); in resize_indices()
1104 FLAC__ASSERT(is_valid()); in insert_index()
1105 FLAC__ASSERT(track_num < object_->data.cue_sheet.num_tracks); in insert_index()
1106 FLAC__ASSERT(index_num <= object_->data.cue_sheet.tracks[track_num].num_indices); in insert_index()
1112 FLAC__ASSERT(is_valid()); in insert_blank_index()
1113 FLAC__ASSERT(track_num < object_->data.cue_sheet.num_tracks); in insert_blank_index()
1114 FLAC__ASSERT(index_num <= object_->data.cue_sheet.tracks[track_num].num_indices); in insert_blank_index()
1120 FLAC__ASSERT(is_valid()); in delete_index()
1121 FLAC__ASSERT(track_num < object_->data.cue_sheet.num_tracks); in delete_index()
1122 FLAC__ASSERT(index_num < object_->data.cue_sheet.tracks[track_num].num_indices); in delete_index()
1128 FLAC__ASSERT(is_valid()); in resize_tracks()
1134 FLAC__ASSERT(is_valid()); in set_track()
1135 FLAC__ASSERT(i < object_->data.cue_sheet.num_tracks); in set_track()
1142 FLAC__ASSERT(is_valid()); in insert_track()
1143 FLAC__ASSERT(i <= object_->data.cue_sheet.num_tracks); in insert_track()
1150 FLAC__ASSERT(is_valid()); in insert_blank_track()
1151 FLAC__ASSERT(i <= object_->data.cue_sheet.num_tracks); in insert_blank_track()
1157 FLAC__ASSERT(is_valid()); in delete_track()
1158 FLAC__ASSERT(i < object_->data.cue_sheet.num_tracks); in delete_track()
1164 FLAC__ASSERT(is_valid()); in is_legal()
1170 FLAC__ASSERT(is_valid()); in calculate_cddb_id()
1188 FLAC__ASSERT(is_valid()); in get_type()
1194 FLAC__ASSERT(is_valid()); in get_mime_type()
1200 FLAC__ASSERT(is_valid()); in get_description()
1206 FLAC__ASSERT(is_valid()); in get_width()
1212 FLAC__ASSERT(is_valid()); in get_height()
1218 FLAC__ASSERT(is_valid()); in get_depth()
1224 FLAC__ASSERT(is_valid()); in get_colors()
1230 FLAC__ASSERT(is_valid()); in get_data_length()
1236 FLAC__ASSERT(is_valid()); in get_data()
1242 FLAC__ASSERT(is_valid()); in set_type()
1248 FLAC__ASSERT(is_valid()); in set_mime_type()
1255 FLAC__ASSERT(is_valid()); in set_description()
1262 FLAC__ASSERT(is_valid()); in set_width()
1268 FLAC__ASSERT(is_valid()); in set_height()
1274 FLAC__ASSERT(is_valid()); in set_depth()
1280 FLAC__ASSERT(is_valid()); in set_colors()
1286 FLAC__ASSERT(is_valid()); in set_data()
1293 FLAC__ASSERT(is_valid()); in is_legal()
1311 FLAC__ASSERT(is_valid()); in get_data()
1317 FLAC__ASSERT(is_valid()); in set_data()
1323 FLAC__ASSERT(is_valid()); in set_data()
1336 FLAC__ASSERT(0 != filename); in get_streaminfo()
1350 FLAC__ASSERT(0 != filename); in get_tags()
1366 FLAC__ASSERT(0 != filename); in get_tags()
1380 FLAC__ASSERT(0 != filename); in get_cuesheet()
1396 FLAC__ASSERT(0 != filename); in get_cuesheet()
1410 FLAC__ASSERT(0 != filename); in get_picture()
1426 FLAC__ASSERT(0 != filename); in get_picture()
1463 FLAC__ASSERT(0 != filename); in init()
1464 FLAC__ASSERT(is_valid()); in init()
1475 FLAC__ASSERT(is_valid()); in status()
1481 FLAC__ASSERT(is_valid()); in is_writable()
1487 FLAC__ASSERT(is_valid()); in next()
1493 FLAC__ASSERT(is_valid()); in prev()
1500 FLAC__ASSERT(is_valid()); in is_last()
1507 FLAC__ASSERT(is_valid()); in get_block_offset()
1513 FLAC__ASSERT(is_valid()); in get_block_type()
1520 FLAC__ASSERT(is_valid()); in get_block_length()
1527 FLAC__ASSERT(is_valid()); in get_application_id()
1533 FLAC__ASSERT(is_valid()); in get_block()
1539 FLAC__ASSERT(0 != block); in set_block()
1540 FLAC__ASSERT(is_valid()); in set_block()
1546 FLAC__ASSERT(0 != block); in insert_block_after()
1547 FLAC__ASSERT(is_valid()); in insert_block_after()
1553 FLAC__ASSERT(is_valid()); in delete_block()
1587 FLAC__ASSERT(is_valid()); in status()
1593 FLAC__ASSERT(0 != filename); in read()
1594 FLAC__ASSERT(is_valid()); in read()
1603 FLAC__ASSERT(is_valid()); in read()
1612 FLAC__ASSERT(is_valid()); in check_if_tempfile_needed()
1618 FLAC__ASSERT(is_valid()); in write()
1624 FLAC__ASSERT(is_valid()); in write()
1630 FLAC__ASSERT(is_valid()); in write()
1636 FLAC__ASSERT(is_valid()); in merge_padding()
1642 FLAC__ASSERT(is_valid()); in sort_padding()
1670 FLAC__ASSERT(is_valid()); in init()
1671 FLAC__ASSERT(chain.is_valid()); in init()
1677 FLAC__ASSERT(is_valid()); in next()
1683 FLAC__ASSERT(is_valid()); in prev()
1689 FLAC__ASSERT(is_valid()); in get_block_type()
1695 FLAC__ASSERT(is_valid()); in get_block()
1704 FLAC__ASSERT(0 != block); in set_block()
1705 FLAC__ASSERT(is_valid()); in set_block()
1716 FLAC__ASSERT(is_valid()); in delete_block()
1722 FLAC__ASSERT(0 != block); in insert_block_before()
1723 FLAC__ASSERT(is_valid()); in insert_block_before()
1734 FLAC__ASSERT(0 != block); in insert_block_after()
1735 FLAC__ASSERT(is_valid()); in insert_block_after()