/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/chromium_org/ppapi/tests/ |
D | test_net_address_private.cc | 49 RUN_TEST(AreEqual, filter); in RunTests() 64 ASSERT_FALSE(NetAddressPrivate::AreEqual(invalid, invalid)); in TestAreEqual() 68 ASSERT_TRUE(NetAddressPrivate::AreEqual(localhost_80, localhost_80)); in TestAreEqual() 69 ASSERT_FALSE(NetAddressPrivate::AreEqual(localhost_80, invalid)); in TestAreEqual() 72 ASSERT_FALSE(NetAddressPrivate::AreEqual(localhost_80, localhost_1234)); in TestAreEqual() 76 ASSERT_FALSE(NetAddressPrivate::AreEqual(localhost_80, other_80)); in TestAreEqual() 135 ASSERT_TRUE(NetAddressPrivate::AreEqual(result, localhost_1234)); in TestReplacePort() 140 ASSERT_TRUE(NetAddressPrivate::AreEqual(result, localhost_80)); in TestReplacePort() 150 ASSERT_TRUE(NetAddressPrivate::AreEqual(result, result)); in TestGetAnyAddress() 153 ASSERT_TRUE(NetAddressPrivate::AreEqual(result, result)); in TestGetAnyAddress()
|
D | test_net_address_private_untrusted.cc | 45 RUN_TEST(AreEqual, filter); in RunTests() 75 ASSERT_TRUE(NetAddressPrivate::AreEqual(local_address, local_address)); in TestAreEqual() 76 ASSERT_FALSE(NetAddressPrivate::AreEqual(local_address, remote_address)); in TestAreEqual() 149 ASSERT_TRUE(NetAddressPrivate::AreEqual(address, address)); in TestGetAnyAddress() 152 ASSERT_TRUE(NetAddressPrivate::AreEqual(address, address)); in TestGetAnyAddress()
|
D | test_tcp_server_socket_private.cc | 179 ASSERT_TRUE(NetAddressPrivate::AreEqual(client_local_addr, in TestListen()
|
D | test_udp_socket_private.cc | 181 ASSERT_TRUE(pp::NetAddressPrivate::AreEqual(recv_from_address, in TestConnect()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | ipaddress_unittest.cc | 121 bool AreEqual(const IPAddress& addr, in AreEqual() function 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() 326 EXPECT_PRED2(AreEqual, addr, addr2); in TEST() 330 EXPECT_PRED2(AreEqual, addr, addr2); in TEST() 334 EXPECT_PRED2(AreEqual, addr, addr2); in TEST() 338 EXPECT_PRED2(AreEqual, addr, addr2); in TEST() [all …]
|
D | socketaddress_unittest.cc | 259 bool AreEqual(const SocketAddress& addr1, in AreEqual() function 274 EXPECT_PRED2(AreEqual, addr1, addr2); in TEST() 286 EXPECT_PRED2(AreEqual, addr1, addr2); in TEST()
|
/external/chromium_org/ppapi/cpp/private/ |
D | net_address_private.cc | 38 bool NetAddressPrivate::AreEqual(const PP_NetAddress_Private& addr1, in AreEqual() function in pp::NetAddressPrivate 41 return !!get_interface<PPB_NetAddress_Private_1_1>()->AreEqual(&addr1, in AreEqual() 45 return !!get_interface<PPB_NetAddress_Private_1_0>()->AreEqual(&addr1, in AreEqual() 49 return !!get_interface<PPB_NetAddress_Private_0_1>()->AreEqual(&addr1, in AreEqual()
|
D | net_address_private.h | 20 static bool AreEqual(const PP_NetAddress_Private& addr1,
|
/external/chromium_org/ppapi/c/private/ |
D | ppb_net_address_private.h | 82 PP_Bool (*AreEqual)(const struct PP_NetAddress_Private* addr1, member 150 PP_Bool (*AreEqual)(const struct PP_NetAddress_Private* addr1, member 164 PP_Bool (*AreEqual)(const struct PP_NetAddress_Private* addr1, member
|
/external/skia/tests/ |
D | DynamicHashTest.cpp | 21 bool AreEqual(const Entry& entry, const int& key) { return entry.key == key; } in AreEqual() function 23 class Hash : public SkTDynamicHash<Entry, int, GetKey, GetHash, AreEqual> { 33 typedef SkTDynamicHash<Entry, int, GetKey, GetHash, AreEqual> INHERITED;
|
/external/lzma/CPP/7zip/Archive/Common/ |
D | HandlerOut.cpp | 82 static bool AreEqual(const UString &methodName, const wchar_t *s) in AreEqual() function 88 AreEqual(MethodName, kLZMAMethodName) || in IsLzma() 89 AreEqual(MethodName, kLZMA2MethodName); in IsLzma() 93 { return AreEqual(methodName, kBZip2MethodName); } in IsBZip2Method() 96 { return AreEqual(methodName, kPpmdMethodName); } in IsPpmdMethod() 101 AreEqual(methodName, kDeflateMethodName) || in IsDeflateMethod() 102 AreEqual(methodName, kDeflate64MethodName); in IsDeflateMethod()
|
/external/chromium_org/ppapi/shared_impl/private/ |
D | net_address_private_impl.cc | 190 PP_Bool AreEqual(const PP_NetAddress_Private* addr1, in AreEqual() function 351 &AreEqual, 359 &AreEqual, 370 &AreEqual,
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/ |
D | TestDotTreeGenerator.cs | 82 Assert.AreEqual( expected, output ); in TestCreateDot()
|
/external/chromium_org/ppapi/api/private/ |
D | ppb_net_address_private.idl | 51 PP_Bool AreEqual([in] PP_NetAddress_Private addr1,
|
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_irt_shim/ |
D | pnacl_shim.c | 3055 return iface->AreEqual(addr1, addr2); in Pnacl_M17_PPB_NetAddress_Private_AreEqual() 3084 return iface->AreEqual(addr1, addr2); in Pnacl_M19_0_PPB_NetAddress_Private_AreEqual() 3128 return iface->AreEqual(addr1, addr2); in Pnacl_M19_1_PPB_NetAddress_Private_AreEqual() 4891 ….AreEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Pri… 4899 ….AreEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Pri… 4910 ….AreEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Pri…
|