Home
last modified time | relevance | path

Searched refs:sorted (Results 1 – 7 of 7) sorted by relevance

/system/core/logd/
DLogStatistics.cpp277 std::unique_ptr<const UidEntry *[]> sorted = sort(maximum_sorted_entries, id); in format() local
279 while ((index = uidTable_t::next(index, sorted, maximum_sorted_entries)) >= 0) { in format()
280 const UidEntry *entry = sorted[index]; in format()
340 std::unique_ptr<const PidEntry *[]> sorted = pidTable.sort(maximum_sorted_entries); in format() local
342 while ((index = pidTable.next(index, sorted, maximum_sorted_entries)) >= 0) { in format()
343 const PidEntry *entry = sorted[index]; in format()
399 std::unique_ptr<const TidEntry *[]> sorted = tidTable.sort(maximum_sorted_entries); in format() local
401 while ((index = tidTable.next(index, sorted, maximum_sorted_entries)) >= 0) { in format()
402 const TidEntry *entry = sorted[index]; in format()
455 std::unique_ptr<const TagEntry *[]> sorted = tagTable.sort(maximum_sorted_entries); in format() local
[all …]
DLogStatistics.h44 std::unique_ptr<const TEntry *[]> sorted(NULL); in sort()
45 return sorted; in sort()
65 std::unique_ptr<const TEntry *[]> sorted(retval); in sort()
66 return sorted; in sort()
70 static ssize_t next(ssize_t index, std::unique_ptr<const TEntry *[]> &sorted, size_t n) { in next() argument
72 if (!sorted.get() || (index < 0) || (n <= (size_t)index) || !sorted[index] in next()
73 || (sorted[index]->getSizes() <= (sorted[0]->getSizes() / 100))) { in next()
DLogBuffer.cpp431 std::unique_ptr<const UidEntry *[]> sorted = stats.sort(2, id); in prune() local
433 if (sorted.get()) { in prune()
434 if (sorted[0] && sorted[1]) { in prune()
435 worst_sizes = sorted[0]->getSizes(); in prune()
441 && (worst_sizes > (10 * sorted[0]->getDropped()))) { in prune()
442 worst = sorted[0]->getKey(); in prune()
443 second_worst_sizes = sorted[1]->getSizes(); in prune()
/system/media/camera/docs/
Dmetadata_helpers.py959 return text + summary_function(sorted(tag_set, key=lambda x: x.name))
1003 return text + summary_function(sorted(target_set))
/system/vold/bench/
Dbenchgen.py175 events = sorted(events, key=lambda e: e.time)
/system/core/liblog/
DREADME107 multiply, retrieving a log entry at a time in time sorted order,
/system/extras/tests/net_test/
Dmultinetwork_test.py1022 start, end = tuple(sorted([Random(), Random()]))