Home
last modified time | relevance | path

Searched refs:message (Results 1 – 25 of 3935) sorted by relevance

12345678910>>...158

/external/protobuf/src/google/protobuf/
Dtest_util_lite.cc48 void TestUtilLite::SetAllFields(unittest::TestAllTypesLite* message) { in SetAllFields() argument
49 message->set_optional_int32 (101); in SetAllFields()
50 message->set_optional_int64 (102); in SetAllFields()
51 message->set_optional_uint32 (103); in SetAllFields()
52 message->set_optional_uint64 (104); in SetAllFields()
53 message->set_optional_sint32 (105); in SetAllFields()
54 message->set_optional_sint64 (106); in SetAllFields()
55 message->set_optional_fixed32 (107); in SetAllFields()
56 message->set_optional_fixed64 (108); in SetAllFields()
57 message->set_optional_sfixed32(109); in SetAllFields()
[all …]
Dtest_util.cc52 void TestUtil::SetAllFields(unittest::TestAllTypes* message) { in SetAllFields() argument
53 SetOptionalFields(message); in SetAllFields()
54 AddRepeatedFields1(message); in SetAllFields()
55 AddRepeatedFields2(message); in SetAllFields()
56 SetDefaultFields(message); in SetAllFields()
57 SetOneofFields(message); in SetAllFields()
60 void TestUtil::SetOptionalFields(unittest::TestAllTypes* message) { in SetOptionalFields() argument
61 message->set_optional_int32 (101); in SetOptionalFields()
62 message->set_optional_int64 (102); in SetOptionalFields()
63 message->set_optional_uint32 (103); in SetOptionalFields()
[all …]
Dreflection_ops_unittest.cc51 unittest::TestAllTypes message; in TEST() local
53 TestUtil::SetAllFields(&message); in TEST()
54 TestUtil::ExpectAllFieldsSet(message); in TEST()
58 unittest::TestAllTypes message, message2; in TEST() local
60 TestUtil::SetAllFields(&message); in TEST()
62 ReflectionOps::Copy(message, &message2); in TEST()
72 unittest::TestAllExtensions message, message2; in TEST() local
74 TestUtil::SetAllExtensions(&message); in TEST()
76 ReflectionOps::Copy(message, &message2); in TEST()
82 unittest::TestOneof2 message, message2; in TEST() local
[all …]
Dtest_util.h52 static void SetAllFields(unittest::TestAllTypes* message);
53 static void SetOptionalFields(unittest::TestAllTypes* message);
54 static void AddRepeatedFields1(unittest::TestAllTypes* message);
55 static void AddRepeatedFields2(unittest::TestAllTypes* message);
56 static void SetDefaultFields(unittest::TestAllTypes* message);
57 static void SetOneofFields(unittest::TestAllTypes* message);
58 static void SetAllExtensions(unittest::TestAllExtensions* message);
59 static void SetOneofFields(unittest::TestAllExtensions* message);
60 static void SetAllFieldsAndExtensions(unittest::TestFieldOrderings* message);
61 static void SetPackedFields(unittest::TestPackedTypes* message);
[all …]
Dextension_set_unittest.cc63 unittest::TestAllExtensions message; in TEST() local
65 TestUtil::ExpectExtensionsClear(message); in TEST()
71 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
73 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
75 &message.GetExtension( in TEST()
78 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
84 unittest::TestAllExtensions message; in TEST() local
86 TestUtil::SetAllExtensions(&message); in TEST()
87 TestUtil::ExpectAllExtensionsSet(message); in TEST()
89 TestUtil::ModifyRepeatedExtensions(&message); in TEST()
[all …]
Dtext_format_unittest.cc238 unittest::TestEmptyMessage message; in TEST_F() local
239 UnknownFieldSet* unknown_fields = message.mutable_unknown_fields(); in TEST_F()
262 message.DebugString()); in TEST_F()
268 unittest::OneString message; in TEST_F() local
269 message.set_data("data"); in TEST_F()
270 UnknownFieldSet* unknown_fields = message.mutable_unknown_fields(); in TEST_F()
285 printer.PrintToString(message, &output); in TEST_F()
293 protobuf_unittest::TestAllTypes message; in TEST_F() local
300 message.add_repeated_string("abc"); in TEST_F()
305 message.add_repeated_string("def"); in TEST_F()
[all …]
Dgenerated_message_reflection.h178 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;
189 void RemoveLast(Message* message, const FieldDescriptor* field) const;
190 Message* ReleaseLast(Message* message, const FieldDescriptor* field) const;
[all …]
Dlite_unittest.cc48 void ExpectMessageMerged(const google::protobuf::unittest::TestAllTypesLite& message) { in ExpectMessageMerged() argument
49 GOOGLE_CHECK(message.optional_int32() == 3); in ExpectMessageMerged()
50 GOOGLE_CHECK(message.optional_int64() == 2); in ExpectMessageMerged()
51 GOOGLE_CHECK(message.optional_string() == "hello"); in ExpectMessageMerged()
66 protobuf_unittest::TestAllTypesLite message; in SetAllTypesInEmptyMessageUnknownFields() local
67 google::protobuf::TestUtilLite::ExpectClear(message); in SetAllTypesInEmptyMessageUnknownFields()
68 google::protobuf::TestUtilLite::SetAllFields(&message); in SetAllTypesInEmptyMessageUnknownFields()
69 string data = message.SerializeAsString(); in SetAllTypesInEmptyMessageUnknownFields()
75 protobuf_unittest::TestAllTypesLite message; in SetSomeTypesInEmptyMessageUnknownFields() local
76 google::protobuf::TestUtilLite::ExpectClear(message); in SetSomeTypesInEmptyMessageUnknownFields()
[all …]
Dgenerated_message_reflection_unittest.cc69 unittest::TestAllTypes message; in TEST() local
73 reflection_tester.ExpectClearViaReflection(message); in TEST()
75 const Reflection* reflection = message.GetReflection(); in TEST()
81 &reflection->GetMessage(message, F("optionalgroup"))); in TEST()
83 &reflection->GetMessage(message, F("optional_nested_message"))); in TEST()
85 &reflection->GetMessage(message, F("optional_foreign_message"))); in TEST()
87 &reflection->GetMessage(message, F("optional_import_message"))); in TEST()
93 unittest::TestAllTypes message; in TEST() local
97 reflection_tester.SetAllFieldsViaReflection(&message); in TEST()
98 TestUtil::ExpectAllFieldsSet(message); in TEST()
[all …]
/external/v8/test/mjsunit/regress/
Dregress-1200351.js41 } catch (e) { if (e.message.length > 0) { print (e.message); } };
45 } catch (e) { if (e.message.length > 0) { print (e.message); } };
49 } catch (e) { if (e.message.length > 0) { print (e.message); } };
53 } catch (e) { if (e.message.length > 0) { print (e.message); } };
57 } catch (e) { if (e.message.length > 0) { print (e.message); } };
61 } catch (e) { if (e.message.length > 0) { print (e.message); } };
65 } catch (e) { if (e.message.length > 0) { print (e.message); } };
69 } catch (e) { if (e.message.length > 0) { print (e.message); } };
73 } catch (e) { if (e.message.length > 0) { print (e.message); } };
77 } catch (e) { if (e.message.length > 0) { print (e.message); } };
[all …]
/external/protobuf/java/src/test/java/com/google/protobuf/
DTestUtil.java351 public static void setAllFields(TestAllTypes.Builder message) { in setAllFields() argument
352 message.setOptionalInt32 (101); in setAllFields()
353 message.setOptionalInt64 (102); in setAllFields()
354 message.setOptionalUint32 (103); in setAllFields()
355 message.setOptionalUint64 (104); in setAllFields()
356 message.setOptionalSint32 (105); in setAllFields()
357 message.setOptionalSint64 (106); in setAllFields()
358 message.setOptionalFixed32 (107); in setAllFields()
359 message.setOptionalFixed64 (108); in setAllFields()
360 message.setOptionalSfixed32(109); in setAllFields()
[all …]
/external/protobuf/python/google/protobuf/internal/
Dtest_util.py45 def SetAllNonLazyFields(message): argument
56 message.optional_int32 = 101
57 message.optional_int64 = 102
58 message.optional_uint32 = 103
59 message.optional_uint64 = 104
60 message.optional_sint32 = 105
61 message.optional_sint64 = 106
62 message.optional_fixed32 = 107
63 message.optional_fixed64 = 108
64 message.optional_sfixed32 = 109
[all …]
Dtext_format_test.py61 message = unittest_pb2.TestAllTypes()
62 test_util.SetAllFields(message)
64 self.RemoveRedundantZeros(text_format.MessageToString(message)),
68 message = unittest_pb2.TestFieldOrderings()
69 message.my_string = '115'
70 message.my_int = 101
71 message.my_float = 111
74 message, use_index_order=True)),
78 message)), 'my_int: 101\nmy_string: \"115\"\nmy_float: 111\n')
81 message = unittest_pb2.TestAllExtensions()
[all …]
Dmessage_test.py56 from google.protobuf import message
146 self.assertRaises(message.EncodeError, unpickled_message.SerializeToString)
191 message = unittest_pb2.TestAllTypes()
192 message.ParseFromString(serialized)
193 self.assertTrue(isnan(message.optional_float))
194 self.assertTrue(isnan(message.optional_double))
195 self.assertTrue(isnan(message.repeated_float[0]))
196 self.assertTrue(isnan(message.repeated_double[0]))
225 message = unittest_pb2.TestPackedTypes()
226 message.ParseFromString(serialized)
[all …]
/external/dbus/bus/
Ddispatch.c54 DBusMessage *message, in send_one_message() argument
62 message, in send_one_message()
66 if (dbus_message_contains_unix_fds(message) && in send_one_message()
72 message)) in send_one_message()
85 DBusMessage *message, in bus_dispatch_matches() argument
102 _dbus_assert (dbus_message_get_sender (message) != NULL); in bus_dispatch_matches()
112 message, error)) in bus_dispatch_matches()
115 if (dbus_message_contains_unix_fds (message) && in bus_dispatch_matches()
127 if (!bus_transaction_send (transaction, addressed_recipient, message)) in bus_dispatch_matches()
141 sender, addressed_recipient, message, in bus_dispatch_matches()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/lang/
Dwpa_gui_de.ts6 <message>
10 </message>
11 <message>
15 </message>
16 <message>
20 </message>
21 <message>
25 </message>
26 <message>
30 </message>
[all …]
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_message_unittest.py55 message = TestMessage()
66 message = TestMessage(message_type=4, fake=5)
74 message = TestMessage(message_type=3)
75 self.assertEqual(message.message_length, 0)
76 self.assertEqual(message.transaction_id, 0)
77 self.assertEqual(message.message_type, 3)
86 message = TestMessage(message_type=3, transaction_id=4)
87 self.assertEqual(message.message_length, 0)
88 self.assertEqual(message.transaction_id, 4)
89 self.assertEqual(message.message_type, 3)
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc93 const string& message) { in AddError() argument
95 filename, line, column, message); in AddError()
136 unittest::TestAllTypes message; in TEST() local
138 TestUtil::ExpectClear(message); in TEST()
144 &message.optionalgroup()); in TEST()
146 &message.optional_nested_message()); in TEST()
148 &message.optional_foreign_message()); in TEST()
150 &message.optional_import_message()); in TEST()
208 unittest::TestAllTypes message; in TEST() local
210 TestUtil::SetAllFields(&message); in TEST()
[all …]
/external/dbus/dbus/
Ddbus-message.c47 static void dbus_message_finalize (DBusMessage *message);
92 _dbus_message_trace_ref (DBusMessage *message, in _dbus_message_trace_ref() argument
99 _dbus_trace_ref ("DBusMessage", message, old_refcount, new_refcount, why, in _dbus_message_trace_ref()
127 DBusMessage *message; /**< Message used */ member
163 _dbus_message_byteswap (DBusMessage *message) in _dbus_message_byteswap() argument
169 byte_order = _dbus_header_get_byte_order (&message->header); in _dbus_message_byteswap()
176 get_const_signature (&message->header, &type_str, &type_pos); in _dbus_message_byteswap()
181 &message->body, 0); in _dbus_message_byteswap()
183 _dbus_header_byteswap (&message->header, DBUS_COMPILER_BYTE_ORDER); in _dbus_message_byteswap()
184 _dbus_assert (_dbus_header_get_byte_order (&message->header) == in _dbus_message_byteswap()
[all …]
Ddbus-message-factory.c103 set_reply_serial (DBusMessage *message) in set_reply_serial() argument
105 if (message == NULL) in set_reply_serial()
107 if (!dbus_message_set_reply_serial (message, 100)) in set_reply_serial()
115 DBusMessage *message; in generate_trivial_inner() local
120 message = dbus_message_new_method_call ("org.freedesktop.TextEditor", in generate_trivial_inner()
126 message = dbus_message_new (DBUS_MESSAGE_TYPE_METHOD_RETURN); in generate_trivial_inner()
127 set_reply_serial (message); in generate_trivial_inner()
130 message = dbus_message_new_signal ("/foo/bar", in generate_trivial_inner()
135 message = dbus_message_new (DBUS_MESSAGE_TYPE_ERROR); in generate_trivial_inner()
137 if (!dbus_message_set_error_name (message, in generate_trivial_inner()
[all …]
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DLog.java40 private static void toast(Context context, String message) { in toast() argument
41 Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); in toast()
44 public static void notify(Context context, String title, String contentTitle, String message) { in notify() argument
45 android.util.Log.v(getTag(), String.format("%s %s", contentTitle, message)); in notify()
56 .setContentText(message) in notify()
63 public static void showDialog(final Context context, final String title, final String message) { in showDialog() argument
64 android.util.Log.v(getTag(), String.format("%s %s", title, message)); in showDialog()
71 builder.setMessage(message); in showDialog()
85 public static void v(String message) { in v() argument
86 android.util.Log.v(getTag(), message); in v() local
[all …]
/external/dng_sdk/source/
Ddng_exceptions.cpp30 void ReportWarning (const char *message, in ReportWarning() argument
38 fprintf (stderr, "*** Warning: %s (%s) ***\n", message, sub_message); in ReportWarning()
40 fprintf (stderr, "*** Warning: %s ***\n", message); in ReportWarning()
44 (void) message; in ReportWarning()
53 void ReportError (const char *message, in ReportError() argument
60 fprintf (stderr, "*** Error: %s (%s) ***\n", message, sub_message); in ReportError()
62 fprintf (stderr, "*** Error: %s ***\n", message); in ReportError()
66 (void) message; in ReportError()
76 const char *message, in Throw_dng_error() argument
85 if (!message) in Throw_dng_error()
[all …]
/external/testng/src/main/java/org/testng/
DAssert.java40 static public void assertTrue(boolean condition, String message) { in assertTrue() argument
42 failNotEquals(condition, Boolean.TRUE, message); in assertTrue()
61 static public void assertFalse(boolean condition, String message) { in assertFalse() argument
63 failNotEquals(condition, Boolean.FALSE, message); // TESTNG-81 in assertFalse()
82 static public void fail(String message, Throwable realCause) { in fail() argument
83 AssertionError ae = new AssertionError(message); in fail()
93 static public void fail(String message) { in fail() argument
94 throw new AssertionError(message); in fail()
111 static public void assertEquals(Object actual, Object expected, String message) { in assertEquals() argument
113 assertArrayEquals(actual, expected, message); in assertEquals()
[all …]
DAssertJUnit.java22 static public void assertTrue(String message, boolean condition) { in assertTrue() argument
24 fail(message); in assertTrue()
40 static public void assertFalse(String message, boolean condition) { in assertFalse() argument
41 assertTrue(message, !condition); in assertFalse()
55 static public void fail(String message) { in fail() argument
56 if (null == message) { in fail()
57 message = ""; in fail()
59 throw new AssertionError(message); in fail()
73 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
80 failNotEquals(message, expected, actual); in assertEquals()
[all …]
/external/junit/src/junit/framework/
DAssert.java18 static public void assertTrue(String message, boolean condition) { in assertTrue() argument
20 fail(message); in assertTrue()
33 static public void assertFalse(String message, boolean condition) { in assertFalse() argument
34 assertTrue(message, !condition); in assertFalse()
46 static public void fail(String message) { in fail() argument
47 if (message == null) { in fail()
50 throw new AssertionFailedError(message); in fail()
62 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
67 failNotEquals(message, expected, actual); in assertEquals()
79 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument
[all …]

12345678910>>...158