Lines Matching full:printf

61 	printf("ERROR: %s\n", msg);  in die_()
70 printf("FAILED, %s", msg); in die_s_()
72 printf("FAILED"); in die_s_()
74 printf(", state = %u (%s)\n", (uint32_t)state, FLAC__StreamEncoderStateString[state]); in die_s_()
77printf(" verify decoder state = %u (%s)\n", (uint32_t)dstate, FLAC__StreamDecoderStateString[… in die_s_()
166printf("\n+++ libFLAC unit test: FLAC__StreamEncoder (layer: %s, format: %s)\n\n", LayerString[lay… in test_stream_encoder()
168 printf("testing FLAC__stream_encoder_new()... "); in test_stream_encoder()
171 printf("FAILED, returned NULL\n"); in test_stream_encoder()
174 printf("OK\n"); in test_stream_encoder()
177 printf("testing FLAC__stream_encoder_set_ogg_serial_number()... "); in test_stream_encoder()
180 printf("OK\n"); in test_stream_encoder()
183 printf("testing FLAC__stream_encoder_set_verify()... "); in test_stream_encoder()
186 printf("OK\n"); in test_stream_encoder()
188 printf("testing FLAC__stream_encoder_set_streamable_subset()... "); in test_stream_encoder()
191 printf("OK\n"); in test_stream_encoder()
193 printf("testing FLAC__stream_encoder_set_channels()... "); in test_stream_encoder()
196 printf("OK\n"); in test_stream_encoder()
198 printf("testing FLAC__stream_encoder_set_bits_per_sample()... "); in test_stream_encoder()
201 printf("OK\n"); in test_stream_encoder()
203 printf("testing FLAC__stream_encoder_set_sample_rate()... "); in test_stream_encoder()
206 printf("OK\n"); in test_stream_encoder()
208 printf("testing FLAC__stream_encoder_set_compression_level()... "); in test_stream_encoder()
211 printf("OK\n"); in test_stream_encoder()
213 printf("testing FLAC__stream_encoder_set_blocksize()... "); in test_stream_encoder()
216 printf("OK\n"); in test_stream_encoder()
218 printf("testing FLAC__stream_encoder_set_do_mid_side_stereo()... "); in test_stream_encoder()
221 printf("OK\n"); in test_stream_encoder()
223 printf("testing FLAC__stream_encoder_set_loose_mid_side_stereo()... "); in test_stream_encoder()
226 printf("OK\n"); in test_stream_encoder()
228 printf("testing FLAC__stream_encoder_set_max_lpc_order()... "); in test_stream_encoder()
231 printf("OK\n"); in test_stream_encoder()
233 printf("testing FLAC__stream_encoder_set_qlp_coeff_precision()... "); in test_stream_encoder()
236 printf("OK\n"); in test_stream_encoder()
238 printf("testing FLAC__stream_encoder_set_do_qlp_coeff_prec_search()... "); in test_stream_encoder()
241 printf("OK\n"); in test_stream_encoder()
243 printf("testing FLAC__stream_encoder_set_do_escape_coding()... "); in test_stream_encoder()
246 printf("OK\n"); in test_stream_encoder()
248 printf("testing FLAC__stream_encoder_set_do_exhaustive_model_search()... "); in test_stream_encoder()
251 printf("OK\n"); in test_stream_encoder()
253 printf("testing FLAC__stream_encoder_set_min_residual_partition_order()... "); in test_stream_encoder()
256 printf("OK\n"); in test_stream_encoder()
258 printf("testing FLAC__stream_encoder_set_max_residual_partition_order()... "); in test_stream_encoder()
261 printf("OK\n"); in test_stream_encoder()
263 printf("testing FLAC__stream_encoder_set_rice_parameter_search_dist()... "); in test_stream_encoder()
266 printf("OK\n"); in test_stream_encoder()
268 printf("testing FLAC__stream_encoder_set_total_samples_estimate()... "); in test_stream_encoder()
271 printf("OK\n"); in test_stream_encoder()
273 printf("testing FLAC__stream_encoder_set_metadata()... "); in test_stream_encoder()
276 printf("OK\n"); in test_stream_encoder()
278 printf("testing FLAC__stream_encoder_set_limit_min_bitrate()... "); in test_stream_encoder()
281 printf("OK\n"); in test_stream_encoder()
284 printf("opening file for FLAC output... "); in test_stream_encoder()
287 printf("ERROR (%s)\n", strerror(errno)); in test_stream_encoder()
290 printf("OK\n"); in test_stream_encoder()
295 printf("testing FLAC__stream_encoder_init_%sstream()... ", is_ogg? "ogg_":""); in test_stream_encoder()
301 printf("testing FLAC__stream_encoder_init_%sstream()... ", is_ogg? "ogg_":""); in test_stream_encoder()
307 printf("testing FLAC__stream_encoder_init_%sFILE()... ", is_ogg? "ogg_":""); in test_stream_encoder()
313 printf("testing FLAC__stream_encoder_init_%sfile()... ", is_ogg? "ogg_":""); in test_stream_encoder()
324 printf("OK\n"); in test_stream_encoder()
326 printf("testing FLAC__stream_encoder_get_state()... "); in test_stream_encoder()
328 printf("returned state = %u (%s)... OK\n", (uint32_t)state, FLAC__StreamEncoderStateString[state]); in test_stream_encoder()
330 printf("testing FLAC__stream_encoder_get_verify_decoder_state()... "); in test_stream_encoder()
332printf("returned state = %u (%s)... OK\n", (uint32_t)dstate, FLAC__StreamDecoderStateString[dstate… in test_stream_encoder()
342 printf("testing FLAC__stream_encoder_get_verify_decoder_error_stats()... "); in test_stream_encoder()
344 printf("OK\n"); in test_stream_encoder()
347 printf("testing FLAC__stream_encoder_get_verify()... "); in test_stream_encoder()
349 printf("FAILED, expected true, got false\n"); in test_stream_encoder()
352 printf("OK\n"); in test_stream_encoder()
354 printf("testing FLAC__stream_encoder_get_streamable_subset()... "); in test_stream_encoder()
356 printf("FAILED, expected true, got false\n"); in test_stream_encoder()
359 printf("OK\n"); in test_stream_encoder()
361 printf("testing FLAC__stream_encoder_get_do_mid_side_stereo()... "); in test_stream_encoder()
363 printf("FAILED, expected false, got true\n"); in test_stream_encoder()
366 printf("OK\n"); in test_stream_encoder()
368 printf("testing FLAC__stream_encoder_get_loose_mid_side_stereo()... "); in test_stream_encoder()
370 printf("FAILED, expected false, got true\n"); in test_stream_encoder()
373 printf("OK\n"); in test_stream_encoder()
375 printf("testing FLAC__stream_encoder_get_channels()... "); in test_stream_encoder()
377printf("FAILED, expected %u, got %u\n", streaminfo_.data.stream_info.channels, FLAC__stream_encode… in test_stream_encoder()
380 printf("OK\n"); in test_stream_encoder()
382 printf("testing FLAC__stream_encoder_get_bits_per_sample()... "); in test_stream_encoder()
384printf("FAILED, expected %u, got %u\n", streaminfo_.data.stream_info.bits_per_sample, FLAC__stream… in test_stream_encoder()
387 printf("OK\n"); in test_stream_encoder()
389 printf("testing FLAC__stream_encoder_get_sample_rate()... "); in test_stream_encoder()
391printf("FAILED, expected %u, got %u\n", streaminfo_.data.stream_info.sample_rate, FLAC__stream_enc… in test_stream_encoder()
394 printf("OK\n"); in test_stream_encoder()
396 printf("testing FLAC__stream_encoder_get_blocksize()... "); in test_stream_encoder()
398printf("FAILED, expected %u, got %u\n", streaminfo_.data.stream_info.min_blocksize, FLAC__stream_e… in test_stream_encoder()
401 printf("OK\n"); in test_stream_encoder()
403 printf("testing FLAC__stream_encoder_get_max_lpc_order()... "); in test_stream_encoder()
405 printf("FAILED, expected %d, got %u\n", 0, FLAC__stream_encoder_get_max_lpc_order(encoder)); in test_stream_encoder()
408 printf("OK\n"); in test_stream_encoder()
410 printf("testing FLAC__stream_encoder_get_qlp_coeff_precision()... "); in test_stream_encoder()
413 printf("OK\n"); in test_stream_encoder()
415 printf("testing FLAC__stream_encoder_get_do_qlp_coeff_prec_search()... "); in test_stream_encoder()
417 printf("FAILED, expected false, got true\n"); in test_stream_encoder()
420 printf("OK\n"); in test_stream_encoder()
422 printf("testing FLAC__stream_encoder_get_do_escape_coding()... "); in test_stream_encoder()
424 printf("FAILED, expected false, got true\n"); in test_stream_encoder()
427 printf("OK\n"); in test_stream_encoder()
429 printf("testing FLAC__stream_encoder_get_do_exhaustive_model_search()... "); in test_stream_encoder()
431 printf("FAILED, expected false, got true\n"); in test_stream_encoder()
434 printf("OK\n"); in test_stream_encoder()
436 printf("testing FLAC__stream_encoder_get_min_residual_partition_order()... "); in test_stream_encoder()
438printf("FAILED, expected %d, got %u\n", 0, FLAC__stream_encoder_get_min_residual_partition_order(e… in test_stream_encoder()
441 printf("OK\n"); in test_stream_encoder()
443 printf("testing FLAC__stream_encoder_get_max_residual_partition_order()... "); in test_stream_encoder()
445printf("FAILED, expected %d, got %u\n", 0, FLAC__stream_encoder_get_max_residual_partition_order(e… in test_stream_encoder()
448 printf("OK\n"); in test_stream_encoder()
450 printf("testing FLAC__stream_encoder_get_rice_parameter_search_dist()... "); in test_stream_encoder()
452printf("FAILED, expected %d, got %u\n", 0, FLAC__stream_encoder_get_rice_parameter_search_dist(enc… in test_stream_encoder()
455 printf("OK\n"); in test_stream_encoder()
457 printf("testing FLAC__stream_encoder_get_total_samples_estimate()... "); in test_stream_encoder()
459printf("FAILED, expected %" PRIu64 ", got %" PRIu64 "\n", streaminfo_.data.stream_info.total_sampl… in test_stream_encoder()
462 printf("OK\n"); in test_stream_encoder()
464 printf("testing FLAC__stream_encoder_get_limit_min_bitrate()... "); in test_stream_encoder()
466 printf("FAILED, expected true, got false\n"); in test_stream_encoder()
474 printf("testing FLAC__stream_encoder_process()... "); in test_stream_encoder()
477 printf("OK\n"); in test_stream_encoder()
479 printf("testing FLAC__stream_encoder_process_interleaved()... "); in test_stream_encoder()
482 printf("OK\n"); in test_stream_encoder()
484 printf("testing FLAC__stream_encoder_finish()... "); in test_stream_encoder()
487 printf("OK\n"); in test_stream_encoder()
492 printf("testing FLAC__stream_encoder_delete()... "); in test_stream_encoder()
494 printf("OK\n"); in test_stream_encoder()
496 printf("\nPASSED!\n"); in test_stream_encoder()