webrtc/rtc_base/numerics
Danil Chapovalov cad3e0e2fa Replace DataSize and DataRate factories with newer versions
This is search and replace change:
find . -type f \( -name "*.h" -o -name "*.cc" \) | xargs sed -i -e "s/DataSize::Bytes<\(.*\)>()/DataSize::Bytes(\1)/g"
find . -type f \( -name "*.h" -o -name "*.cc" \) | xargs sed -i -e "s/DataSize::bytes/DataSize::Bytes/g"
find . -type f \( -name "*.h" -o -name "*.cc" \) | xargs sed -i -e "s/DataRate::BitsPerSec<\(.*\)>()/DataRate::BitsPerSec(\1)/g"
find . -type f \( -name "*.h" -o -name "*.cc" \) | xargs sed -i -e "s/DataRate::BytesPerSec<\(.*\)>()/DataRate::BytesPerSec(\1)/g"
find . -type f \( -name "*.h" -o -name "*.cc" \) | xargs sed -i -e "s/DataRate::KilobitsPerSec<\(.*\)>()/DataRate::KilobitsPerSec(\1)/g"
find . -type f \( -name "*.h" -o -name "*.cc" \) | xargs sed -i -e "s/DataRate::bps/DataRate::BitsPerSec/g"
find . -type f \( -name "*.h" -o -name "*.cc" \) | xargs sed -i -e "s/DataRate::kbps/DataRate::KilobitsPerSec/g"
git cl format

Bug: webrtc:9709
Change-Id: I65aaca69474ba038c1fe2dd8dc30d3f8e7b94c29
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168647
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30545}
2020-02-18 16:09:50 +00:00
..
divide_round.h Introduce integer division helpers with non-default rounding 2019-09-18 15:08:39 +00:00
divide_round_unittest.cc Introduce integer division helpers with non-default rounding 2019-09-18 15:08:39 +00:00
event_based_exponential_moving_average.cc Add rtt estimate EventBasedExponentialMovingAverage to Connection 2019-11-28 09:24:44 +00:00
event_based_exponential_moving_average.h Add rtt estimate EventBasedExponentialMovingAverage to Connection 2019-11-28 09:24:44 +00:00
event_based_exponential_moving_average_unittest.cc Add rtt estimate EventBasedExponentialMovingAverage to Connection 2019-11-28 09:24:44 +00:00
event_rate_counter.cc Moves SampleStats and EventRateCounter to rtc_base/numerics 2019-12-02 07:46:48 +00:00
event_rate_counter.h Moves SampleStats and EventRateCounter to rtc_base/numerics 2019-12-02 07:46:48 +00:00
exp_filter.cc Use std::pow in rtc_base/numerics. 2019-03-20 13:02:15 +00:00
exp_filter.h
exp_filter_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
histogram_percentile_counter.cc Replace rtc::Optional with absl::optional in rtc_base 2018-06-21 11:23:40 +00:00
histogram_percentile_counter.h Format almost everything. 2019-07-08 13:45:15 +00:00
histogram_percentile_counter_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
math_utils.h [Cleanup] Remove our own definition of M_PI. 2019-04-12 15:03:45 +00:00
mod_ops.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
mod_ops_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
moving_average.cc Move MovingAverage to rtc_base/numerics and update it. 2018-11-05 13:02:29 +00:00
moving_average.h Format almost everything. 2019-07-08 13:45:15 +00:00
moving_average_unittest.cc Move MovingAverage to rtc_base/numerics and update it. 2018-11-05 13:02:29 +00:00
moving_max_counter.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
moving_max_counter_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
moving_median_filter.h Add a method to report number of samples in MovingMedianFilter. 2020-02-06 12:53:04 +00:00
moving_median_filter_unittest.cc Add a method to report number of samples in MovingMedianFilter. 2020-02-06 12:53:04 +00:00
percentile_filter.h Format almost everything. 2019-07-08 13:45:15 +00:00
percentile_filter_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
running_statistics.h Format almost everything. 2019-07-08 13:45:15 +00:00
running_statistics_unittest.cc More lenient double comparison for RunningStatistics.FullSimpleTest 2020-01-13 12:21:12 +00:00
safe_compare.h Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
safe_compare_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
safe_conversions.h Mark checked_cast, dchecked_cast, and saturated_cast as constexpr 2019-11-08 10:51:31 +00:00
safe_conversions_impl.h Mark checked_cast, dchecked_cast, and saturated_cast as constexpr 2019-11-08 10:51:31 +00:00
safe_minmax.h Fix typo in SafeClamp docs 2019-01-30 12:47:20 +00:00
safe_minmax_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
sample_counter.cc Format almost everything. 2019-07-08 13:45:15 +00:00
sample_counter.h Expose video freeze metrics in GetStats. 2019-02-04 09:58:08 +00:00
sample_counter_unittest.cc Fully qualify googletest symbols. 2019-04-09 17:18:20 +00:00
sample_stats.cc Replace DataSize and DataRate factories with newer versions 2020-02-18 16:09:50 +00:00
sample_stats.h Moves SampleStats and EventRateCounter to rtc_base/numerics 2019-12-02 07:46:48 +00:00
samples_stats_counter.cc Use newer version of TimeDelta and TimeStamp factories in webrtc 2020-02-10 12:21:17 +00:00
samples_stats_counter.h Store timestamp for each sample to be able to plot them in future 2019-09-11 11:13:49 +00:00
samples_stats_counter_unittest.cc Fix flake in SamplesStatsCounterTest.FullSimpleTest 2019-08-23 11:56:02 +00:00
sequence_number_util.h Format almost everything. 2019-07-08 13:45:15 +00:00
sequence_number_util_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00