Searched refs:Message (Results 1 - 25 of 37) sorted by relevance

12

/gem5/ext/googletest/googletest/test/
H A Dgtest-message_test.cc32 // Tests for the Message class.
40 using ::testing::Message;
42 // Tests the testing::Message class
46 const Message msg;
52 const Message msg1("Hello");
53 const Message msg2(msg1);
57 // Tests constructing a Message from a C-string.
59 Message msg("Hello");
65 const std::string s = (Message() << 1.23456F << " " << 2.34567F).GetString();
73 const std::string s = (Message() << 1260570880.455549
[all...]
H A Dgtest-linked_ptr_test.cc40 using testing::Message;
44 Message* history = NULL;
68 history = new Message;
H A Dgtest_stress_test.cc65 Message key;
71 Message id_message;
92 SCOPED_TRACE(Message() << "Thread #" << id);
95 SCOPED_TRACE(Message() << "Iteration #" << i);
H A Dgtest_shuffle_test_.cc40 using ::testing::Message;
H A Dgtest-listener_test.cc66 Message message;
110 Message message;
H A Dgtest-test-part_test.cc37 using testing::Message;
59 Message message;
H A Dgtest-param-test_test.cc59 using ::testing::Message;
276 Message msg;
586 Message msg;
650 Message test_name;
803 Message index_stream;
894 Message test_name_stream;
921 Message test_name_stream;
953 Message test_name_stream;
/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest-message.h34 // This header file defines the Message class.
54 // See Message& operator<<(...) below for why.
59 // The Message class works like an ostream repeater.
63 // 1. You stream a bunch of values to a Message object.
65 // 2. Then you stream the Message object to an ostream.
66 // This causes the text in the Message to be streamed
71 // testing::Message foo;
77 // Message is not intended to be inherited from. In particular, its
82 // latter (it causes an access violation if you do). The Message
85 class GTEST_API_ Message { class in namespace:testing
96 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT function in class:testing::Message
101 explicit Message(const char* str) : ss_(new ::std::stringstream) { function in class:testing::Message
[all...]
H A Dgtest.h306 AppendMessage(Message() << value);
314 AppendMessage(Message() << basic_manipulator);
320 void AppendMessage(const Message& a_message) {
346 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
1677 // Message assignment is a semantic trick to enable assertion
1679 void operator=(const Message& message) const;
2117 __FILE__, __LINE__, ::testing::Message() << (message))
/gem5/src/mem/ruby/slicc_interface/
H A DMessage.hh40 class Message;
41 typedef std::shared_ptr<Message> MsgPtr;
43 class Message class
46 Message(Tick curTime) function in class:Message
52 Message(const Message &other) function in class:Message
59 virtual ~Message() { }
120 const Message *l = lhs.get();
121 const Message *r = rhs.get();
130 operator<<(std::ostream& out, const Message
[all...]
H A DRubyRequest.hh40 #include "mem/ruby/protocol/Message.hh"
45 class RubyRequest : public Message
71 : Message(curTime),
95 : Message(curTime),
123 : Message(curTime),
143 RubyRequest(Tick curTime) : Message(curTime) {}
145 { return std::shared_ptr<Message>(new RubyRequest(*this)); }
/gem5/src/mem/ruby/structures/
H A DWireBuffer.cc79 Message* msg_ptr = message.get();
99 const Message*
102 Message* msg_ptr = m_message_queue.front().get();
H A DWireBuffer.hh40 #include "mem/ruby/slicc_interface/Message.hh"
47 // With Message Buffers, even if randomization is off and ordered is on,
54 class Message;
77 const Message* peek();
/gem5/src/proto/
H A Dprotoio.hh115 * @param msg Message to write to the stream
117 void write(const google::protobuf::Message& msg);
164 * @param msg Message read from the stream
167 bool read(google::protobuf::Message& msg);
H A Dprotoio.cc84 ProtoOutputStream::write(const Message& msg)
177 ProtoInputStream::read(Message& msg)
/gem5/src/mem/ruby/network/simple/
H A DThrottle.cc39 #include "mem/ruby/slicc_interface/Message.hh"
49 static int network_message_to_size(Message* net_msg_ptr);
110 Message *net_msg_ptr = msg_ptr.get();
249 network_message_to_size(Message *net_msg_ptr)
/gem5/src/mem/ruby/network/garnet2.0/
H A Dflit.cc84 Message *msg = m_msg_ptr.get();
/gem5/src/mem/ruby/network/
H A DMessageBuffer.cc126 const Message*
130 const Message* msg_ptr = m_prio_heap.front().get();
133 DPRINTF(RubyQueue, "Message: %s\n", (*msg_ptr));
200 Message* msg_ptr = message.get();
216 DPRINTF(RubyQueue, "Enqueue arrival_time: %lld, Message: %s\n",
318 DPRINTF(RubyQueue, "Requeue arrival_time: %lld, Message: %s\n",
448 Message *msg = m_prio_heap[i].get();
463 Message *msg = (*it).get();
H A DMessageBuffer.hh51 #include "mem/ruby/slicc_interface/Message.hh"
98 const Message* peek() const;
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h229 ::testing::Message()
298 // statement unconditionally returns or throws. The Message constructor at
312 ::testing::Message()
H A Dgtest-internal.h80 namespace proto2 { class Message; }
87 class Message; // Represents a failure message.
138 const std::string& gtest_msg, const Message& user_msg);
160 ScopedTrace(const char* file, int line, const Message& message);
900 // true iff T is type ProtocolMessage, proto2::Message, or a subclass
906 ImplicitlyConvertible<const T*, const ::proto2::Message*>::value> {
1104 = ::testing::Message()
/gem5/ext/googletest/googlemock/src/
H A Dgmock-internal-utils.cc85 message.c_str()) = Message();
/gem5/ext/googletest/googletest/src/
H A Dgtest-typed-test.cc67 Message errors;
H A Dgtest-port.cc111 (Message() << "/proc/" << getpid() << "/stat").GetString();
675 return (Message() << "Syntax error at index " << index
1136 (Message() << GTEST_FLAG_PREFIX_ << flag).GetString();
1138 Message env_var;
1149 bool ParseInt32(const Message& src_text, const char* str, Int32* value) {
1157 Message msg;
1174 Message msg;
1216 if (!ParseInt32(Message() << "Environment variable " << env_var,
1219 (Message() << default_value).GetString().c_str());
H A Dgtest.cc372 // Message assignment, for assertion streaming support.
373 void AssertHelper::operator=(const Message& message) const {
640 Message msg;
905 // encoding, and streams the result to the given Message object.
907 Message* msg) {
941 // Constructs an empty Message.
946 Message::Message() : ss_(new ::std::stringstream) { function in class:testing::Message
948 // a double to a Message.
952 // These two overloads allow streaming a wide C string to a Message
[all...]

Completed in 56 milliseconds

12