Home
last modified time | relevance | path

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

123

/external/protobuf/gtest/include/gtest/
Dgtest-message.h94 Message() : ss_(new internal::StrStream) { in Message()
97 *ss_ << std::setprecision(std::numeric_limits<double>::digits10 + 2); in Message()
101 Message(const Message& msg) : ss_(new internal::StrStream) { // NOLINT in Message()
102 *ss_ << msg.GetString(); in Message()
106 explicit Message(const char* str) : ss_(new internal::StrStream) { in Message()
107 *ss_ << str; in Message()
110 ~Message() { delete ss_; } in ~Message() local
122 ::GTestStreamToHelper(ss_, val);
142 *ss_ << "(null)";
144 ::GTestStreamToHelper(ss_, pointer);
[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/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/google-breakpad/src/testing/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/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/vulkan-validation-layers/tests/gtest-1.7.0/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/webrtc/webrtc/base/
Dvirtualsocket_unittest.cc138 VirtualSocketServerTest() : ss_(new VirtualSocketServer(NULL)), in VirtualSocketServerTest()
166 ss_->SetDefaultRoute(default_route); in TestDefaultRoute()
170 ss_->CreateAsyncSocket(default_route.family(), SOCK_DGRAM); in TestDefaultRoute()
178 ss_->CreateAsyncSocket(default_route.family(), SOCK_DGRAM); in TestDefaultRoute()
198 AsyncSocket* socket = ss_->CreateAsyncSocket(initial_addr.family(), in BasicTest()
207 ss_->CreateAsyncSocket(initial_addr.family(), SOCK_DGRAM); in BasicTest()
221 client2 = new TestClient(AsyncUDPSocket::Create(ss_, empty)); in BasicTest()
246 AsyncSocket* client = ss_->CreateAsyncSocket(initial_addr.family(), in ConnectTest()
253 AsyncSocket* server = ss_->CreateAsyncSocket(initial_addr.family(), in ConnectTest()
278 ss_->ProcessMessagesUntilIdle(); in ConnectTest()
[all …]
Dmessagequeue.cc120 : ss_(ss), fStop_(false), fPeekKeep_(false), in MessageQueue()
122 if (!ss_) { in MessageQueue()
129 ss_ = default_ss_.get(); in MessageQueue()
131 ss_->SetMessageQueue(this); in MessageQueue()
142 if (ss_) { in ~MessageQueue()
143 ss_->SetMessageQueue(NULL); in ~MessageQueue()
148 ss_ = ss ? ss : default_ss_.get(); in set_socketserver()
149 ss_->SetMessageQueue(this); in set_socketserver()
154 ss_->WakeUp(); in Quit()
261 if (!ss_->Wait(cmsNext, process_io)) in Get()
[all …]
Dsocket_unittest.cc197 scoped_ptr<AsyncSocket> client(ss_->CreateAsyncSocket(loopback.family(), in ConnectInternal()
205 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternal()
253 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupInternal()
258 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupInternal()
301 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectFailInternal()
306 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectFailInternal()
334 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupFailInternal()
339 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupFailInternal()
372 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithClosedSocketInternal()
378 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithClosedSocketInternal()
[all …]
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
Dnullsocketserver_unittest.cc25 ss_.WakeUp(); in OnMessage()
27 NullSocketServer ss_; member in rtc::NullSocketServerTest
36 EXPECT_TRUE_WAIT(ss_.Wait(SocketServer::kForever, process_io), kTimeout); in TEST_F()
41 ss_.Wait(200, true); in TEST_F()
Dphysicalsocketserver_unittest.cc412 ss_.reset(new PhysicalSocketServer()); in SetUp()
416 ss_.reset(NULL); in TearDown()
447 scoped_ptr<PhysicalSocketServer> ss_; member in rtc::PosixSignalDeliveryTest
456 ASSERT_TRUE(ss_->SetPosixSignalHandler(SIGTERM, &RecordSignal)); in TEST_F()
458 EXPECT_TRUE(ss_->Wait(0, true)); in TEST_F()
466 ss_->SetPosixSignalHandler(SIGTERM, &RecordSignal); in TEST_F()
467 ss_->SetPosixSignalHandler(SIGINT, &RecordSignal); in TEST_F()
472 EXPECT_TRUE(ss_->Wait(0, true)); in TEST_F()
481 ss_->SetPosixSignalHandler(SIGALRM, &RecordSignal); in TEST_F()
483 EXPECT_TRUE(ss_->Wait(1500, true)); in TEST_F()
[all …]
Dwin32socketserver.h118 explicit MessageWindow(Win32SocketServer* ss) : ss_(ss) {} in MessageWindow()
121 Win32SocketServer* ss_; variable
138 Win32Thread() : ss_(this), id_(0) { in Win32Thread()
139 set_socketserver(&ss_); in Win32Thread()
154 Win32SocketServer ss_;
Dsocket_unittest.h26 ss_(nullptr) {} in SocketTest()
27 virtual void SetUp() { ss_ = Thread::Current()->socketserver(); } in SetUp()
85 SocketServer* ss_; variable
Dmacasyncsocket.cc33 : ss_(ss), in MacAsyncSocket()
242 MacAsyncSocket* s = new MacAsyncSocket(ss_, saddr.ss_family, socket_fd); in Accept()
258 if (ss_) ss_->UnregisterSocket(this); in Close()
322 : ss_(ss), in MacAsyncSocket()
377 if (ss_) ss_->RegisterSocket(this); in Initialize()
Dmaccocoasocketserver_unittest.mm20 WakeThread(SocketServer* ss) : ss_(ss) {
26 ss_->WakeUp();
29 SocketServer* ss_;
Dphysicalsocketserver.cc100 : ss_(ss), s_(s), enabled_events_(0), error_(0), in PhysicalSocket()
386 return ss_->WrapSocket(s); in Accept()
580 ss_->Add(this); in Initialize()
759 ss_->Remove(this); in Close()
766 EventDispatcher(PhysicalSocketServer* ss) : ss_(ss), fSignaled_(false) { in EventDispatcher()
769 ss_->Add(this); in EventDispatcher()
773 ss_->Remove(this); in ~EventDispatcher()
809 PhysicalSocketServer *ss_; member in rtc::EventDispatcher
1001 FileDispatcher(int fd, PhysicalSocketServer *ss) : ss_(ss), fd_(fd) { in FileDispatcher()
1004 ss_->Add(this); in FileDispatcher()
[all …]
/external/webrtc/webrtc/libjingle/xmpp/
Dchatroommodule_unittest.cc103 ss_ <<"[ChatroomEnteredStatus status: "; in ChatroomEnteredStatus()
104 WriteEnteredStatus(ss_, status); in ChatroomEnteredStatus()
105 ss_ <<"]"; in ChatroomEnteredStatus()
112 ss_ <<"[ChatroomExitedStatus status: "; in ChatroomExitedStatus()
113 WriteExitedStatus(ss_, status); in ChatroomExitedStatus()
114 ss_ <<"]"; in ChatroomExitedStatus()
120 ss_ << "[MemberEntered " << entered_member->member_jid().Str() << "]"; in MemberEntered()
126 ss_ << "[MemberExited " << exited_member->member_jid().Str() << "]"; in MemberExited()
132 ss_ << "[MemberChanged " << changed_member->member_jid().Str() << "]"; in MemberChanged()
141 return ss_.str(); in Str()
[all …]
Drostermodule_unittest.cc160 ss_<<"[SubscriptionRequest Jid:" << requesting_jid.Str()<<" type:"; in SubscriptionRequest()
161 WriteSubscriptionRequestType(ss_, type); in SubscriptionRequest()
162 ss_<<"]"<<raw_xml->Str(); in SubscriptionRequest()
169 ss_<<"[SubscriptionError from:"<<from.Str()<<"]"<<raw_xml->Str(); in SubscriptionError()
174 ss_<<"[RosterError]"<<raw_xml->Str(); in RosterError()
182 ss_<<"[IncomingPresenceChanged presence:"; in IncomingPresenceChanged()
183 WritePresence(ss_, presence); in IncomingPresenceChanged()
184 ss_<<"]"; in IncomingPresenceChanged()
193 ss_<<"[ContactChanged old_contact:"; in ContactChanged()
194 WriteContact(ss_, old_contact); in ContactChanged()
[all …]
Dxmppstanzaparser_unittest.cc27 ss_ << "START" << element->Str(); in StartStream()
30 ss_ << "STANZA" << element->Str(); in Stanza()
33 ss_ << "END"; in EndStream()
36 ss_ << "ERROR"; in XmlError()
40 return ss_.str(); in Str()
44 std::string result = ss_.str(); in StrClear()
45 ss_.str(""); in StrClear()
50 std::stringstream ss_; member in XmppStanzaParserTestHandler
/external/webrtc/webrtc/libjingle/xmllite/
Dxmlparser_unittest.cc28 ss_ << "START (" << pctx->ResolveQName(name, false).Merged(); in StartElement()
30 ss_ << ", " << pctx->ResolveQName(*atts, true).Merged() in StartElement()
34 ss_ << ") "; in StartElement()
39 ss_ << "END "; in EndElement()
44 ss_ << "TEXT (" << std::string(text, len) << ") "; in CharacterData()
48 ss_ << "ERROR (" << static_cast<int>(code) << ") "; in Error()
54 return ss_.str(); in Str()
58 std::string result = ss_.str(); in StrClear()
59 ss_.str(""); in StrClear()
64 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()
Dschur_complement_solver.cc170 ss_.Free(factor_); in ~SparseSchurComplementSolver()
310 cholmod_lhs = ss_.CreateSparseMatrix(tsm); in SolveReducedLinearSystemUsingSuiteSparse()
314 factor_ = ss_.BlockAnalyzeCholesky(cholmod_lhs, in SolveReducedLinearSystemUsingSuiteSparse()
326 cholmod_lhs = ss_.CreateSparseMatrixTranspose(tsm); in SolveReducedLinearSystemUsingSuiteSparse()
330 factor_ = ss_.AnalyzeCholeskyWithNaturalOrdering(cholmod_lhs, in SolveReducedLinearSystemUsingSuiteSparse()
336 ss_.Free(cholmod_lhs); in SolveReducedLinearSystemUsingSuiteSparse()
344 ss_.Cholesky(cholmod_lhs, factor_, &summary.message); in SolveReducedLinearSystemUsingSuiteSparse()
346 ss_.Free(cholmod_lhs); in SolveReducedLinearSystemUsingSuiteSparse()
355 ss_.CreateDenseVector(const_cast<double*>(rhs()), num_rows, num_rows); in SolveReducedLinearSystemUsingSuiteSparse()
356 cholmod_dense* cholmod_solution = ss_.Solve(factor_, in SolveReducedLinearSystemUsingSuiteSparse()
[all …]
Dvisibility_based_preconditioner.cc113 tmp_rhs_ = CHECK_NOTNULL(ss_.CreateDenseVector(NULL, in VisibilityBasedPreconditioner()
126 ss_.Free(factor_); in ~VisibilityBasedPreconditioner()
130 ss_.Free(tmp_rhs_); in ~VisibilityBasedPreconditioner()
433 cholmod_sparse* lhs = ss_.CreateSparseMatrix( in Factorize()
446 factor_ = ss_.BlockAnalyzeCholesky(lhs, block_size_, block_size_, &status); in Factorize()
451 ? ss_.Cholesky(lhs, factor_, &status) in Factorize()
454 ss_.Free(lhs); in Factorize()
462 SuiteSparse* ss = const_cast<SuiteSparse*>(&ss_); in RightMultiply()
/external/webrtc/webrtc/p2p/base/
Dstunserver_unittest.cc30 ss_(new rtc::VirtualSocketServer(pss_.get())), in StunServerTest()
31 worker_(ss_.get()) { in StunServerTest()
35 rtc::AsyncUDPSocket::Create(ss_.get(), server_addr))); in SetUp()
37 rtc::AsyncUDPSocket::Create(ss_.get(), client_addr))); in SetUp()
66 rtc::scoped_ptr<rtc::VirtualSocketServer> ss_; member in StunServerTest

123