Home
last modified time | relevance | path

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

/system/core/toolbox/
Dnewfs_msdos.c851 struct disklabel *lp, dlp; in getdiskinfo() local
855 lp = NULL; in getdiskinfo()
859 lp = getdiskbyname(dtype); in getdiskinfo()
863 if (lp == NULL) { in getdiskinfo()
875 lp = &dlp; in getdiskinfo()
881 lp = &dlp; in getdiskinfo()
886 if (lp == NULL) { in getdiskinfo()
910 lp = &dlp; in getdiskinfo()
914 bpb->bps = ckgeom(fname, lp->d_secsize, "bytes/sector"); in getdiskinfo()
916 bpb->spt = ckgeom(fname, lp->d_nsectors, "sectors/track"); in getdiskinfo()
[all …]
/system/core/adb/
Dfile_sync_client.cpp145 void ReportProgress(LinePrinter& lp, const std::string& file, uint64_t file_copied_bytes, in ReportProgress()
177 lp.Print(output, LinePrinter::LineType::INFO); in ReportProgress()
180 void ReportTransferRate(LinePrinter& lp, const std::string& name, TransferDirection direction) { in ReportTransferRate()
194 lp.Print(ss.str(), LinePrinter::LineType::INFO); in ReportTransferRate()
195 lp.KeepInfoLine(); in ReportTransferRate()