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

12

/external/skia/src/core/
H A DSkTSort.h43 void SkTHeapSort_SiftUp(T array[], size_t root, size_t bottom, C lessThan) { argument
48 if (j < bottom && lessThan(array[j-1], array[j])) {
57 if (lessThan(array[j-1], x)) {
77 void SkTHeapSort_SiftDown(T array[], size_t root, size_t bottom, C lessThan) { argument
81 if (child < bottom && lessThan(array[child-1], array[child])) {
84 if (lessThan(x, array[child-1])) {
95 /** Sorts the array of size count using comparator lessThan using a Heap Sort algorithm. Be sure to
100 * @param lessThan a functor with bool operator()(T a, T b) which returns true if a comes before b.
102 template <typename T, typename C> void SkTHeapSort(T array[], size_t count, C lessThan) { argument
104 SkTHeapSort_SiftDown(array, i, count, lessThan);
121 SkTInsertionSort(T* left, T* right, C lessThan) argument
136 SkTQSort_Partition(T* left, T* right, T* pivot, C lessThan) argument
163 SkTIntroSort(int depth, T* left, T* right, C lessThan) argument
191 SkTQSort(T* left, T* right, C lessThan) argument
[all...]
/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/icu4c/source/common/
H A Dstringtriebuilder.cpp135 int32_t lessThan[kMaxSplitBranchLevels]; local
143 lessThan[ltLength]=writeBranchSubNode(start, i, unitIndex, length/2);
196 writeDeltaTo(lessThan[ltLength]);
264 Node *lessThan[kMaxSplitBranchLevels]; local
272 lessThan[ltLength]=makeBranchSubNode(start, i, unitIndex, length/2, errorCode);
311 new SplitBranchNode(middleUnits[ltLength], lessThan[ltLength], node), errorCode);
560 return unit==o.unit && lessThan==o.lessThan && greaterOrEqual==o.greaterOrEqual;
568 offset=edgeNumber=lessThan->markRightEdgesFirst(edgeNumber-1);
576 lessThan
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
H A DPeriodTest.java42 p = p.lessThan();
49 p = Period.lessThan(1, TimeUnit.YEAR);
95 Period.lessThan(-1, TimeUnit.YEAR);
96 fail("lessThan -1");
/external/hamcrest/library/src/org/hamcrest/number/
H A DOrderingComparisons.java26 public static <T extends Comparable<T>> Matcher<T> lessThan(T value) { method in class:OrderingComparisons
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
H A DPeriod.java63 public static Period lessThan(float count, TimeUnit unit) { method in class:Period
117 public Period lessThan() { method in class:Period
H A DBasicPeriodBuilderFactory.java173 return Period.lessThan(eml/1000f, emu).inPast(inPast);
327 ts = Period.lessThan(1, settings.effectiveMinUnit()).inPast(inPast);
/external/icu/icu4j/main/classes/core/src/com/ibm/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/guava/guava-tests/test/com/google/common/collect/
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 DContiguousSetTest.java109 Range<Integer> range = Range.lessThan(0);
128 ContiguousSet.create(Range.lessThan(Integer.MIN_VALUE), integers()));
/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())) {
H A DDfp.java154 /** Name for traps triggered by lessThan. */
155 private static final String LESS_THAN_TRAP = "lessThan";
750 public boolean lessThan(final Dfp x) { method in class:Dfp
848 return greaterThan(x) || lessThan(x);
1057 if (rounded.lessThan(newInstance(-2147483648))) {
2242 if (this.lessThan(x)) {
2250 if (lessThan(getZero())) {
2305 if (lessThan(getZero())) {
2318 if (lessThan(getZero())) {
2331 while (tempDfp.lessThan(
[all...]
/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);
/external/skia/src/codec/
H A DSkCodec_libico.cpp107 EntryLessThan lessThan; local
109 lessThan);
/external/icu/icu4c/source/common/unicode/
H A Dstringtriebuilder.h358 unit(middleUnit), lessThan(lessThanNode), greaterOrEqual(greaterOrEqualNode) {}
364 Node *lessThan; member in class:StringTrieBuilder::SplitBranchNode
/external/guava/guava/src/com/google/common/collect/
H A DRange.java61 * <tr><td>{@code (-∞..b)} <td>{@code {x | x < b}} <td>{@link Range#lessThan lessThan}
238 public static <C extends Comparable<?>> Range<C> lessThan(C endpoint) { method in class:Range
262 return lessThan(endpoint);
/external/hamcrest/library/src/org/hamcrest/
H A DMatchers.java237 public static <T extends java.lang.Comparable<T>> org.hamcrest.Matcher<T> lessThan(T value) { method in class:Matchers
238 return org.hamcrest.number.OrderingComparisons.lessThan(value);
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DContiguousSetTest.java84 Range<Integer> range = Range.lessThan(0);
103 ContiguousSet.create(Range.lessThan(Integer.MIN_VALUE), integers()));

Completed in 1411 milliseconds

12