/third_party/unity/src/ |
H A D | unity.h | 101 #define TEST_FAIL_MESSAGE(message) UNITY_TEST_FAIL(__LINE__, (message)) 102 #define TEST_FAIL() UNITY_TEST_FAIL(__LINE__, NULL) 103 #define TEST_IGNORE_MESSAGE(message) UNITY_TEST_IGNORE(__LINE__, (message)) 104 #define TEST_IGNORE() UNITY_TEST_IGNORE(__LINE__, NULL) 105 #define TEST_MESSAGE(message) UnityMessage((message), __LINE__) 108 #define TEST_PRINTF(message, ...) UnityPrintF(__LINE__, (message), ##__VA_ARGS__) 114 #define TEST_PASS_MESSAGE(message) do { UnityMessage((message), __LINE__); TEST_ABORT(); } while (0) 135 #define TEST_ASSERT(condition) UNITY_TEST_ASSERT( (condition), __LINE__, " Expression Evaluated To FALSE") 136 #define TEST_ASSERT_TRUE(condition) UNITY_TEST_ASSERT( (condition), __LINE__, " Expected TRUE Was FALSE") 137 #define TEST_ASSERT_UNLESS(condition) UNITY_TEST_ASSERT( !(condition), __LINE__, " Expressio [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | chi_square_test.cc | 42 {__LINE__, 0, 0, 0.01}, in TEST() 43 {__LINE__, 0.00016, 1, 0.01}, in TEST() 44 {__LINE__, 1.64650, 8, 0.01}, in TEST() 45 {__LINE__, 5.81221, 16, 0.01}, in TEST() 46 {__LINE__, 156.4319, 200, 0.01}, in TEST() 47 {__LINE__, 1121.3784, 1234, 0.01}, in TEST() 48 {__LINE__, 53557.1629, 54321, 0.01}, in TEST() 49 {__LINE__, 651662.6647, 654321, 0.01}, in TEST() 52 {__LINE__, 0, 0, 0.99}, in TEST() 53 {__LINE__, 6.63 in TEST() [all...] |
/third_party/cJSON/tests/unity/src/ |
H A D | unity.h | 101 #define TEST_FAIL_MESSAGE(message) UNITY_TEST_FAIL(__LINE__, (message)) 102 #define TEST_FAIL() UNITY_TEST_FAIL(__LINE__, NULL) 103 #define TEST_IGNORE_MESSAGE(message) UNITY_TEST_IGNORE(__LINE__, (message)) 104 #define TEST_IGNORE() UNITY_TEST_IGNORE(__LINE__, NULL) 120 #define TEST_ASSERT(condition) UNITY_TEST_ASSERT( (condition), __LINE__, " Expression Evaluated To FALSE") 121 #define TEST_ASSERT_TRUE(condition) UNITY_TEST_ASSERT( (condition), __LINE__, " Expected TRUE Was FALSE") 122 #define TEST_ASSERT_UNLESS(condition) UNITY_TEST_ASSERT( !(condition), __LINE__, " Expression Evaluated To TRUE") 123 #define TEST_ASSERT_FALSE(condition) UNITY_TEST_ASSERT( !(condition), __LINE__, " Expected FALSE Was TRUE") 124 #define TEST_ASSERT_NULL(pointer) UNITY_TEST_ASSERT_NULL( (pointer), __LINE__, " Expected NULL") 125 #define TEST_ASSERT_NOT_NULL(pointer) UNITY_TEST_ASSERT_NOT_NULL((pointer), __LINE__, " Expecte [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | bind_test.cc | 52 {__LINE__, "d", 2, &args[0], no, no, 2}, in TEST_F() 53 {__LINE__, "4d", 2, &args[0], 4, no, 2}, in TEST_F() 54 {__LINE__, ".5d", 2, &args[0], no, 5, 2}, in TEST_F() 55 {__LINE__, "4.5d", 2, &args[0], 4, 5, 2}, in TEST_F() 56 {__LINE__, "*d", 2, &args[1], 10, no, 3}, in TEST_F() 57 {__LINE__, ".*d", 2, &args[1], no, 10, 3}, in TEST_F() 58 {__LINE__, "*.*d", 2, &args[2], 10, 20, 4}, in TEST_F() 59 {__LINE__, "1$d", 2, &args[0], no, no, 0}, in TEST_F() 60 {__LINE__, "2$d", 2, &args[1], no, no, 0}, in TEST_F() 61 {__LINE__, " in TEST_F() [all...] |
/third_party/libsnd/src/ |
H A D | test_file_io.c | 71 { printf ("\n\nLine %d: unlink failed (%d) : %s\n\n", __LINE__, errno, strerror (errno)) ; in file_open_test() 81 { printf ("\n\nLine %d: psf_fopen() should have failed.\n\n", __LINE__) ; in file_open_test() 90 test_open_or_die (psf, __LINE__) ; in file_open_test() 92 test_close_or_die (psf, __LINE__) ; in file_open_test() 98 test_open_or_die (psf, __LINE__) ; in file_open_test() 100 test_close_or_die (psf, __LINE__) ; in file_open_test() 104 test_open_or_die (psf, __LINE__) ; in file_open_test() 106 test_close_or_die (psf, __LINE__) ; in file_open_test() 133 test_open_or_die (psf, __LINE__) ; in file_read_write_test() 136 test_write_or_die (psf, data_out, sizeof (data_out [0]), ARRAY_LEN (data_out), sizeof (data_out), __LINE__) ; in file_read_write_test() [all...] |
/third_party/ltp/include/ |
H A D | tst_safe_macros.h | 30 safe_access(__FILE__, __LINE__, (path), (mode)) 33 safe_basename(__FILE__, __LINE__, NULL, (path)) 36 safe_chdir(__FILE__, __LINE__, NULL, (path)) 39 safe_close(__FILE__, __LINE__, NULL, (fd)); \ 44 safe_creat(__FILE__, __LINE__, NULL, (pathname), (mode)) 47 safe_chroot(__FILE__, __LINE__, (path)) 51 safe_dirname(__FILE__, __LINE__, NULL, (path)) 56 safe_dup(__FILE__, __LINE__, (oldfd)) 61 safe_dup2(__FILE__, __LINE__, (oldfd), (newfd)) 64 safe_getcwd(__FILE__, __LINE__, NUL [all...] |
H A D | tst_safe_net.h | 18 safe_socket(__FILE__, __LINE__, NULL, domain, type, protocol) 21 safe_socketpair(__FILE__, __LINE__, domain, type, protocol, sv) 24 safe_getsockopt(__FILE__, __LINE__, fd, level, optname, optval, optlen) 27 safe_setsockopt(__FILE__, __LINE__, fd, level, optname, optval, optlen) 32 safe_setsockopt(__FILE__, __LINE__, fd, l, n, &v, sizeof(v)); \ 36 safe_send(__FILE__, __LINE__, strict, sockfd, buf, len, flags) 39 safe_sendto(__FILE__, __LINE__, strict, fd, buf, len, flags, \ 43 safe_sendmsg(__FILE__, __LINE__, msg_len, fd, msg, flags) 46 safe_recv(__FILE__, __LINE__, (msg_len), (fd), (buf), (size), (flags)) 49 safe_recvmsg(__FILE__, __LINE__, msg_le [all...] |
/third_party/libsnd/tests/ |
H A D | ogg_opus_test.c | 75 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_short_test() 76 test_write_short_or_die (file, 0, data_out.s, ARRAY_LEN (data_out.s), __LINE__) ; in ogg_opus_short_test() 82 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_short_test() 83 test_read_short_or_die (file, 0, data_in.s, ARRAY_LEN (data_in.s), __LINE__) ; in ogg_opus_short_test() 91 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_short_test() 93 test_seek_or_die (file, 10, SEEK_SET, 10, sfinfo.channels, __LINE__) ; in ogg_opus_short_test() 94 test_read_short_or_die (file, 0, seek_data, ARRAY_LEN (seek_data), __LINE__) ; in ogg_opus_short_test() 95 compare_short_or_die (seek_data, data_in.s + 10, ARRAY_LEN (seek_data), __LINE__) ; in ogg_opus_short_test() 98 test_seek_or_die (file, 0, SEEK_END, sfinfo.frames, sfinfo.channels, __LINE__) ; in ogg_opus_short_test() 133 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_int_test() [all...] |
H A D | command_test.c | 107 { printf ("Line %d: could not retrieve lib version.\n", __LINE__) ; in main() 247 { printf ("Line %d: sf_open_write failed with error : ", __LINE__) ; in float_norm_test() 256 { printf ("Line %d: sf_write_float failed with short write (%d ->%d)\n", __LINE__, BUFFER_LEN, k) ; in float_norm_test() 264 { printf ("Line %d: sf_write_float failed with short write (%d ->%d)\n", __LINE__, BUFFER_LEN, k) ; in float_norm_test() 272 { printf ("Line %d: sf_open_read failed with error : ", __LINE__) ; in float_norm_test() 279 { printf ("Line %d: Returned format incorrect (0x%08X => 0x%08X).\n", __LINE__, (SF_FORMAT_RAW | SF_FORMAT_PCM_16), sfinfo.format) ; in float_norm_test() 284 { printf ("\n\nLine %d: Incorrect number of.frames in file. (%d => %" PRId64 ")\n", __LINE__, BUFFER_LEN, sfinfo.frames) ; in float_norm_test() 289 { printf ("Line %d: Incorrect number of channels in file.\n", __LINE__) ; in float_norm_test() 295 { printf ("\n\nLine %d: sf_read_float failed with short read (%d ->%d)\n", __LINE__, BUFFER_LEN, k) ; in float_norm_test() 301 { printf ("\n\nLine %d: float_data [%d] == %f which is greater than 1.0\n", __LINE__, in float_norm_test() 904 "\\nLine %d: SFC_GET_CUE_COUNT command failed.\\n\\n", __LINE__ cue_rw_test() local 1455 "\\n\\nLine %d : coding history incomplete (should contain 'libsndfile').\\n\\n", __LINE__) ; broadcast_coding_history_size() local 1705 "\\n\\nLine %d : sf_command (SFC_GET_CHANNEL_MAP_INFO) should not have failed.\\n\\n", __LINE__ channel_map_test() local 1719 "\\n\\nLine %d : sf_command (SFC_SET_CHANNEL_MAP_INFO) failed.\\n\\n", __LINE__ channel_map_test() local 1728 "\\n\\nLine %d : sf_command (SFC_GET_CHANNEL_MAP_INFO) failed.\\n\\n", __LINE__ channel_map_test() local 1735 "\\n\\nLine %d : Channel map read does not match channel map written.\\n\\n", __LINE__ channel_map_test() local [all...] |
H A D | long_read_write_test.c | 98 exit_if_true (BUFFER_LENGTH > out_len, "\n\nLine %d: Bad array length.\n", __LINE__) ; in short_lrw_test() 105 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_TRUE, __LINE__) ; in short_lrw_test() 107 test_write_short_or_die (file, 0, output, out_len, __LINE__) ; in short_lrw_test() 113 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in short_lrw_test() 115 exit_if_true (sfinfo.format != filetype, "\n\nLine %d: Returned format incorrect (0x%08X => 0x%08X).\n", __LINE__, filetype, sfinfo.format) ; in short_lrw_test() 116 exit_if_true (sfinfo.frames < out_len, "\n\nLine %d: Incorrect number of frames in file (too short). (%" PRId64 " should be %d)\n", __LINE__, sfinfo.frames, DFT_DATA_LENGTH) ; in short_lrw_test() 117 exit_if_true (sfinfo.channels != 1, "\n\nLine %d: Incorrect number of channels in file.\n", __LINE__) ; in short_lrw_test() 119 check_log_buffer_or_die (file, __LINE__) ; in short_lrw_test() 121 test_read_short_or_die (file, 0, input, out_len, __LINE__) ; in short_lrw_test() 127 "\n\nLine: %d: Error on input %d, expected %d, got %d\n", __LINE__, in short_lrw_test() [all...] |
H A D | mpeg_test.c | 76 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in mpeg_short_test() 77 test_write_short_or_die (file, 0, data_out.s, ARRAY_LEN (data_out.s), __LINE__) ; in mpeg_short_test() 83 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in mpeg_short_test() 84 test_read_short_or_die (file, 0, data_in.s, ARRAY_LEN (data_in.s), __LINE__) ; in mpeg_short_test() 92 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in mpeg_short_test() 94 test_seek_or_die (file, 10, SEEK_SET, 10, sfinfo.channels, __LINE__) ; in mpeg_short_test() 95 test_read_short_or_die (file, 0, seek_data, ARRAY_LEN (seek_data), __LINE__) ; in mpeg_short_test() 96 compare_short_or_die (seek_data, data_in.s + 10, ARRAY_LEN (seek_data), __LINE__) ; in mpeg_short_test() 99 test_seek_or_die (file, 0, SEEK_END, sfinfo.frames, sfinfo.channels, __LINE__) ; in mpeg_short_test() 134 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in mpeg_int_test() [all...] |
H A D | ogg_test.c | 75 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in ogg_short_test() 76 test_write_short_or_die (file, 0, data_out.s, ARRAY_LEN (data_out.s), __LINE__) ; in ogg_short_test() 82 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_short_test() 83 test_read_short_or_die (file, 0, data_in.s, ARRAY_LEN (data_in.s), __LINE__) ; in ogg_short_test() 91 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_short_test() 93 test_seek_or_die (file, 10, SEEK_SET, 10, sfinfo.channels, __LINE__) ; in ogg_short_test() 94 test_read_short_or_die (file, 0, seek_data, ARRAY_LEN (seek_data), __LINE__) ; in ogg_short_test() 95 compare_short_or_die (seek_data, data_in.s + 10, ARRAY_LEN (seek_data), __LINE__) ; in ogg_short_test() 98 test_seek_or_die (file, 0, SEEK_END, sfinfo.frames, sfinfo.channels, __LINE__) ; in ogg_short_test() 133 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in ogg_int_test() [all...] |
H A D | lossy_comp_test.c | 673 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in lcomp_test_short() 674 test_writef_short_or_die (file, 0, orig, datalen, __LINE__) ; in lcomp_test_short() 683 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in lcomp_test_short() 686 { printf ("\n\nLine %d: Returned format incorrect (0x%08X => 0x%08X).\n", __LINE__, filetype, sfinfo.format) ; in lcomp_test_short() 705 check_log_buffer_or_die (file, __LINE__) ; in lcomp_test_short() 707 check_comment (file, filetype, __LINE__) ; in lcomp_test_short() 709 test_readf_short_or_die (file, 0, data, datalen, __LINE__) ; in lcomp_test_short() 714 { printf ("\n\nLine %d: Incorrect sample A (#%d : %d should be %d).\n", __LINE__, k, data [k], orig [k]) ; in lcomp_test_short() 722 { printf ("\n\nLine %d: Signal is all zeros.\n", __LINE__) ; in lcomp_test_short() 727 { printf ("\n\nLine %d: Incorrect read length (%" PRId64 " should be %d).\n", __LINE__, in lcomp_test_short() [all...] |
H A D | string_test.c | 231 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_TRUE, __LINE__) ; in string_start_end_test() 241 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ; in string_start_end_test() 242 test_seek_or_die (file, 0, SEEK_SET, 0, sfinfo.channels, __LINE__) ; in string_start_end_test() 253 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in string_start_end_test() 255 check_log_buffer_or_die (file, __LINE__) ; in string_start_end_test() 396 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_TRUE, __LINE__) ; in string_start_test() 415 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ; in string_start_test() 419 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in string_start_test() 421 check_log_buffer_or_die (file, __LINE__) ; in string_start_test() 565 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_TRUE, __LINE__) ; in string_multi_set_test() 640 exit_if_true (strcmp (str, title) != 0, "\\n\\nLine %d : SF_STR_TITLE doesn't match what was written.\\n", __LINE__) ; string_rdwr_test() local 658 exit_if_true (strcmp (str, artist) != 0, "\\n\\nLine %d : SF_STR_ARTIST doesn't match what was written.\\n", __LINE__) ; string_rdwr_test() local 662 exit_if_true (strcmp (str, title) != 0, "\\n\\nLine %d : SF_STR_TITLE doesn't match what was written.\\n", __LINE__) ; string_rdwr_test() local 702 exit_if_true (strcmp (str, long_title) != 0, "\\n\\nLine %d : SF_STR_TITLE doesn't match what was written.\\n", __LINE__) ; string_short_rdwr_test() local 705 exit_if_true (strcmp (str, long_artist) != 0, "\\n\\nLine %d : SF_STR_ARTIST doesn't match what was written.\\n", __LINE__) ; string_short_rdwr_test() local 719 exit_if_true (strcmp (str, title) != 0, "\\n\\nLine %d : SF_STR_TITLE doesn't match what was written.\\n", __LINE__) ; string_short_rdwr_test() local 723 exit_if_true (strcmp (str, artist) != 0, "\\n\\nLine %d : SF_STR_ARTIST doesn't match what was written.\\n", __LINE__) ; string_short_rdwr_test() local 764 "\\n\\nLine %d : sf_set_string (f, SF_STR_SOFTWARE, '%s') failed : %s\\n", __LINE__, sfname, sf_strerror (file)) ; software_string_test() local 774 "\\n\\nLine %d : Can't fine string '%s' in '%s'\\n\\n", __LINE__, sfname, result) ; software_string_test() local 829 exit_if_true (strcmp (str, title) != 0, "\\n\\nLine %d : SF_STR_TITLE doesn't match what was written.\\n", __LINE__) ; string_rdwr_grow_test() local 833 exit_if_true (strcmp (str, comment) != 0, "\\n\\nLine %d : SF_STR_COMMENT doesn't match what was written.\\n", __LINE__) ; string_rdwr_grow_test() local 901 exit_if_true (strcmp (str, long_title) != 0, "\\n\\nLine %d : SF_STR_TITLE doesn't match what was written.\\n", __LINE__) ; string_header_update() local [all...] |
H A D | peak_chunk_test.c | 141 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, 0, __LINE__) ; in test_float_peak() 156 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, 0, __LINE__) ; in test_float_peak() 159 { printf ("\n\nLine %d: Returned format incorrect (0x%08X => 0x%08X).\n", __LINE__, filetype, sfinfo.format) ; in test_float_peak() 164 { printf ("\n\nLine %d: Incorrect number of frames in file. (%d => %ld)\n", __LINE__, frames, (long) sfinfo.frames) ; in test_float_peak() 169 { printf ("\n\nLine %d: Incorrect number of channels in file.\n", __LINE__) ; in test_float_peak() 175 { printf ("\n\nLine %d: Command should have returned SF_TRUE.\n", __LINE__) ; in test_float_peak() 180 { printf ("\n\nLine %d: Bad peak value (%f should be %f) for command SFC_GET_SIGNAL_MAX.\n", __LINE__, data [0], (frames / 2) * 0.01) ; in test_float_peak() 185 { printf ("\n\nLine %d: Command should have returned SF_TRUE.\n", __LINE__) ; in test_float_peak() 190 { printf ("\n\nLine %d: Bad peak value (%f should be %f) for command SFC_GET_MAX_ALL_CHANNELS.\n", __LINE__, data [0], (frames / 2) * 0.01) ; in test_float_peak() 199 { printf ("\n\nLine %d: Empty log buffer,\n", __LINE__) ; in test_float_peak() [all...] |
H A D | external_libs_test.c | 73 { 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() 103 { exit_if_true (have_vorbis == 0, "\n\nLine %d : Ogg/Vorbis should be available.\n\n", __LINE__) ; in subtype_format_test() 104 exit_if_true (have_opus == 0, "\n\nLine %d : Ogg/Opus should be available.\n\n", __LINE__) ; in subtype_format_test() 107 { exit_if_true (have_vorbis, "\n\nLine %d : Ogg/Vorbis should not 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() 158 exit_if_true (have_ogg == 0, "\n\nLine %d : Ogg/Vorbis should be available.\n\n", __LINE__) ; in simple_format_test() [all...] |
H A D | raw_test.c | 75 sndfile = test_open_file_or_die (filename, SFM_RDWR, &sfinfo, SF_TRUE, __LINE__) ; in raw_offset_test() 82 test_write_short_or_die (sndfile, 0, data, BUFFER_LEN, __LINE__) ; in raw_offset_test() 86 sndfile = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in raw_offset_test() 87 check_log_buffer_or_die (sndfile, __LINE__) ; in raw_offset_test() 90 { printf ("\n\nLine %d : Incorrect sample count (%" PRId64 " should be %d)\n", __LINE__, sfinfo.frames, BUFFER_LEN) ; in raw_offset_test() 96 test_read_short_or_die (sndfile, 0, data, BUFFER_LEN, __LINE__) ; in raw_offset_test() 99 printf ("Error : line %d\n", __LINE__) ; in raw_offset_test() 106 test_seek_or_die (sndfile, 0, SEEK_SET, 0, sfinfo.channels, __LINE__) ; in raw_offset_test() 109 test_read_short_or_die (sndfile, 0, data, BUFFER_LEN - 1, __LINE__) ; in raw_offset_test() 112 { printf ("Error : line %d\n", __LINE__) ; in raw_offset_test() [all...] |
/third_party/openssl/test/ |
H A D | testutil.h | 122 # define TEST_CASE_NAME __FILE__ ":" testutil_stringify(__LINE__) 429 # define TEST_int_eq(a, b) test_int_eq(__FILE__, __LINE__, #a, #b, a, b) 430 # define TEST_int_ne(a, b) test_int_ne(__FILE__, __LINE__, #a, #b, a, b) 431 # define TEST_int_lt(a, b) test_int_lt(__FILE__, __LINE__, #a, #b, a, b) 432 # define TEST_int_le(a, b) test_int_le(__FILE__, __LINE__, #a, #b, a, b) 433 # define TEST_int_gt(a, b) test_int_gt(__FILE__, __LINE__, #a, #b, a, b) 434 # define TEST_int_ge(a, b) test_int_ge(__FILE__, __LINE__, #a, #b, a, b) 436 # define TEST_uint_eq(a, b) test_uint_eq(__FILE__, __LINE__, #a, #b, a, b) 437 # define TEST_uint_ne(a, b) test_uint_ne(__FILE__, __LINE__, #a, #b, a, b) 438 # define TEST_uint_lt(a, b) test_uint_lt(__FILE__, __LINE__, # [all...] |
/third_party/ltp/include/old/ |
H A D | safe_macros.h | 24 safe_basename(__FILE__, __LINE__, (cleanup_fn), (path)) 27 safe_chdir(__FILE__, __LINE__, (cleanup_fn), (path)) 30 int ret = safe_close(__FILE__, __LINE__, (cleanup_fn), (fd)); \ 36 safe_creat(__FILE__, __LINE__, cleanup_fn, (pathname), (mode)) 39 safe_dirname(__FILE__, __LINE__, (cleanup_fn), (path)) 42 safe_getcwd(__FILE__, __LINE__, (cleanup_fn), (buf), (size)) 45 safe_getpwnam(__FILE__, __LINE__, cleanup_fn, (name)) 48 safe_getrusage(__FILE__, __LINE__, (cleanup_fn), (who), (usage)) 51 safe_malloc(__FILE__, __LINE__, (cleanup_fn), (size)) 54 safe_mkdir(__FILE__, __LINE__, (cleanup_f [all...] |
/third_party/python/Include/ |
H A D | dynamic_annotations.h | 107 AnnotateCondVarWait(__FILE__, __LINE__, cv, lock) 112 AnnotateCondVarWait(__FILE__, __LINE__, cv, NULL) 117 AnnotateCondVarSignal(__FILE__, __LINE__, cv) 121 AnnotateCondVarSignalAll(__FILE__, __LINE__, cv) 135 AnnotatePublishMemoryRange(__FILE__, __LINE__, pointer, size) 145 AnnotateMutexIsUsedAsCondVar(__FILE__, __LINE__, mu) 156 AnnotateNewMemory(__FILE__, __LINE__, address, size) 168 AnnotatePCQCreate(__FILE__, __LINE__, pcq) 172 AnnotatePCQDestroy(__FILE__, __LINE__, pcq) 177 AnnotatePCQPut(__FILE__, __LINE__, pc [all...] |
/third_party/musl/libc-test/src/functionalext/ldso_cfi/ |
H A D | ldso_cfi_check.c | 63 printf("["__FILE__"][Line: %d][%s]: entry\n", __LINE__, __func__); in cfi_init_test_0001() 74 printf("["__FILE__"][Line: %d][%s]: entry\n", __LINE__, __func__); in cfi_init_test_0002() 85 printf("["__FILE__"][Line: %d][%s]: entry\n", __LINE__, __func__); in cfi_init_test_0003() 97 printf("["__FILE__"][Line: %d][%s]: entry\n", __LINE__, __func__); in cfi_slowpath_function_test_0002() 117 printf("["__FILE__"][Line: %d][%s]: end\n", __LINE__, __func__); in cfi_slowpath_function_test_0002() 129 printf("["__FILE__"][Line: %d][%s]: entry\n", __LINE__, __func__); in cfi_slowpath_function_test_0003() 150 printf("["__FILE__"][Line: %d][%s]: end\n", __LINE__, __func__); in cfi_slowpath_function_test_0003() 160 printf("["__FILE__"][Line: %d][%s]: entry\n", __LINE__, __func__); in cfi_slowpath_function_test_0004() 172 printf("["__FILE__"][Line: %d][%s]: end\n", __LINE__, __func__); in cfi_slowpath_function_test_0004() 183 printf("["__FILE__"][Line: %d][%s]: entry\n", __LINE__, __func_ in cfi_slowpath_function_test_0005() [all...] |
/third_party/ltp/lib/ |
H A D | tlibio.c | 427 __FILE__, __LINE__, sig, Received_signal + 1); in lio_async_signal_handler() 445 __FILE__, __LINE__, (long)sigval.sival_int, in lio_async_callback_handler() 572 __FILE__, __LINE__, method); in lio_write_buffer() 576 __FILE__, __LINE__, method); in lio_write_buffer() 633 __FILE__, __LINE__, in lio_write_buffer() 638 __FILE__, __LINE__); in lio_write_buffer() 645 __FILE__, __LINE__, fd, errno, strerror(errno)); in lio_write_buffer() 731 printf("DEBUG %s/%d: %s\n", __FILE__, __LINE__, in lio_write_buffer() 739 __FILE__, __LINE__, fd, size, errno, in lio_write_buffer() 748 __FILE__, __LINE__, in lio_write_buffer() [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | tracetst.c | 55 log_err("FAILED Assertion \"" #expr "\" at %s:%d.\n", __FILE__, __LINE__); \ 70 * line __LINE__, so we can report where failure happened. 308 test_format("hello, world", 50, 0, "hello, world", __LINE__); in TestTraceAPI() 309 test_format("hello, world", 50, 4, " hello, world", __LINE__); in TestTraceAPI() 310 test_format("hello, world", 3, 0, "hello, world", __LINE__); in TestTraceAPI() 312 test_format("a character %c", 50, 0, "a character x", __LINE__, 'x'); in TestTraceAPI() 313 test_format("a string %s ", 50, 0, "a string hello ", __LINE__, "hello"); in TestTraceAPI() 314 test_format("uchars %S ", 50, 0, "uchars 41fe 0042 0043 0000 ", __LINE__, s1, -1); in TestTraceAPI() 315 test_format("uchars %S ", 50, 0, "uchars 41fe 0042 ", __LINE__, s1, 2); in TestTraceAPI() 317 test_format("a byte %b--", 50, 0, "a byte dd--", __LINE__, in TestTraceAPI() [all...] |
/third_party/json/tests/thirdparty/Fuzzer/test/ |
H A D | SwitchTest.cpp | 19 case 1: Sink = __LINE__; break; in Switch() 20 case 101: Sink = __LINE__; break; in Switch() 21 case 1001: Sink = __LINE__; break; in Switch() 22 case 10001: Sink = __LINE__; break; in Switch() 23 // case 100001: Sink = __LINE__; break; in Switch() 24 // case 1000001: Sink = __LINE__; break; in Switch() 25 case 10000001: Sink = __LINE__; break; in Switch() 36 case 42: Sink = __LINE__; break; in ShortSwitch() 37 case 402: Sink = __LINE__; break; in ShortSwitch() 38 case 4002: Sink = __LINE__; brea in ShortSwitch() [all...] |
/third_party/curl/lib/ |
H A D | memdebug.h | 116 #define strdup(ptr) curl_dbg_strdup(ptr, __LINE__, __FILE__) 117 #define malloc(size) curl_dbg_malloc(size, __LINE__, __FILE__) 118 #define calloc(nbelem,size) curl_dbg_calloc(nbelem, size, __LINE__, __FILE__) 119 #define realloc(ptr,size) curl_dbg_realloc(ptr, size, __LINE__, __FILE__) 120 #define free(ptr) curl_dbg_free(ptr, __LINE__, __FILE__) 121 #define send(a,b,c,d) curl_dbg_send(a,b,c,d, __LINE__, __FILE__) 122 #define recv(a,b,c,d) curl_dbg_recv(a,b,c,d, __LINE__, __FILE__) 127 # define wcsdup(ptr) curl_dbg_wcsdup(ptr, __LINE__, __FILE__) 129 # define _wcsdup(ptr) curl_dbg_wcsdup(ptr, __LINE__, __FILE__) 131 # define _tcsdup(ptr) curl_dbg_wcsdup(ptr, __LINE__, __FILE_ [all...] |