Searched refs:COMPILE_ASSERT (Results 1 - 25 of 537) sorted by last modified time

1234567891011>>

/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Dpitch_estimator.c215 COMPILE_ASSERT(PITCH_CORR_LEN2 %4 == 0);
H A Dpitch_filter.c91 COMPILE_ASSERT(PITCH_FRACORDER == 9);
92 COMPILE_ASSERT(PITCH_DAMPORDER == 5);
/external/webrtc/src/system_wrappers/interface/
H A Dcompile_assert.h17 * COMPILE_ASSERT(sizeof(foo) < 128);
19 #define COMPILE_ASSERT(expression) switch(0){case 0: case expression:;} macro
/external/webrtc/src/system_wrappers/source/
H A Datomic32_win.cc25 COMPILE_ASSERT(sizeof(_value) == sizeof(LONG));
/external/regex-re2/re2/
H A Donepass.cc175 COMPILE_ASSERT((1<<kEmptyShift)-1 == kEmptyAllFlags,
178 COMPILE_ASSERT(kMaxCap == Prog::kMaxOnePassCapture*2,
H A Dprog.cc315 COMPILE_ASSERT(8*sizeof(v.Word(0)) == 32, wordsize);
/external/regex-re2/util/
H A Dmutex.h184 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name)
185 #define ReaderMutexLock(x) COMPILE_ASSERT(0, rmutex_lock_decl_missing_var_name)
186 #define WriterMutexLock(x) COMPILE_ASSERT(0, wmutex_lock_decl_missing_var_name)
H A Dutil.h80 // COMPILE_ASSERT causes a compile error about msg if expr is not true.
82 #define COMPILE_ASSERT(expr, msg) \ macro
/external/chromium_org/v8/src/base/
H A Dmacros.h107 // The COMPILE_ASSERT macro can be used to verify that a compile time
111 // COMPILE_ASSERT(ARRAYSIZE_UNSAFE(content_type_names) == CONTENT_NUM_TYPES,
116 // COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large);
124 #define COMPILE_ASSERT(expr, msg) static_assert(expr, #msg) macro
131 #define COMPILE_ASSERT(expr, msg) \ macro
135 // Implementation details of COMPILE_ASSERT:
137 // - COMPILE_ASSERT works by defining an array type that has -1
142 // #define COMPILE_ASSERT(expr, msg) typedef char msg[(expr) ? 1 : -1]
150 // COMPILE_ASSERT(foo, msg); // not supposed to compile as foo is
164 // COMPILE_ASSERT(
[all...]
/external/chromium_org/third_party/webrtc/overrides/webrtc/base/
H A Dlogging.cc43 COMPILE_ASSERT(sizeof(base::subtle::Atomic32) == sizeof(base::PlatformThreadId),
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dcompile_assert.h16 // The COMPILE_ASSERT macro can be used to verify that a compile time
20 // COMPILE_ASSERT(ARRAYSIZE_UNSAFE(content_type_names) == CONTENT_NUM_TYPES,
25 // COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large);
33 #if !defined(COMPILE_ASSERT)
36 #define COMPILE_ASSERT(expr, msg) static_assert(expr, #msg) macro
43 #define COMPILE_ASSERT(expr, msg) \ macro
47 #endif // !defined(COMPILE_ASSERT)
49 // Implementation details of COMPILE_ASSERT:
51 // - COMPILE_ASSERT works by defining an array type that has -1
56 // #define COMPILE_ASSERT(exp
[all...]
H A Dcompile_assert_c.h19 // COMPILE_ASSERT(sizeof(foo) < 128);
20 #define COMPILE_ASSERT(expression) switch (0) {case 0: case expression:;} macro
H A Dscoped_ptr.h127 // using a COMPILE_ASSERT() based on is_convertible<> and requiring
136 COMPILE_ASSERT((webrtc::is_convertible<U*, T*>::value),
167 COMPILE_ASSERT(sizeof(T) == -1, do_not_use_array_with_size_as_type);
333 COMPILE_ASSERT(!webrtc::is_array<U>::value, U_cannot_be_an_array);
351 COMPILE_ASSERT(!webrtc::is_array<U>::value, U_cannot_be_an_array);
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Datomic32_win.cc23 COMPILE_ASSERT(sizeof(value_) == sizeof(LONG),
/external/chromium_org/tools/gyp/test/win/compiler-flags/
H A Ddefault-char-is-unsigned.cc9 #define COMPILE_ASSERT(expr, msg) \ macro
13 COMPILE_ASSERT(char(-1) > 0, default_char_is_unsigned);
/external/chromium_org/third_party/webrtc/base/
H A Dcompile_assert.h11 // COMPILE_ASSERT macro, borrowed from google3/base/macros.h.
15 // The COMPILE_ASSERT macro can be used to verify that a compile time
19 // COMPILE_ASSERT(ARRAYSIZE(content_type_names) == CONTENT_NUM_TYPES,
24 // COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large);
32 #if !defined(COMPILE_ASSERT)
37 #define COMPILE_ASSERT(expr, msg) \ macro
39 #endif // COMPILE_ASSERT
41 // Implementation details of COMPILE_ASSERT:
43 // - COMPILE_ASSERT works by defining an array type that has -1
48 // #define COMPILE_ASSERT(exp
[all...]
H A Dsafe_conversions_impl.h178 COMPILE_ASSERT(std::numeric_limits<Src>::is_specialized,
180 COMPILE_ASSERT(std::numeric_limits<Dst>::is_specialized,
H A Dscoped_ptr.h102 #include "webrtc/base/compile_assert.h" // for COMPILE_ASSERT
124 // using a COMPILE_ASSERT() based on is_convertible<> and requiring
133 COMPILE_ASSERT((rtc::is_convertible<U*, T*>::value),
164 COMPILE_ASSERT(sizeof(T) == -1, do_not_use_array_with_size_as_type);
340 COMPILE_ASSERT(!rtc::is_array<U>::value, U_cannot_be_an_array);
358 COMPILE_ASSERT(!rtc::is_array<U>::value, U_cannot_be_an_array);
/external/chromium_org/third_party/webrtc/common_audio/
H A Dwav_header.cc29 COMPILE_ASSERT(sizeof(ChunkHeader) == 8, chunk_header_size);
125 COMPILE_ASSERT(sizeof(header) == kWavHeaderSize, no_padding_in_header);
H A Dwav_header_unittest.cc75 COMPILE_ASSERT(sizeof(kExpectedBuf) == kSize, buf_size);
H A Dwav_writer_unittest.cc57 COMPILE_ASSERT(sizeof(kExpectedContents) == kContentSize, content_size);
101 COMPILE_ASSERT(sizeof(kExpectedContents) == kContentSize, content_size);
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dpitch_estimator_c.c76 COMPILE_ASSERT(PITCH_CORR_LEN2 %4 == 0);
H A Dpitch_estimator_mips.c37 COMPILE_ASSERT(PITCH_CORR_LEN2 % 4 == 0);
H A Dpitch_filter.c80 COMPILE_ASSERT(PITCH_FRACORDER == 9);
81 COMPILE_ASSERT(PITCH_DAMPORDER == 5);
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
H A Daudio_coding_module_unittest.cc136 COMPILE_ASSERT(kSampleRateHz * 10 / 1000 <= AudioFrame::kMaxDataSizeSamples,
464 COMPILE_ASSERT(kSampleRateHz == 16000, test_designed_for_isac_16khz);

Completed in 432 milliseconds

1234567891011>>