|
Safe numeric library added: base/numerics (copied from Chromium)
This copies the contents (unittest excluded) of base/numerics in
chromium to base/numerics in webrtc. Files added:
- safe_conversions.h
- safe_conversions_impl.h
- safe_math.h
- safe_math_impl.h
A really old version of safe_conversions[_impl].h previously existed in
base/, this has been deleted and sources using it have been updated
to include the new base/numerics/safe_converions.h.
This CL also adds a DEPS file to webrtc/base.
NOPRESUBMIT=True
BUG= webrtc:5548, webrtc:5623
Committed: https://crrev.com/de1c81b2d2196be611674aa6019b9db3a9329042
Cr-Commit-Position: refs/heads/master@{#11907}
Total comments: 6
Total comments: 10
Total comments: 9
Total comments: 4
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1380 lines, -289 lines) |
Patch |
 |
M |
webrtc/base/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+20 lines, -6 lines |
0 comments
|
Download
|
 |
A |
webrtc/base/DEPS
|
View
|
1
2
3
4
5
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webrtc/base/base.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+15 lines, -4 lines |
0 comments
|
Download
|
 |
A |
webrtc/base/numerics/safe_conversions.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+175 lines, -0 lines |
0 comments
|
Download
|
 |
A |
webrtc/base/numerics/safe_conversions_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+273 lines, -0 lines |
0 comments
|
Download
|
 |
A |
webrtc/base/numerics/safe_math.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+312 lines, -0 lines |
0 comments
|
Download
|
 |
A |
webrtc/base/numerics/safe_math_impl.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+556 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webrtc/base/openssladapter.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/base/opensslstreamadapter.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/base/rtccertificate_unittests.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
webrtc/base/safe_conversions.h
|
View
|
|
1 chunk |
+0 lines, -70 lines |
0 comments
|
Download
|
 |
D |
webrtc/base/safe_conversions_impl.h
|
View
|
|
1 chunk |
+0 lines, -188 lines |
0 comments
|
Download
|
 |
M |
webrtc/common_audio/audio_converter.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/common_audio/wav_file.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/media/engine/webrtcvideocapturer.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/media/sctp/sctpdataengine.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/modules/audio_coding/acm2/acm_receiver.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/modules/audio_coding/acm2/audio_coding_module_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/modules/audio_coding/neteq/delay_manager.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/modules/audio_coding/neteq/expand.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/modules/audio_coding/neteq/expand_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/modules/audio_coding/neteq/neteq_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/modules/audio_coding/neteq/statistics_calculator.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/modules/audio_coding/neteq/test/neteq_ilbc_quality_test.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/modules/audio_coding/neteq/test/neteq_pcmu_quality_test.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/modules/audio_coding/neteq/time_stretch.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/modules/audio_processing/audio_processing_performance_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 40 (17 generated)
|