Lines Matching refs:cuesheet
505 FLAC__StreamMetadata *block, *blockcopy, *vorbiscomment, *cuesheet, *picture; in test_metadata_object() local
1619 cuesheet = FLAC__metadata_object_clone(block); in test_metadata_object()
1620 if(0 == cuesheet) { in test_metadata_object()
1624 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1628 cs_resize_(cuesheet, 2); in test_metadata_object()
1629 …printf("testing FLAC__metadata_object_cuesheet_resize_tracks(grow to %u)...", cuesheet->data.cue_s… in test_metadata_object()
1630 if(!FLAC__metadata_object_cuesheet_resize_tracks(block, cuesheet->data.cue_sheet.num_tracks)) { in test_metadata_object()
1634 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1638 cs_resize_(cuesheet, 1); in test_metadata_object()
1639 …printf("testing FLAC__metadata_object_cuesheet_resize_tracks(shrink to %u)...", cuesheet->data.cue… in test_metadata_object()
1640 if(!FLAC__metadata_object_cuesheet_resize_tracks(block, cuesheet->data.cue_sheet.num_tracks)) { in test_metadata_object()
1644 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1648 cs_resize_(cuesheet, 0); in test_metadata_object()
1649 …printf("testing FLAC__metadata_object_cuesheet_resize_tracks(shrink to %u)...", cuesheet->data.cue… in test_metadata_object()
1650 if(!FLAC__metadata_object_cuesheet_resize_tracks(block, cuesheet->data.cue_sheet.num_tracks)) { in test_metadata_object()
1654 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1659 cs_insert_new_(&track, cuesheet, 0, 0, 1, "ABCDE1234567", false, false); in test_metadata_object()
1664 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1669 cs_insert_new_(&track, cuesheet, 0, 10, 2, "BBCDE1234567", false, false); in test_metadata_object()
1674 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1679 cs_insert_new_(&track, cuesheet, 1, 20, 3, "CBCDE1234567", false, false); in test_metadata_object()
1684 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1689 cs_insert_new_(&track, cuesheet, 3, 30, 4, "DBCDE1234567", false, false); in test_metadata_object()
1694 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1699 cs_insert_new_(&track, cuesheet, 4, 0, 0, "\0\0\0\0\0\0\0\0\0\0\0\0", false, false); in test_metadata_object()
1704 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1723 cs_delete_(cuesheet, 4); in test_metadata_object()
1728 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1733 cs_delete_(cuesheet, 2); in test_metadata_object()
1738 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1743 cs_delete_(cuesheet, 2); in test_metadata_object()
1748 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1753 cs_delete_(cuesheet, 0); in test_metadata_object()
1758 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1763 cs_set_new_(&track, cuesheet, 0, 40, 5, "EBCDE1234567", false, false); in test_metadata_object()
1765 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1769 tr_resize_(cuesheet, 0, 2); in test_metadata_object()
1770 …printf("testing FLAC__metadata_object_cuesheet_track_resize_indices(grow to %u)...", cuesheet->dat… in test_metadata_object()
1771 …if(!FLAC__metadata_object_cuesheet_track_resize_indices(block, 0, cuesheet->data.cue_sheet.tracks[… in test_metadata_object()
1775 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1779 tr_resize_(cuesheet, 0, 1); in test_metadata_object()
1780 …printf("testing FLAC__metadata_object_cuesheet_track_resize_indices(shrink to %u)...", cuesheet->d… in test_metadata_object()
1781 …if(!FLAC__metadata_object_cuesheet_track_resize_indices(block, 0, cuesheet->data.cue_sheet.tracks[… in test_metadata_object()
1785 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1789 tr_resize_(cuesheet, 0, 0); in test_metadata_object()
1790 …printf("testing FLAC__metadata_object_cuesheet_track_resize_indices(shrink to %u)...", cuesheet->d… in test_metadata_object()
1791 …if(!FLAC__metadata_object_cuesheet_track_resize_indices(block, 0, cuesheet->data.cue_sheet.tracks[… in test_metadata_object()
1795 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1802 tr_insert_new_(cuesheet, 0, 0, indx); in test_metadata_object()
1807 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1814 tr_insert_new_(cuesheet, 0, 0, indx); in test_metadata_object()
1819 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1826 tr_insert_new_(cuesheet, 0, 1, indx); in test_metadata_object()
1831 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1838 tr_insert_new_(cuesheet, 0, 3, indx); in test_metadata_object()
1843 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1850 tr_insert_new_(cuesheet, 0, 4, indx); in test_metadata_object()
1855 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1874 tr_delete_(cuesheet, 0, 4); in test_metadata_object()
1879 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1884 tr_delete_(cuesheet, 0, 2); in test_metadata_object()
1889 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1894 tr_delete_(cuesheet, 0, 2); in test_metadata_object()
1899 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1904 tr_delete_(cuesheet, 0, 0); in test_metadata_object()
1909 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1914 FLAC__metadata_object_delete(cuesheet); in test_metadata_object()
1928 cuesheet = FLAC__metadata_object_clone(block); in test_metadata_object()
1929 if(0 == cuesheet) { in test_metadata_object()
1933 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1938 cs_insert_new_(&track, cuesheet, 0, 60, 7, "GBCDE1234567", false, false); in test_metadata_object()
1944 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1949 cs_insert_new_(&track, cuesheet, 0, 70, 8, "HBCDE1234567", false, false); in test_metadata_object()
1955 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1960 cs_insert_new_(&track, cuesheet, 1, 80, 9, "IBCDE1234567", false, false); in test_metadata_object()
1966 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1971 cs_insert_new_(&track, cuesheet, 3, 90, 10, "JBCDE1234567", false, false); in test_metadata_object()
1977 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1982 cs_delete_(cuesheet, 2); in test_metadata_object()
1987 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
1992 cs_delete_(cuesheet, 2); in test_metadata_object()
1997 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
2002 cs_delete_(cuesheet, 0); in test_metadata_object()
2007 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
2012 cs_set_new_(&track, cuesheet, 0, 100, 11, "KBCDE1234567", false, false); in test_metadata_object()
2015 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object()
2030 FLAC__metadata_object_delete(cuesheet); in test_metadata_object()