/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | ANTLRxxxxStreamFixture.cs | 79 Assert.AreEqual(0, inputStream.Count); in TestSizeOnEmptyANTLRInputStream() 90 Assert.AreEqual(grammarStr.Length, inputStream.Count); in TestSizeOnANTLRInputStream() 101 Assert.AreEqual(0, inputStream.Index); in TestConsumeAndIndexOnANTLRInputStream() 104 Assert.AreEqual(1, inputStream.Index); in TestConsumeAndIndexOnANTLRInputStream() 107 Assert.AreEqual(2, inputStream.Index); in TestConsumeAndIndexOnANTLRInputStream() 113 Assert.AreEqual(inputStream.Index, inputStream.Count); in TestConsumeAndIndexOnANTLRInputStream() 129 Assert.AreEqual(inputStream.Index, inputStream.Count); in TestConsumeAllCharactersInAnANTLRInputStream() 140 Assert.AreEqual(0, inputStream.Index); in TestConsumeOnANTLRInputStream() 141 Assert.AreEqual(0, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream() 142 Assert.AreEqual(1, inputStream.Line); in TestConsumeOnANTLRInputStream() [all …]
|
D | RewriteRuleXxxxStreamFixture.cs | 101 Assert.AreEqual(description.ToString(), tokenTest.Description, in CheckRRTokenStreamBehaviourWhileEmpty1() 103 Assert.AreEqual(0, tokenTest.Count, "The number of elements should be zero."); in CheckRRTokenStreamBehaviourWhileEmpty1() 106 Assert.AreEqual(0, tokenTest.Count, in CheckRRTokenStreamBehaviourWhileEmpty1() 120 Assert.AreEqual(description.ToString(), subtreeTest.Description, in CheckRRSubtreeStreamBehaviourWhileEmpty1() 122 Assert.AreEqual(0, subtreeTest.Count, "The number of elements should be zero."); in CheckRRSubtreeStreamBehaviourWhileEmpty1() 125 Assert.AreEqual(0, subtreeTest.Count, in CheckRRSubtreeStreamBehaviourWhileEmpty1() 138 Assert.AreEqual(description.ToString(), nodeTest.Description, in CheckRRNodeStreamBehaviourWhileEmpty1() 140 Assert.AreEqual(0, nodeTest.Count, "The number of elements should be zero."); in CheckRRNodeStreamBehaviourWhileEmpty1() 143 Assert.AreEqual(0, nodeTest.Count, in CheckRRNodeStreamBehaviourWhileEmpty1() 198 Assert.AreEqual(1, tokenTest.Count, "tokenTest should have the size 1 (1)."); in CheckRRTokenStreamBehaviourWithElements() [all …]
|
D | ITreeNodeStreamFixture.cs | 64 Assert.AreEqual(expected, actual); in testSingleNode() 68 Assert.AreEqual(expected, actual); in testSingleNode() 85 Assert.AreEqual(expected, actual); in test4Nodes() 89 Assert.AreEqual(expected, actual); in test4Nodes() 110 Assert.AreEqual(expected, actual); in testList() 114 Assert.AreEqual(expected, actual); in testList() 129 Assert.AreEqual(expected, actual); in testFlatList() 133 Assert.AreEqual(expected, actual); in testFlatList() 146 Assert.AreEqual(expected, actual); in testListWithOneNode() 150 Assert.AreEqual(expected, actual); in testListWithOneNode() [all …]
|
D | ITreeFixture.cs | 59 Assert.AreEqual(-1, t.ChildIndex); in testSingleNode() 72 Assert.AreEqual(-1, r0.ChildIndex); in test4Nodes() 86 Assert.AreEqual(-1, r0.ChildIndex); in testList() 87 Assert.AreEqual(r0, c0.Parent); in testList() 88 Assert.AreEqual(0, c0.ChildIndex); in testList() 89 Assert.AreEqual(r0, c1.Parent); in testList() 90 Assert.AreEqual(1, c1.ChildIndex); in testList() 91 Assert.AreEqual(r0, c2.Parent); in testList() 92 Assert.AreEqual(2, c2.ChildIndex); in testList() 112 Assert.AreEqual(-1, root.ChildIndex); in testList2() [all …]
|
/external/zlib/src/contrib/dotzlib/DotZLib/ |
D | UnitTests.cs | 51 Assert.AreEqual( 0, buf.Size ); in SinglePutGet() 52 Assert.AreEqual( -1, buf.Get() ); in SinglePutGet() 55 Assert.AreEqual( 1, buf.Size ); in SinglePutGet() 56 Assert.AreEqual( 1, buf.Get() ); in SinglePutGet() 57 Assert.AreEqual( 0, buf.Size ); in SinglePutGet() 58 Assert.AreEqual( -1, buf.Get() ); in SinglePutGet() 66 Assert.AreEqual( 10, buf.Put(arr,0,10) ); in BlockPutGet() 67 Assert.AreEqual( 10, buf.Size ); in BlockPutGet() 69 Assert.AreEqual( 1, buf.Get() ); in BlockPutGet() 73 Assert.AreEqual( 9, buf.Get(arr2,1,9) ); in BlockPutGet() [all …]
|
/external/webrtc/webrtc/base/ |
D | ipaddress_unittest.cc | 105 bool AreEqual(const IPAddress& addr, in AreEqual() function 290 EXPECT_PRED2(AreEqual, addr, addr2); in TEST() 294 EXPECT_PRED2(AreEqual, addr, addr2); in TEST() 298 EXPECT_PRED2(AreEqual, addr, addr2); in TEST() 302 EXPECT_PRED2(AreEqual, addr, addr2); in TEST() 306 EXPECT_PRED2(AreEqual, addr, addr2); in TEST() 310 EXPECT_PRED2(AreEqual, addr, addr2); in TEST() 314 EXPECT_PRED2(AreEqual, addr, addr2); in TEST() 318 EXPECT_PRED2(AreEqual, addr, addr2); in TEST() 322 EXPECT_PRED2(AreEqual, addr, addr2); in TEST() [all …]
|
D | socketaddress_unittest.cc | 243 bool AreEqual(const SocketAddress& addr1, in AreEqual() function 258 EXPECT_PRED2(AreEqual, addr1, addr2); in TEST() 270 EXPECT_PRED2(AreEqual, addr1, addr2); in TEST() 281 EXPECT_PRED2(AreEqual, addr3, addr3); in TEST() 285 EXPECT_PRED2(AreEqual,addr3, addr4); in TEST()
|
/external/chromium-trace/catapult/telemetry/telemetry/util/ |
D | image_util.py | 84 def AreEqual(image1, image2, tolerance=0, likely_equal=True): function 89 return impl.AreEqual(image1, image2, tolerance, likely_equal)
|
D | image_util_unittest.py | 51 self.assertTrue(image_util.AreEqual(orig, new_file, likely_equal=True)) 67 self.assertTrue(image_util.AreEqual(orig, new_file, likely_equal=True)) 72 self.assertTrue(image_util.AreEqual(bmp, file_bmp, likely_equal=True))
|
/external/skia/src/gpu/ |
D | GrPipeline.h | 71 static bool AreEqual(const GrPipeline& a, const GrPipeline& b, bool ignoreCoordTransforms); 82 if (!AreEqual(a, b, ignoreCoordTransforms)) {
|
D | GrPipeline.cpp | 209 bool GrPipeline::AreEqual(const GrPipeline& a, const GrPipeline& b, in AreEqual() function in GrPipeline
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
D | video_unittest.py | 50 self.assertTrue(image_util.AreEqual(expected_bitmap, bmp))
|
D | image_util_bitmap_impl.py | 37 def AreEqual(bitmap1, bitmap2, tolerance, _): function
|
D | image_util_numpy_impl.py | 78 def AreEqual(image1, image2, tolerance, likely_equal): function
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/ |
D | TestDotTreeGenerator.cs | 82 Assert.AreEqual( expected, output ); in TestCreateDot()
|
/external/skia/src/gpu/batches/ |
D | GrDrawPathBatch.cpp | 64 if (!GrPipeline::AreEqual(*this->pipeline(), *that->pipeline(), false)) { in onCombineIfPossible()
|
/external/chromium-trace/catapult/telemetry/telemetry/page/ |
D | page_run_end_to_end_unittest.py | 734 self.assertTrue(image_util.AreEqual(
|