Searched refs:sortedElements (Results 1 – 3 of 3) sorted by relevance
/external/guava/android/guava/src/com/google/common/collect/ |
D | ImmutableSortedMultiset.java | 458 E[] sortedElements = Arrays.copyOf(elements, length); in dedupAndCoalesce() local 459 Arrays.sort(sortedElements, comparator); in dedupAndCoalesce() 461 for (int i = 1; i < sortedElements.length; i++) { in dedupAndCoalesce() 462 if (comparator.compare(sortedElements[uniques - 1], sortedElements[i]) < 0) { in dedupAndCoalesce() 463 sortedElements[uniques] = sortedElements[i]; in dedupAndCoalesce() 467 Arrays.fill(sortedElements, uniques, length, null); in dedupAndCoalesce() 470 sortedElements = in dedupAndCoalesce() 471 Arrays.copyOf(sortedElements, IntMath.saturatedAdd(length, length / 2 + 1)); in dedupAndCoalesce() 473 int[] sortedCounts = new int[sortedElements.length]; in dedupAndCoalesce() 475 int index = Arrays.binarySearch(sortedElements, 0, uniques, elements[i], comparator); in dedupAndCoalesce() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
D | EncodedValueWriter.java | 84 …Collection<? extends AnnotationElement> sortedElements = Ordering.from(BaseAnnotationElement.BY_NA… in writeAnnotation() local 87 for (AnnotationElement element: sortedElements) { in writeAnnotation()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | JSON.cpp | 521 static std::vector<const Object::value_type *> sortedElements(const Object &O) { in sortedElements() function 622 for (const Object::value_type *E : sortedElements(*V.getAsObject())) in value()
|