Lines Matching refs:output
561 std::string output = formatLine(name, size, pruned); in format() local
564 return output; in format()
590 output += formatLine(std::string(" PID/UID COMMAND LINE"), ditto, in format()
592 output += byPid; in format()
595 return output; in format()
736 std::string output; in formatMsec() local
737 if (val < sec) return output; in formatMsec()
740 output = android::base::StringPrintf("%" PRIu64 "d ", val / day); in formatMsec()
745 output += android::base::StringPrintf("%" PRIu64 ":", in formatMsec()
748 output += android::base::StringPrintf( in formatMsec()
752 output += in formatMsec()
762 output += android::base::StringPrintf(".%0*" PRIu64, digits, val); in formatMsec()
764 return output; in formatMsec()
772 std::string output; in FormatTable() local
786 output += "\n\n"; in FormatTable()
787 output += entry->formatHeader(name, id); in FormatTable()
790 output += entry->format(*this, id, *sorted_keys[index]); in FormatTable()
792 return output; in FormatTable()
827 std::string output = "size/num"; in Format() local
833 oldLength = output.length(); in Format()
835 output += android::base::StringPrintf("%*s%s", spaces, "", in Format()
837 spaces += spaces_total + oldLength - output.length(); in Format()
840 output += android::base::StringPrintf("%*sTotal", spaces, ""); in Format()
844 output += TotalStr; in Format()
850 oldLength = output.length(); in Format()
856 output += in Format()
858 spaces += spaces_total + oldLength - output.length(); in Format()
861 output += android::base::StringPrintf("%*s%zu/%zu", spaces, "", totalSize, in Format()
866 output += NowStr; in Format()
875 oldLength = output.length(); in Format()
880 output += in Format()
882 spaces -= output.length() - oldLength; in Format()
887 output += android::base::StringPrintf("%*s%zu/%zu", spaces, "", totalSize, in Format()
892 output += SpanStr; in Format()
928 oldLength = output.length(); in Format()
929 output += android::base::StringPrintf("%*s%s", spaces, "", in Format()
933 output += android::base::StringPrintf("(%u", permille / 10); in Format()
936 output += android::base::StringPrintf(".%u", permille); in Format()
938 output += android::base::StringPrintf("%%)"); in Format()
940 spaces -= output.length() - oldLength; in Format()
948 output += android::base::StringPrintf("%*s%s", spaces, "", in Format()
953 output += OverheadStr; in Format()
961 oldLength = output.length(); in Format()
978 output += android::base::StringPrintf("%*s%zu", spaces, "", szs); in Format()
979 spaces -= output.length() - oldLength; in Format()
985 output += android::base::StringPrintf("%*s%zu", spaces, "", totalSize); in Format()
997 output += FormatTable(uidTable[id], uid, pid, name, id); in Format()
1003 output += FormatTable(pidTable, uid, pid, name); in Format()
1007 output += FormatTable(tidTable, uid, pid, name); in Format()
1014 output += FormatTable(tagTable, uid, pid, name, LOG_ID_EVENTS); in Format()
1021 output += FormatTable(securityTagTable, uid, pid, name, LOG_ID_SECURITY); in Format()
1028 output += FormatTable(tagNameTable, uid, pid, name); in Format()
1031 return output; in Format()