/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 399 unittest::TestAllTypes message1, message2; in TEST() local 401 TestUtil::SetAllFields(&message1); in TEST() 402 message2.CopyFrom(message1); in TEST() 412 unittest::TestAllTypes message1, message2; in TEST() local 413 TestUtil::SetAllFields(&message1); in TEST() 415 TestUtil::ExpectAllFieldsSet(message1); in TEST() 417 message1.Swap(&message2); in TEST() 419 TestUtil::ExpectClear(message1); in TEST() 431 unittest::TestAllTypes message1, message2; in TEST() local 433 message1.set_optional_int32(123); in TEST() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | generated_message_reflection_unittest.cc | 151 unittest::TestAllTypes message1; in TEST() local 154 TestUtil::SetAllFields(&message1); in TEST() 156 const Reflection* reflection = message1.GetReflection(); in TEST() 157 reflection->Swap(&message1, &message2); in TEST() 159 TestUtil::ExpectClear(message1); in TEST() 164 unittest::TestAllTypes message1; in TEST() local 167 TestUtil::SetAllFields(&message1); in TEST() 171 const Reflection* reflection = message1.GetReflection(); in TEST() 172 reflection->Swap(&message1, &message2); in TEST() 174 TestUtil::ExpectRepeatedFieldsModified(message1); in TEST() [all …]
|
D | extension_set_unittest.cc | 208 unittest::TestAllExtensions message1, message2; in TEST() local 210 TestUtil::SetAllExtensions(&message1); in TEST() 211 message2.CopyFrom(message1); in TEST() 213 message2.CopyFrom(message1); // exercise copy when fields already exist in TEST() 218 unittest::TestPackedExtensions message1, message2; in TEST() local 220 TestUtil::SetPackedExtensions(&message1); in TEST() 221 message2.CopyFrom(message1); in TEST() 223 message2.CopyFrom(message1); // exercise copy when fields already exist in TEST() 228 unittest::TestAllExtensions message1, message2; in TEST() local 229 const Message& upcasted_message = message1; in TEST() [all …]
|
D | reflection_ops_unittest.cc | 152 unittest::TestEmptyMessage message1, message2; in TEST() local 153 message1.mutable_unknown_fields()->AddVarint(1234, 1); in TEST() 156 ReflectionOps::Merge(message2, &message1); in TEST() 158 ASSERT_EQ(2, message1.unknown_fields().field_count()); in TEST() 160 message1.unknown_fields().field(0).type()); in TEST() 161 EXPECT_EQ(1, message1.unknown_fields().field(0).varint()); in TEST() 163 message1.unknown_fields().field(1).type()); in TEST() 164 EXPECT_EQ(2, message1.unknown_fields().field(1).varint()); in TEST() 168 unittest::TestOneof2 message1, message2; in TEST() local 169 TestUtil::SetOneof1(&message1); in TEST() [all …]
|
D | generated_message_reflection.cc | 343 Message* message1, in SwapField() argument 350 MutableRaw<RepeatedField<TYPE> >(message1, field)->Swap( \ in SwapField() 366 MutableRaw<RepeatedPtrFieldBase>(message1, field)->Swap( in SwapField() 377 std::swap(*MutableRaw<TYPE>(message1, field), \ in SwapField() 391 std::swap(*MutableRaw<Message*>(message1, field), in SwapField() 399 std::swap(*MutableRaw<string*>(message1, field), in SwapField() 412 Message* message1, in SwapOneofField() argument 415 uint32 oneof_case1 = GetOneofCase(*message1, oneof_descriptor); in SwapOneofField() 437 temp_##TYPE = GetField<TYPE>(*message1, field1); \ in SwapOneofField() 450 temp_message = ReleaseMessage(message1, field1); in SwapOneofField() [all …]
|
D | generated_message_reflection.h | 191 void Swap(Message* message1, Message* message2) const; 192 void SwapFields(Message* message1, Message* message2, 386 inline void SwapBit(Message* message1, 392 void SwapField(Message* message1, 396 void SwapOneofField(Message* message1,
|
D | message.h | 423 virtual void Swap(Message* message1, Message* message2) const = 0; 426 virtual void SwapFields(Message* message1,
|
D | wire_format_unittest.cc | 447 unittest::TestMessageSetExtension1 message1; in TEST() local 448 EXPECT_TRUE(message1.ParseFromString(raw.item(0).message())); in TEST() 449 EXPECT_EQ(123, message1.i()); in TEST()
|
/external/v8/test/promises-aplus/lib/ |
D | assert.js | 30 function compose(message1, message2) { argument 31 return message2 ? message1 + ': ' + message2 : message1
|
/external/protobuf/python/google/protobuf/internal/ |
D | unknown_fields_test.py | 152 message1 = unittest_mset_pb2.TestMessageSetExtension1() 153 message1.i = 12345 154 item.message = message1.SerializeToString()
|
D | reflection_test.py | 1403 message1 = unittest_pb2.TestAllTypes() 1408 message1.optional_nested_message 1409 self.assertFalse(message1.HasField('optional_nested_message')) 1412 message2.MergeFrom(message1) 1586 message1 = proto.repeated_message.add() 1588 message1.a = message1.b = message1.c = 0 1594 message1 = proto.Extensions[extension].add() 1597 message1.a = 1 1598 message1.b = 1 1599 message1.c = 1 [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | fast-isel-intrinsic.ll | 12 @message1 = global [60 x i8] c"The LLVM Compiler Infrastructure\00\00\00\00\00\00\00\00\00\00\00\00… 17 ; ARM: {{(movw r0, :lower16:_?message1)|(ldr r0, .LCPI)}} 18 ; ARM: {{(movt r0, :upper16:_?message1)|(ldr r0, \[r0\])}} 30 ; THUMB: {{(movw r0, :lower16:_?message1)|(ldr.n r0, .LCPI)}} 31 ; THUMB: {{(movt r0, :upper16:_?message1)|(ldr r0, \[r0\])}} 42 …call void @llvm.memset.p0i8.i32(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @message1, i32 0…
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | UnknownFieldSetTest.java | 506 TestAllTypes message1 = TestAllTypes.newBuilder() in testMergeFromLite() local 520 ByteString data1 = message1.toByteString(); in testMergeFromLite() 527 message1 = TestAllTypes.newBuilder(message1).mergeFrom(message2).build(); in testMergeFromLite() 534 assertEquals(message1, message2); in testMergeFromLite()
|
D | AbstractMessageTest.java | 487 private void checkEqualsIsConsistent(Message message1, Message message2) { in checkEqualsIsConsistent() argument 488 assertEquals(message1, message2); in checkEqualsIsConsistent() 489 assertEquals(message2, message1); in checkEqualsIsConsistent() 490 assertEquals(message2.hashCode(), message1.hashCode()); in checkEqualsIsConsistent()
|
D | WireFormatTest.java | 375 TestMessageSetExtension1 message1 = in testSerializeMessageSetWithFlag() local 378 assertEquals(123, message1.getI()); in testSerializeMessageSetWithFlag()
|