Home
last modified time | relevance | path

Searched refs:exit_if_true (Results 1 – 25 of 44) sorted by relevance

12

/dports/audio/libsndfile/libsndfile-1.0.31/tests/
H A Dexternal_libs_test.c73 { exit_if_true (have_flac == 0, "\n\nLine %d : FLAC should be available.\n\n", __LINE__) ; in major_format_test()
74 exit_if_true (have_ogg == 0, "\n\nLine %d : Ogg/Vorbis should be available.\n\n", __LINE__) ; in major_format_test()
77 { exit_if_true (have_flac, "\n\nLine %d : FLAC should not be available.\n\n", __LINE__) ; in major_format_test()
78 exit_if_true (have_ogg, "\n\nLine %d : Ogg/Vorbis should not be available.\n\n", __LINE__) ; in major_format_test()
104 exit_if_true (have_opus == 0, "\n\nLine %d : Ogg/Opus should be available.\n\n", __LINE__) ; in subtype_format_test()
108 exit_if_true (have_opus, "\n\nLine %d : Ogg/Opus should not be available.\n\n", __LINE__) ; in subtype_format_test()
157 { exit_if_true (have_flac == 0, "\n\nLine %d : FLAC should be available.\n\n", __LINE__) ; in simple_format_test()
160 exit_if_true (have_opus == 0, "\n\nLine %d : Ogg/Opus should be available.\n\n", __LINE__) ; in simple_format_test()
163 { exit_if_true (have_flac, "\n\nLine %d : FLAC should not be available.\n\n", __LINE__) ; in simple_format_test()
164 exit_if_true (have_ogg, "\n\nLine %d : Ogg/Vorbis should not be available.\n\n", __LINE__) ; in simple_format_test()
[all …]
H A Dlong_read_write_test.c98 exit_if_true (BUFFER_LENGTH > out_len, "\n\nLine %d: Bad array length.\n", __LINE__) ; in short_lrw_test()
117exit_if_true (sfinfo.channels != 1, "\n\nLine %d: Incorrect number of channels in file.\n", __LINE… in short_lrw_test()
126 exit_if_true (input [k] != output [k], in short_lrw_test()
144 exit_if_true (BUFFER_LENGTH > out_len, "\n\nLine %d: Bad array length.\n", __LINE__) ; in int_lrw_test()
163exit_if_true (sfinfo.channels != 1, "\n\nLine %d: Incorrect number of channels in file.\n", __LINE… in int_lrw_test()
172 exit_if_true (input [k] != output [k], in int_lrw_test()
190 exit_if_true (BUFFER_LENGTH > out_len, "\n\nLine %d: Bad array length.\n", __LINE__) ; in float_lrw_test()
209exit_if_true (sfinfo.channels != 1, "\n\nLine %d: Incorrect number of channels in file.\n", __LINE… in float_lrw_test()
218 exit_if_true (fabs (input [k] - output [k]) > 0.00001, in float_lrw_test()
236 exit_if_true (BUFFER_LENGTH > out_len, "\n\nLine %d: Bad array length.\n", __LINE__) ; in double_lrw_test()
[all …]
H A Dstring_test.c581 exit_if_true (str == NULL, "\n\nLine %d : SF_STR_TITLE string is NULL.\n", __LINE__) ; in string_rdwr_test()
592 exit_if_true (str == NULL, "\n\nLine %d : SF_STR_TITLE string is NULL.\n", __LINE__) ; in string_rdwr_test()
599 exit_if_true (str == NULL, "\n\nLine %d : SF_STR_ARTIST string is NULL.\n", __LINE__) ; in string_rdwr_test()
603 exit_if_true (str == NULL, "\n\nLine %d : SF_STR_TITLE string is NULL.\n", __LINE__) ; in string_rdwr_test()
642 exit_if_true (str == NULL, "\n\nLine %d : SF_STR_TITLE string is NULL.\n", __LINE__) ; in string_short_rdwr_test()
645 exit_if_true (str == NULL, "\n\nLine %d : SF_STR_TITLE string is NULL.\n", __LINE__) ; in string_short_rdwr_test()
659 exit_if_true (str == NULL, "\n\nLine %d : SF_STR_TITLE string is NULL.\n", __LINE__) ; in string_short_rdwr_test()
703 exit_if_true (sf_set_string (file, SF_STR_SOFTWARE, sfname), in software_string_test()
713 exit_if_true (strstr (result, sfname) != result, in software_string_test()
767 exit_if_true (str == NULL, "\n\nLine %d : SF_STR_TITLE string is NULL.\n", __LINE__) ; in string_rdwr_grow_test()
[all …]
H A Dchunk_test.c141 exit_if_true ( in chunk_test_helper()
159 exit_if_true ( in chunk_test_helper()
164 exit_if_true ( in chunk_test_helper()
171 exit_if_true ( in chunk_test_helper()
176 exit_if_true ( in chunk_test_helper()
198 exit_if_true ( in multichunk_test_helper()
232 exit_if_true ( in multichunk_test_helper()
359 exit_if_true ( in wav_subchunk_test()
374 exit_if_true ( in wav_subchunk_test()
419 exit_if_true ( in large_free_test()
[all …]
H A Dformat_check_test.c64 exit_if_true (file != NULL, "\n\nLine %d : Format should not be valid.\n\n", __LINE__) ; in format_error_test()
65 exit_if_true ( in format_error_test()
72 exit_if_true (file != NULL, "\n\nLine %d : Format should not be valid.\n\n", __LINE__) ; in format_error_test()
73 exit_if_true ( in format_error_test()
118 exit_if_true ( in format_combo_test()
136 exit_if_true ( in format_combo_test()
144 exit_if_true ( in format_combo_test()
H A Dmisc_test.c415 exit_if_true ( in wavex_amb_test()
446exit_if_true (sf_command (file, SFC_RF64_AUTO_DOWNGRADE, NULL, SF_FALSE) != SF_FALSE, "\n\nLine %d… in rf64_downgrade_test()
447exit_if_true (sf_command (file, SFC_RF64_AUTO_DOWNGRADE, NULL, SF_TRUE) != SF_TRUE, "\n\nLine %d: … in rf64_downgrade_test()
451exit_if_true (sf_command (file, SFC_RF64_AUTO_DOWNGRADE, NULL, SF_FALSE) != SF_TRUE, "\n\nLine %d:… in rf64_downgrade_test()
452exit_if_true (sf_command (file, SFC_RF64_AUTO_DOWNGRADE, NULL, SF_TRUE) != SF_TRUE, "\n\nLine %d: … in rf64_downgrade_test()
461exit_if_true (sfinfo.format != (SF_FORMAT_WAVEX | SF_FORMAT_PCM_16), "\n\nLine %d: RF64 to WAV dow… in rf64_downgrade_test()
463exit_if_true (sfinfo.channels != 1, "\n\nLine %d: Incorrect number of channels in file.\n", __LINE… in rf64_downgrade_test()
472 exit_if_true (input [k] != output [k], in rf64_downgrade_test()
504exit_if_true (sf_command (file, SFC_RF64_AUTO_DOWNGRADE, NULL, SF_TRUE) != SF_TRUE, "\n\nLine %d: … in rf64_long_file_downgrade_test()
518exit_if_true (sfinfo.channels != 1, "\n\nLine %d: Incorrect number of channels in file.\n", __LINE… in rf64_long_file_downgrade_test()
[all …]
H A Derror_test.c119exit_if_true (sndfile != NULL, "\n\nLine %d : should not have received a valid SNDFILE* pointer.\n… in no_file_test()
135 exit_if_true (file == NULL, "\n\nLine %d : fopen ('%s') failed.\n", __LINE__, filename) ; in zero_length_test()
141exit_if_true (sndfile != NULL, "\n\nLine %d : should not have received a valid SNDFILE* pointer.\n… in zero_length_test()
143 exit_if_true (0 && sf_error (NULL) != SF_ERR_UNRECOGNISED_FORMAT, in zero_length_test()
166exit_if_true (fwrite (data, sizeof (data), 1, file) != 1, "\n\nLine %d : fwrite failed.\n", __LINE… in bad_wav_test()
248 exit_if_true (file == NULL, in unrecognised_test()
257 exit_if_true (sndfile != NULL, in unrecognised_test()
262 exit_if_true (k != SF_ERR_UNRECOGNISED_FORMAT, in unrecognised_test()
H A Dchannel_test.c86 exit_if_true (rsfinfo.frames == 0, in channel_test()
88 exit_if_true (wframes != rsfinfo.frames, in channel_test()
104exit_if_true (maxdiff > 0.5, "\n\nLine %d : Max diff is %f at index %u\n\n", __LINE__, maxdiff, po… in channel_test()
114exit_if_true (maxdiff > 0.5, "\n\nLine %d : Max diff is %f at index %u\n\n", __LINE__, maxdiff, po… in channel_test()
H A Dfloating_point_test.c240exit_if_true (sfinfo.format != filetype, "\n\nLine %d: Returned format incorrect (0x%08X => 0x%08X… in float_scaled_test()
241exit_if_true (sfinfo.frames < DFT_DATA_LENGTH, "\n\nLine %d: Incorrect number of frames in file (t… in float_scaled_test()
242exit_if_true (sfinfo.channels != 1, "\n\nLine %d: Incorrect number of channels in file.\n", __LINE… in float_scaled_test()
249 exit_if_true (byterate <= 0, "\n\nLine %d: byterate is zero.\n", __LINE__) ; in float_scaled_test()
255exit_if_true (snr > target_snr, "% 6.1fdB SNR\n\n Error : should be better than % 6.1fdB\n\n", … in float_scaled_test()
293exit_if_true (sfinfo.format != filetype, "\n\nLine %d: Returned format incorrect (0x%08X => 0x%08X… in double_scaled_test()
294exit_if_true (sfinfo.frames < DFT_DATA_LENGTH, "\n\nLine %d: Incorrect number of frames in file (t… in double_scaled_test()
295exit_if_true (sfinfo.channels != 1, "\n\nLine %d: Incorrect number of channels in file.\n", __LINE… in double_scaled_test()
302 exit_if_true (byterate <= 0, "\n\nLine %d: byterate is zero.\n", __LINE__) ; in double_scaled_test()
308exit_if_true (snr > target_snr, "% 6.1fdB SNR\n\n Error : should be better than % 6.1fdB\n\n", … in double_scaled_test()
H A Dfloating_point_test.tpl231exit_if_true (sfinfo.format != filetype, "\n\nLine %d: Returned format incorrect (0x%08X => 0x%08X…
232exit_if_true (sfinfo.frames < DFT_DATA_LENGTH, "\n\nLine %d: Incorrect number of frames in file (t…
233exit_if_true (sfinfo.channels != 1, "\n\nLine %d: Incorrect number of channels in file.\n", __LINE…
240 exit_if_true (byterate <= 0, "\n\nLine %d: byterate is zero.\n", __LINE__) ;
246exit_if_true (snr > target_snr, "% 6.1fdB SNR\n\n Error : should be better than % 6.1fdB\n\n", …
284exit_if_true (sfinfo.format != filetype, "\n\nLine %d: Returned format incorrect (0x%08X => 0x%08X…
285exit_if_true (sfinfo.frames < DFT_DATA_LENGTH, "\n\nLine %d: Incorrect number of frames in file (t…
286exit_if_true (sfinfo.channels != 1, "\n\nLine %d: Incorrect number of channels in file.\n", __LINE…
293 exit_if_true (byterate <= 0, "\n\nLine %d: byterate is zero.\n", __LINE__) ;
299exit_if_true (snr > target_snr, "% 6.1fdB SNR\n\n Error : should be better than % 6.1fdB\n\n", …
H A Dlocale_test.c73exit_if_true (file == NULL, "\n\nLine %d : sf_wchar_open failed : %s\n\n", __LINE__, sf_strerror (… in wchar_test()
79 exit_if_true ( in wchar_test()
H A Dcommand_test.c902 exit_if_true ( in cue_rw_test()
907 exit_if_true ( in cue_rw_test()
1068 exit_if_true (outinfo.frames != 0, in current_sf_info_test()
1075 exit_if_true (outinfo.frames != BUFFER_LEN, in current_sf_info_test()
1088 exit_if_true (ininfo.frames != BUFFER_LEN, in current_sf_info_test()
1429 exit_if_true (bc_write.coding_history_size < 512, in broadcast_coding_history_size()
1451 exit_if_true (bc_read.coding_history_size < 512, in broadcast_coding_history_size()
1703 exit_if_true ( in channel_map_test()
1717 exit_if_true ( in channel_map_test()
1726 exit_if_true ( in channel_map_test()
[all …]
H A Dcompression_size_test.c103 exit_if_true (max_abs > 1.023, in vorbis_test()
160 exit_if_true (q3_size >= q6_size, in compression_size_test()
H A Dpeak_chunk_test.c354exit_if_true (max_peak < 0.1, "\n\nLine %d : max peak (%5.3f) should not be 0.1.\n\n", __LINE__, m… in read_write_peak_test()
359 exit_if_true (sfinfo.channels * sfinfo.frames != 2 * ARRAY_LEN (small_data), in read_write_peak_test()
366exit_if_true (max_peak < 1.0, "\n\nLine %d : max peak (%5.3f) should be 1.0.\n\n", __LINE__, max_p… in read_write_peak_test()
H A Dutils.h62 exit_if_true (int test, const char *format, ...)
71 exit_if_true (int test, const char *format, ...) in exit_if_true() function
H A Dpipe_test.c193exit_if_true (pipe (pipefd) != 0, "\n\n%s %d : pipe failed : %s\n", __func__, __LINE__, strerror (… in useek_pipe_rw_short()
269exit_if_true (pipe (pipefd) != 0, "\n\n%s %d : pipe failed : %s\n", __func__, __LINE__, strerror (… in useek_pipe_rw_float()
345exit_if_true (pipe (pipefd) != 0, "\n\n%s %d : pipe failed : %s\n", __func__, __LINE__, strerror (… in useek_pipe_rw_double()
/dports/lang/php80/php-8.0.15/ext/opcache/jit/
H A Dzend_jit_internal.h487 …it_trace_get_exit_opline(zend_jit_trace_rec *trace, const zend_op *opline, zend_bool *exit_if_true) in zend_jit_trace_get_exit_opline() argument
492 *exit_if_true = opline->opcode == ZEND_JMPNZ; in zend_jit_trace_get_exit_opline()
496 *exit_if_true = opline->opcode == ZEND_JMPZ; in zend_jit_trace_get_exit_opline()
504 *exit_if_true = 0; in zend_jit_trace_get_exit_opline()
H A Dzend_jit_trace.c3402 if (!exit_if_true) { in zend_jit_trace_update_condition_ranges()
3419 if (exit_if_true) { in zend_jit_trace_update_condition_ranges()
3436 if (!exit_if_true) { in zend_jit_trace_update_condition_ranges()
3467 if (!exit_if_true) { in zend_jit_trace_update_condition_ranges()
4892 zend_bool exit_if_true = 0; in zend_jit_trace() local
4940 zend_bool exit_if_true = 0; in zend_jit_trace() local
4953 exit_if_true = !exit_if_true; in zend_jit_trace()
4980 zend_bool exit_if_true = 0; in zend_jit_trace() local
5005 zend_bool exit_if_true = 0; in zend_jit_trace() local
5194 zend_bool exit_if_true = 0; in zend_jit_trace() local
[all …]
/dports/www/php80-opcache/php-8.0.15/ext/opcache/jit/
H A Dzend_jit_internal.h487 …it_trace_get_exit_opline(zend_jit_trace_rec *trace, const zend_op *opline, zend_bool *exit_if_true) in zend_jit_trace_get_exit_opline() argument
492 *exit_if_true = opline->opcode == ZEND_JMPNZ; in zend_jit_trace_get_exit_opline()
496 *exit_if_true = opline->opcode == ZEND_JMPZ; in zend_jit_trace_get_exit_opline()
504 *exit_if_true = 0; in zend_jit_trace_get_exit_opline()
/dports/www/mod_php80/php-8.0.15/ext/opcache/jit/
H A Dzend_jit_internal.h487 …it_trace_get_exit_opline(zend_jit_trace_rec *trace, const zend_op *opline, zend_bool *exit_if_true) in zend_jit_trace_get_exit_opline() argument
492 *exit_if_true = opline->opcode == ZEND_JMPNZ; in zend_jit_trace_get_exit_opline()
496 *exit_if_true = opline->opcode == ZEND_JMPZ; in zend_jit_trace_get_exit_opline()
504 *exit_if_true = 0; in zend_jit_trace_get_exit_opline()
/dports/www/mod_php81/php-8.1.1/ext/opcache/jit/
H A Dzend_jit_internal.h696 …end_jit_trace_get_exit_opline(zend_jit_trace_rec *trace, const zend_op *opline, bool *exit_if_true) in zend_jit_trace_get_exit_opline() argument
701 *exit_if_true = opline->opcode == ZEND_JMPNZ; in zend_jit_trace_get_exit_opline()
705 *exit_if_true = opline->opcode == ZEND_JMPZ; in zend_jit_trace_get_exit_opline()
713 *exit_if_true = 0; in zend_jit_trace_get_exit_opline()
H A Dzend_jit_trace.c3646 if (!exit_if_true) { in zend_jit_trace_update_condition_ranges()
3663 if (exit_if_true) { in zend_jit_trace_update_condition_ranges()
3680 if (!exit_if_true) { in zend_jit_trace_update_condition_ranges()
3711 if (!exit_if_true) { in zend_jit_trace_update_condition_ranges()
5099 bool exit_if_true = 0; in zend_jit_trace() local
5147 bool exit_if_true = 0; in zend_jit_trace() local
5160 exit_if_true = !exit_if_true; in zend_jit_trace()
5187 bool exit_if_true = 0; in zend_jit_trace() local
5212 bool exit_if_true = 0; in zend_jit_trace() local
5419 bool exit_if_true = 0; in zend_jit_trace() local
[all …]
/dports/lang/php81/php-8.1.1/ext/opcache/jit/
H A Dzend_jit_internal.h696 …end_jit_trace_get_exit_opline(zend_jit_trace_rec *trace, const zend_op *opline, bool *exit_if_true) in zend_jit_trace_get_exit_opline() argument
701 *exit_if_true = opline->opcode == ZEND_JMPNZ; in zend_jit_trace_get_exit_opline()
705 *exit_if_true = opline->opcode == ZEND_JMPZ; in zend_jit_trace_get_exit_opline()
713 *exit_if_true = 0; in zend_jit_trace_get_exit_opline()
H A Dzend_jit_trace.c3646 if (!exit_if_true) { in zend_jit_trace_update_condition_ranges()
3663 if (exit_if_true) { in zend_jit_trace_update_condition_ranges()
3680 if (!exit_if_true) { in zend_jit_trace_update_condition_ranges()
3711 if (!exit_if_true) { in zend_jit_trace_update_condition_ranges()
5099 bool exit_if_true = 0; in zend_jit_trace() local
5147 bool exit_if_true = 0; in zend_jit_trace() local
5160 exit_if_true = !exit_if_true; in zend_jit_trace()
5187 bool exit_if_true = 0; in zend_jit_trace() local
5212 bool exit_if_true = 0; in zend_jit_trace() local
5419 bool exit_if_true = 0; in zend_jit_trace() local
[all …]
/dports/www/php81-opcache/php-8.1.1/ext/opcache/jit/
H A Dzend_jit_internal.h696 …end_jit_trace_get_exit_opline(zend_jit_trace_rec *trace, const zend_op *opline, bool *exit_if_true) in zend_jit_trace_get_exit_opline() argument
701 *exit_if_true = opline->opcode == ZEND_JMPNZ; in zend_jit_trace_get_exit_opline()
705 *exit_if_true = opline->opcode == ZEND_JMPZ; in zend_jit_trace_get_exit_opline()
713 *exit_if_true = 0; in zend_jit_trace_get_exit_opline()

12