/external/protobuf/gtest/include/gtest/ |
D | gtest-message.h | 92 Message() : ss_(new internal::StrStream) {} in Message() 95 Message(const Message& msg) : ss_(new internal::StrStream) { // NOLINT in Message() 96 *ss_ << msg.GetString(); in Message() 100 explicit Message(const char* str) : ss_(new internal::StrStream) { in Message() 101 *ss_ << str; in Message() 104 ~Message() { delete ss_; } in ~Message() local 116 ::GTestStreamToHelper(ss_, val); 136 *ss_ << "(null)"; 138 ::GTestStreamToHelper(ss_, pointer); 151 *ss_ << val; [all …]
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest-message.h | 94 Message() : ss_(new ::std::stringstream) { in Message() 97 *ss_ << std::setprecision(std::numeric_limits<double>::digits10 + 2); in Message() 101 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT in Message() 102 *ss_ << msg.GetString(); in Message() 106 explicit Message(const char* str) : ss_(new ::std::stringstream) { in Message() 107 *ss_ << str; in Message() 121 ::GTestStreamToHelper(ss_.get(), val); 141 *ss_ << "(null)"; 143 ::GTestStreamToHelper(ss_.get(), pointer); 156 *ss_ << val; [all …]
|
/external/mesa3d/src/gtest/include/gtest/ |
D | gtest-message.h | 94 Message() : ss_(new ::std::stringstream) { in Message() 97 *ss_ << std::setprecision(std::numeric_limits<double>::digits10 + 2); in Message() 101 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT in Message() 102 *ss_ << msg.GetString(); in Message() 106 explicit Message(const char* str) : ss_(new ::std::stringstream) { in Message() 107 *ss_ << str; in Message() 121 ::GTestStreamToHelper(ss_.get(), val); 141 *ss_ << "(null)"; 143 ::GTestStreamToHelper(ss_.get(), pointer); 156 *ss_ << val; [all …]
|
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/ |
D | gtest-message.h | 94 Message() : ss_(new ::std::stringstream) { in Message() 97 *ss_ << std::setprecision(std::numeric_limits<double>::digits10 + 2); in Message() 101 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT in Message() 102 *ss_ << msg.GetString(); in Message() 106 explicit Message(const char* str) : ss_(new ::std::stringstream) { in Message() 107 *ss_ << str; in Message() 121 ::GTestStreamToHelper(ss_.get(), val); 141 *ss_ << "(null)"; 143 ::GTestStreamToHelper(ss_.get(), pointer); 156 *ss_ << val; [all …]
|
/external/chromium_org/testing/gtest/include/gtest/ |
D | gtest-message.h | 96 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT in Message() 97 *ss_ << msg.GetString(); in Message() 101 explicit Message(const char* str) : ss_(new ::std::stringstream) { in Message() 102 *ss_ << str; in Message() 131 *ss_ << val; 151 *ss_ << "(null)"; 153 *ss_ << pointer; 166 *ss_ << val; 208 *ss_ << "(null)"; in StreamHelper() 210 *ss_ << pointer; in StreamHelper() [all …]
|
/external/gtest/include/gtest/ |
D | gtest-message.h | 96 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT in Message() 97 *ss_ << msg.GetString(); in Message() 101 explicit Message(const char* str) : ss_(new ::std::stringstream) { in Message() 102 *ss_ << str; in Message() 131 *ss_ << val; 151 *ss_ << "(null)"; 153 *ss_ << pointer; 166 *ss_ << val; 208 *ss_ << "(null)"; in StreamHelper() 210 *ss_ << pointer; in StreamHelper() [all …]
|
/external/chromium_org/third_party/webrtc/base/ |
D | virtualsocket_unittest.cc | 127 VirtualSocketServerTest() : ss_(new VirtualSocketServer(NULL)), in VirtualSocketServerTest() 153 AsyncSocket* socket = ss_->CreateAsyncSocket(initial_addr.family(), in BasicTest() 162 ss_->CreateAsyncSocket(initial_addr.family(), SOCK_DGRAM); in BasicTest() 176 client2 = new TestClient(AsyncUDPSocket::Create(ss_, empty)); in BasicTest() 201 AsyncSocket* client = ss_->CreateAsyncSocket(initial_addr.family(), in ConnectTest() 208 AsyncSocket* server = ss_->CreateAsyncSocket(initial_addr.family(), in ConnectTest() 233 ss_->ProcessMessagesUntilIdle(); in ConnectTest() 251 ss_->ProcessMessagesUntilIdle(); in ConnectTest() 269 AsyncSocket* client = ss_->CreateAsyncSocket(initial_addr.family(), in ConnectToNonListenerTest() 274 AsyncSocket* server = ss_->CreateAsyncSocket(initial_addr.family(), in ConnectToNonListenerTest() [all …]
|
D | physicalsocketserver_unittest.cc | 160 ss_.reset(new PhysicalSocketServer()); in SetUp() 164 ss_.reset(NULL); in TearDown() 195 scoped_ptr<PhysicalSocketServer> ss_; member in rtc::PosixSignalDeliveryTest 204 ASSERT_TRUE(ss_->SetPosixSignalHandler(SIGTERM, &RecordSignal)); in TEST_F() 206 EXPECT_TRUE(ss_->Wait(0, true)); in TEST_F() 214 ss_->SetPosixSignalHandler(SIGTERM, &RecordSignal); in TEST_F() 215 ss_->SetPosixSignalHandler(SIGINT, &RecordSignal); in TEST_F() 220 EXPECT_TRUE(ss_->Wait(0, true)); in TEST_F() 229 ss_->SetPosixSignalHandler(SIGALRM, &RecordSignal); in TEST_F() 231 EXPECT_TRUE(ss_->Wait(1500, true)); in TEST_F() [all …]
|
D | messagequeue.cc | 112 : ss_(ss), fStop_(false), fPeekKeep_(false), in MessageQueue() 114 if (!ss_) { in MessageQueue() 121 ss_ = default_ss_.get(); in MessageQueue() 123 ss_->SetMessageQueue(this); in MessageQueue() 134 if (ss_) { in ~MessageQueue() 135 ss_->SetMessageQueue(NULL); in ~MessageQueue() 140 ss_ = ss ? ss : default_ss_.get(); in set_socketserver() 141 ss_->SetMessageQueue(this); in set_socketserver() 146 ss_->WakeUp(); in Quit() 253 if (!ss_->Wait(cmsNext, process_io)) in Get() [all …]
|
D | nullsocketserver_unittest.cc | 25 ss_.WakeUp(); in OnMessage() 27 NullSocketServer ss_; member in rtc::NullSocketServerTest 36 EXPECT_TRUE_WAIT(ss_.Wait(rtc::kForever, process_io), kTimeout); in TEST_F() 41 ss_.Wait(200, true); in TEST_F()
|
D | proxy_unittest.cc | 46 ProxyTest() : ss_(new rtc::VirtualSocketServer(NULL)) { in ProxyTest() 47 Thread::Current()->set_socketserver(ss_.get()); in ProxyTest() 49 ss_.get(), kSocksProxyIntAddr, ss_.get(), kSocksProxyExtAddr)); in ProxyTest() 57 rtc::SocketServer* ss() { return ss_.get(); } in ss() 70 rtc::scoped_ptr<rtc::SocketServer> ss_; member in ProxyTest
|
D | socket_unittest.cc | 196 scoped_ptr<AsyncSocket> client(ss_->CreateAsyncSocket(loopback.family(), in ConnectInternal() 204 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternal() 252 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupInternal() 257 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupInternal() 300 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectFailInternal() 305 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectFailInternal() 333 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupFailInternal() 338 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupFailInternal() 371 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithClosedSocketInternal() 377 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithClosedSocketInternal() [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | virtualsocket_unittest.cc | 144 VirtualSocketServerTest() : ss_(new VirtualSocketServer(NULL)), in VirtualSocketServerTest() 170 AsyncSocket* socket = ss_->CreateAsyncSocket(initial_addr.family(), in BasicTest() 179 ss_->CreateAsyncSocket(initial_addr.family(), SOCK_DGRAM); in BasicTest() 193 client2 = new TestClient(AsyncUDPSocket::Create(ss_, empty)); in BasicTest() 218 AsyncSocket* client = ss_->CreateAsyncSocket(initial_addr.family(), in ConnectTest() 225 AsyncSocket* server = ss_->CreateAsyncSocket(initial_addr.family(), in ConnectTest() 250 ss_->ProcessMessagesUntilIdle(); in ConnectTest() 268 ss_->ProcessMessagesUntilIdle(); in ConnectTest() 286 AsyncSocket* client = ss_->CreateAsyncSocket(initial_addr.family(), in ConnectToNonListenerTest() 291 AsyncSocket* server = ss_->CreateAsyncSocket(initial_addr.family(), in ConnectToNonListenerTest() [all …]
|
D | physicalsocketserver_unittest.cc | 177 ss_.reset(new PhysicalSocketServer()); in SetUp() 181 ss_.reset(NULL); in TearDown() 212 scoped_ptr<PhysicalSocketServer> ss_; member in talk_base::PosixSignalDeliveryTest 221 ASSERT_TRUE(ss_->SetPosixSignalHandler(SIGTERM, &RecordSignal)); in TEST_F() 223 EXPECT_TRUE(ss_->Wait(0, true)); in TEST_F() 231 ss_->SetPosixSignalHandler(SIGTERM, &RecordSignal); in TEST_F() 232 ss_->SetPosixSignalHandler(SIGINT, &RecordSignal); in TEST_F() 237 EXPECT_TRUE(ss_->Wait(0, true)); in TEST_F() 246 ss_->SetPosixSignalHandler(SIGALRM, &RecordSignal); in TEST_F() 248 EXPECT_TRUE(ss_->Wait(1500, true)); in TEST_F() [all …]
|
D | messagequeue.cc | 129 : ss_(ss), fStop_(false), fPeekKeep_(false), in MessageQueue() 131 if (!ss_) { in MessageQueue() 138 ss_ = default_ss_.get(); in MessageQueue() 140 ss_->SetMessageQueue(this); in MessageQueue() 151 if (ss_) { in ~MessageQueue() 152 ss_->SetMessageQueue(NULL); in ~MessageQueue() 157 ss_ = ss ? ss : default_ss_.get(); in set_socketserver() 158 ss_->SetMessageQueue(this); in set_socketserver() 163 ss_->WakeUp(); in Quit() 270 if (!ss_->Wait(cmsNext, process_io)) in Get() [all …]
|
D | nullsocketserver_unittest.cc | 42 ss_.WakeUp(); in OnMessage() 44 NullSocketServer ss_; member in talk_base::NullSocketServerTest 53 EXPECT_TRUE_WAIT(ss_.Wait(talk_base::kForever, process_io), kTimeout); in TEST_F() 58 ss_.Wait(200, true); in TEST_F()
|
D | proxy_unittest.cc | 63 ProxyTest() : ss_(new talk_base::VirtualSocketServer(NULL)) { in ProxyTest() 64 Thread::Current()->set_socketserver(ss_.get()); in ProxyTest() 66 ss_.get(), kSocksProxyIntAddr, ss_.get(), kSocksProxyExtAddr)); in ProxyTest() 74 talk_base::SocketServer* ss() { return ss_.get(); } in ss() 87 talk_base::scoped_ptr<talk_base::SocketServer> ss_; member in ProxyTest
|
D | socket_unittest.cc | 213 scoped_ptr<AsyncSocket> client(ss_->CreateAsyncSocket(loopback.family(), in ConnectInternal() 221 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternal() 269 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupInternal() 274 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupInternal() 317 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectFailInternal() 322 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectFailInternal() 350 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupFailInternal() 355 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupFailInternal() 388 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithClosedSocketInternal() 394 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithClosedSocketInternal() [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
D | chatroommodule_unittest.cc | 120 ss_ <<"[ChatroomEnteredStatus status: "; in ChatroomEnteredStatus() 121 WriteEnteredStatus(ss_, status); in ChatroomEnteredStatus() 122 ss_ <<"]"; in ChatroomEnteredStatus() 129 ss_ <<"[ChatroomExitedStatus status: "; in ChatroomExitedStatus() 130 WriteExitedStatus(ss_, status); in ChatroomExitedStatus() 131 ss_ <<"]"; in ChatroomExitedStatus() 137 ss_ << "[MemberEntered " << entered_member->member_jid().Str() << "]"; in MemberEntered() 143 ss_ << "[MemberExited " << exited_member->member_jid().Str() << "]"; in MemberExited() 149 ss_ << "[MemberChanged " << changed_member->member_jid().Str() << "]"; in MemberChanged() 158 return ss_.str(); in Str() [all …]
|
D | rostermodule_unittest.cc | 177 ss_<<"[SubscriptionRequest Jid:" << requesting_jid.Str()<<" type:"; in SubscriptionRequest() 178 WriteSubscriptionRequestType(ss_, type); in SubscriptionRequest() 179 ss_<<"]"<<raw_xml->Str(); in SubscriptionRequest() 186 ss_<<"[SubscriptionError from:"<<from.Str()<<"]"<<raw_xml->Str(); in SubscriptionError() 191 ss_<<"[RosterError]"<<raw_xml->Str(); in RosterError() 199 ss_<<"[IncomingPresenceChanged presence:"; in IncomingPresenceChanged() 200 WritePresence(ss_, presence); in IncomingPresenceChanged() 201 ss_<<"]"; in IncomingPresenceChanged() 210 ss_<<"[ContactChanged old_contact:"; in ContactChanged() 211 WriteContact(ss_, old_contact); in ContactChanged() [all …]
|
D | xmppstanzaparser_unittest.cc | 20 ss_ << "START" << element->Str(); in StartStream() 23 ss_ << "STANZA" << element->Str(); in Stanza() 26 ss_ << "END"; in EndStream() 29 ss_ << "ERROR"; in XmlError() 33 return ss_.str(); in Str() 37 std::string result = ss_.str(); in StrClear() 38 ss_.str(""); in StrClear() 43 std::stringstream ss_; member in XmppStanzaParserTestHandler
|
/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
D | xmlparser_unittest.cc | 45 ss_ << "START (" << pctx->ResolveQName(name, false).Merged(); in StartElement() 47 ss_ << ", " << pctx->ResolveQName(*atts, true).Merged() in StartElement() 51 ss_ << ") "; in StartElement() 56 ss_ << "END "; in EndElement() 61 ss_ << "TEXT (" << std::string(text, len) << ") "; in CharacterData() 65 ss_ << "ERROR (" << static_cast<int>(code) << ") "; in Error() 71 return ss_.str(); in Str() 75 std::string result = ss_.str(); in StrClear() 76 ss_.str(""); in StrClear() 81 std::stringstream ss_; member in XmlParserTestHandler
|
/external/ceres-solver/internal/ceres/ |
D | sparse_normal_cholesky_solver.cc | 64 ss_.Free(factor_); in FreeFactorization() 328 cholmod_sparse lhs = ss_.CreateSparseMatrixTransposeView(A); in SolveImplUsingSuiteSparse() 336 factor_ = ss_.BlockAnalyzeCholesky(&lhs, in SolveImplUsingSuiteSparse() 342 factor_ = ss_.AnalyzeCholesky(&lhs, &summary.message); in SolveImplUsingSuiteSparse() 344 factor_ = ss_.AnalyzeCholeskyWithNaturalOrdering(&lhs, &summary.message); in SolveImplUsingSuiteSparse() 357 summary.termination_type = ss_.Cholesky(&lhs, factor_, &summary.message); in SolveImplUsingSuiteSparse() 362 cholmod_dense* rhs = ss_.CreateDenseVector(rhs_and_solution, num_cols, num_cols); in SolveImplUsingSuiteSparse() 363 cholmod_dense* solution = ss_.Solve(factor_, rhs, &summary.message); in SolveImplUsingSuiteSparse() 366 ss_.Free(rhs); in SolveImplUsingSuiteSparse() 369 ss_.Free(solution); in SolveImplUsingSuiteSparse()
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
D | testharness.h | 47 std::stringstream ss_; variable 56 fprintf(stderr, "%s:%d:%s\n", fname_, line_, ss_.str().c_str()); in ~Tester() 63 ss_ << " Assertion failure " << msg; in Is() 71 ss_ << " " << s.ToString(); in IsOk() 81 ss_ << " failed: " << x << (" " #op " ") << y; \ 99 ss_ << " " << value;
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
D | stunserver_unittest.cc | 47 ss_(new talk_base::VirtualSocketServer(pss_.get())), in StunServerTest() 48 worker_(ss_.get()) { in StunServerTest() 52 talk_base::AsyncUDPSocket::Create(ss_.get(), server_addr))); in SetUp() 54 talk_base::AsyncUDPSocket::Create(ss_.get(), client_addr))); in SetUp() 79 talk_base::scoped_ptr<talk_base::VirtualSocketServer> ss_; member in StunServerTest
|