Searched defs:divisor (Results 1 - 8 of 8) sorted by relevance

/system/bt/audio_a2dp_hw/test/
H A Daudio_a2dp_hw_test.cc133 // Compute the divisor and adjust the buffer size
134 const size_t divisor = (AUDIO_STREAM_OUTPUT_BUFFER_PERIODS * 16 * local
137 const size_t remainder = expected_buffer_size % divisor;
139 expected_buffer_size += divisor - remainder;
/system/bt/audio_hearing_aid_hw/test/
H A Daudio_hearing_aid_hw_test.cc133 // Compute the divisor and adjust the buffer size
134 const size_t divisor = (AUDIO_STREAM_OUTPUT_BUFFER_PERIODS * 16 * local
137 const size_t remainder = expected_buffer_size % divisor;
139 expected_buffer_size += divisor - remainder;
/system/core/toolbox/upstream-netbsd/lib/libc/gen/
H A Dhumanize_number.c52 int64_t divisor, max, post = 1; local
61 divisor = 1000;
71 divisor = 1024;
133 bytes /= divisor;
141 bytes /= divisor;
/system/keymaster/km_openssl/
H A Dckdf.cpp30 inline uint32_t div_round_up(uint32_t dividend, uint32_t divisor) { argument
31 return (dividend + divisor - 1) / divisor;
/system/core/storaged/
H A Dstoraged_diskstats.cpp161 unsigned long long divisor = stats->read_ticks * stats->io_ticks; local
164 (divisor >> 1)) / divisor;
167 (divisor >> 1)) / divisor;
170 unsigned long long divisor = stats->write_ticks * stats->io_ticks; local
173 (divisor >> 1)) / divisor;
176 (divisor >> 1)) / divisor;
[all...]
/system/tpm/trunks/ftdi/
H A Dmpsse.c397 * Sets the appropriate divisor for the desired clock frequency.
408 uint16_t divisor = 0; local
424 divisor = 0xFFFF;
426 divisor = freq2div(system_clock, freq);
430 buf[1] = (divisor & 0xFF);
431 buf[2] = ((divisor >> 8) & 0xFF);
434 mpsse->clock = div2freq(system_clock, divisor);
/system/bt/audio_a2dp_hw/src/
H A Daudio_a2dp_hw.cc1102 const size_t divisor = (AUDIO_STREAM_OUTPUT_BUFFER_PERIODS * 16 * local
1110 // Adjust the buffer size so it can be divided by the divisor
1111 const size_t remainder = buffer_sz % divisor;
1113 buffer_sz += divisor - remainder;
/system/bt/audio_hearing_aid_hw/src/
H A Daudio_hearing_aid_hw.cc1063 const size_t divisor = (AUDIO_STREAM_OUTPUT_BUFFER_PERIODS * 16 * local
1071 // Adjust the buffer size so it can be divided by the divisor
1072 const size_t remainder = buffer_sz % divisor;
1074 buffer_sz += divisor - remainder;

Completed in 221 milliseconds