/external/protobuf/src/google/protobuf/ |
D | test_util_lite.cc | 48 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 …]
|
D | test_util.cc | 52 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 …]
|
D | reflection_ops_unittest.cc | 51 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 …]
|
D | test_util.h | 52 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 …]
|
D | extension_set_unittest.cc | 63 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 …]
|
D | text_format_unittest.cc | 238 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 …]
|
D | generated_message_reflection.h | 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; 189 void RemoveLast(Message* message, const FieldDescriptor* field) const; 190 Message* ReleaseLast(Message* message, const FieldDescriptor* field) const; [all …]
|
D | lite_unittest.cc | 48 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 …]
|
D | generated_message_reflection_unittest.cc | 69 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 …]
|
D | message.h | 366 const Message& message) const = 0; 370 virtual UnknownFieldSet* MutableUnknownFields(Message* message) const = 0; 373 virtual int SpaceUsed(const Message& message) const = 0; 376 virtual bool HasField(const Message& message, 380 virtual int FieldSize(const Message& message, 385 virtual void ClearField(Message* message, 415 virtual void RemoveLast(Message* message, 419 virtual Message* ReleaseLast(Message* message, 432 virtual void SwapElements(Message* message, 442 virtual void ListFields(const Message& message, [all …]
|
/external/v8/test/mjsunit/regress/ |
D | regress-1200351.js | 41 } 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/ |
D | TestUtil.java | 351 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 …]
|
D | LazyFieldTest.java | 46 MessageLite message = TestUtil.getAllSet(); in testHashCode() local 48 createLazyFieldFromMessage(message); in testHashCode() 49 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCode() 51 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCode() 54 assertNotEqual(message.hashCode(), lazyField.hashCode()); in testHashCode() 58 TestAllExtensions message = TestUtil.getAllExtensionsSet(); in testHashCodeEx() local 59 LazyField lazyField = createLazyFieldFromMessage(message); in testHashCodeEx() 60 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCodeEx() 62 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCodeEx() 65 assertNotEqual(message.hashCode(), lazyField.hashCode()); in testHashCodeEx() [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | test_util.py | 45 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 …]
|
D | text_format_test.py | 61 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 …]
|
D | message_test.py | 56 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/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/lang/ |
D | wpa_gui_de.ts | 6 <message> 10 </message> 11 <message> 15 </message> 16 <message> 20 </message> 21 <message> 25 </message> 26 <message> 30 </message> [all …]
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 93 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/junit/src/junit/framework/ |
D | Assert.java | 18 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 …]
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
D | ServerKeyExchangeTest.java | 38 ServerKeyExchange message = new ServerKeyExchange(rsa_mod, rsa_exp, in testServerKeyExchange_RSA_EXPORT() local 40 assertEquals("incorrect type", Handshake.SERVER_KEY_EXCHANGE, message in testServerKeyExchange_RSA_EXPORT() 43 assertTrue("incorrect ServerKeyExchange", Arrays.equals(message.hash, in testServerKeyExchange_RSA_EXPORT() 45 assertEquals("incorrect ServerKeyExchange", rsa_mod, message.par1); in testServerKeyExchange_RSA_EXPORT() 46 assertEquals("incorrect ServerKeyExchange", rsa_exp, message.par2); in testServerKeyExchange_RSA_EXPORT() 47 assertNull("incorrect ServerKeyExchange", message.par3); in testServerKeyExchange_RSA_EXPORT() 50 message.send(out); in testServerKeyExchange_RSA_EXPORT() 52 assertEquals("incorrect out data length", message.length(), in testServerKeyExchange_RSA_EXPORT() 57 ServerKeyExchange message_2 = new ServerKeyExchange(in, message in testServerKeyExchange_RSA_EXPORT() 60 assertTrue("incorrect message decoding", Arrays.equals(message.hash, in testServerKeyExchange_RSA_EXPORT() [all …]
|
/external/deqp/framework/common/ |
D | tcuDefs.cpp | 50 static std::string formatError (const char* message, const char* expr, const char* file, int line) in formatError() argument 53 msg << (message ? message : "Runtime check failed"); in formatError() 64 Exception::Exception (const char* message, const char* expr, const char* file, int line) in Exception() argument 65 : std::runtime_error(formatError(message, expr, file, line)) in Exception() 66 , m_message (message ? message : "Runtime check failed") in Exception() 70 Exception::Exception (const std::string& message) in Exception() argument 71 : std::runtime_error(message) in Exception() 72 , m_message (message) in Exception() 76 TestException::TestException (const char* message, const char* expr, const char* file, int line, qp… in TestException() argument 77 : Exception (formatError(message, expr, file, line)) in TestException() [all …]
|
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/ |
D | protobufwireadapter.cc | 48 const pairing::message::ConfigurationMessage& message) { in SendConfigurationMessage() argument 52 message.encoding().symbol_length()); in SendConfigurationMessage() 55 EncodingTypeToProto(message.encoding().encoding_type())); in SendConfigurationMessage() 57 configuration.set_client_role(RoleToProto(message.client_role())); in SendConfigurationMessage() 64 const pairing::message::ConfigurationAckMessage& message) { in SendConfigurationAckMessage() argument 72 const pairing::message::OptionsMessage& message) { in SendOptionsMessage() argument 73 LOG(INFO) << "Sending " << message.ToString(); in SendOptionsMessage() 77 for (iter = message.input_encodings().begin(); in SendOptionsMessage() 78 iter != message.input_encodings().end(); in SendOptionsMessage() 86 for (iter = message.output_encodings().begin(); in SendOptionsMessage() [all …]
|
/external/junit/src/org/junit/ |
D | Assert.java | 41 static public void assertTrue(String message, boolean condition) { in assertTrue() argument 43 fail(message); in assertTrue() 67 static public void assertFalse(String message, boolean condition) { in assertFalse() argument 68 assertTrue(message, !condition); in assertFalse() 90 static public void fail(String message) { in fail() argument 91 if (message == null) in fail() 93 throw new AssertionError(message); in fail() 117 static public void assertEquals(String message, Object expected, in assertEquals() argument 124 String cleanMessage= message == null ? "" : message; in assertEquals() 128 failNotEquals(message, expected, actual); in assertEquals() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_old_handlers.h | 14 DBusMessage * wpas_dbus_new_invalid_iface_error(DBusMessage *message); 15 DBusMessage * wpas_dbus_new_invalid_network_error(DBusMessage *message); 17 DBusMessage * wpas_dbus_global_add_interface(DBusMessage *message, 20 DBusMessage * wpas_dbus_global_remove_interface(DBusMessage *message, 23 DBusMessage * wpas_dbus_global_get_interface(DBusMessage *message, 26 DBusMessage * wpas_dbus_global_set_debugparams(DBusMessage *message, 29 DBusMessage * wpas_dbus_iface_scan(DBusMessage *message, 32 DBusMessage * wpas_dbus_iface_scan_results(DBusMessage *message, 35 DBusMessage * wpas_dbus_bssid_properties(DBusMessage *message, 39 DBusMessage * wpas_dbus_iface_capabilities(DBusMessage *message, [all …]
|
/external/tcpdump/ |
D | print-babel.c | 318 const u_char *message; in babel_print_v2() local 321 message = cp + 4 + i; in babel_print_v2() 323 TCHECK2(*message, 1); in babel_print_v2() 324 if((type = message[0]) == MESSAGE_PAD1) { in babel_print_v2() 330 TCHECK2(*message, 2); in babel_print_v2() 332 len = message[1]; in babel_print_v2() 334 TCHECK2(*message, 2 + len); in babel_print_v2() 353 nonce = EXTRACT_16BITS(message + 4); in babel_print_v2() 354 interval = EXTRACT_16BITS(message + 6); in babel_print_v2() 367 nonce = EXTRACT_16BITS(message + 2); in babel_print_v2() [all …]
|