Home
last modified time | relevance | path

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

/system/core/logd/
DLogStatistics.cpp364 int permille = in format() local
366 if ((permille < -1) || (1 < permille)) { in format()
369 const char* prefix = (permille > 0) ? "+" : ""; in format()
371 if (permille > 999) { in format()
372 permille = (permille + 1000) / 100; // Now tenths fold in format()
376 if ((-99 < permille) && (permille < 99)) { in format()
378 "%s%d.%u%s", prefix, permille / 10, in format()
379 ((permille < 0) ? (-permille % 10) : (permille % 10)), in format()
383 "%s%d%s", prefix, (permille + 5) / 10, units); in format()
724 unsigned permille = ((newest - dropped) * 1000 + (span / 2)) / span; in format() local
[all …]
/system/core/fs_mgr/libfiemap_writer/
Dsplit_fiemap_writer.cpp62 int permille = -1; in Create() local
67 if (new_permille != permille && actual_written < file_size) { in Create()
71 permille = new_permille; in Create()
Dfiemap_writer.cpp311 int permille = -1; in AllocateFile() local
324 if (new_permille != permille && static_cast<uint64_t>(offset) != file_size) { in AllocateFile()
328 permille = new_permille; in AllocateFile()