Home
last modified time | relevance | path

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

/system/extras/memory_replay/
DNativeInfo.cpp44 void NativeFormatFloat(char* buffer, size_t buffer_len, uint64_t value, uint64_t divisor) { in NativeFormatFloat() argument
45 uint64_t hundreds = ((((value % divisor) * 1000) / divisor) + 5) / 10; in NativeFormatFloat()
46 async_safe_format_buffer(buffer, buffer_len, "%" PRIu64 ".%02" PRIu64, value / divisor, hundreds); in NativeFormatFloat()
DNativeInfo.h27 void NativeFormatFloat(char* buffer, size_t buffer_len, uint64_t value, uint64_t divisor);
/system/core/storaged/
Dstoraged_diskstats.cpp165 unsigned long long divisor = stats->read_ticks * stats->io_ticks; in get_disk_perf() local
168 (divisor >> 1)) / divisor; in get_disk_perf()
171 (divisor >> 1)) / divisor; in get_disk_perf()
174 unsigned long long divisor = stats->write_ticks * stats->io_ticks; in get_disk_perf() local
177 (divisor >> 1)) / divisor; in get_disk_perf()
180 (divisor >> 1)) / divisor; in get_disk_perf()
/system/bt/audio_hearing_aid_hw/test/
Daudio_hearing_aid_hw_test.cc134 const size_t divisor = (AUDIO_STREAM_OUTPUT_BUFFER_PERIODS * 16 * in TEST_F() local
137 const size_t remainder = expected_buffer_size % divisor; in TEST_F()
139 expected_buffer_size += divisor - remainder; in TEST_F()
/system/bt/audio_a2dp_hw/test/
Daudio_a2dp_hw_test.cc134 const size_t divisor = (AUDIO_STREAM_OUTPUT_BUFFER_PERIODS * 16 * in TEST_F() local
137 const size_t remainder = expected_buffer_size % divisor; in TEST_F()
139 expected_buffer_size += divisor - remainder; in TEST_F()
/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.cpp327 auto divCeil(size_t dividend, size_t divisor) { in divCeil() argument
328 return ((dividend + divisor - 1) / divisor); in divCeil()
/system/bt/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc1062 const size_t divisor = (AUDIO_STREAM_OUTPUT_BUFFER_PERIODS * 16 * in audio_ha_hw_stream_compute_buffer_size() local
1071 const size_t remainder = buffer_sz % divisor; in audio_ha_hw_stream_compute_buffer_size()
1073 buffer_sz += divisor - remainder; in audio_ha_hw_stream_compute_buffer_size()
/system/bt/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc1101 const size_t divisor = (AUDIO_STREAM_OUTPUT_BUFFER_PERIODS * 16 * in audio_a2dp_hw_stream_compute_buffer_size() local
1110 const size_t remainder = buffer_sz % divisor; in audio_a2dp_hw_stream_compute_buffer_size()
1112 buffer_sz += divisor - remainder; in audio_a2dp_hw_stream_compute_buffer_size()