/external/chromium_org/ipc/ |
D | ipc_test_sink.cc | 52 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()
|
D | ipc_test_sink.h | 96 size_t message_count() const { return messages_.size(); } in message_count() 130 std::vector<Message> messages_;
|
/external/chromium_org/content/renderer/gpu/ |
D | queue_message_swap_promise_unittest.cc | 37 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/ |
D | fake_authenticator.cc | 98 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 …]
|
D | message_reader_unittest.cc | 75 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/ |
D | autofill_dialog_types.cc | 146 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/ |
D | message_file_writer.cc | 47 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()
|
D | message_file_reader.cc | 58 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/ |
D | network_sms_handler_unittest.cc | 32 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/ |
D | spellcheck_provider_mac_unittest.cc | 38 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/ |
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 __anon36daee470111::Listener
|
/external/chromium_org/extensions/test/ |
D | result_catcher.cc | 40 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/ |
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/components/autofill/content/renderer/ |
D | test_password_generation_agent.h | 26 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/ |
D | replay_process.cc | 67 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/ |
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 | 51 base::ListValue& messages() { return messages_; } in messages() 57 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, 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/ |
D | webrtc_identity_service_host_unittest.cc | 71 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/ |
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::__anondc0a0df40111::WebRTCIdentityServiceForTest
|
/external/chromium_org/net/quic/ |
D | quic_crypto_stream_test.cc | 34 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/ |
D | timeline_stream_importer_test.js | 15 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/ |
D | input_event_filter_unittest.cc | 84 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/ |
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()
|