Home
last modified time | relevance | path

Searched refs:messages_ (Results 1 – 25 of 46) sorted by relevance

12

/external/chromium_org/ipc/
Dipc_test_sink.cc52 messages_.push_back(Message(msg)); in OnMessageReceived()
57 messages_.clear(); in ClearMessages()
61 if (index >= messages_.size()) in GetMessageAt()
63 return &messages_[index]; in GetMessageAt()
67 for (size_t i = 0; i < messages_.size(); i++) { in GetFirstMessageMatching()
68 if (messages_[i].type() == id) in GetFirstMessageMatching()
69 return &messages_[i]; in GetFirstMessageMatching()
77 for (size_t i = 0; i < messages_.size(); i++) { in GetUniqueMessageMatching()
78 if (messages_[i].type() == id) { in GetUniqueMessageMatching()
85 return &messages_[found_index]; in GetUniqueMessageMatching()
Dipc_test_sink.h96 size_t message_count() const { return messages_.size(); } in message_count()
130 std::vector<Message> messages_;
/external/chromium_org/content/renderer/gpu/
Dqueue_message_swap_promise_unittest.cc37 messages_.push_back(message); in Send()
41 ScopedVector<IPC::Message>& messages() { return messages_; } in messages()
46 ScopedVector<IPC::Message> messages_; member in content::TestSyncMessageFilter
108 messages_.push_back( in QueueMessages()
111 QueueMessageImpl(new IPC::Message(messages_[i]), in QueueMessages()
133 std::vector<IPC::Message> messages_; member in content::QueueMessageSwapPromiseTest
152 EXPECT_TRUE(NextSwapHasMessage(messages_[0])); in TEST_F()
179 EXPECT_TRUE(ContainsMessage(DirectSendMessages(), messages_[0])); in TEST_F()
192 EXPECT_TRUE(ContainsMessage(DirectSendMessages(), messages_[0])); in TEST_F()
207 EXPECT_TRUE(NextSwapHasMessage(messages_[0])); in TEST_F()
[all …]
/external/chromium_org/remoting/protocol/
Dfake_authenticator.cc98 messages_(0), in FakeAuthenticator()
110 EXPECT_LE(messages_, round_trips_ * 2); in state()
111 if (messages_ >= round_trips_ * 2) { in state()
121 if (messages_ == round_trips_ * 2 - 1 && in state()
127 if ((messages_ % 2 == 0 && type_ == CLIENT) || in state()
128 (messages_ % 2 == 1 && type_ == HOST)) { in state()
136 return messages_ > messages_till_started_; in started()
149 EXPECT_EQ(id, base::IntToString(messages_)); in ProcessMessage()
150 ++messages_; in ProcessMessage()
161 id->AddText(base::IntToString(messages_)); in GetNextMessage()
[all …]
Dmessage_reader_unittest.cc75 STLDeleteElements(&messages_); in TearDown()
98 messages_.push_back(buffer.release()); in OnMessage()
106 std::vector<CompoundBuffer*> messages_; member in remoting::protocol::MessageReaderTest
126 EXPECT_TRUE(CompareResult(messages_[0], kTestMessage1)); in TEST_F()
149 EXPECT_EQ(1U, messages_.size()); in TEST_F()
171 EXPECT_TRUE(CompareResult(messages_[0], kTestMessage1)); in TEST_F()
172 EXPECT_TRUE(CompareResult(messages_[1], kTestMessage2)); in TEST_F()
208 EXPECT_TRUE(CompareResult(messages_[1], kTestMessage2)); in TEST_F()
252 EXPECT_TRUE(CompareResult(messages_[0], kTestMessage1)); in TEST_F()
270 EXPECT_TRUE(CompareResult(messages_[1], kTestMessage2)); in TEST_F()
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_types.cc146 MessageMap::iterator iter = messages_.find(field); in Set()
147 if (iter != messages_.end()) { in Set()
151 messages_.erase(iter); in Set()
154 messages_.insert(MessageMap::value_type(field, message)); in Set()
159 MessageMap::const_iterator iter = messages_.find(field); in GetMessageOrDefault()
160 return iter != messages_.end() ? iter->second : default_message_; in GetMessageOrDefault()
168 for (MessageMap::const_iterator iter = messages_.begin(); in HasErrors()
169 iter != messages_.end(); ++iter) { in HasErrors()
177 for (MessageMap::const_iterator iter = messages_.begin(); in HasSureErrors()
178 iter != messages_.end(); ++iter) { in HasSureErrors()
/external/chromium_org/tools/ipc_fuzzer/message_lib/
Dmessage_file_writer.cc47 const MessageVector* messages_; member in ipc_fuzzer::__anonce46a4300111::Writer
53 Writer::Writer(const base::FilePath& path) : path_(path), messages_(NULL) { in Writer()
79 for (size_t i = 0; i < messages_->size(); ++i) { in CollectMessageTypes()
80 uint32_t type = (*messages_)[i]->type(); in CollectMessageTypes()
92 if (messages_->size() > UINT_MAX) in WriteHeader()
96 header.message_count = messages_->size(); in WriteHeader()
104 for (size_t i = 0; i < messages_->size(); ++i) { in WriteMessages()
105 IPC::Message* message = (*messages_)[i]; in WriteMessages()
139 messages_ = &messages; in Write()
Dmessage_file_reader.cc58 MessageVector* messages_; member in ipc_fuzzer::__anonfb5c2fa60111::Reader
67 messages_(NULL) { in Reader()
126 messages_->push_back(message); in ReadMessages()
170 MessageVector::iterator it = messages_->begin(); in RemoveUnknownMessages()
171 while (it != messages_->end()) { in RemoveUnknownMessages()
180 it = messages_->erase(it); in RemoveUnknownMessages()
193 for (MessageVector::iterator it = messages_->begin(); in FixMessageTypes()
194 it != messages_->end(); ++it) { in FixMessageTypes()
204 messages_ = messages; in Read()
/external/chromium_org/chromeos/network/
Dnetwork_sms_handler_unittest.cc32 messages_.insert(text); in MessageReceived()
37 messages_.clear(); in ClearMessages()
40 int message_count() { return messages_.size(); } in message_count()
42 return messages_; in messages()
46 std::set<std::string> messages_; member in chromeos::__anonfedb9a160111::TestObserver
/external/chromium_org/chrome/renderer/spellchecker/
Dspellcheck_provider_mac_unittest.cc38 EXPECT_EQ(provider_.messages_.size(), 1U); in TEST_F()
43 provider_.messages_[0], &read_parameters1); in TEST_F()
64 EXPECT_EQ(provider_.messages_.size(), 2U); in TEST_F()
69 provider_.messages_[0], &read_parameters1); in TEST_F()
75 provider_.messages_[1], &read_parameters2); in TEST_F()
/external/chromium_org/chrome/test/chromedriver/net/
Dwebsocket_unittest.cc41 : messages_(messages) {} in Listener()
44 EXPECT_TRUE(messages_.empty()); in ~Listener()
48 ASSERT_TRUE(messages_.size()); in OnMessageReceived()
49 EXPECT_EQ(messages_[0], message); in OnMessageReceived()
50 messages_.erase(messages_.begin()); in OnMessageReceived()
51 if (messages_.empty()) in OnMessageReceived()
60 std::vector<std::string> messages_; member in __anon36daee470111::Listener
/external/chromium_org/extensions/test/
Dresult_catcher.cc40 message_ = messages_.front(); in GetNextResult()
41 messages_.pop_front(); in GetNextResult()
62 messages_.push_back(std::string()); in Observe()
70 messages_.push_back(*(content::Details<std::string>(details).ptr())); in Observe()
/external/chromium_org/net/quic/crypto/
Dcrypto_framer_test.cc43 messages_.push_back(message); in OnHandshakeMessage()
49 vector<CryptoHandshakeMessage> messages_; member in net::test::TestCryptoVisitor
284 ASSERT_EQ(1u, visitor.messages_.size()); in TEST()
285 const CryptoHandshakeMessage& message = visitor.messages_[0]; in TEST()
331 ASSERT_EQ(1u, visitor.messages_.size()); in TEST()
332 const CryptoHandshakeMessage& message = visitor.messages_[0]; in TEST()
372 ASSERT_EQ(1u, visitor.messages_.size()); in TEST()
373 const CryptoHandshakeMessage& message = visitor.messages_[0]; in TEST()
/external/chromium_org/components/autofill/content/renderer/
Dtest_password_generation_agent.h26 const std::vector<IPC::Message*>& messages() const { return messages_.get(); } in messages()
29 void clear_messages() { messages_.clear(); } in clear_messages()
37 ScopedVector<IPC::Message> messages_;
/external/chromium_org/tools/ipc_fuzzer/replay/
Dreplay_process.cc67 return MessageFile::Read(path, &messages_); in OpenTestcase()
71 if (message_index_ >= messages_.size()) { in SendNextMessage()
77 IPC::Message* message = messages_[message_index_]; in SendNextMessage()
78 messages_[message_index_++] = NULL; in SendNextMessage()
/external/chromium_org/ash/system/chromeos/network/
Dtray_sms.cc306 default_->SetVisible(!messages_.empty()); in CreateDefaultView()
313 if (messages_.empty()) in CreateDetailedView()
370 messages_.Append(dict); in MessageReceived()
377 if (messages_.empty()) in GetLatestMessage()
380 size_t message_index = messages_.GetSize() - 1; in GetLatestMessage()
381 if (!messages_.GetDictionary(message_index, &message)) in GetLatestMessage()
390 if (index < messages_.GetSize()) in RemoveMessage()
391 messages_.Remove(index, NULL); in RemoveMessage()
395 if (messages_.empty()) { in Update()
Dtray_sms.h51 base::ListValue& messages() { return messages_; } in messages()
57 base::ListValue messages_; variable
/external/chromium_org/jingle/glue/
Dthread_wrapper.cc94 for (MessagesQueue::iterator it = messages_.begin(); in Clear()
95 it != messages_.end();) { in Clear()
105 messages_.erase(it); in Clear()
213 messages_.insert(std::pair<int, rtc::Message>(task_id, message)); in PostTaskInternal()
233 MessagesQueue::iterator it = messages_.find(task_id); in RunTask()
234 if (it != messages_.end()) { in RunTask()
237 messages_.erase(it); in RunTask()
/external/chromium_org/content/browser/renderer_host/media/
Dwebrtc_identity_service_host_unittest.cc71 messages_.push_back(*message); in Send()
80 IPC::Message GetLastMessage() { return messages_.back(); } in GetLastMessage()
82 int GetNumberOfMessages() { return messages_.size(); } in GetNumberOfMessages()
84 void ClearMessages() { messages_.clear(); } in ClearMessages()
93 std::deque<IPC::Message> messages_; member in content::__anonee4800410111::WebRTCIdentityServiceHostForTest
/external/chromium_org/content/renderer/media/
Dwebrtc_identity_service_unittest.cc26 messages_.push_back(*message); in Send()
35 IPC::Message GetLastMessage() { return messages_.back(); } in GetLastMessage()
37 int GetNumberOfMessages() { return messages_.size(); } in GetNumberOfMessages()
39 void ClearMessages() { messages_.clear(); } in ClearMessages()
42 std::deque<IPC::Message> messages_; member in content::__anondc0a0df40111::WebRTCIdentityServiceForTest
/external/chromium_org/net/quic/
Dquic_crypto_stream_test.cc34 messages_.push_back(message); in OnHandshakeMessage()
38 return &messages_; in messages()
42 vector<CryptoHandshakeMessage> messages_; member in net::test::__anon93218cc90111::MockQuicCryptoStream
/external/chromium-trace/trace-viewer/src/tracing/importer/
Dtimeline_stream_importer_test.js15 this.messages_ = []; property in anonymousFunctionc0e186a00100.FakeWebSocket
39 this.messages_.push(JSON.stringify(msg));
43 return this.messages_.length;
47 var messages = this.messages_.splice(0, this.messages_.length);
/external/chromium_org/content/renderer/input/
Dinput_event_filter_unittest.cc84 messages_.push_back(message); in OnMessageReceived()
88 size_t message_count() const { return messages_.size(); } in message_count()
91 return messages_[i]; in message_at()
95 messages_.clear(); in Clear()
99 std::vector<IPC::Message> messages_; member in content::__anonc4ac393a0111::IPCMessageRecorder
/external/chromium_org/third_party/protobuf/src/google/protobuf/testing/
Dgoogletest.cc229 return messages_[level]; in GetMessages()
236 active_log_->messages_[level].push_back(message); in HandleLog()
/external/protobuf/src/google/protobuf/testing/
Dgoogletest.cc228 return messages_; in GetMessages()
235 active_log_->messages_.push_back(message); in HandleLog()

12