Home
last modified time | relevance | path

Searched refs:expected_str (Results 1 – 9 of 9) sorted by relevance

/external/compiler-rt/lib/asan/tests/
Dasan_oob_test.cc34 char expected_str[100]; in OOBTest() local
39 sprintf(expected_str, str, abs(i)); in OOBTest()
40 EXPECT_DEATH(oob_test<T>(size, i), expected_str); in OOBTest()
52 sprintf(expected_str, str, off); in OOBTest()
53 EXPECT_DEATH(oob_test<T>(size, i), expected_str); in OOBTest()
93 char expected_str[100]; in TEST() local
94 sprintf(expected_str, str, outside_bytes); in TEST()
96 expected_str); in TEST()
Dasan_test.cc716 char expected_str[100]; in RightOOBErrorMessage() local
717 sprintf(expected_str, ASAN_PCRE_DOTALL in RightOOBErrorMessage()
726 return string(expected_str); in RightOOBErrorMessage()
740 char expected_str[100]; in LeftOOBErrorMessage() local
741 sprintf(expected_str, in LeftOOBErrorMessage()
750 return string(expected_str); in LeftOOBErrorMessage()
763 char expected_str[100]; in LeftOOBAccessMessage() local
764 sprintf(expected_str, "located %d bytes to the left", oob_distance); in LeftOOBAccessMessage()
765 return string(expected_str); in LeftOOBAccessMessage()
/external/pdfium/core/src/fpdftext/
Dfpdf_text_int_unittest.cpp51 CFX_WideString expected_str(L"mailto:"); in TEST() local
52 expected_str += valid_strs[i][1]; in TEST()
54 EXPECT_STREQ(text_str.c_str(), expected_str.c_str()); in TEST()
/external/dbus-binding-generator/chromeos-dbus-bindings/
Dtest_utils.cc67 const string& expected_str, in ExpectTextContained() argument
71 if (string::npos != actual_str.find(expected_str)) in ExpectTextContained()
77 << GetUnifiedDiff(expected_str, actual_str); in ExpectTextContained()
Dtest_utils.h25 const std::string& expected_str,
/external/jemalloc/test/unit/
Dutil.c197 #define TEST(expected_str, ...) do { \ in TEST_BEGIN() argument
199 assert_str_eq(buf, expected_str, "Unexpected output"); \ in TEST_BEGIN()
200 assert_d_eq(result, strlen(expected_str), "Unexpected result"); \ in TEST_BEGIN()
/external/libchrome/base/
Dcommand_line_unittest.cc224 CommandLine::StringType expected_str; in TEST() local
225 expected_str.append(FILE_PATH_LITERAL("--")) in TEST()
246 CommandLine::StringType expected_str_no_quote_placeholders(expected_str); in TEST()
251 CommandLine::StringType expected_str_quote_placeholders(expected_str); in TEST()
/external/android-clat/
Dclatd_test.cpp571 char expected_str[INET6_ADDRSTRLEN], actual_str[INET6_ADDRSTRLEN]; in expect_ipv6_addr_equal() local
572 inet_ntop(AF_INET6, expected, expected_str, sizeof(expected_str)); in expect_ipv6_addr_equal()
576 << "\n Expected: " << expected_str in expect_ipv6_addr_equal()
/external/dbus/dbus/
Ddbus-sha.c524 DBusString expected_str; in check_sha_binary() local
528 _dbus_string_init_const (&expected_str, expected); in check_sha_binary()
536 if (!_dbus_string_equal (&expected_str, &results)) in check_sha_binary()