Home
last modified time | relevance | path

Searched refs:IsEqual (Results 1 – 25 of 71) sorted by relevance

123

/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DIsEqual.java14 public class IsEqual<T> extends BaseMatcher<T> { class
17 public IsEqual(T equalArg) { in IsEqual() method in IsEqual
87 return new IsEqual<T>(operand); in equalTo()
95 return new IsEqual<Object>(operand); in equalToObject()
DIsNot.java7 import static org.hamcrest.core.IsEqual.equalTo;
/external/deqp/framework/randomshaders/
DrsgBinaryOps.cpp621 template <bool IsEqual, typename T>
626 else if (IsEqual && dstMin == false) in computeEqualityValueRange()
628 else if (!IsEqual && dstMin == true) in computeEqualityValueRange()
691 template <bool IsEqual>
692 EqualityComparisonOp<IsEqual>::EqualityComparisonOp (GeneratorState& state, ConstValueRangeAccess i… in EqualityComparisonOp()
693 : BinaryOp<8, ASSOCIATIVITY_LEFT>(IsEqual ? Token::CMP_EQ : Token::CMP_NE) in EqualityComparisonOp()
727 computeEqualityValueRange<IsEqual>(state.getRandom(), dstMin, dstMax, in EqualityComparisonOp()
731 computeEqualityValueRange<IsEqual>(state.getRandom(), dstMin, dstMax, in EqualityComparisonOp()
737 computeEqualityValueRange<IsEqual>(state.getRandom(), dstMin, dstMax, in EqualityComparisonOp()
744 template <bool IsEqual>
[all …]
/external/webrtc/talk/media/base/
Dvideoframe_unittest.h465 static bool IsEqual(const cricket::VideoFrame& frame, in IsEqual() function
494 static bool IsEqual(const cricket::VideoFrame& frame1, in IsEqual() function
497 return IsEqual(frame1, in IsEqual()
512 IsEqual(frame1, in IsEqualWithCrop()
552 EXPECT_TRUE(IsEqual(frame, kWidth, kHeight, 1, 1, 0, y, kWidth, u, in ConstructI420()
567 EXPECT_TRUE(IsEqual(frame, kWidth, kHeight, 1, 1, 0, y, kWidth, u, in ConstructYV12()
589 EXPECT_TRUE(IsEqual(frame1, frame2, 1)); in ConstructI422()
606 EXPECT_TRUE(IsEqual(frame1, frame2, 0)); in ConstructYuy2()
623 EXPECT_TRUE(IsEqual(frame1, frame2, 0)); in ConstructYuy2Unaligned()
638 EXPECT_TRUE(IsEqual(frame1, frame2, 0)); in ConstructYuy2Wide()
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/util/
Drgba_color.py15 def IsEqual(self, expected_color, tolerance=0): member in RgbaColor
26 assert self.IsEqual(RgbaColor(r, g, b), tolerance)
29 assert self.IsEqual(RgbaColor(r, g, b, a), tolerance)
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DCriteriaTest.java6 import org.hamcrest.core.IsEqual;
27 assertThat(Criteria.ACCURACY_COARSE, IsEqual.equalTo(criteria.getAccuracy())); in shouldReturnAccuracy()
33 assertThat(Criteria.POWER_HIGH, IsEqual.equalTo(criteria.getPowerRequirement())); in shouldReturnPowerRequirement()
DTabActivityTest.java12 import static org.hamcrest.core.IsEqual.equalTo;
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/beans/
DHasPropertyWithValueTest.java7 import org.hamcrest.core.IsEqual;
16 import static org.hamcrest.core.IsEqual.equalTo;
84 assertThat(new X(), HasPropertyWithValue.hasProperty("test", IsEqual.equalTo(1))); in testCanAccessAnAnonymousInnerClass()
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/
DFeatureMatcherTest.java3 import org.hamcrest.core.IsEqual;
36 public static class Match extends IsEqual<String> {
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
DIsCollectionContainingTest.java16 import static org.hamcrest.core.IsEqual.equalTo;
58 assertMatches(new IsCollectionContaining<Number>(new IsEqual<Number>(2)), s); in canMatchItemWhenCollectionHoldsSuperclass()
DIsEqualTest.java7 import static org.hamcrest.core.IsEqual.equalTo;
8 import static org.hamcrest.core.IsEqual.equalToObject;
DIsNotTest.java7 import static org.hamcrest.core.IsEqual.equalTo;
DDescribedAsTest.java9 import static org.hamcrest.core.IsEqual.equalTo;
DIsTest.java9 import static org.hamcrest.core.IsEqual.equalTo;
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/object/
DHasToString.java6 import static org.hamcrest.core.IsEqual.equalTo;
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
DIsCollectionWithSize.java8 import static org.hamcrest.core.IsEqual.equalTo;
DIsArrayWithSize.java7 import static org.hamcrest.core.IsEqual.equalTo;
DIsIterableWithSize.java8 import static org.hamcrest.core.IsEqual.equalTo;
DIsMapWithSize.java8 import static org.hamcrest.core.IsEqual.equalTo;
DIsArrayContaining.java9 import static org.hamcrest.core.IsEqual.equalTo;
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/
DIsArrayWithSizeTest.java8 import static org.hamcrest.core.IsEqual.equalTo;
DIsMapContainingTest.java11 import static org.hamcrest.core.IsEqual.equalTo;
DIsArrayContainingInOrderTest.java7 import static org.hamcrest.core.IsEqual.equalTo;
DIsArrayContainingInAnyOrderTest.java7 import static org.hamcrest.core.IsEqual.equalTo;
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/object/
DHasToStringTest.java7 import static org.hamcrest.core.IsEqual.equalTo;

123