Home
last modified time | relevance | path

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

/system/core/logd/
DLogStatistics.cpp529 int permille = in format() local
531 if ((permille < -1) || (1 < permille)) { in format()
534 const char* prefix = (permille > 0) ? "+" : ""; in format()
536 if (permille > 999) { in format()
537 permille = (permille + 1000) / 100; // Now tenths fold in format()
541 if ((-99 < permille) && (permille < 99)) { in format()
543 "%s%d.%u%s", prefix, permille / 10, in format()
544 ((permille < 0) ? (-permille % 10) : (permille % 10)), in format()
548 "%s%d%s", prefix, (permille + 5) / 10, units); in format()
931 unsigned permille = ((newest - dropped) * 1000 + (span / 2)) / span; in Format() local
[all …]
/system/core/fs_mgr/libfiemap/
Dsplit_fiemap_writer.cpp77 int permille = -1; in Create() local
82 if (new_permille != permille && actual_written < file_size) { in Create()
86 permille = new_permille; in Create()
Dfiemap_writer.cpp400 int permille = -1; in WriteZeroes() local
413 if (new_permille != permille && static_cast<uint64_t>(offset) != file_size) { in WriteZeroes()
417 permille = new_permille; in WriteZeroes()