Lines Matching refs:expected_length
138 const unsigned expected_length = num_points * FLAC__STREAM_METADATA_SEEKPOINT_LENGTH;
140 if(block->length != expected_length) {
141 printf("FAILED, bad length, expected %u, got %u\n", expected_length, block->length);
524 unsigned i, expected_length, seekpoints;
539 expected_length = FLAC__STREAM_METADATA_STREAMINFO_LENGTH;
540 if(block->length != expected_length) {
541 printf("FAILED, bad length, expected %u, got %u\n", expected_length, block->length);
570 expected_length = 0;
571 if(block->length != expected_length) {
572 printf("FAILED, bad length, expected %u, got %u\n", expected_length, block->length);
601 expected_length = FLAC__STREAM_METADATA_APPLICATION_ID_LEN / 8;
602 if(block->length != expected_length) {
603 printf("FAILED, bad length, expected %u, got %u\n", expected_length, block->length);
627 expected_length = (FLAC__STREAM_METADATA_APPLICATION_ID_LEN / 8) + sizeof(dummydata);
628 if(block->length != expected_length) {
629 printf("FAILED, bad length, expected %u, got %u\n", expected_length, block->length);
657 expected_length = (FLAC__STREAM_METADATA_APPLICATION_ID_LEN / 8) + sizeof(dummydata);
658 if(block->length != expected_length) {
659 printf("FAILED, bad length, expected %u, got %u\n", expected_length, block->length);
1016 expected_length = (FLAC__STREAM_METADATA_VORBIS_COMMENT_ENTRY_LENGTH_LEN/8 + strlen(FLAC__VENDOR_STRING) + FLAC__STREAM_METADATA_VORBIS_COMMENT_NUM_COMMENTS_LEN/8);
1017 if(block->length != expected_length) {
1018 printf("FAILED, bad length, expected %u, got %u\n", expected_length, block->length);
1619 expected_length = (
1626 if(block->length != expected_length) {
1627 printf("FAILED, bad length, expected %u, got %u\n", expected_length, block->length);
2057 expected_length = (
2067 if(block->length != expected_length) {
2068 printf("FAILED, bad length, expected %u, got %u\n", expected_length, block->length);