Home
last modified time | relevance | path

Searched refs:ss_ (Results 1 – 25 of 70) sorted by relevance

123

/external/protobuf/gtest/include/gtest/
Dgtest-message.h92 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/
Dgtest-message.h94 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/
Dgtest-message.h94 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/
Dgtest-message.h94 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/
Dgtest-message.h96 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/
Dgtest-message.h96 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/
Dvirtualsocket_unittest.cc127 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 …]
Dphysicalsocketserver_unittest.cc160 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 …]
Dmessagequeue.cc112 : 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 …]
Dnullsocketserver_unittest.cc25 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()
Dproxy_unittest.cc46 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
Dsocket_unittest.cc196 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/
Dvirtualsocket_unittest.cc144 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 …]
Dphysicalsocketserver_unittest.cc177 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 …]
Dmessagequeue.cc129 : 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 …]
Dnullsocketserver_unittest.cc42 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()
Dproxy_unittest.cc63 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
Dsocket_unittest.cc213 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/
Dchatroommodule_unittest.cc120 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 …]
Drostermodule_unittest.cc177 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 …]
Dxmppstanzaparser_unittest.cc20 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/
Dxmlparser_unittest.cc45 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/
Dsparse_normal_cholesky_solver.cc64 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/
Dtestharness.h47 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/
Dstunserver_unittest.cc47 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

123