/frameworks/native/libs/math/tests/ |
D | mat_test.cpp | 37 mat4 m0; in TEST_F() local 38 EXPECT_EQ(sizeof(m0), sizeof(float)*16); in TEST_F() 42 mat4 m0; in TEST_F() local 45 EXPECT_TRUE(m0 == m0); in TEST_F() 46 EXPECT_TRUE(m0 != m1); in TEST_F() 47 EXPECT_FALSE(m0 != m0); in TEST_F() 48 EXPECT_FALSE(m0 == m1); in TEST_F() 52 mat4 m0; in TEST_F() local 53 ASSERT_EQ(m0[0].x, 1); in TEST_F() 54 ASSERT_EQ(m0[0].y, 0); in TEST_F() [all …]
|
/frameworks/av/include/media/ |
D | Interpolator.h | 143 S m0, m1; in findY() local 146 m0 = low2 != this->end() in findY() 155 m0 = (sec0 + sec) * 0.5f; in findY() 166 m0 = constrainSlope(m0, maxSlope); in findY() 169 m0 = constrainSlope(m0, 3 * sec0); in findY() 177 m0 *= interval; in findY() 181 const S c1 = m0; in findY() 182 const S c2 = 3 * dy - 2 * m0 - m1; in findY() 183 const S c3 = m0 + m1 - 2 * dy; in findY() 193 return h00 * low->second + (h10 * m0 + h11 * m1) * interval + h01 * high->second; in findY()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | repeated_field_reflection_unittest.cc | 552 TestAllTypes m0, m1, m2; in TEST() local 554 m0.add_repeated_int32(Func(i, 1)); in TEST() 555 m0.add_repeated_double(Func(i, 2)); in TEST() 556 m0.add_repeated_string(StrFunc(i, 5)); in TEST() 557 m0.add_repeated_foreign_message()->set_c(Func(i, 6)); in TEST() 558 m0.add_repeated_nested_enum(TestAllTypes::FOO); in TEST() 571 const Reflection* refl = m0.GetReflection(); in TEST() 572 const Descriptor* desc = m0.GetDescriptor(); in TEST() 588 refl->GetMutableRepeatedFieldRef<int32>(&m0, fd_repeated_int32); in TEST() 590 refl->GetMutableRepeatedFieldRef<double>(&m0, fd_repeated_double); in TEST() [all …]
|
D | map_test.cc | 1678 TestMap m0, m1, m2; in TEST_F() local 1680 (*m0.mutable_map_int32_int32())[i] = Func(i, 1); in TEST_F() 1681 (*m0.mutable_map_int32_double())[i] = Func(i, 2); in TEST_F() 1682 (*m0.mutable_map_string_string())[StrFunc(i, 1)] = StrFunc(i, 5); in TEST_F() 1683 (*m0.mutable_map_int32_foreign_message())[i].set_c(Func(i, 6)); in TEST_F() 1694 const Reflection* refl = m0.GetReflection(); in TEST_F() 1695 const Descriptor* desc = m0.GetDescriptor(); in TEST_F() 1710 &m0, fd_map_int32_int32); in TEST_F() 1713 &m0, fd_map_int32_double); in TEST_F() 1716 &m0, fd_map_string_string); in TEST_F() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLinkLayerStatsTest.java | 56 int m0 = a & b; in bumpCounters() local 60 assertEquals(-1, m0 + m1 + m2 + m3); in bumpCounters() 62 s.rxmpdu_be += rxg & m0; in bumpCounters() 63 s.txmpdu_be += txg & m0; in bumpCounters() 64 s.lostmpdu_be += txb & m0; in bumpCounters() 65 s.retries_be += txr & m0; in bumpCounters()
|
/frameworks/native/opengl/libagl/ |
D | light.cpp | 50 const GLfixed* m0, const GLfixed* m1, const GLfixed* a); 52 const GLfixed* m0, const GLfixed* m1); 163 const GLfixed* m0, const GLfixed* m1, const GLfixed* a) in vmla3() argument 165 d[0] = gglMulAddx(m0[0], m1[0], a[0]); in vmla3() 166 d[1] = gglMulAddx(m0[1], m1[1], a[1]); in vmla3() 167 d[2] = gglMulAddx(m0[2], m1[2], a[2]); in vmla3() 171 void vmul3(GLfixed* d, const GLfixed* m0, const GLfixed* m1) { in vmul3() argument 172 d[0] = gglMulx(m0[0], m1[0]); in vmul3() 173 d[1] = gglMulx(m0[1], m1[1]); in vmul3() 174 d[2] = gglMulx(m0[2], m1[2]); in vmul3()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | KeyEventDispatcherTest.java | 557 Message m0 = getTimedMessage(mInputEventsHandler, 0); in assertTwoKeyEventsSentToFrameworkInOrder() local 558 assertEquals(SEND_FRAMEWORK_KEY_EVENT, m0.what); in assertTwoKeyEventsSentToFrameworkInOrder() 559 assertEquals(WindowManagerPolicy.FLAG_PASS_TO_USER, m0.arg1); in assertTwoKeyEventsSentToFrameworkInOrder() 560 assertTrue(new KeyEventMatcher(first).matches(m0.obj)); in assertTwoKeyEventsSentToFrameworkInOrder()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | reflection_test.py | 908 m0 = proto.repeated_nested_message.add() 912 self.assertListsEqual([m0, m1], proto.repeated_nested_message) 913 self.assertIsInstance(m0, unittest_pb2.TestAllTypes.NestedMessage) 934 [m0, m1, m2, m3, m4], proto.repeated_nested_message[:]) 936 [m0, m1], proto.repeated_nested_message[:2]) 940 m0, proto.repeated_nested_message[0]) 942 [m0], proto.repeated_nested_message[:1]) 948 self.assertListsEqual([m0, m1, m2, m3, m4], result) 952 self.assertListsEqual([m0, m1, m3, m4], proto.repeated_nested_message) 956 self.assertListsEqual([m0, m1], proto.repeated_nested_message) [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | GeneratedMessageTest.java | 804 ForeignMessage m0 = ForeignMessage.newBuilder().buildPartial(); in testMessageOrBuilderGetters() local 807 builder.addRepeatedForeignMessage(m0); in testMessageOrBuilderGetters() 810 assertSame(m0, builder.getRepeatedForeignMessageOrBuilder(0)); in testMessageOrBuilderGetters()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | GeneratedMessageTest.java | 1081 ForeignMessage m0 = ForeignMessage.newBuilder().buildPartial(); in testMessageOrBuilderGetters() local 1084 builder.addRepeatedForeignMessage(m0); in testMessageOrBuilderGetters() 1087 assertSame(m0, builder.getRepeatedForeignMessageOrBuilder(0)); in testMessageOrBuilderGetters()
|