Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1800)

Issue 2274083002: Replace calls to assert() with RTC_DCHECK_*() in .c code (Closed)

Created:
4 years, 3 months ago by kwiberg-webrtc
Modified:
4 years, 3 months ago
Reviewers:
ossu
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, Andrew MacDonald, zhengzhonghou_agora.io, fengyue_agora.io, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, henrika_webrtc, mflodman, peah-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Replace calls to assert() with RTC_DCHECK_*() in .c code We have RTC_CHECK and RTC_DCHECK for C now, so we should use it. It's one fewer difference between our C and C++ code. NOPRESUBMIT=true Committed: https://crrev.com/1e8ed4a801509f5ea31f98f1f4822dba71be9f8e Cr-Commit-Position: refs/heads/master@{#13930}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -156 lines) Patch
M webrtc/common_audio/signal_processing/auto_correlation.c View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/common_audio/signal_processing/filter_ar_fast_q12.c View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/common_audio/signal_processing/filter_ar_fast_q12_mips.c View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/common_audio/signal_processing/min_max_operations.c View 12 chunks +12 lines, -12 lines 0 comments Download
M webrtc/common_audio/signal_processing/min_max_operations_mips.c View 7 chunks +7 lines, -8 lines 0 comments Download
M webrtc/common_audio/signal_processing/min_max_operations_neon.c View 6 chunks +7 lines, -7 lines 0 comments Download
M webrtc/common_audio/signal_processing/spl_sqrt.c View 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/common_audio/signal_processing/splitting_filter.c View 3 chunks +4 lines, -5 lines 0 comments Download
M webrtc/common_audio/vad/vad_filterbank.c View 3 chunks +5 lines, -6 lines 0 comments Download
M webrtc/common_audio/vad/vad_sp.c View 2 chunks +2 lines, -3 lines 0 comments Download
A + webrtc/modules/audio_coding/codecs/isac/empty.cc View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/fix/source/bandwidth_estimator.c View 7 chunks +7 lines, -8 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/fix/source/encode.c View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding_neon.c View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks.c View 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_neon.c View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/fix/source/filters.c View 2 chunks +3 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/fix/source/filters_neon.c View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/fix/source/isacfix.c View 3 chunks +5 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/isac_test.gypi View 1 1 chunk +1 line, -0 lines 2 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/source/bandwidth_estimator.c View 8 chunks +8 lines, -8 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/source/isac.c View 4 chunks +8 lines, -8 lines 0 comments Download
M webrtc/modules/audio_processing/agc/legacy/analog_agc.c View 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/modules/audio_processing/agc/legacy/digital_agc.c View 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/audio_processing/ns/ns_core.c View 6 chunks +7 lines, -7 lines 0 comments Download
M webrtc/modules/audio_processing/ns/nsx_core.c View 16 chunks +29 lines, -29 lines 0 comments Download
M webrtc/modules/audio_processing/ns/nsx_core_c.c View 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/modules/audio_processing/ns/nsx_core_mips.c View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_processing/ns/nsx_core_neon.c View 7 chunks +12 lines, -11 lines 0 comments Download
M webrtc/system_wrappers/source/data_log_c_helpers_unittest.c View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 18 (7 generated)
kwiberg-webrtc
4 years, 3 months ago (2016-08-24 21:55:01 UTC) #2
ossu
https://codereview.webrtc.org/2274083002/diff/20001/webrtc/modules/audio_coding/codecs/isac/isac_test.gypi File webrtc/modules/audio_coding/codecs/isac/isac_test.gypi (right): https://codereview.webrtc.org/2274083002/diff/20001/webrtc/modules/audio_coding/codecs/isac/isac_test.gypi#newcode26 webrtc/modules/audio_coding/codecs/isac/isac_test.gypi:26: 'empty.cc', # force build system to use C++ linker ...
4 years, 3 months ago (2016-08-25 13:38:22 UTC) #3
kwiberg-webrtc
https://codereview.webrtc.org/2274083002/diff/20001/webrtc/modules/audio_coding/codecs/isac/isac_test.gypi File webrtc/modules/audio_coding/codecs/isac/isac_test.gypi (right): https://codereview.webrtc.org/2274083002/diff/20001/webrtc/modules/audio_coding/codecs/isac/isac_test.gypi#newcode26 webrtc/modules/audio_coding/codecs/isac/isac_test.gypi:26: 'empty.cc', # force build system to use C++ linker ...
4 years, 3 months ago (2016-08-25 16:53:10 UTC) #4
ossu
On 2016/08/25 16:53:10, kwiberg-webrtc wrote: > https://codereview.webrtc.org/2274083002/diff/20001/webrtc/modules/audio_coding/codecs/isac/isac_test.gypi > File webrtc/modules/audio_coding/codecs/isac/isac_test.gypi (right): > > https://codereview.webrtc.org/2274083002/diff/20001/webrtc/modules/audio_coding/codecs/isac/isac_test.gypi#newcode26 > ...
4 years, 3 months ago (2016-08-26 08:11:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2274083002/20001
4 years, 3 months ago (2016-08-26 08:46:35 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/15852)
4 years, 3 months ago (2016-08-26 09:00:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2274083002/20001
4 years, 3 months ago (2016-08-26 09:09:24 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 3 months ago (2016-08-26 10:47:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2274083002/20001
4 years, 3 months ago (2016-08-26 11:12:36 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-26 11:33:38 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 11:33:51 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1e8ed4a801509f5ea31f98f1f4822dba71be9f8e
Cr-Commit-Position: refs/heads/master@{#13930}

Powered by Google App Engine
This is Rietveld 408576698