Home
last modified time | relevance | path

Searched refs:lessThan (Results 1 – 25 of 57) sorted by relevance

123

/external/skia/src/core/
DSkTSort.h43 void SkTHeapSort_SiftUp(T array[], size_t root, size_t bottom, C lessThan) { in SkTHeapSort_SiftUp() argument
48 if (j < bottom && lessThan(array[j-1], array[j])) { in SkTHeapSort_SiftUp()
57 if (lessThan(array[j-1], x)) { in SkTHeapSort_SiftUp()
77 void SkTHeapSort_SiftDown(T array[], size_t root, size_t bottom, C lessThan) { in SkTHeapSort_SiftDown() argument
81 if (child < bottom && lessThan(array[child-1], array[child])) { in SkTHeapSort_SiftDown()
84 if (lessThan(x, array[child-1])) { in SkTHeapSort_SiftDown()
102 template <typename T, typename C> void SkTHeapSort(T array[], size_t count, C lessThan) { in SkTHeapSort() argument
104 SkTHeapSort_SiftDown(array, i, count, lessThan); in SkTHeapSort()
109 SkTHeapSort_SiftUp(array, 1, i, lessThan); in SkTHeapSort()
121 template <typename T, typename C> static void SkTInsertionSort(T* left, T* right, C lessThan) { in SkTInsertionSort() argument
[all …]
/external/chromium_org/third_party/skia/src/core/
DSkTSort.h43 void SkTHeapSort_SiftUp(T array[], size_t root, size_t bottom, C lessThan) { in SkTHeapSort_SiftUp() argument
48 if (j < bottom && lessThan(array[j-1], array[j])) { in SkTHeapSort_SiftUp()
57 if (lessThan(array[j-1], x)) { in SkTHeapSort_SiftUp()
77 void SkTHeapSort_SiftDown(T array[], size_t root, size_t bottom, C lessThan) { in SkTHeapSort_SiftDown() argument
81 if (child < bottom && lessThan(array[child-1], array[child])) { in SkTHeapSort_SiftDown()
84 if (lessThan(x, array[child-1])) { in SkTHeapSort_SiftDown()
102 template <typename T, typename C> void SkTHeapSort(T array[], size_t count, C lessThan) { in SkTHeapSort() argument
104 SkTHeapSort_SiftDown(array, i, count, lessThan); in SkTHeapSort()
109 SkTHeapSort_SiftUp(array, 1, i, lessThan); in SkTHeapSort()
121 template <typename T, typename C> static void SkTInsertionSort(T* left, T* right, C lessThan) { in SkTInsertionSort() argument
[all …]
/external/skia/experimental/Intersection/
DTSearch.h72 bool (*lessThan)(S&, const T, const T)) in QSort_Partition()
78 if (lessThan(context, *left, pivotValue)) { in QSort_Partition()
90 bool (*lessThan)(S& , const T, const T)) in QSort()
96 pivot = QSort_Partition(context, left, right, pivot, lessThan); in QSort()
97 QSort(context, left, pivot - 1, lessThan); in QSort()
98 QSort(context, pivot + 1, right, lessThan); in QSort()
/external/chromium_org/third_party/skia/experimental/Intersection/
DTSearch.h72 bool (*lessThan)(S&, const T, const T)) in QSort_Partition()
78 if (lessThan(context, *left, pivotValue)) { in QSort_Partition()
90 bool (*lessThan)(S& , const T, const T)) in QSort()
96 pivot = QSort_Partition(context, left, right, pivot, lessThan); in QSort()
97 QSort(context, left, pivot - 1, lessThan); in QSort()
98 QSort(context, pivot + 1, right, lessThan); in QSort()
/external/javassist/src/main/javassist/bytecode/
DCodeAttribute.java485 private static void shiftIndex(CodeIterator ci, int lessThan, int delta) throws BadBytecode { in shiftIndex() argument
493 shiftIndex8(ci, index, opcode, lessThan, delta); in shiftIndex()
497 shiftIndex0(ci, index, opcode, lessThan, delta, ILOAD_0, ILOAD); in shiftIndex()
503 shiftIndex8(ci, index, opcode, lessThan, delta); in shiftIndex()
507 shiftIndex0(ci, index, opcode, lessThan, delta, ISTORE_0, ISTORE); in shiftIndex()
512 if (var < lessThan) in shiftIndex()
528 shiftIndex8(ci, index, opcode, lessThan, delta); in shiftIndex()
531 if (var < lessThan) in shiftIndex()
540 int lessThan, int delta) in shiftIndex8() argument
544 if (var < lessThan) in shiftIndex8()
[all …]
/external/proguard/src/proguard/evaluation/value/
DIntegerValue.java209 public abstract int lessThan(IntegerValue other); in lessThan() method in IntegerValue
245 return -lessThan(other); in greaterThanOrEqual()
445 public int lessThan(UnknownIntegerValue other) in lessThan() method in IntegerValue
447 return lessThan((IntegerValue)other); in lessThan()
489 return -lessThan(other); in greaterThanOrEqual()
689 public int lessThan(SpecificIntegerValue other) in lessThan() method in IntegerValue
691 return lessThan((IntegerValue)other); in lessThan()
733 return -lessThan(other); in greaterThanOrEqual()
933 public int lessThan(ParticularIntegerValue other) in lessThan() method in IntegerValue
935 return lessThan((SpecificIntegerValue)other); in lessThan()
[all …]
DSpecificIntegerValue.java184 public int lessThan(IntegerValue other) in lessThan() method in SpecificIntegerValue
322 public int lessThan(SpecificIntegerValue other) in lessThan() method in SpecificIntegerValue
/external/chromium_org/third_party/icu/source/common/
Dstringtriebuilder.cpp135 int32_t lessThan[kMaxSplitBranchLevels]; in writeBranchSubNode() local
143 lessThan[ltLength]=writeBranchSubNode(start, i, unitIndex, length/2); in writeBranchSubNode()
196 writeDeltaTo(lessThan[ltLength]); in writeBranchSubNode()
264 Node *lessThan[kMaxSplitBranchLevels]; in makeBranchSubNode() local
272 lessThan[ltLength]=makeBranchSubNode(start, i, unitIndex, length/2, errorCode); in makeBranchSubNode()
311 new SplitBranchNode(middleUnits[ltLength], lessThan[ltLength], node), errorCode); in makeBranchSubNode()
560 return unit==o.unit && lessThan==o.lessThan && greaterOrEqual==o.greaterOrEqual; in operator ==()
568 offset=edgeNumber=lessThan->markRightEdgesFirst(edgeNumber-1); in markRightEdgesFirst()
576 lessThan->writeUnlessInsideRightEdge(firstEdgeNumber, greaterOrEqual->getOffset(), builder); in write()
580 U_ASSERT(lessThan->getOffset()>0); in write()
[all …]
/external/icu/icu4c/source/common/
Dstringtriebuilder.cpp135 int32_t lessThan[kMaxSplitBranchLevels]; in writeBranchSubNode() local
143 lessThan[ltLength]=writeBranchSubNode(start, i, unitIndex, length/2); in writeBranchSubNode()
196 writeDeltaTo(lessThan[ltLength]); in writeBranchSubNode()
264 Node *lessThan[kMaxSplitBranchLevels]; in makeBranchSubNode() local
272 lessThan[ltLength]=makeBranchSubNode(start, i, unitIndex, length/2, errorCode); in makeBranchSubNode()
311 new SplitBranchNode(middleUnits[ltLength], lessThan[ltLength], node), errorCode); in makeBranchSubNode()
560 return unit==o.unit && lessThan==o.lessThan && greaterOrEqual==o.greaterOrEqual; in operator ==()
568 offset=edgeNumber=lessThan->markRightEdgesFirst(edgeNumber-1); in markRightEdgesFirst()
576 lessThan->writeUnlessInsideRightEdge(firstEdgeNumber, greaterOrEqual->getOffset(), builder); in write()
580 U_ASSERT(lessThan->getOffset()>0); in write()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DRangeTest.java184 Range<Integer> range = Ranges.lessThan(5); in testLessThan()
279 Cut<Integer> a = Ranges.lessThan(0).lowerBound; in testOrderingCuts()
317 assertFalse(range.encloses(Ranges.lessThan(3))); in testEncloses_open()
334 assertFalse(range.encloses(Ranges.lessThan(3))); in testEncloses_closed()
366 range.intersection(Ranges.lessThan(3)); in testIntersection_deFactoEmpty()
391 range.intersection(Ranges.lessThan(3))); in testIntersection_singleton()
469 assertEquals(Ranges.atMost(8), range.span(Ranges.lessThan(4))); in testSpan_general()
551 Range<Integer> range = Ranges.lessThan(0); in testAsSet_noMin()
569 assertEquals(ImmutableSet.of(), Ranges.lessThan(Integer.MIN_VALUE).asSet(integers())); in testAsSet_empty()
587 Ranges.lessThan(0).canonical(integers())); in testCanonical()
[all …]
/external/chromium_org/third_party/WebKit/public/platform/
DWebWorkerRunLoop.h45 BLINK_EXPORT bool lessThan(const WebWorkerRunLoop&) const;
62 return a.lessThan(b);
/external/chromium_org/third_party/WebKit/public/web/
DWebSpeechRecognitionHandle.h59 BLINK_EXPORT bool lessThan(const WebSpeechRecognitionHandle&) const;
83 return a.lessThan(b);
DWebNotification.h67 BLINK_EXPORT bool lessThan(const WebNotification& other) const;
115 return a.lessThan(b);
DWebNode.h72 BLINK_EXPORT bool lessThan(const WebNode&) const;
176 return a.lessThan(b);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/
DCPUProfileView.js197 var lessThan = (query.startsWith("<"));
198 … var equalTo = (query.startsWith("=") || ((greaterThan || lessThan) && query.indexOf("=") === 1));
204 if (greaterThan || lessThan || equalTo) {
205 if (equalTo && (greaterThan || lessThan))
214 if (!isNaN(queryNumber) && !(greaterThan || lessThan))
226 if (lessThan) {
245 if (lessThan) {
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/profiles/
D100.glsl229 bvec2 lessThan( vec2 x, vec2 y);
230 bvec3 lessThan( vec3 x, vec3 y);
231 bvec4 lessThan( vec4 x, vec4 y);
232 bvec2 lessThan(ivec2 x, ivec2 y);
233 bvec3 lessThan(ivec3 x, ivec3 y);
234 bvec4 lessThan(ivec4 x, ivec4 y);
D110.glsl230 bvec2 lessThan( vec2 x, vec2 y);
231 bvec3 lessThan( vec3 x, vec3 y);
232 bvec4 lessThan( vec4 x, vec4 y);
233 bvec2 lessThan(ivec2 x, ivec2 y);
234 bvec3 lessThan(ivec3 x, ivec3 y);
235 bvec4 lessThan(ivec4 x, ivec4 y);
D120.glsl262 bvec2 lessThan( vec2 x, vec2 y);
263 bvec3 lessThan( vec3 x, vec3 y);
264 bvec4 lessThan( vec4 x, vec4 y);
265 bvec2 lessThan(ivec2 x, ivec2 y);
266 bvec3 lessThan(ivec3 x, ivec3 y);
267 bvec4 lessThan(ivec4 x, ivec4 y);
/external/mesa3d/src/glsl/builtins/profiles/
D100.glsl229 bvec2 lessThan( vec2 x, vec2 y);
230 bvec3 lessThan( vec3 x, vec3 y);
231 bvec4 lessThan( vec4 x, vec4 y);
232 bvec2 lessThan(ivec2 x, ivec2 y);
233 bvec3 lessThan(ivec3 x, ivec3 y);
234 bvec4 lessThan(ivec4 x, ivec4 y);
D110.glsl230 bvec2 lessThan( vec2 x, vec2 y);
231 bvec3 lessThan( vec3 x, vec3 y);
232 bvec4 lessThan( vec4 x, vec4 y);
233 bvec2 lessThan(ivec2 x, ivec2 y);
234 bvec3 lessThan(ivec3 x, ivec3 y);
235 bvec4 lessThan(ivec4 x, ivec4 y);
D120.glsl262 bvec2 lessThan( vec2 x, vec2 y);
263 bvec3 lessThan( vec3 x, vec3 y);
264 bvec4 lessThan( vec4 x, vec4 y);
265 bvec2 lessThan(ivec2 x, ivec2 y);
266 bvec3 lessThan(ivec3 x, ivec3 y);
267 bvec4 lessThan(ivec4 x, ivec4 y);
/external/apache-xml/src/main/java/org/apache/xpath/operations/
DLt.java47 return left.lessThan(right) ? XBoolean.S_TRUE : XBoolean.S_FALSE; in operate()
/external/chromium_org/third_party/WebKit/Source/web/
DWebSpeechRecognitionHandle.cpp48 bool WebSpeechRecognitionHandle::lessThan(const WebSpeechRecognitionHandle& other) const in lessThan() function in blink::WebSpeechRecognitionHandle
DWebWorkerRunLoop.cpp73 bool WebWorkerRunLoop::lessThan(const WebWorkerRunLoop& o) const in lessThan() function in blink::WebWorkerRunLoop
/external/guava/guava/src/com/google/common/collect/
DRanges.java151 public static <C extends Comparable<?>> Range<C> lessThan(C endpoint) { in lessThan() method in Ranges
171 return lessThan(endpoint); in upTo()

123