Home
last modified time | relevance | path

Searched refs:expected_str (Results 1 – 10 of 10) 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.cc717 char expected_str[100]; in RightOOBErrorMessage() local
718 sprintf(expected_str, ASAN_PCRE_DOTALL in RightOOBErrorMessage()
727 return string(expected_str); in RightOOBErrorMessage()
741 char expected_str[100]; in LeftOOBErrorMessage() local
742 sprintf(expected_str, in LeftOOBErrorMessage()
751 return string(expected_str); in LeftOOBErrorMessage()
764 char expected_str[100]; in LeftOOBAccessMessage() local
765 sprintf(expected_str, "located %d bytes to the left", oob_distance); in LeftOOBAccessMessage()
766 return string(expected_str); in LeftOOBAccessMessage()
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/
Dput_pointer.pass.cpp41 char expected_str[32] = {}; in main() local
45 int rc = snprintf(expected_str, sizeof(expected_str), "%p", v); in main()
47 assert(ex == expected_str); in main()
/external/pdfium/core/fpdftext/
Dfpdf_text_int_unittest.cpp54 CFX_WideString expected_str(L"mailto:"); in TEST() local
55 expected_str += valid_strs[i][1]; in TEST()
57 EXPECT_STREQ(text_str.c_str(), expected_str.c_str()); in TEST()
/external/jemalloc/test/unit/
Dutil.c199 #define TEST(expected_str, ...) do { \ in TEST_BEGIN() argument
201 assert_str_eq(buf, expected_str, "Unexpected output"); \ in TEST_BEGIN()
202 assert_zu_eq(result, strlen(expected_str), "Unexpected result");\ in TEST_BEGIN()
/external/libchrome/base/
Dcommand_line_unittest.cc225 CommandLine::StringType expected_str; in TEST() local
226 expected_str.append(FILE_PATH_LITERAL("--")) in TEST()
247 CommandLine::StringType expected_str_no_quote_placeholders(expected_str); in TEST()
252 CommandLine::StringType expected_str_quote_placeholders(expected_str); in TEST()
/external/avb/test/
Davbtool_unittest.cc100 std::string expected_str = in TEST_F() local
106 EXPECT_EQ(expected_str, std::string((const char*)h.release_string)); in TEST_F()
112 std::string expected_str = std::string("avbtool ") + in TEST_F() local
115 EXPECT_GT(expected_str.size(), (size_t)(AVB_RELEASE_STRING_SIZE - 1)); in TEST_F()
116 expected_str.resize(AVB_RELEASE_STRING_SIZE - 1); in TEST_F()
134 EXPECT_EQ(expected_str, std::string((const char*)h.release_string)); in TEST_F()
/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/pdfium/core/fpdfapi/parser/
Dcpdf_object_unittest.cpp467 const char* const expected_str[] = { in TEST() local
474 expected_str[i], // String value. in TEST()
642 const char* const expected_str[] = { in TEST() local
650 EXPECT_STREQ(expected_str[i], arr->GetStringAt(i).c_str()); in TEST()
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc145 bssl::UniquePtr<char> expected_str(BN_bn2hex(expected)); in AssertBIGNUMSEqual() local
147 if (!expected_str || !actual_str) { in AssertBIGNUMSEqual()
154 << ")\nExpected: " << expected_str.get() << " (" << expected_expr in AssertBIGNUMSEqual()