Lines Matching refs:n
42 std::unique_ptr<const TEntry *[]> sort(size_t n) { in sort() argument
43 if (!n) { in sort()
48 const TEntry **retval = new const TEntry* [n]; in sort()
49 memset(retval, 0, sizeof(*retval) * n); in sort()
54 ssize_t i = n - 1; in sort()
57 if (++i < (ssize_t)n) { in sort()
58 size_t b = n - i - 1; 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()
196 char *n = android::pidToName(p); in add() local
197 if (n) { in add()
198 name = n; in add()
248 char *n = android::tidToName(t); in add() local
249 if (n) { in add()
250 name = n; in add()
326 std::unique_ptr<const UidEntry *[]> sort(size_t n, log_id i) { return uidTable[i].sort(n); } in sort() argument