/external/chromium_org/ipc/ |
D | ipc_test_sink.cc | 33 messages_.push_back(Message(msg)); in OnMessageReceived() 38 messages_.clear(); in ClearMessages() 42 if (index >= messages_.size()) in GetMessageAt() 44 return &messages_[index]; in GetMessageAt() 48 for (size_t i = 0; i < messages_.size(); i++) { in GetFirstMessageMatching() 49 if (messages_[i].type() == id) in GetFirstMessageMatching() 50 return &messages_[i]; in GetFirstMessageMatching() 58 for (size_t i = 0; i < messages_.size(); i++) { in GetUniqueMessageMatching() 59 if (messages_[i].type() == id) { in GetUniqueMessageMatching() 66 return &messages_[found_index]; in GetUniqueMessageMatching()
|
D | ipc_test_sink.h | 87 size_t message_count() const { return messages_.size(); } in message_count() 121 std::vector<Message> messages_;
|
/external/chromium_org/remoting/protocol/ |
D | fake_authenticator.cc | 87 messages_(0) { in FakeAuthenticator() 94 EXPECT_LE(messages_, round_trips_ * 2); in state() 95 if (messages_ >= round_trips_ * 2) { in state() 105 if (messages_ == round_trips_ * 2 - 1 && in state() 111 if ((messages_ % 2 == 0 && type_ == CLIENT) || in state() 112 (messages_ % 2 == 1 && type_ == HOST)) { in state() 129 EXPECT_EQ(id, base::IntToString(messages_)); in ProcessMessage() 130 ++messages_; in ProcessMessage() 141 id->AddText(base::IntToString(messages_)); in GetNextMessage() 144 ++messages_; in GetNextMessage()
|
D | message_reader_unittest.cc | 74 STLDeleteElements(&messages_); in TearDown() 97 messages_.push_back(buffer.release()); in OnMessage() 105 std::vector<CompoundBuffer*> messages_; member in remoting::protocol::MessageReaderTest 125 EXPECT_TRUE(CompareResult(messages_[0], kTestMessage1)); in TEST_F() 148 EXPECT_EQ(1U, messages_.size()); in TEST_F() 170 EXPECT_TRUE(CompareResult(messages_[0], kTestMessage1)); in TEST_F() 171 EXPECT_TRUE(CompareResult(messages_[1], kTestMessage2)); in TEST_F() 207 EXPECT_TRUE(CompareResult(messages_[1], kTestMessage2)); in TEST_F() 251 EXPECT_TRUE(CompareResult(messages_[0], kTestMessage1)); in TEST_F() 269 EXPECT_TRUE(CompareResult(messages_[1], kTestMessage2)); in TEST_F()
|
/external/chromium_org/tools/ipc_fuzzer/message_lib/ |
D | message_file_writer.cc | 47 const MessageVector* messages_; member in ipc_fuzzer::__anon35587b030111::Writer 56 messages_(NULL) { in Writer() 90 for (size_t i = 0; i < messages_->size(); ++i) { in CollectMessageTypes() 91 uint32_t type = (*messages_)[i]->type(); in CollectMessageTypes() 103 if (messages_->size() > UINT_MAX) in WriteHeader() 107 header.message_count = messages_->size(); in WriteHeader() 115 for (size_t i = 0; i < messages_->size(); ++i) { in WriteMessages() 116 IPC::Message* message = (*messages_)[i]; in WriteMessages() 150 messages_ = &messages; in Write()
|
D | message_file_reader.cc | 58 MessageVector* messages_; member in ipc_fuzzer::__anon626e06790111::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/chrome/browser/ui/autofill/ |
D | autofill_dialog_types.cc | 141 messages_.erase(field); in Set() 142 messages_.insert(MessageMap::value_type(field, message)); in Set() 147 MessageMap::const_iterator iter = messages_.find(field); in GetMessageOrDefault() 148 return iter != messages_.end() ? iter->second : default_message_; in GetMessageOrDefault() 156 for (MessageMap::const_iterator iter = messages_.begin(); in HasErrors() 157 iter != messages_.end(); ++iter) { in HasErrors() 165 for (MessageMap::const_iterator iter = messages_.begin(); in HasSureErrors() 166 iter != messages_.end(); ++iter) { in HasSureErrors()
|
/external/chromium_org/chromeos/network/ |
D | network_sms_handler_unittest.cc | 33 messages_.insert(text); in MessageReceived() 38 messages_.clear(); in ClearMessages() 41 int message_count() { return messages_.size(); } in message_count() 43 return messages_; in messages() 47 std::set<std::string> messages_; member in chromeos::__anon0111a9c90111::TestObserver
|
/external/chromium_org/chrome/test/chromedriver/net/ |
D | websocket_unittest.cc | 41 : 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 __anon9ed3b6ba0111::Listener
|
/external/chromium_org/chrome/renderer/spellchecker/ |
D | spellcheck_provider_mac_unittest.cc | 60 EXPECT_EQ(provider_.messages_.size(), 1U); in TEST_F() 64 ReadRequestTextCheck(provider_.messages_[0]); in TEST_F() 84 EXPECT_EQ(provider_.messages_.size(), 2U); in TEST_F() 88 ReadRequestTextCheck(provider_.messages_[0]); in TEST_F() 92 ReadRequestTextCheck(provider_.messages_[1]); in TEST_F()
|
/external/chromium_org/net/quic/crypto/ |
D | crypto_framer_test.cc | 43 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/tools/ipc_fuzzer/replay/ |
D | replay_process.cc | 69 return MessageFile::Read(path, &messages_); in OpenTestcase() 73 if (message_index_ >= messages_.size()) { in SendNextMessage() 79 IPC::Message* message = messages_[message_index_]; in SendNextMessage() 80 messages_[message_index_++] = NULL; in SendNextMessage()
|
/external/chromium_org/ash/system/chromeos/network/ |
D | tray_sms.cc | 306 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()
|
D | tray_sms.h | 52 base::ListValue& messages() { return messages_; } in messages() 58 base::ListValue messages_; variable
|
/external/chromium_org/jingle/glue/ |
D | thread_wrapper.cc | 94 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, talk_base::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/ |
D | webrtc_identity_service_host_unittest.cc | 71 messages_.push_back(*message); in Send() 82 IPC::Message GetLastMessage() { return messages_.back(); } in GetLastMessage() 84 int GetNumberOfMessages() { return messages_.size(); } in GetNumberOfMessages() 86 void ClearMessages() { messages_.clear(); } in ClearMessages() 95 std::deque<IPC::Message> messages_; member in content::__anonf5d03a740111::WebRTCIdentityServiceHostForTest
|
/external/chromium_org/content/renderer/media/ |
D | webrtc_identity_service_unittest.cc | 26 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::__anon483199670111::WebRTCIdentityServiceForTest
|
/external/chromium_org/net/quic/ |
D | quic_crypto_stream_test.cc | 33 messages_.push_back(message); in OnHandshakeMessage() 37 return &messages_; in messages() 41 vector<CryptoHandshakeMessage> messages_; member in net::test::__anon297e1d9c0111::MockQuicCryptoStream
|
/external/chromium/chrome/browser/extensions/ |
D | extension_apitest.cc | 52 message_ = messages_.front(); in GetNextResult() 53 messages_.pop_front(); in GetNextResult() 73 messages_.push_back(""); in Observe() 81 messages_.push_back(*(Details<std::string>(details).ptr())); in Observe()
|
/external/chromium-trace/trace-viewer/src/tracing/importer/ |
D | timeline_stream_importer_test.js | 15 this.messages_ = []; property in anonymousFunction08d83dd30100.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/chrome/renderer/autofill/ |
D | password_generation_agent_browsertest.cc | 39 return messages_.get(); in messages() 43 messages_.clear(); in ClearMessages() 53 messages_.push_back(message); in Send() 58 ScopedVector<IPC::Message> messages_; member in autofill::TestPasswordGenerationAgent
|
/external/chromium/net/socket_stream/ |
D | socket_stream_unittest.cc | 169 messages_.push_back(message); in AddWebSocketMessage() 184 for (size_t i = 0; i < messages_.size(); i++) { in DoCloseFlushPendingWriteTest() 187 frame.insert(frame.end(), messages_[i].begin(), messages_[i].end()); in DoCloseFlushPendingWriteTest() 202 std::vector<std::string> messages_; member in net::SocketStreamTest
|
/external/chromium_org/content/renderer/input/ |
D | input_event_filter_unittest.cc | 81 messages_.push_back(message); in OnMessageReceived() 85 size_t message_count() const { return messages_.size(); } in message_count() 88 return messages_[i]; in message_at() 92 messages_.clear(); in Clear() 96 std::vector<IPC::Message> messages_; member in content::__anon378f10cd0111::IPCMessageRecorder
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/testing/ |
D | googletest.cc | 229 return messages_[level]; in GetMessages() 236 active_log_->messages_[level].push_back(message); in HandleLog()
|
/external/protobuf/src/google/protobuf/testing/ |
D | googletest.cc | 228 return messages_; in GetMessages() 235 active_log_->messages_.push_back(message); in HandleLog()
|