/external/compiler-rt/lib/asan/tests/ |
D | asan_oob_test.cc | 34 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()
|
D | asan_test.cc | 717 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/ |
D | put_pointer.pass.cpp | 41 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/ |
D | utils_test.cpp | 52 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/ |
D | utils_test.cpp | 52 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/ |
D | cpdf_linkextract_unittest.cpp | 57 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/ |
D | bignum-test.cc | 110 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/ |
D | summary_tensor_op_test.cc | 40 const string& expected_str) { in EXPECT_SummaryMatches() argument 42 CHECK(protobuf::TextFormat::ParseFromString(expected_str, &expected)); in EXPECT_SummaryMatches()
|
D | summary_audio_op_test.cc | 40 const string& expected_str) { in EXPECT_SummaryMatches() argument 42 CHECK(protobuf::TextFormat::ParseFromString(expected_str, &expected)); in EXPECT_SummaryMatches()
|
D | summary_image_op_test.cc | 40 const string& expected_str) { in EXPECT_SummaryMatches() argument 42 CHECK(protobuf::TextFormat::ParseFromString(expected_str, &expected)); in EXPECT_SummaryMatches()
|
D | summary_op_test.cc | 42 const string& expected_str) { in EXPECT_SummaryMatches() argument 44 CHECK(protobuf::TextFormat::ParseFromString(expected_str, &expected)); in EXPECT_SummaryMatches()
|
/external/jemalloc_new/test/unit/ |
D | malloc_io.c | 143 #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/ |
D | util.c | 199 #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/ |
D | command_line_unittest.cc | 225 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/ |
D | parse_example_dataset_test.py | 624 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/ |
D | hparam_test.py | 45 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/ |
D | avbtool_unittest.cc | 100 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/ |
D | clatd_test.cpp | 604 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/ |
D | anf_test.py | 91 expected_str = textwrap.dedent(expected_source).strip() 94 self.assertEqual(expected_str, got_str, msg=msg)
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_object_unittest.cpp | 471 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/ |
D | server_lib_test.py | 437 expected_str = ( 440 self.assertEqual(expected_str, str(cluster_spec))
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_tensor_test.py | 1081 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/ |
D | parsing_ops_test.py | 693 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/ |
D | gl4cDirectStateAccessVertexArraysTests.cpp | 3400 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/ |
D | bn_test.cc | 168 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()
|