Home
last modified time | relevance | path

Searched refs:expected_str (Results 1 – 25 of 25) 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/deqp-deps/SPIRV-Tools/test/opt/
Dutils_test.cpp52 const char* expected_str; member
68 EXPECT_STREQ(GetParam().expected_str, process.c_str()) in TEST_P()
72 << " expected string: " << GetParam().expected_str; in TEST_P()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dutils_test.cpp52 const char* expected_str; member
68 EXPECT_STREQ(GetParam().expected_str, process.c_str()) in TEST_P()
72 << " expected string: " << GetParam().expected_str; in TEST_P()
/external/pdfium/core/fpdftext/
Dcpdf_linkextract_unittest.cpp57 WideString expected_str(L"mailto:"); in TEST() local
58 expected_str += valid_strs[i][1]; in TEST()
60 EXPECT_STREQ(expected_str.c_str(), text_str.c_str()); in TEST()
/external/epid-sdk/epid/common/math/unittests/
Dbignum-test.cc110 unsigned char* expected_str = (unsigned char*)expected; in CompareBigNumStr() local
113 if (expected_str[i] != actual_str[i]) { in CompareBigNumStr()
116 << expected_str[i] << " Found " << std::hex << actual_str[i]; in CompareBigNumStr()
126 std::vector<unsigned char> expected_str; in CompareBigNum() local
132 expected_str.resize(size, 0); in CompareBigNum()
135 THROW_ON_EPIDERR(WriteBigNum(expected_bn, size, &expected_str[0])); in CompareBigNum()
139 if (expected_str[i] != actual_str[i]) { in CompareBigNum()
/external/tensorflow/tensorflow/core/kernels/
Dsummary_tensor_op_test.cc40 const string& expected_str) { in EXPECT_SummaryMatches() argument
42 CHECK(protobuf::TextFormat::ParseFromString(expected_str, &expected)); in EXPECT_SummaryMatches()
Dsummary_audio_op_test.cc40 const string& expected_str) { in EXPECT_SummaryMatches() argument
42 CHECK(protobuf::TextFormat::ParseFromString(expected_str, &expected)); in EXPECT_SummaryMatches()
Dsummary_image_op_test.cc40 const string& expected_str) { in EXPECT_SummaryMatches() argument
42 CHECK(protobuf::TextFormat::ParseFromString(expected_str, &expected)); in EXPECT_SummaryMatches()
Dsummary_op_test.cc42 const string& expected_str) { in EXPECT_SummaryMatches() argument
44 CHECK(protobuf::TextFormat::ParseFromString(expected_str, &expected)); in EXPECT_SummaryMatches()
/external/jemalloc_new/test/unit/
Dmalloc_io.c143 #define TEST(expected_str, ...) do { \ in TEST_BEGIN() argument
145 assert_str_eq(buf, expected_str, "Unexpected output"); \ in TEST_BEGIN()
146 assert_zu_eq(result, strlen(expected_str), "Unexpected result");\ in TEST_BEGIN()
/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/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dparse_example_dataset_test.py624 expected_str = copy.deepcopy(truth_str)
631 expected_str[i][col] = b"default"
636 expected_str[i][col] = b"default"
643 "b": np.array(expected_str, dtype="|S").reshape(batch_size, 2),
/external/tensorflow/tensorflow/contrib/training/python/training/
Dhparam_test.py45 expected_str = ('[(\'aaa\', 1), (\'b\', 2.0), (\'c_c\', \'relu6\'), '
47 self.assertEqual(expected_str, str(hparams.__str__()))
48 self.assertEqual(expected_str, str(hparams))
/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.cpp604 char expected_str[INET6_ADDRSTRLEN], actual_str[INET6_ADDRSTRLEN]; in expect_ipv6_addr_equal() local
605 inet_ntop(AF_INET6, expected, expected_str, sizeof(expected_str)); in expect_ipv6_addr_equal()
609 << "\n Expected: " << expected_str in expect_ipv6_addr_equal()
/external/tensorflow/tensorflow/python/autograph/pyct/common_transformers/
Danf_test.py91 expected_str = textwrap.dedent(expected_source).strip()
94 self.assertEqual(expected_str, got_str, msg=msg)
/external/pdfium/core/fpdfapi/parser/
Dcpdf_object_unittest.cpp471 const char* const expected_str[] = { in TEST() local
478 expected_str[i], // String value. in TEST()
646 const char* const expected_str[] = { in TEST() local
654 EXPECT_STREQ(expected_str[i], arr->GetStringAt(i).c_str()); in TEST()
/external/tensorflow/tensorflow/python/training/
Dserver_lib_test.py437 expected_str = (
440 self.assertEqual(expected_str, str(cluster_spec))
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_tensor_test.py1081 expected_str = '<tf.RaggedTensor {}>'.format([[b'a', b'b'],
1089 self.assertEqual(str(rt), expected_str)
1105 expected_str = '<tf.RaggedTensorValue {}>'.format([[b'a', b'b'],
1110 self.assertEqual(' '.join(str(rt).split()), expected_str)
/external/tensorflow/tensorflow/python/kernel_tests/
Dparsing_ops_test.py693 expected_str = copy.deepcopy(truth_str)
700 expected_str[i][col] = b"default"
705 expected_str[i][col] = b"default"
712 "b": np.array(expected_str, dtype="|S").reshape(batch_size, 2),
/external/deqp/external/openglcts/modules/gl/
Dgl4cDirectStateAccessVertexArraysTests.cpp3400 std::string expected_str = "["; in CheckXFB() local
3405 expected_str.append(Utilities::itoa((glw::GLuint)expected[j])); in CheckXFB()
3410 expected_str.append(", "); in CheckXFB()
3415 expected_str.append("]"); in CheckXFB()
3421 << expected_str << " was expected. " << log_message in CheckXFB()
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc168 bssl::UniquePtr<char> expected_str(BN_bn2hex(expected)); in AssertBIGNUMSEqual() local
170 if (!expected_str || !actual_str) { in AssertBIGNUMSEqual()
177 << ")\nExpected: " << expected_str.get() << " (" << expected_expr in AssertBIGNUMSEqual()