Searched refs:bytes_per_second (Results 1 – 13 of 13) sorted by relevance
/external/dropbear/ |
D | progressmeter.c | 63 static int bytes_per_second; /* current speed in bytes per second */ variable 133 bytes_per_second = 0; in refresh_progress_meter() 143 if (bytes_per_second != 0) { in refresh_progress_meter() 144 bytes_per_second = (bytes_per_second * AGE_FACTOR) + in refresh_progress_meter() 147 bytes_per_second = cur_speed; in refresh_progress_meter() 178 (off_t)bytes_per_second); in refresh_progress_meter() 189 else if (bytes_per_second == 0 && bytes_left) in refresh_progress_meter() 193 seconds = bytes_left / bytes_per_second; in refresh_progress_meter() 247 bytes_per_second = 0; in start_progress_meter()
|
/external/openssh/ |
D | progressmeter.c | 73 static int bytes_per_second; /* current speed in bytes per second */ variable 143 bytes_per_second = 0; in refresh_progress_meter() 153 if (bytes_per_second != 0) { in refresh_progress_meter() 154 bytes_per_second = (bytes_per_second * AGE_FACTOR) + in refresh_progress_meter() 157 bytes_per_second = cur_speed; in refresh_progress_meter() 188 (off_t)bytes_per_second); in refresh_progress_meter() 199 else if (bytes_per_second == 0 && bytes_left) in refresh_progress_meter() 203 seconds = bytes_left / bytes_per_second; in refresh_progress_meter() 258 bytes_per_second = 0; in start_progress_meter()
|
/external/chromium_org/net/quic/ |
D | quic_bandwidth.cc | 32 QuicBandwidth QuicBandwidth::FromBytesPerSecond(int64 bytes_per_second) { in FromBytesPerSecond() argument 33 DCHECK(bytes_per_second < kQuicInfiniteBandwidth / 8); in FromBytesPerSecond() 34 return QuicBandwidth(bytes_per_second * 8); in FromBytesPerSecond() 49 int64 bytes_per_second = (bytes * base::Time::kMicrosecondsPerSecond) / in FromBytesAndTimeDelta() local 51 return QuicBandwidth(bytes_per_second * 8); in FromBytesAndTimeDelta()
|
D | quic_bandwidth.h | 30 static QuicBandwidth FromBytesPerSecond(int64 bytes_per_second);
|
D | quic_packet_creator.h | 71 QuicByteCount bytes_per_second);
|
D | quic_packet_creator.cc | 113 QuicByteCount bytes_per_second) { in UpdateSequenceNumberLength() argument 121 bytes_per_second / options_.max_packet_length; in UpdateSequenceNumberLength()
|
/external/qemu/audio/ |
D | noaudio.c | 51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); in no_run_out() 108 muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); in no_run_in()
|
D | wavaudio.c | 67 muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); in wav_out_run() 354 int64_t bytes = muldiv64(ticks, hw->info.bytes_per_second, get_ticks_per_sec()); in wav_in_run()
|
D | audio_template.h | 507 * old_sw->info.bytes_per_second in glue() 508 / sw->info.bytes_per_second; in glue()
|
D | audio_int.h | 65 int bytes_per_second; member
|
D | dsoundaudio.c | 268 return (millis * info->bytes_per_second) / 1000; in millis_to_bytes() 694 abs (ds->mixed - ds->played) / (double) hw->info.bytes_per_second); in dsound_run_out()
|
D | audio.c | 738 info->bytes_per_second = info->freq << info->shift; in audio_pcm_init_info()
|
/external/chromium_org/content/renderer/media/ |
D | buffered_resource_loader.cc | 82 int bytes_per_second = (bitrate / 8.0) * playback_rate; in ComputeTargetBufferWindow() local 86 kTargetSecondsBufferedAhead * bytes_per_second, kMinBufferCapacity); in ComputeTargetBufferWindow() 88 kTargetSecondsBufferedBehind * bytes_per_second, kMinBufferCapacity); in ComputeTargetBufferWindow()
|