Home
last modified time | relevance | path

Searched refs:divisor (Results 1 – 5 of 5) sorted by relevance

/system/extras/memory_replay/
DNativeInfo.cpp33 void NativeFormatFloat(char* buffer, size_t buffer_len, uint64_t value, uint64_t divisor) { in NativeFormatFloat() argument
34 uint64_t hundreds = ((((value % divisor) * 1000) / divisor) + 5) / 10; in NativeFormatFloat()
35 snprintf(buffer, buffer_len, "%" PRIu64 ".%02" PRIu64, value / divisor, hundreds); in NativeFormatFloat()
DNativeInfo.h24 void NativeFormatFloat(char* buffer, size_t buffer_len, uint64_t value, uint64_t divisor);
/system/core/storaged/
Dstoraged_diskstats.cpp153 unsigned long long divisor = stats->read_ticks * stats->io_ticks; in get_disk_perf() local
156 (divisor >> 1)) / divisor; in get_disk_perf()
159 (divisor >> 1)) / divisor; in get_disk_perf()
162 unsigned long long divisor = stats->write_ticks * stats->io_ticks; in get_disk_perf() local
165 (divisor >> 1)) / divisor; in get_disk_perf()
168 (divisor >> 1)) / divisor; in get_disk_perf()
/system/keymaster/km_openssl/
Dckdf.cpp30 inline uint32_t div_round_up(uint32_t dividend, uint32_t divisor) { in div_round_up() argument
31 return (dividend + divisor - 1) / divisor; in div_round_up()
/system/netd/client/
DNetdClient.cpp323 auto divCeil(size_t dividend, size_t divisor) { in divCeil() argument
324 return ((dividend + divisor - 1) / divisor); in divCeil()