/third_party/protobuf/src/google/protobuf/util/ |
D | time_util_test.cc | 57 EXPECT_EQ("0001-01-01T00:00:00Z", TimeUtil::ToString(begin)); in TEST() 58 EXPECT_EQ("9999-12-31T23:59:59.999999999Z", TimeUtil::ToString(end)); in TEST() 65 EXPECT_EQ("1969-12-31T23:59:59.999999999Z", TimeUtil::ToString(time)); in TEST() 69 TimeUtil::ToString(TimeUtil::NanosecondsToTimestamp(0))); in TEST() 71 TimeUtil::ToString(TimeUtil::NanosecondsToTimestamp(10000000))); in TEST() 73 TimeUtil::ToString(TimeUtil::NanosecondsToTimestamp(10000))); in TEST() 75 TimeUtil::ToString(TimeUtil::NanosecondsToTimestamp(10))); in TEST() 96 EXPECT_EQ("315537897599.999999999s", TimeUtil::ToString(end - begin)); in TEST() 98 EXPECT_EQ("-315537897599.999999999s", TimeUtil::ToString(begin - end)); in TEST() 102 EXPECT_EQ("1s", TimeUtil::ToString(TimeUtil::SecondsToDuration(1))); in TEST() [all …]
|
/third_party/cef/tests/ceftests/ |
D | parser_unittest.cc | 19 url.ToString().c_str()); in TEST() 45 EXPECT_STREQ("http://www.example.com/", url.ToString().c_str()); in TEST() 56 EXPECT_STREQ("http://www.example.com/path/to.html", url.ToString().c_str()); in TEST() 69 url.ToString().c_str()); in TEST() 83 url.ToString().c_str()); in TEST() 101 url.ToString().c_str()); in TEST() 112 EXPECT_STREQ("http://www.example.com/", spec.ToString().c_str()); in TEST() 116 EXPECT_STREQ("http", scheme.ToString().c_str()); in TEST() 118 EXPECT_STREQ("www.example.com", host.ToString().c_str()); in TEST() 121 EXPECT_STREQ(origin.ToString().c_str(), "http://www.example.com/"); in TEST() [all …]
|
D | test_util.cc | 34 EXPECT_TRUE(found) << "No entry for " << it1->first.ToString() << ": " in TestMapEqual() 35 << it1->second.ToString(); in TestMapEqual() 45 << "Duplicate entry for " << it1->first.ToString() << ": " in TestMapNoDuplicates() 46 << it1->second.ToString(); in TestMapNoDuplicates() 101 EXPECT_STREQ(request1->GetURL().ToString().c_str(), in TestRequestEqual() 102 request2->GetURL().ToString().c_str()); in TestRequestEqual() 103 EXPECT_STREQ(request1->GetMethod().ToString().c_str(), in TestRequestEqual() 104 request2->GetMethod().ToString().c_str()); in TestRequestEqual() 106 EXPECT_STREQ(request1->GetReferrerURL().ToString().c_str(), in TestRequestEqual() 107 request2->GetReferrerURL().ToString().c_str()); in TestRequestEqual() [all …]
|
/third_party/boost/libs/math/dot_net_example/distribution_explorer/ |
D | DistexForm.cs | 51 …Show("Problem loading any distributions, size = " + boost_math.any_distribution.size().ToString()); in Form_Load() 59 parameter1.Text = boost_math.any_distribution.first_param_default(0).ToString(); in Form_Load() 60 parameter2.Text = boost_math.any_distribution.second_param_default(0).ToString(); in Form_Load() 61 parameter3.Text = boost_math.any_distribution.third_param_default(0).ToString(); in Form_Load() 71 …Box.Show("Problem loading distributions, size = " + boost_math.any_distribution.size().ToString()); in Form_Load() 92 parameter1.Text = boost_math.any_distribution.first_param_default(i).ToString(); in distribution_SelectedIndexChanged() 107 parameter2.Text = boost_math.any_distribution.second_param_default(i).ToString(); in distribution_SelectedIndexChanged() 120 parameter3.Text = boost_math.any_distribution.third_param_default(i).ToString(); in distribution_SelectedIndexChanged() 134 string s = CDF_data.Rows[i].Cells[0].Value.ToString(); in dataGridView1_CellEndEdit() 155 distributionValueLabel.Text = boost_math.any_distribution.distribution_name(i).ToString(); in tabPage2_Enter() [all …]
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/ |
D | string_utils_test.cpp | 24 using ::spvutils::ToString; 26 TEST(ToString, Int) { in TEST() argument 27 EXPECT_EQ("0", ToString(0)); in TEST() 28 EXPECT_EQ("1000", ToString(1000)); in TEST() 29 EXPECT_EQ("-1", ToString(-1)); in TEST() 30 EXPECT_EQ("0", ToString(0LL)); in TEST() 31 EXPECT_EQ("1000", ToString(1000LL)); in TEST() 32 EXPECT_EQ("-1", ToString(-1LL)); in TEST() 35 TEST(ToString, Uint) { in TEST() argument 36 EXPECT_EQ("0", ToString(0U)); in TEST() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/test/ |
D | string_utils_test.cpp | 25 TEST(ToString, Int) { in TEST() argument 26 EXPECT_EQ("0", ToString(0)); in TEST() 27 EXPECT_EQ("1000", ToString(1000)); in TEST() 28 EXPECT_EQ("-1", ToString(-1)); in TEST() 29 EXPECT_EQ("0", ToString(0LL)); in TEST() 30 EXPECT_EQ("1000", ToString(1000LL)); in TEST() 31 EXPECT_EQ("-1", ToString(-1LL)); in TEST() 34 TEST(ToString, Uint) { in TEST() argument 35 EXPECT_EQ("0", ToString(0U)); in TEST() 36 EXPECT_EQ("1000", ToString(1000U)); in TEST() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
D | string_utils_test.cpp | 25 TEST(ToString, Int) { in TEST() argument 26 EXPECT_EQ("0", ToString(0)); in TEST() 27 EXPECT_EQ("1000", ToString(1000)); in TEST() 28 EXPECT_EQ("-1", ToString(-1)); in TEST() 29 EXPECT_EQ("0", ToString(0LL)); in TEST() 30 EXPECT_EQ("1000", ToString(1000LL)); in TEST() 31 EXPECT_EQ("-1", ToString(-1LL)); in TEST() 34 TEST(ToString, Uint) { in TEST() argument 35 EXPECT_EQ("0", ToString(0U)); in TEST() 36 EXPECT_EQ("1000", ToString(1000U)); in TEST() [all …]
|
/third_party/cef/libcef/browser/osr/ |
D | osr_accessibility_util.cc | 23 using ui::ToString; 47 value->SetString(index++, ToString(static_cast<ax::mojom::State>(i))); in ToCefValue() 116 attributes->SetInt(ToString(attr.first), attr.second); in operator ()() 120 ToString(attr.first), in operator ()() 121 ui::ToString( in operator ()() 127 attributes->SetString(ToString(attr.first), ToString(state)); in operator ()() 133 attributes->SetString(ToString(attr.first), ToString(state)); in operator ()() 138 ToString(attr.first), in operator ()() 139 ToString(static_cast<ax::mojom::Restriction>(attr.second))); in operator ()() 144 attributes->SetString(ToString(attr.first), ToString(state)); in operator ()() [all …]
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | status_test.cc | 44 EXPECT_EQ("OK", util::Status::OK.ToString()); in TEST() 59 EXPECT_EQ("OK", status.ToString()); in TEST() 72 EXPECT_EQ("", status.error_message().ToString()); in TEST() 73 EXPECT_EQ("", status.message().ToString()); in TEST() 74 EXPECT_EQ("INVALID_ARGUMENT", status.ToString()); in TEST() 77 EXPECT_EQ("msg", status.error_message().ToString()); in TEST() 78 EXPECT_EQ("msg", status.message().ToString()); in TEST() 79 EXPECT_EQ("INVALID_ARGUMENT:msg", status.ToString()); in TEST() 82 EXPECT_EQ("", status.error_message().ToString()); in TEST() 83 EXPECT_EQ("", status.message().ToString()); in TEST() [all …]
|
/third_party/gn/src/gn/ |
D | value_unittest.cc | 11 TEST(Value, ToString) { in TEST() argument 13 EXPECT_EQ("hi\" $me\\you\\$\\\"", strval.ToString(false)); in TEST() 14 EXPECT_EQ("\"hi\\\" \\$me\\you\\\\\\$\\\\\\\"\"", strval.ToString(true)); in TEST() 18 EXPECT_EQ("\"\\foo\\\\\\bar\\\\\"", strval2.ToString(true)); in TEST() 21 EXPECT_EQ("<void>", Value().ToString(false)); in TEST() 31 EXPECT_EQ("[\"hi\\\"me\", true, false, 42]", listval.ToString(false)); in TEST() 32 EXPECT_EQ("[\"hi\\\"me\", true, false, 42]", listval.ToString(true)); in TEST() 38 EXPECT_EQ("{ }", scopeval.ToString(false)); in TEST() 45 EXPECT_EQ("{\n a = 42\n b = \"hello, world\"\n}", scopeval.ToString(false)); in TEST()
|
D | output_conversion.cc | 12 void ToString(const Value& output, std::ostream& out) { in ToString() function 13 out << output.ToString(false); in ToString() 17 out << "\"" << output.ToString(false) << "\""; in ToStringQuoted() 41 out << value.ToString(true); in RenderListToJSON() 65 out << pair.second.ToString(true); in RenderScopeToJSON() 77 out << cur.ToString(false) << "\n"; in OutputListLines() 84 ToString(output, out); in OutputString() 97 ToString(output, out); in OutputValue() 106 out << " " << pair.first << " = " << pair.second.ToString(true) << "\n"; in OutputScope() 114 ToString(output, out); in OutputDefault()
|
/third_party/grpc/test/cpp/common/ |
D | secure_auth_context_test.cc | 27 using grpc::testing::ToString; 56 EXPECT_EQ("chapi", ToString(peer_identity[0])); in TEST_F() 57 EXPECT_EQ("chapo", ToString(peer_identity[1])); in TEST_F() 61 EXPECT_EQ("bar", ToString(bar[0])); in TEST_F() 81 EXPECT_EQ("name", ToString(p0.first)); in TEST_F() 82 EXPECT_EQ("chapi", ToString(p0.second)); in TEST_F() 83 EXPECT_EQ("name", ToString(p1.first)); in TEST_F() 84 EXPECT_EQ("chapo", ToString(p1.second)); in TEST_F() 85 EXPECT_EQ("foo", ToString(p2.first)); in TEST_F() 86 EXPECT_EQ("bar", ToString(p2.second)); in TEST_F()
|
D | auth_property_iterator_test.cc | 27 using ::grpc::testing::ToString; 72 EXPECT_EQ("name", ToString(p0.first)); in TEST_F() 73 EXPECT_EQ("chapi", ToString(p0.second)); in TEST_F() 74 EXPECT_EQ("name", ToString(p1.first)); in TEST_F() 75 EXPECT_EQ("chapo", ToString(p1.second)); in TEST_F() 76 EXPECT_EQ("foo", ToString(p2.first)); in TEST_F() 77 EXPECT_EQ("bar", ToString(p2.second)); in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | function_var_test.cc | 120 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 142 EXPECT_THAT(test::ToString(p->program(), ast_body), HasSubstr(R"(var a : u32; in TEST_F() 163 EXPECT_THAT(test::ToString(p->program(), ast_body), HasSubstr(R"(var a : u32; in TEST_F() 186 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 216 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 241 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 267 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 292 test::ToString(p->program(), ast_body), in TEST_F() 319 auto got = test::ToString(p->program(), ast_body); in TEST_F() 342 test::ToString(p->program(), ast_body), in TEST_F() [all …]
|
D | parser_impl_module_var_test.cc | 120 const auto module_ast = test::ToString(p->program()); in TEST_F() 203 const auto module_str = test::ToString(p->program()); in TEST_F() 219 const auto module_str = test::ToString(p->program()); in TEST_F() 235 const auto module_str = test::ToString(p->program()); in TEST_F() 263 const auto module_str = test::ToString(p->program()); in TEST_F() 358 const auto module_str = test::ToString(p->program()); in TEST_F() 402 const auto module_str = test::ToString(p->program()); in TEST_F() 424 const auto module_str = test::ToString(p->program()); in TEST_F() 447 const auto module_str = test::ToString(p->program()); in TEST_F() 466 const auto module_str = test::ToString(p->program()); in TEST_F() [all …]
|
D | parser_impl_named_types_test.cc | 32 EXPECT_THAT(test::ToString(p->program()), HasSubstr("struct S")); in TEST_F() 44 EXPECT_THAT(test::ToString(p->program()), HasSubstr("struct mystruct")); in TEST_F() 56 EXPECT_THAT(test::ToString(p->program()), HasSubstr(R"(struct S { in TEST_F() 80 EXPECT_THAT(test::ToString(p->program()), in TEST_F() 95 EXPECT_THAT(test::ToString(p->program()), in TEST_F() 112 EXPECT_THAT(test::ToString(p->program()), in TEST_F() 128 EXPECT_THAT(test::ToString(p->program()), in TEST_F() 144 EXPECT_THAT(test::ToString(p->program()), in TEST_F()
|
D | function_composite_test.cc | 99 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 119 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 140 test::ToString(p->program(), ast_body), in TEST_F() 158 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 183 const auto got = test::ToString(p->program(), ast_body); in TEST_F() 207 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 244 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 285 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 306 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 348 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() [all …]
|
D | function_glsl_std_450_test.cc | 187 const auto body = test::ToString(p->program(), ast_body); in TEST_P() 205 const auto body = test::ToString(p->program(), ast_body); in TEST_P() 223 const auto body = test::ToString(p->program(), ast_body); in TEST_P() 241 const auto body = test::ToString(p->program(), ast_body); in TEST_P() 259 const auto body = test::ToString(p->program(), ast_body); in TEST_P() 277 const auto body = test::ToString(p->program(), ast_body); in TEST_P() 295 const auto body = test::ToString(p->program(), ast_body); in TEST_P() 313 const auto body = test::ToString(p->program(), ast_body); in TEST_P() 331 const auto body = test::ToString(p->program(), ast_body); in TEST_P() 350 const auto body = test::ToString(p->program(), ast_body); in TEST_P() [all …]
|
D | construct.h | 159 inline std::string ToString(Construct::Kind kind) { in ToString() function 181 ss << ToString(c->kind) << "@" << c->begin_id; in ToStringBrief() 192 o << "Construct{ " << ToString(c.kind) << " [" << c.begin_pos << "," 232 inline std::string ToString(const Construct& c) { in ToString() function 241 inline std::string ToString(const Construct* c) { in ToString() function 242 return c ? ToString(*c) : ToStringBrief(c); in ToString() 248 inline std::string ToString(const std::unique_ptr<Construct>& c) { in ToString() function 249 return ToString(*(c.get())); in ToString() 268 inline std::string ToString(const ConstructList& cl) { in ToString() function
|
D | function_memory_test.cc | 61 EXPECT_THAT(test::ToString(p->program(), ast_body), HasSubstr(R"(x_1 = true; in TEST_F() 87 EXPECT_THAT(test::ToString(p->program(), ast_body), HasSubstr(R"(x_1 = 42u; in TEST_F() 112 EXPECT_THAT(test::ToString(p->program(), ast_body), HasSubstr(R"(x_1 = 42; in TEST_F() 137 EXPECT_THAT(test::ToString(p->program(), ast_body), HasSubstr(R"(x_1 = 42.0; in TEST_F() 162 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 185 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 211 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 236 EXPECT_THAT(test::ToString(p->program(), ast_body), HasSubstr("x_1 = 42u;")); in TEST_F() 260 const auto got = test::ToString(p->program(), ast_body); in TEST_F() 327 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() [all …]
|
D | parser_impl_function_decl_test.cc | 91 const auto program_ast = test::ToString(program); in TEST_F() 105 const auto program_ast = test::ToString(program); in TEST_F() 124 const auto program_ast = test::ToString(program); in TEST_F() 149 const auto program_ast = test::ToString(program); in TEST_F() 167 const auto program_ast = test::ToString(program); in TEST_F() 187 const auto program_ast = test::ToString(program); in TEST_F() 214 const auto program_ast = test::ToString(program); in TEST_F() 240 const auto program_ast = test::ToString(program); in TEST_F() 271 const auto program_ast = test::ToString(program); in TEST_F() 301 const auto program_ast = test::ToString(program); in TEST_F() [all …]
|
D | function_logical_test.cc | 140 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 157 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 201 EXPECT_THAT(test::ToString(p->program(), ast_body), HasSubstr(ss.str())) in TEST_P() 578 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 596 test::ToString(p->program(), ast_body), in TEST_F() 614 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 632 test::ToString(p->program(), ast_body), in TEST_F() 650 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 668 test::ToString(p->program(), ast_body), in TEST_F() 686 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() [all …]
|
D | function_arithmetic_test.cc | 123 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 142 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 161 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 180 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 199 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 219 test::ToString(p->program(), ast_body), in TEST_F() 240 test::ToString(p->program(), ast_body), in TEST_F() 261 test::ToString(p->program(), ast_body), in TEST_F() 281 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() 300 EXPECT_THAT(test::ToString(p->program(), ast_body), in TEST_F() [all …]
|
/third_party/grpc/src/core/ext/xds/ |
D | xds_api.h | 63 std::string ToString() const { in ToString() function 82 std::string ToString() const; 97 std::string ToString() const; 112 std::string ToString() const; 130 std::string ToString() const; 142 std::string ToString() const; 155 std::string ToString() const; 170 std::string ToString() const; 183 std::string ToString() const; 196 std::string ToString() const; [all …]
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
D | matcher_test.cc | 32 string ToString(const PhoneNumberDesc& desc) { in ToString() function 47 << number << " should have matched " << ToString(desc); in ExpectMatched() 49 << number << " should have matched " << ToString(desc); in ExpectMatched() 57 << number << " should not have matched " << ToString(desc); in ExpectInvalid() 59 << number << " should not have matched " << ToString(desc); in ExpectInvalid() 67 << number << " should have been too long for " << ToString(desc); in ExpectTooLong() 69 << number << " should have been too long for " << ToString(desc); in ExpectTooLong()
|