Home
last modified time | relevance | path

Searched refs:bytes_per_second (Results 1 – 13 of 13) sorted by relevance

/external/dropbear/
Dprogressmeter.c63 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/
Dprogressmeter.c73 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/
Dquic_bandwidth.cc32 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()
Dquic_bandwidth.h30 static QuicBandwidth FromBytesPerSecond(int64 bytes_per_second);
Dquic_packet_creator.h71 QuicByteCount bytes_per_second);
Dquic_packet_creator.cc113 QuicByteCount bytes_per_second) { in UpdateSequenceNumberLength() argument
121 bytes_per_second / options_.max_packet_length; in UpdateSequenceNumberLength()
/external/qemu/audio/
Dnoaudio.c51 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()
Dwavaudio.c67 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()
Daudio_template.h507 * old_sw->info.bytes_per_second in glue()
508 / sw->info.bytes_per_second; in glue()
Daudio_int.h65 int bytes_per_second; member
Ddsoundaudio.c268 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()
Daudio.c738 info->bytes_per_second = info->freq << info->shift; in audio_pcm_init_info()
/external/chromium_org/content/renderer/media/
Dbuffered_resource_loader.cc82 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()