Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/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/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/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_;
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()
Dsocket_unittest.h26 ss_(nullptr) {} in SocketTest()
27 virtual void SetUp() { ss_ = Thread::Current()->socketserver(); } in SetUp()
85 SocketServer* ss_; variable
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 …]
Dmaccocoasocketserver_unittest.mm20 WakeThread(SocketServer* ss) : ss_(ss) {
26 ss_->WakeUp();
29 SocketServer* ss_;
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest-message.h100 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT in Message()
101 *ss_ << msg.GetString(); in Message()
105 explicit Message(const char* str) : ss_(new ::std::stringstream) { in Message()
106 *ss_ << str; in Message()
135 *ss_ << val;
155 *ss_ << "(null)";
157 *ss_ << pointer;
170 *ss_ << val;
211 *ss_ << "(null)"; in StreamHelper()
213 *ss_ << pointer; in StreamHelper()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/
Dgtest-message.h97 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT in Message()
98 *ss_ << msg.GetString(); in Message()
102 explicit Message(const char* str) : ss_(new ::std::stringstream) { in Message()
103 *ss_ << str; in Message()
132 *ss_ << llvm_gtest::printable(val);
152 *ss_ << "(null)";
154 *ss_ << llvm_gtest::printable(pointer);
167 *ss_ << val;
209 *ss_ << "(null)"; in StreamHelper()
211 *ss_ << pointer; in StreamHelper()
[all …]
/external/mesa3d/src/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/libaom/libaom/third_party/googletest/src/googletest/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/googletest/googletest/include/gtest/
Dgtest-message.h101 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()
128 *ss_ << val;
148 *ss_ << "(null)";
150 *ss_ << pointer;
162 *ss_ << val;
196 const std::unique_ptr< ::std::stringstream> ss_;
/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/perf_data_converter/src/quipper/mybase/base/
Dlogging.h51 ss_ << x;
57 ss_ << "[" << label << ":" << file << ":" << line << "] "; in LogBase()
61 std::ostringstream ss_; variable
73 if (level_ >= GetMinLogLevel()) std::cerr << ss_.str() << std::endl; in ~Log()
89 std::cerr << ss_.str() << ": " << strerror(errnum_) << std::endl; in ~PLog()
106 if (vlog_level_ <= GetVlogVerbosity()) std::cerr << ss_.str() << std::endl; in ~VLog()
/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