| /src/external/gpl3/gdb.old/dist/gdb/unittests/ |
| lookup_name_info-selftests.c | 26 /* Check that removing parameter info out of NAME produces EXPECTED. 34 const char *name, const char *expected, 41 if (strcmp (result, expected) != 0) 44 "\"%s\" -> \"%s\", expected \"%s\""), 46 result, expected); 54 #define CHECK_1(INCOMPLETE, LANG, NAME, EXPECTED) \ 59 (INCOMPLETE) ? "" : (EXPECTED), false); \ 61 LANG, NAME, EXPECTED, true); \ 65 /* Check that removing parameter info out of NAME produces EXPECTED. 67 #define CHECK(LANG, NAME, EXPECTED) \ [all...] |
| /src/external/gpl3/gdb/dist/gdb/unittests/ |
| lookup_name_info-selftests.c | 26 /* Check that removing parameter info out of NAME produces EXPECTED. 34 const char *name, const char *expected, 41 if (strcmp (result, expected) != 0) 44 "\"%s\" -> \"%s\", expected \"%s\""), 46 result, expected); 54 #define CHECK_1(INCOMPLETE, LANG, NAME, EXPECTED) \ 59 (INCOMPLETE) ? "" : (EXPECTED), false); \ 61 LANG, NAME, EXPECTED, true); \ 65 /* Check that removing parameter info out of NAME produces EXPECTED. 67 #define CHECK(LANG, NAME, EXPECTED) \ [all...] |
| /src/external/gpl3/gcc/dist/gcc/ |
| selftest-rtl.h | 50 #define ASSERT_RTX_EQ(EXPECTED, ACTUAL) \ 52 const char *desc_ = "ASSERT_RTX_EQ (" #EXPECTED ", " #ACTUAL ")"; \ 53 ::selftest::assert_rtx_eq_at (SELFTEST_LOCATION, desc_, (EXPECTED), \ 59 /* Evaluate rtx EXPECTED and ACTUAL and compare them with == 63 #define ASSERT_RTX_PTR_EQ(EXPECTED, ACTUAL) \ 65 const char *desc_ = "ASSERT_RTX_PTR_EQ (" #EXPECTED ", " #ACTUAL ")"; \ 66 ::selftest::assert_rtx_ptr_eq_at (SELFTEST_LOCATION, desc_, (EXPECTED), \ 70 /* Compare rtx EXPECTED and ACTUAL by pointer equality, calling 75 rtx expected, rtx actual);
|
| pretty-print.cc | 2711 prints EXPECTED, assuming that pp_show_color is SHOW_COLOR. */ 2714 assert_pp_format_va (const location &loc, const char *expected, 2725 ASSERT_STREQ_AT (loc, expected, pp_formatted_text (&pp)); 2729 prints EXPECTED, with show_color disabled. */ 2732 assert_pp_format (const location &loc, const char *expected, 2738 assert_pp_format_va (loc, expected, false, fmt, &ap); 2745 assert_pp_format_colored (const location &loc, const char *expected, 2757 assert_pp_format_va (loc, expected, true, fmt, &ap); 2766 #define ASSERT_PP_FORMAT_1(EXPECTED, FMT, ARG1) \ 2768 assert_pp_format ((SELFTEST_LOCATION), (EXPECTED), (FMT), [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/ |
| selftest-rtl.h | 50 #define ASSERT_RTX_EQ(EXPECTED, ACTUAL) \ 52 const char *desc_ = "ASSERT_RTX_EQ (" #EXPECTED ", " #ACTUAL ")"; \ 53 ::selftest::assert_rtx_eq_at (SELFTEST_LOCATION, desc_, (EXPECTED), \ 59 /* Evaluate rtx EXPECTED and ACTUAL and compare them with == 63 #define ASSERT_RTX_PTR_EQ(EXPECTED, ACTUAL) \ 65 const char *desc_ = "ASSERT_RTX_PTR_EQ (" #EXPECTED ", " #ACTUAL ")"; \ 66 ::selftest::assert_rtx_ptr_eq_at (SELFTEST_LOCATION, desc_, (EXPECTED), \ 70 /* Compare rtx EXPECTED and ACTUAL by pointer equality, calling 75 rtx expected, rtx actual);
|
| pretty-print.cc | 2258 prints EXPECTED, assuming that pp_show_color is SHOW_COLOR. */ 2261 assert_pp_format_va (const location &loc, const char *expected, 2277 ASSERT_STREQ_AT (loc, expected, pp_formatted_text (&pp)); 2281 prints EXPECTED, with show_color disabled. */ 2284 assert_pp_format (const location &loc, const char *expected, 2290 assert_pp_format_va (loc, expected, false, fmt, &ap); 2297 assert_pp_format_colored (const location &loc, const char *expected, 2309 assert_pp_format_va (loc, expected, true, fmt, &ap); 2318 #define ASSERT_PP_FORMAT_1(EXPECTED, FMT, ARG1) \ 2320 assert_pp_format ((SELFTEST_LOCATION), (EXPECTED), (FMT), [all...] |
| /src/external/ibm-public/postfix/dist/src/util/ |
| parse_utf8_char.h | 79 if (EXPECTED((c0 = *cp) <= 0x7f) /* we know that c0 >= 0x0 */ ) { 83 else if (EXPECTED(c0 <= 0xdf) /* we know that c0 >= 0x80 */ ) { 93 else if (EXPECTED(c0 <= 0xef) /* we know that c0 >= 0xe0 */ ) { 105 else if (EXPECTED(c0 <= 0xf4) /* we know that c0 >= 0xf0 */ ) {
|
| sys_defs.h | 1666 #ifndef EXPECTED 1668 #define EXPECTED(x) __builtin_expect(!!(x), 1) 1671 #define EXPECTED(x) (x) 1688 * XXX Prepending "(void)" won't shut up GCC. Clang behaves as expected.
|
| /src/external/bsd/zstd/dist/tests/ |
| legacy.c | 37 const char* const EXPECTED; /* content is at end of file */ 42 size_t const size = strlen(EXPECTED); 65 if (memcmp(EXPECTED, output, size) != 0) { 117 if (memcmp(outBuff, EXPECTED + outputPos, output.pos) != 0) { 136 if (strlen(EXPECTED) > ZSTD_decompressBound(COMPRESSED, COMPRESSED_SIZE)) { 149 DISPLAY("ERROR: ZSTD_findFrameCompressedSize: expected frameSize to align with src buffer"); 174 /* Consists of the "EXPECTED" string compressed with default settings on 241 const char* const EXPECTED =
|
| /src/external/mit/libuv/dist/test/ |
| benchmark-udp-pummel.c | 29 #define EXPECTED "RANG TANG DING DONG I AM THE JAPANESE SANDMAN" 123 ASSERT(!memcmp(buf->base, EXPECTED, nread)); 182 bufs[0] = uv_buf_init(&EXPECTED[0], 10); 183 bufs[1] = uv_buf_init(&EXPECTED[10], 10); 184 bufs[2] = uv_buf_init(&EXPECTED[20], 10); 185 bufs[3] = uv_buf_init(&EXPECTED[30], 10); 186 bufs[4] = uv_buf_init(&EXPECTED[40], 5);
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.cp/ |
| virtfunc.cc | 153 #define TEST(EXPR, EXPECTED) \ 155 if (ret != EXPECTED) {\ 156 printf("Failed %s is %d, should be %d!\n", #EXPR, ret, EXPECTED); \
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/ |
| virtfunc.cc | 153 #define TEST(EXPR, EXPECTED) \ 155 if (ret != EXPECTED) {\ 156 printf("Failed %s is %d, should be %d!\n", #EXPR, ret, EXPECTED); \
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| asn1_encode_test.c | 31 * You will find the expected results together with the test structures 130 * For easy creation of arrays of expected data. These macros correspond to 189 /* If decoding is expected to succeed, set this to 1, otherwise 0 */ 481 } EXPECTED; 487 * 0 decoded structure wasn't what was expected (failure) 488 * 1 decoded structure was what was expected (success) 491 const EXPECTED *expected, size_t expected_size, 494 EXPECTED *enctst = NULL; 501 if (expected->success == 0) 698 unsigned char *expected = NULL; local 745 EXPECTED *expected local 798 EXPECTED *expected local [all...] |
| /src/crypto/external/bsd/openssl/dist/test/ |
| asn1_encode_test.c | 31 * You will find the expected results together with the test structures 129 * For easy creation of arrays of expected data. These macros correspond to 186 /* If decoding is expected to succeed, set this to 1, otherwise 0 */ 475 } EXPECTED; 481 * 0 decoded structure wasn't what was expected (failure) 482 * 1 decoded structure was what was expected (success) 485 const EXPECTED *expected, size_t expected_size, 488 EXPECTED *enctst = NULL; 495 if (expected->success == 0) 696 unsigned char *expected = NULL; local 745 EXPECTED *expected local 798 EXPECTED *expected local [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| asn1_encode_test.c | 31 * You will find the expected results together with the test structures 129 * For easy creation of arrays of expected data. These macros correspond to 186 /* If decoding is expected to succeed, set this to 1, otherwise 0 */ 475 } EXPECTED; 481 * 0 decoded structure wasn't what was expected (failure) 482 * 1 decoded structure was what was expected (success) 485 const EXPECTED *expected, size_t expected_size, 488 EXPECTED *enctst = NULL; 495 if (expected->success == 0) 696 unsigned char *expected = NULL; local [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/rrl/ |
| tests.sh | 160 EXPECTED="$1" 167 range "$C" $EXPECTED 1 \ 168 || setret "wrong $LABEL $TYPE statistics of $C instead of $EXPECTED"
|
| /src/external/lgpl2/userspace-rcu/dist/tests/utils/ |
| tap.sh | 32 is RESULT EXPECTED [NAME] 33 isnt RESULT EXPECTED [NAME] 241 local expected=${2:?} 243 if [[ "$result" == "$expected" ]] ; then 272 local expected=${2:?} 275 diag " expected: '$expected'" 281 local expected=${2:?} 284 _equals "$result" "$expected" 288 (( r != 0 )) && _is_diag "$result" "$expected" [all...] |
| /src/external/gpl3/gcc/dist/gcc/jit/docs/examples/tut04-toyvm/ |
| toyvm.c | 789 #define CHECK_VALUE(ACTUAL, EXPECTED) \ 791 if ((ACTUAL) == (EXPECTED)) \ 793 pass ("%s: actual: %s == expected: %s", test, #ACTUAL, #EXPECTED); \ 797 fail ("%s: actual: %s != expected: %s", test, #ACTUAL, #EXPECTED); \
|
| toyvm.cc | 815 #define CHECK_VALUE(ACTUAL, EXPECTED) \ 817 if ((ACTUAL) == (EXPECTED)) \ 819 pass ("%s: actual: %s == expected: %s", test, #ACTUAL, #EXPECTED); \ 823 fail ("%s: actual: %s != expected: %s", test, #ACTUAL, #EXPECTED); \
|
| /src/external/gpl3/gcc.old/dist/gcc/jit/docs/examples/tut04-toyvm/ |
| toyvm.c | 788 #define CHECK_VALUE(ACTUAL, EXPECTED) \ 790 if ((ACTUAL) == (EXPECTED)) \ 792 pass ("%s: actual: %s == expected: %s", test, #ACTUAL, #EXPECTED); \ 796 fail ("%s: actual: %s != expected: %s", test, #ACTUAL, #EXPECTED); \
|
| toyvm.cc | 815 #define CHECK_VALUE(ACTUAL, EXPECTED) \ 817 if ((ACTUAL) == (EXPECTED)) \ 819 pass ("%s: actual: %s == expected: %s", test, #ACTUAL, #EXPECTED); \ 823 fail ("%s: actual: %s != expected: %s", test, #ACTUAL, #EXPECTED); \
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| cp-support.c | 2177 /* Check that removing parameter info out of NAME produces EXPECTED. 2184 const char *name, const char *expected, 2190 if ((expected == NULL) != (result == NULL) 2191 || (expected != NULL 2192 && strcmp (result.get (), expected) != 0)) 2195 "\"%s\" -> %s, expected %s"), 2197 quote (result.get ()).c_str (), quote (expected).c_str ()); 2206 /* Check that removing parameter info out of NAME produces EXPECTED. 2208 #define CHECK(NAME, EXPECTED) \ 2211 check_remove_params (__FILE__, __LINE__, NAME, EXPECTED, false); [all...] |
| /src/external/gpl3/gdb/dist/gdb/ |
| cp-support.c | 2191 /* Check that removing parameter info out of NAME produces EXPECTED. 2198 const char *name, const char *expected, 2204 if ((expected == NULL) != (result == NULL) 2205 || (expected != NULL 2206 && strcmp (result.get (), expected) != 0)) 2209 "\"%s\" -> %s, expected %s"), 2211 quote (result.get ()).c_str (), quote (expected).c_str ()); 2220 /* Check that removing parameter info out of NAME produces EXPECTED. 2222 #define CHECK(NAME, EXPECTED) \ 2225 check_remove_params (__FILE__, __LINE__, NAME, EXPECTED, false); [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/rpz/ |
| tests.sh | 265 EXPECTED="$4" 273 if test "$GOT" -ne "$EXPECTED"; then 274 setret "wrong $LABEL $NSDIR statistics of $GOT instead of $EXPECTED" 572 grep "$msg" ns3/named.run >/dev/null || setret "expected 'is not the canonical' message not logged" 941 # Just any query that is expected to success normally, but should return
|
| /src/external/gpl3/gcc/dist/gcc/c-family/ |
| c-pretty-print.cc | 1852 /* Print out an expression-list; E is expected to be a TREE_LIST. */ 3040 /* Verify that EXPR printed by c_pretty_printer is EXPECTED, using 3044 assert_c_pretty_printer_output (const location &loc, const char *expected, 3049 ASSERT_STREQ_AT (loc, expected, pp_formatted_text (&pp)); 3055 #define ASSERT_C_PRETTY_PRINTER_OUTPUT(EXPECTED, EXPR) \ 3058 (EXPECTED), \
|