Searched refs:lessThan (Results 1 - 25 of 61) sorted by relevance

123

/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/comparator/
H A DComparatorMatcherTest.java30 assertDescription("a value less than <1>", lessThan(1));
36 assertMismatchDescription("<1> was greater than <0>", lessThan(0), 1);
37 assertMismatchDescription("<2> was equal to <2>", lessThan(2), 2);
46 assertThat(2, lessThan(3));
47 assertThat(0, lessThan(1));
73 assertThat(new CustomInt(5), lessThan(new CustomInt(10)));
H A DComparatorMatcherBuilderTest.java41 assertDescription("a value less than <1>", integerComparatorMatcherBuilder.lessThan(1));
47 assertDescription("a value less than <1> when compared by <backwards integer comparator>", comparedBy(backwardsIntegerComparator).lessThan(1));
53 assertMismatchDescription("<1> was greater than <0>", integerComparatorMatcherBuilder.lessThan(0), 1);
54 assertMismatchDescription("<2> was equal to <2>", integerComparatorMatcherBuilder.lessThan(2), 2);
58 assertMismatchDescription("<0> was greater than <1> when compared by <backwards integer comparator>", comparedBy(backwardsIntegerComparator).lessThan(1), 0);
59 assertMismatchDescription("<2> was equal to <2> when compared by <backwards integer comparator>", comparedBy(backwardsIntegerComparator).lessThan(2), 2);
68 assertThat(2, integerComparatorMatcherBuilder.lessThan(3));
69 assertThat(0, integerComparatorMatcherBuilder.lessThan(1));
95 assertThat(new CustomInt(5), ComparatorMatcherBuilder.<CustomInt>usingNaturalOrdering().lessThan(new CustomInt(10)));
99 assertThat(5, comparedBy(backwardsIntegerComparator).lessThan(
[all...]
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/number/
H A DOrderingComparisonTest.java24 assertDescription("a value less than <1>", lessThan(1));
30 assertMismatchDescription("<1> was greater than <0>", lessThan(0), 1);
31 assertMismatchDescription("<2> was equal to <2>", lessThan(2), 2);
40 assertThat(2, lessThan(3));
41 assertThat(0, lessThan(1));
67 assertThat(new CustomInt(5), lessThan(new CustomInt(10)));
/external/skia/src/core/
H A DSkTSort.h42 void SkTHeapSort_SiftUp(T array[], size_t root, size_t bottom, C lessThan) { argument
47 if (j < bottom && lessThan(array[j-1], array[j])) {
56 if (lessThan(array[j-1], x)) {
76 void SkTHeapSort_SiftDown(T array[], size_t root, size_t bottom, C lessThan) { argument
80 if (child < bottom && lessThan(array[child-1], array[child])) {
83 if (lessThan(x, array[child-1])) {
94 /** Sorts the array of size count using comparator lessThan using a Heap Sort algorithm. Be sure to
99 * @param lessThan a functor with bool operator()(T a, T b) which returns true if a comes before b.
101 template <typename T, typename C> void SkTHeapSort(T array[], size_t count, C lessThan) { argument
103 SkTHeapSort_SiftDown(array, i, count, lessThan);
120 SkTInsertionSort(T* left, T* right, C lessThan) argument
138 SkTQSort_Partition(T* left, T* right, T* pivot, C lessThan) argument
165 SkTIntroSort(int depth, T* left, T* right, C lessThan) argument
193 SkTQSort(T* left, T* right, C lessThan) argument
[all...]
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/number/
H A DOrderingComparison.java57 * <pre>assertThat(1, lessThan(2))</pre>
62 public static <T extends Comparable<T>> Matcher<T> lessThan(T value) { method in class:OrderingComparison
63 return ComparatorMatcherBuilder.<T>usingNaturalOrdering().lessThan(value);
/external/apache-xml/src/main/java/org/apache/xpath/operations/
H A DLt.java47 return left.lessThan(right) ? XBoolean.S_TRUE : XBoolean.S_FALSE;
/external/javassist/src/main/javassist/bytecode/
H A DCodeAttribute.java479 * @param lessThan If the index of the local variable is
485 private static void shiftIndex(CodeIterator ci, int lessThan, int delta) throws BadBytecode { argument
493 shiftIndex8(ci, index, opcode, lessThan, delta);
497 shiftIndex0(ci, index, opcode, lessThan, delta, ILOAD_0, ILOAD);
503 shiftIndex8(ci, index, opcode, lessThan, delta);
507 shiftIndex0(ci, index, opcode, lessThan, delta, ISTORE_0, ISTORE);
512 if (var < lessThan)
528 shiftIndex8(ci, index, opcode, lessThan, delta);
531 if (var < lessThan)
540 int lessThan, in
539 shiftIndex8(CodeIterator ci, int index, int opcode, int lessThan, int delta) argument
558 shiftIndex0(CodeIterator ci, int index, int opcode, int lessThan, int delta, int opcode_i_0, int opcode_i) argument
[all...]
H A DLocalVariableAttribute.java135 * @param lessThan the index does not change if it
138 public void shiftIndex(int lessThan, int delta) { argument
142 if (org >= lessThan)
/external/proguard/src/proguard/evaluation/value/
H A DIntegerValue.java209 public abstract int lessThan(IntegerValue other); method in class:IntegerValue
245 return -lessThan(other);
445 public int lessThan(UnknownIntegerValue other) method in class:IntegerValue
447 return lessThan((IntegerValue)other);
489 return -lessThan(other);
689 public int lessThan(SpecificIntegerValue other) method in class:IntegerValue
691 return lessThan((IntegerValue)other);
733 return -lessThan(other);
933 public int lessThan(ParticularIntegerValue other) method in class:IntegerValue
935 return lessThan((SpecificIntegerValu
[all...]
H A DUnknownIntegerValue.java186 public int lessThan(IntegerValue other) method in class:UnknownIntegerValue
H A DParticularIntegerValue.java216 public int lessThan(IntegerValue other) method in class:ParticularIntegerValue
344 public int lessThan(ParticularIntegerValue other) method in class:ParticularIntegerValue
H A DSpecificIntegerValue.java184 public int lessThan(IntegerValue other) method in class:SpecificIntegerValue
322 public int lessThan(SpecificIntegerValue other) method in class:SpecificIntegerValue
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
H A DPeriodTest.java41 p = p.lessThan();
48 p = Period.lessThan(1, TimeUnit.YEAR);
97 Period.lessThan(-1, TimeUnit.YEAR);
98 fail("lessThan -1");
/external/icu/icu4c/source/common/
H A Dstringtriebuilder.cpp137 int32_t lessThan[kMaxSplitBranchLevels]; local
145 lessThan[ltLength]=writeBranchSubNode(start, i, unitIndex, length/2);
198 writeDeltaTo(lessThan[ltLength]);
266 Node *lessThan[kMaxSplitBranchLevels]; local
274 lessThan[ltLength]=makeBranchSubNode(start, i, unitIndex, length/2, errorCode);
313 new SplitBranchNode(middleUnits[ltLength], lessThan[ltLength], node), errorCode);
562 return unit==o.unit && lessThan==o.lessThan && greaterOrEqual==o.greaterOrEqual;
570 offset=edgeNumber=lessThan->markRightEdgesFirst(edgeNumber-1);
578 lessThan
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
H A DPeriodTest.java40 p = p.lessThan();
47 p = Period.lessThan(1, TimeUnit.YEAR);
96 Period.lessThan(-1, TimeUnit.YEAR);
97 fail("lessThan -1");
/external/guava/guava-tests/test/com/google/common/collect/
H A DTreeRangeSetTest.java294 .has().exactly(Range.lessThan(1), Range.atLeast(6)).inOrder();
304 .has().exactly(Range.lessThan(1), Range.atLeast(6)).inOrder();
314 .has().exactly(Range.lessThan(1), Range.greaterThan(6)).inOrder();
324 .has().exactly(Range.lessThan(1), Range.greaterThan(6)).inOrder();
334 .has().exactly(Range.lessThan(1), Range.greaterThan(6)).inOrder();
344 .has().exactly(Range.lessThan(1), Range.greaterThan(6)).inOrder();
354 .has().exactly(Range.lessThan(1), Range.greaterThan(6)).inOrder();
364 .has().exactly(Range.lessThan(1), Range.greaterThan(6)).inOrder();
374 .has().exactly(Range.lessThan(1), Range.greaterThan(6)).inOrder();
393 .has().exactly(Range.lessThan(
[all...]
H A DRangeTest.java187 Range<Integer> range = Range.lessThan(5);
283 Cut<Integer> a = Range.lessThan(0).lowerBound;
321 assertFalse(range.encloses(Range.lessThan(3)));
338 assertFalse(range.encloses(Range.lessThan(3)));
370 range.intersection(Range.lessThan(3));
395 range.intersection(Range.lessThan(3)));
473 assertEquals(Range.atMost(8), range.span(Range.lessThan(4)));
568 Range.lessThan(0).canonical(integers()));
578 assertEquals(Range.lessThan(0), Range.lessThan(
[all...]
H A DImmutableRangeSetTest.java46 Range.lessThan(2),
179 expectedComplement.add(Range.lessThan(1));
208 assertTrue(rangeSet.encloses(Range.lessThan(1)));
232 .add(Range.lessThan(1))
253 .add(Range.lessThan(1))
341 Range.lessThan(2),
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
H A DPeriod.java67 public static Period lessThan(float count, TimeUnit unit) { method in class:Period
121 public Period lessThan() { method in class:Period
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DStringTrieBuilder.java720 lessThan=lessThanNode;
732 return unit==o.unit && lessThan==o.lessThan && greaterOrEqual==o.greaterOrEqual;
743 offset=edgeNumber=lessThan.markRightEdgesFirst(edgeNumber-1);
750 lessThan.writeUnlessInsideRightEdge(firstEdgeNumber, greaterOrEqual.getOffset(), builder);
754 assert(lessThan.getOffset()>0);
755 builder.writeDeltaTo(lessThan.getOffset()); // less-than
760 private Node lessThan; field in class:StringTrieBuilder.SplitBranchNode
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
H A DPeriod.java65 public static Period lessThan(float count, TimeUnit unit) { method in class:Period
119 public Period lessThan() { method in class:Period
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DStringTrieBuilder.java722 lessThan=lessThanNode;
734 return unit==o.unit && lessThan==o.lessThan && greaterOrEqual==o.greaterOrEqual;
745 offset=edgeNumber=lessThan.markRightEdgesFirst(edgeNumber-1);
752 lessThan.writeUnlessInsideRightEdge(firstEdgeNumber, greaterOrEqual.getOffset(), builder);
756 assert(lessThan.getOffset()>0);
757 builder.writeDeltaTo(lessThan.getOffset()); // less-than
762 private Node lessThan; field in class:StringTrieBuilder.SplitBranchNode
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
H A DDfpMath.java324 if (a.equals(a.getZero()) || a.lessThan(a.getZero()) || a.isNaN()) {
570 if (x.lessThan(zero)) {
584 if (x.lessThan(one) && y.classify() == Dfp.INFINITE) {
634 if (y.lessThan(x.newInstance(100000000)) && y.greaterThan(x.newInstance(-100000000))) {
744 if (x.lessThan(zero)) {
758 if (x.lessThan(pi.divide(4))) {
795 if (x.lessThan(zero)) {
809 if (x.lessThan(pi.divide(4))) {
889 if (x.lessThan(zero)) {
954 if (a.lessThan(
[all...]
H A DDfpDec.java310 if (this.lessThan(x)) {
318 if (lessThan(getZero())) {
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DXObject.java537 public boolean lessThan(XObject obj2) method in class:XObject
595 return obj2.lessThan(this);

Completed in 2772 milliseconds

123