Searched refs:divisor (Results 1 – 9 of 9) sorted by relevance
/system/extras/memory_replay/ |
D | NativeInfo.cpp | 44 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()
|
D | NativeInfo.h | 27 void NativeFormatFloat(char* buffer, size_t buffer_len, uint64_t value, uint64_t divisor);
|
/system/core/storaged/ |
D | storaged_diskstats.cpp | 165 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/ |
D | audio_hearing_aid_hw_test.cc | 134 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/ |
D | audio_a2dp_hw_test.cc | 134 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/ |
D | ckdf.cpp | 30 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/ |
D | NetdClient.cpp | 327 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/ |
D | audio_hearing_aid_hw.cc | 1062 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/ |
D | audio_a2dp_hw.cc | 1101 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()
|