/external/libcxx/test/std/utilities/optional/optional.nullops/ |
H A D | equal.pass.cpp | 28 constexpr O o1; // disengaged local 31 static_assert ( (nullopt == o1), "" ); 33 static_assert ( (o1 == nullopt), "" ); 36 static_assert (noexcept(nullopt == o1), ""); 37 static_assert (noexcept(o1 == nullopt), "");
|
H A D | greater.pass.cpp | 28 constexpr O o1; // disengaged local 31 static_assert ( !(nullopt > o1), "" ); 33 static_assert ( !(o1 > nullopt), "" ); 36 static_assert (noexcept(nullopt > o1), ""); 37 static_assert (noexcept(o1 > nullopt), "");
|
H A D | greater_equal.pass.cpp | 28 constexpr O o1; // disengaged local 31 static_assert ( (nullopt >= o1), "" ); 33 static_assert ( (o1 >= nullopt), "" ); 36 static_assert (noexcept(nullopt >= o1), ""); 37 static_assert (noexcept(o1 >= nullopt), "");
|
H A D | less_equal.pass.cpp | 29 constexpr O o1; // disengaged local 32 static_assert ( (nullopt <= o1), "" ); 34 static_assert ( (o1 <= nullopt), "" ); 37 static_assert (noexcept(nullopt <= o1), ""); 38 static_assert (noexcept(o1 <= nullopt), "");
|
H A D | less_than.pass.cpp | 28 constexpr O o1; // disengaged local 31 static_assert ( !(nullopt < o1), "" ); 33 static_assert ( !(o1 < nullopt), "" ); 36 static_assert (noexcept(nullopt < o1), ""); 37 static_assert (noexcept(o1 < nullopt), "");
|
H A D | not_equal.pass.cpp | 28 constexpr O o1; // disengaged local 31 static_assert ( !(nullopt != o1), "" ); 33 static_assert ( !(o1 != nullopt), "" ); 36 static_assert (noexcept(nullopt != o1), ""); 37 static_assert (noexcept(o1 != nullopt), "");
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
H A D | copy.fail.cpp | 34 constexpr std::optional<S> o1; local 35 constexpr std::optional<S> o2 = o1; // not constexpr
|
H A D | move.fail.cpp | 35 constexpr std::optional<S> o1; local 36 constexpr std::optional<S> o2 = std::move(o1); // not constexpr
|
/external/apache-http/src/org/apache/commons/codec/ |
H A D | StringEncoderComparator.java | 68 * @param o1 the object to compare 73 public int compare(Object o1, Object o2) { argument 78 Comparable s1 = (Comparable) ((Encoder) this.stringEncoder).encode(o1);
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/ |
H A D | StartPositionComparator.java | 25 public int compare(ASTNode o1, ASTNode o2) { argument 26 return Integer.compare(o1.getStartPosition(), o2.getStartPosition());
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/comparators/ |
H A D | ClassComparator.java | 11 public int compare(Class<?> o1, Class<?> o2) { argument 13 subCompare = o1.getCanonicalName().compareTo(o2.getCanonicalName()); 15 subCompare = Boolean.compare(o1.isAnnotation(), o2.isAnnotation()); 17 subCompare = Boolean.compare(o1.isArray(), o2.isArray()); 19 subCompare = Boolean.compare(o1.isEnum(), o2.isEnum()); 21 subCompare = Boolean.compare(o1.isInterface(), o2.isInterface());
|
H A D | MethodComparator.java | 12 public int compare(Method o1, Method o2) { argument 13 int compareName = o1.getName().compareTo(o2.getName()); 15 int compareNParams = o1.getParameterCount() - o2.getParameterCount(); 17 for (int i = 0; i < o1.getParameterCount(); i++) { 18 int compareParam = new ParameterComparator().compare(o1.getParameters()[i], o2.getParameters()[i]); 21 int compareResult = new ClassComparator().compare(o1.getReturnType(), o2.getReturnType());
|
H A D | ParameterComparator.java | 12 public int compare(Parameter o1, Parameter o2) { argument 13 int compareName = o1.getName().compareTo(o2.getName()); 15 int compareType = new ClassComparator().compare(o1.getType(), o2.getType());
|
/external/libcxx/test/std/utilities/optional/optional.comp_with_t/ |
H A D | equal.pass.cpp | 36 constexpr O o1; // disengaged local 40 static_assert(!(o1 == T(1)), ""); 46 static_assert(!(T(1) == o1), ""); 54 constexpr O o1(42); 55 static_assert(o1 == 42l, ""); 56 static_assert(!(101l == o1), ""); 60 constexpr O o1(42); 61 static_assert(o1 == 42, ""); 62 static_assert(!(101 == o1), "");
|
H A D | greater.pass.cpp | 34 constexpr O o1; // disengaged local 38 static_assert(!(o1 > T(1)), ""); 45 static_assert((T(1) > o1), ""); 54 constexpr O o1(42); 55 static_assert(o1 > 11l, ""); 56 static_assert(!(42l > o1), ""); 60 constexpr O o1(42); 61 static_assert(o1 > 11, ""); 62 static_assert(!(42 > o1), "");
|
H A D | greater_equal.pass.cpp | 36 constexpr O o1; // disengaged local 40 static_assert(!(o1 >= T(1)), ""); 47 static_assert((T(1) >= o1), ""); 56 constexpr O o1(42); 57 static_assert(o1 >= 42l, ""); 58 static_assert(!(11l >= o1), ""); 62 constexpr O o1(42); 63 static_assert(o1 >= 42, ""); 64 static_assert(!(11 >= o1), "");
|
H A D | less_equal.pass.cpp | 36 constexpr O o1; // disengaged local 40 static_assert((o1 <= T(1)), ""); 47 static_assert(!(T(1) <= o1), ""); 56 constexpr O o1(42); 57 static_assert(o1 <= 42l, ""); 58 static_assert(!(101l <= o1), ""); 62 constexpr O o1(42); 63 static_assert(o1 <= 42, ""); 64 static_assert(!(101 <= o1), "");
|
H A D | less_than.pass.cpp | 34 constexpr O o1; // disengaged local 38 static_assert((o1 < T(1)), ""); 45 static_assert(!(T(1) < o1), ""); 54 constexpr O o1(42); 55 static_assert(o1 < 101l, ""); 56 static_assert(!(42l < o1), ""); 60 constexpr O o1(42); 61 static_assert(o1 < 101, ""); 62 static_assert(!(42 < o1), "");
|
H A D | not_equal.pass.cpp | 36 constexpr O o1; // disengaged local 40 static_assert((o1 != T(1)), ""); 46 static_assert((T(1) != o1), ""); 54 constexpr O o1(42); 55 static_assert(o1 != 101l, ""); 56 static_assert(!(42l != o1), ""); 60 constexpr O o1(42); 61 static_assert(o1 != 101, ""); 62 static_assert(!(42 != o1), "");
|
/external/libcxx/test/std/utilities/optional/optional.relops/ |
H A D | greater_equal.pass.cpp | 33 constexpr O o1; // disengaged local 39 static_assert((o1 >= o1), ""); 40 static_assert((o1 >= o2), ""); 41 static_assert(!(o1 >= o3), ""); 42 static_assert(!(o1 >= o4), ""); 43 static_assert(!(o1 >= o5), ""); 45 static_assert((o2 >= o1), ""); 51 static_assert((o3 >= o1), ""); 57 static_assert((o4 >= o1), ""); [all...] |
H A D | greater_than.pass.cpp | 31 constexpr O o1; // disengaged local 37 static_assert(!(o1 > o1), ""); 38 static_assert(!(o1 > o2), ""); 39 static_assert(!(o1 > o3), ""); 40 static_assert(!(o1 > o4), ""); 41 static_assert(!(o1 > o5), ""); 43 static_assert(!(o2 > o1), ""); 49 static_assert((o3 > o1), ""); 55 static_assert((o4 > o1), ""); [all...] |
H A D | less_equal.pass.cpp | 33 constexpr O o1; // disengaged local 39 static_assert((o1 <= o1), ""); 40 static_assert((o1 <= o2), ""); 41 static_assert((o1 <= o3), ""); 42 static_assert((o1 <= o4), ""); 43 static_assert((o1 <= o5), ""); 45 static_assert((o2 <= o1), ""); 51 static_assert(!(o3 <= o1), ""); 57 static_assert(!(o4 <= o1), ""); [all...] |
H A D | less_than.pass.cpp | 31 constexpr O o1; // disengaged local 37 static_assert(!(o1 < o1), ""); 38 static_assert(!(o1 < o2), ""); 39 static_assert((o1 < o3), ""); 40 static_assert((o1 < o4), ""); 41 static_assert((o1 < o5), ""); 43 static_assert(!(o2 < o1), ""); 49 static_assert(!(o3 < o1), ""); 55 static_assert(!(o4 < o1), ""); [all...] |
/external/mockito/src/main/java/org/mockito/internal/invocation/ |
H A D | InvocationComparator.java | 15 public int compare(Invocation o1, Invocation o2) { argument 16 return Integer.valueOf(o1.getSequenceNumber()).compareTo(o2.getSequenceNumber());
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/ |
H A D | StubbingComparator.java | 19 public int compare(Stubbing o1, Stubbing o2) { argument 20 return invocationComparator.compare(o1.getInvocation(), o2.getInvocation());
|