Home
last modified time | relevance | path

Searched refs:Message (Results 1 – 25 of 760) sorted by relevance

12345678910>>...31

/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection.h130 const Message* default_instance,
164 const Message* default_instance,
178 const UnknownFieldSet& GetUnknownFields(const Message& message) const;
179 UnknownFieldSet* MutableUnknownFields(Message* message) const;
181 int SpaceUsed(const Message& message) const;
183 bool HasField(const Message& message, const FieldDescriptor* field) const;
184 int FieldSize(const Message& message, const FieldDescriptor* field) const;
185 void ClearField(Message* message, const FieldDescriptor* field) const;
186 bool HasOneof(const Message& message,
188 void ClearOneof(Message* message, const OneofDescriptor* field) const;
[all …]
Dmessage.h129 class Message; variable
165 class LIBPROTOBUF_EXPORT Message : public MessageLite {
167 inline Message() {} in Message() function
168 virtual ~Message();
175 virtual Message* New() const = 0;
180 virtual void CopyFrom(const Message& from);
187 virtual void MergeFrom(const Message& from);
313 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Message);
366 const Message& message) const = 0;
370 virtual UnknownFieldSet* MutableUnknownFields(Message* message) const = 0;
[all …]
Dmessage.cc60 Message::~Message() {} in ~Message()
62 void Message::MergeFrom(const Message& from) { in MergeFrom()
71 void Message::CheckTypeAndMergeFrom(const MessageLite& other) { in CheckTypeAndMergeFrom()
72 MergeFrom(*down_cast<const Message*>(&other)); in CheckTypeAndMergeFrom()
75 void Message::CopyFrom(const Message& from) { in CopyFrom()
84 string Message::GetTypeName() const { in GetTypeName()
88 void Message::Clear() { in Clear()
92 bool Message::IsInitialized() const { in IsInitialized()
96 void Message::FindInitializationErrors(vector<string>* errors) const { in FindInitializationErrors()
100 string Message::InitializationErrorString() const { in InitializationErrorString()
[all …]
Dgenerated_message_reflection.cc173 const Message* default_instance, in GeneratedMessageReflection()
196 const Message* default_instance, in GeneratedMessageReflection()
224 const Message& message) const { in GetUnknownFields()
230 Message* message) const { in MutableUnknownFields()
235 int GeneratedMessageReflection::SpaceUsed(const Message& message) const { in SpaceUsed()
283 .SpaceUsedExcludingSelf<GenericTypeHandler<Message> >(); in SpaceUsed()
329 const Message* sub_message = GetRaw<const Message*>(message, field); in SpaceUsed()
343 Message* message1, in SwapField()
344 Message* message2, in SwapField()
391 std::swap(*MutableRaw<Message*>(message1, field), in SwapField()
[all …]
Dtest_util.h144 void SetAllFieldsViaReflection(Message* message);
145 void ModifyRepeatedFieldsViaReflection(Message* message);
146 void ExpectAllFieldsSetViaReflection(const Message& message);
147 void ExpectClearViaReflection(const Message& message);
149 void SetPackedFieldsViaReflection(Message* message);
150 void ModifyPackedFieldsViaReflection(Message* message);
151 void ExpectPackedFieldsSetViaReflection(const Message& message);
152 void ExpectPackedClearViaReflection(const Message& message);
154 void RemoveLastRepeatedsViaReflection(Message* message);
156 Message* message, bool expect_extensions_notnull);
[all …]
Dtext_format.h66 static bool Print(const Message& message, io::ZeroCopyOutputStream* output);
75 static bool PrintToString(const Message& message, string* output);
85 static void PrintFieldValueToString(const Message& message,
109 virtual string PrintFieldName(const Message& message,
112 virtual string PrintMessageStart(const Message& message,
116 virtual string PrintMessageEnd(const Message& message,
133 bool Print(const Message& message, io::ZeroCopyOutputStream* output) const;
138 bool PrintToString(const Message& message, string* output) const;
143 void PrintFieldValueToString(const Message& message,
223 void Print(const Message& message,
[all …]
Dreflection_ops.h59 static void Copy(const Message& from, Message* to);
60 static void Merge(const Message& from, Message* to);
61 static void Clear(Message* message);
62 static bool IsInitialized(const Message& message);
63 static void DiscardUnknownFields(Message* message);
68 static void FindInitializationErrors(const Message& message,
/external/skia/src/core/
DSkMessageBus.h17 template <typename Message>
21 static void Post(const Message& m);
29 void poll(SkTArray<Message>* out);
32 SkTArray<Message> fMessages;
36 void receive(const Message& m); // SkMessageBus is a friend only to call this.
52 #define DECLARE_SKMESSAGEBUS_MESSAGE(Message) \ argument
53 SK_DECLARE_STATIC_LAZY_PTR(SkMessageBus<Message>, bus); \
55 SkMessageBus<Message>* SkMessageBus<Message>::Get() { \
61 template<typename Message>
62 SkMessageBus<Message>::Inbox::Inbox() { in Inbox()
[all …]
/external/tcpdump/tests/
Dlmp.out1 IP 10.0.12.1.49998 > 10.0.12.2.49998: LMPv1 Begin Verify Message, length: 56
2 IP 10.0.12.1.49998 > 10.0.12.2.49998: LMPv1 Hello Message, length: 28
3 IP 10.0.12.1.49998 > 10.0.12.2.49998: LMPv1 Config NACK Message, length: 56
4 IP 10.0.12.1.49998 > 10.0.12.2.49998: LMPv1 Config ACK Message, length: 48
5 IP 10.0.12.1.49998 > 10.0.12.2.49998: LMPv1 Config Message, length: 40
6 IP 10.0.12.1.49998 > 10.0.12.2.49998: LMPv1 Link Summary ACK Message, length: 16
7 IP 10.0.12.1.49998 > 10.0.12.2.49998: LMPv1 Link Summary NACK Message, length: 96
8 IP 10.0.12.1.49998 > 10.0.12.2.49998: LMPv1 Begin Verify ACK Message, length: 40
9 IP 10.0.12.1.49998 > 10.0.12.2.49998: LMPv1 Begin Verify NACK Message, length: 32
10 IP 10.0.12.1.49998 > 10.0.12.2.49998: LMPv1 End Verify Message, length: 24
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest-message_test.cc40 using ::testing::Message;
43 const char* ToCString(const Message& msg) { in ToCString()
53 const Message msg; in TEST()
59 const Message msg1("Hello"); in TEST()
60 const Message msg2(msg1); in TEST()
66 Message msg("Hello"); in TEST()
72 const char* const s = ToCString(Message() << 1.23456F << " " << 2.34567F); in TEST()
80 const char* const s = ToCString(Message() << 1260570880.4555497 << " " in TEST()
91 EXPECT_STRNE("(null)", ToCString(Message() << p)); in TEST()
97 EXPECT_STREQ("(null)", ToCString(Message() << p)); in TEST()
[all …]
/external/protobuf/gtest/test/
Dgtest-message_test.cc40 using ::testing::Message;
44 const char* ToCString(const Message& msg) { in ToCString()
54 const Message msg; in TEST()
60 const Message msg1("Hello"); in TEST()
61 const Message msg2(msg1); in TEST()
67 Message msg("Hello"); in TEST()
73 const char* const s = ToCString(Message() << 1.23456F << " " << 2.34567F); in TEST()
81 const char* const s = ToCString(Message() << 1260570880.4555497 << " " in TEST()
92 EXPECT_STRNE("(null)", ToCString(Message() << p)); in TEST()
98 EXPECT_STREQ("(null)", ToCString(Message() << p)); in TEST()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DMessageTest.java12 import android.os.Message;
19 assertNotNull(new Message().getData()); in testGetDataShouldLazilyCreateBundle()
20 assertTrue(new Message().getData().isEmpty()); in testGetDataShouldLazilyCreateBundle()
25 Message m = new Message(); in testGetData()
33 assertNull(new Message().peekData()); in testPeekData()
35 Message m = new Message(); in testPeekData()
43 Message m = new Message(); in testGetTarget()
52 Message m = new Message(); in testCopyFrom()
59 Message m2 = new Message(); in testCopyFrom()
72 Message m = Message.obtain(); in testObtain()
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMessage.java11 import android.os.Message;
13 @Implements(Message.class)
20 private Message message;
51 public void copyFrom(Message m) { in copyFrom()
60 public static Message obtain() { in obtain()
61 return new Message(); in obtain()
65 public static Message obtain(Handler h) { in obtain()
66 Message m = new Message(); in obtain()
72 public static Message obtain(Handler h, int what) { in obtain()
73 Message m = obtain(h); in obtain()
[all …]
DShadowHandler.java5 import android.os.Message;
30 private List<Message> messages = new ArrayList<Message>();
61 public Message obtainMessage() { in obtainMessage()
66 public Message obtainMessage(int what) { in obtainMessage()
71 public Message obtainMessage(int what, Object obj) { in obtainMessage()
76 public Message obtainMessage(int what, int arg1, int arg2) { in obtainMessage()
81 public Message obtainMessage(int what, int arg1, int arg2, Object obj) { in obtainMessage()
82 Message message = new Message(); in obtainMessage()
92 public final boolean sendMessage(final Message msg) { in sendMessage()
97 public final boolean sendMessageDelayed(final Message msg, long delayMillis) { in sendMessageDelayed()
[all …]
/external/gtest/test/
Dgtest-message_test.cc40 using ::testing::Message;
46 const Message msg; in TEST()
52 const Message msg1("Hello"); in TEST()
53 const Message msg2(msg1); in TEST()
59 Message msg("Hello"); in TEST()
65 const std::string s = (Message() << 1.23456F << " " << 2.34567F).GetString(); in TEST()
73 const std::string s = (Message() << 1260570880.4555497 << " " in TEST()
84 EXPECT_NE("(null)", (Message() << p).GetString()); in TEST()
90 EXPECT_EQ("(null)", (Message() << p).GetString()); in TEST()
95 EXPECT_EQ("Foo", (Message() << "Foo").GetString()); in TEST()
[all …]
/external/deqp/execserver/
DxsProtocol.hpp67 class Message class
72 Message (MessageType type_) : type(type_) {} in Message() function in xs::Message
73 virtual ~Message (void) {} in ~Message()
83 Message (const Message& other);
84 Message& operator= (const Message& other);
89 class SimpleMessage : public Message
92 …SimpleMessage (const deUint8* data, int dataSize) : Message((MessageType)MsgType) { DE_UNREF(data)… in SimpleMessage()
93 SimpleMessage (void) : Message((MessageType)MsgType) {} in SimpleMessage()
103 class HelloMessage : public Message
109 HelloMessage (void) : Message(MESSAGETYPE_HELLO), version(PROTOCOL_VERSION) {} in HelloMessage()
[all …]
/external/deqp/framework/egl/
DegluCallLogWrapper.inl10 m_log << TestLog::Message << "eglBindAPI(" << getAPIStr(api) << ");" << TestLog::EndMessage;
13 …m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMes…
20 …m_log << TestLog::Message << "eglBindTexImage(" << dpy << ", " << toHex(surface) << ", " << buffer…
23 …m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMes…
30 …m_log << TestLog::Message << "eglChooseConfig(" << dpy << ", " << getConfigAttribListStr(attrib_li…
34 …m_log << TestLog::Message << "// configs = " << getPointerStr(configs, (num_config && returnValue)…
35 …m_log << TestLog::Message << "// num_config = " << (num_config ? de::toString(*num_config) : "NULL…
38 …m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMes…
45 …m_log << TestLog::Message << "eglClientWaitSync(" << dpy << ", " << sync << ", " << flags << ", " …
48 m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage;
[all …]
/external/protobuf/gtest/include/gtest/
Dgtest-message.h82 class GTEST_API_ Message {
94 Message() : ss_(new internal::StrStream) { in Message() function
101 Message(const Message& msg) : ss_(new internal::StrStream) { // NOLINT in Message() function
106 explicit Message(const char* str) : ss_(new internal::StrStream) { in Message() function
110 ~Message() { delete ss_; } in ~Message()
114 inline Message& operator <<(const T& value) {
121 inline Message& operator <<(const T& val) {
140 inline Message& operator <<(T* const& pointer) { // NOLINT
156 Message& operator <<(BasicNarrowIoManip val) {
162 Message& operator <<(bool b) {
[all …]
/external/gtest/include/gtest/
Dgtest-message.h85 class GTEST_API_ Message {
93 Message();
96 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT in Message() function
101 explicit Message(const char* str) : ss_(new ::std::stringstream) { in Message() function
108 inline Message& operator <<(const T& value) {
115 inline Message& operator <<(const T& val) {
149 inline Message& operator <<(T* const& pointer) { // NOLINT
165 Message& operator <<(BasicNarrowIoManip val) {
171 Message& operator <<(bool b) {
177 Message& operator <<(const wchar_t* wide_c_str);
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest-message.h82 class GTEST_API_ Message {
94 Message() : ss_(new ::std::stringstream) { in Message() function
101 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT in Message() function
106 explicit Message(const char* str) : ss_(new ::std::stringstream) { in Message() function
113 inline Message& operator <<(const T& value) {
120 inline Message& operator <<(const T& val) {
139 inline Message& operator <<(T* const& pointer) { // NOLINT
155 Message& operator <<(BasicNarrowIoManip val) {
161 Message& operator <<(bool b) {
167 Message& operator <<(const wchar_t* wide_c_str) {
[all …]
/external/google-breakpad/src/testing/gtest/include/gtest/
Dgtest-message.h82 class GTEST_API_ Message {
94 Message() : ss_(new ::std::stringstream) { in Message() function
101 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT in Message() function
106 explicit Message(const char* str) : ss_(new ::std::stringstream) { in Message() function
113 inline Message& operator <<(const T& value) {
120 inline Message& operator <<(const T& val) {
139 inline Message& operator <<(T* const& pointer) { // NOLINT
155 Message& operator <<(BasicNarrowIoManip val) {
161 Message& operator <<(bool b) {
167 Message& operator <<(const wchar_t* wide_c_str) {
[all …]
/external/mesa3d/src/gtest/include/gtest/
Dgtest-message.h82 class GTEST_API_ Message {
94 Message() : ss_(new ::std::stringstream) { in Message() function
101 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT in Message() function
106 explicit Message(const char* str) : ss_(new ::std::stringstream) { in Message() function
113 inline Message& operator <<(const T& value) {
120 inline Message& operator <<(const T& val) {
139 inline Message& operator <<(T* const& pointer) { // NOLINT
155 Message& operator <<(BasicNarrowIoManip val) {
161 Message& operator <<(bool b) {
167 Message& operator <<(const wchar_t* wide_c_str) {
[all …]
/external/deqp/framework/opengl/
DgluCallLogWrapper.inl10 …m_log << TestLog::Message << "glActiveShaderProgram(" << pipeline << ", " << program << ");" << Te…
17 …m_log << TestLog::Message << "glActiveTexture(" << getTextureUnitStr(texture) << ");" << TestLog::…
24 …m_log << TestLog::Message << "glAttachShader(" << program << ", " << shader << ");" << TestLog::En…
31 …m_log << TestLog::Message << "glBeginConditionalRender(" << id << ", " << toHex(mode) << ");" << T…
38 …m_log << TestLog::Message << "glBeginQuery(" << getQueryTargetStr(target) << ", " << id << ");" <<…
45 …m_log << TestLog::Message << "glBeginQueryIndexed(" << toHex(target) << ", " << index << ", " << i…
52 …m_log << TestLog::Message << "glBeginTransformFeedback(" << getPrimitiveTypeStr(primitiveMode) << …
59 …m_log << TestLog::Message << "glBindAttribLocation(" << program << ", " << index << ", " << getStr…
66 …m_log << TestLog::Message << "glBindBuffer(" << getBufferTargetStr(target) << ", " << buffer << ")…
73 …m_log << TestLog::Message << "glBindBufferBase(" << getBufferTargetStr(target) << ", " << index <<…
[all …]
/external/protobuf/java/src/test/java/com/google/protobuf/
DDynamicMessageTest.java62 Message.Builder builder = in testDynamicMessageAccessors()
65 Message message = builder.build(); in testDynamicMessageAccessors()
70 Message.Builder builder = in testSettersAfterBuild()
72 Message firstMessage = builder.build(); in testSettersAfterBuild()
79 Message message = builder.build(); in testSettersAfterBuild()
90 Message.Builder builder = in testUnknownFields()
96 Message message = builder.build(); in testUnknownFields()
99 Message.Builder newBuilder = builder.clone(); in testUnknownFields()
110 Message.Builder builder = in testDynamicMessageSettersRejectNull()
119 Message.Builder builder = in testDynamicMessageExtensionAccessors()
[all …]
/external/deqp/modules/egl/
DteglSyncTests.cpp271 …log << TestLog::Message << m_sync << " = eglCreateSyncKHR(" << m_eglDisplay << ", " << getSyncType… in iterate()
295 …log << TestLog::Message << m_sync << " = eglCreateSyncKHR(" << m_eglDisplay << ", " << getSyncType… in iterate()
314 …log << TestLog::Message << m_sync << " = eglCreateSyncKHR(EGL_NO_DISPLAY, " << getSyncTypeName(m_s… in iterate()
317 log << TestLog::Message << error << " = eglGetError()" << TestLog::EndMessage; in iterate()
321 …log << TestLog::Message << "Unexpected error '" << eglu::getErrorStr(error) << "' expected EGL_BAD… in iterate()
344 …log << TestLog::Message << m_sync << " = eglCreateSyncKHR(" << m_eglDisplay << ", EGL_NONE, NULL)"… in iterate()
347 log << TestLog::Message << error << " = eglGetError()" << TestLog::EndMessage; in iterate()
351 …log << TestLog::Message << "Unexpected error '" << eglu::getErrorStr(error) << "' expected EGL_BAD… in iterate()
379 …log << TestLog::Message << m_sync << " = eglCreateSyncKHR(" << m_eglDisplay << ", " << getSyncType… in iterate()
382 log << TestLog::Message << error << " = eglGetError()" << TestLog::EndMessage; in iterate()
[all …]

12345678910>>...31