Searched defs:assert (Results 1 - 25 of 77) sorted by relevance

1234

/external/clang/test/SemaTemplate/
H A Drdar9173693.cpp4 template< bool C > struct assert { }; struct
6 template< typename Pred > assert<false> assert_not_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type ); // expected-error 5 {{}}
/external/chromium_org/ui/webui/resources/js/
H A Dassert.js18 function assert(condition, opt_message) { function
/external/chromium_org/third_party/sinonjs/src/
H A Dsinon-qunit.js35 sinon.assert.fail = function (msg) {
39 sinon.assert.pass = function (assertion) {
/external/chromium_org/v8/test/promises-aplus/lib/
H A Dassert.js28 // Mimics assert module in node.
71 function assert(value, message) { function
83 assert.fail = fail;
84 assert.ok = ok;
85 assert.equal = equal;
86 assert.notEqual = notEqual;
87 assert.deepEqual = notImplemented;
88 assert.notDeepEqual = notImplemented;
89 assert.strictEqual = strictEqual;
90 assert
[all...]
H A Dmocha.js39 var assert = require('assert'); variable
125 assert.clear();
138 if (assert.fails.length > 0) {
139 return suite.ReportError(this, assert.fails[0]);
148 if (assert.fails.length > 0) {
149 return suite.ReportError(this, assert.fails[0]);
158 if (assert.fails.length > 0) {
159 return suite.ReportError(this, assert.fails[0]);
/external/emma/core/java12/com/vladium/util/asserts/
H A D$assert.java7 * $Id: \044assert.java,v 1.1.1.1 2004/05/09 16:57:57 vlad_r Exp $
16 abstract class $assert
57 private $assert () {} // prevent subclassing
/external/chromium_org/chrome/test/chromedriver/js/
H A Dtest.js7 * @param {*} x The value to assert.
9 function assert(x) { function
16 * @param {*} x The value to assert.
/external/jemalloc/test/include/test/
H A Djemalloc_test.h21 #define assert(e) do { \ macro
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
H A DSDLOSXCAGuard.c82 #include <assert.h>
84 #define assert(X) macro
102 assert(theError == 0);
113 assert(pthread_self() == cag->mOwner);
118 assert(theError == 0);
144 assert(pthread_self() == cag->mOwner);
150 assert(theError == 0);
158 assert(theError == 0);
180 assert(theError == 0);
184 assert(theErro
[all...]
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/
H A Drate_statistics.cc13 #include <assert.h>
47 assert(now_offset < num_buckets_); function
69 assert(accumulated_count_ >= count_in_oldest_bucket);
/external/jemalloc/include/jemalloc/internal/
H A Dutil.h31 * Define a custom assert() in order to reduce the chances of deadlock during
34 #ifndef assert
35 #define assert(e) do { \ macro
73 /* Use to assert a particular configuration, e.g., cassert(config_debug). */
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dunicodestring.cc61 assert(length >= 0 && length <= this->length());
74 assert(pos < length());
104 assert(index < length()); function
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/
H A Dpacket.cc90 assert(payload_);
106 assert(payload_ptr < payload_end_ptr); function
135 assert(valid_header);
139 assert(header_.headerLength <= packet_length_bytes_);
141 assert(packet_length_bytes_ >= header_.headerLength);
143 assert(virtual_packet_length_bytes_ >= header_.headerLength);
/external/chromium_org/third_party/webrtc/tools/rtcbot/
H A Dtest.js38 assert: function (value, message) {
45 this.assert(false, "Test failed.");
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DFunctionSummary.h67 assert(I != Map.end());
97 assert(ID < TotalIDs); function
/external/clang/test/Analysis/inlining/
H A Dinline-defensive-checks.cpp7 #define assert(expr) \ macro
48 assert( (result != 0) || (def == 0) );
/external/chromium_org/extensions/test/data/
H A Dutils_unittest.js5 var assert = requireNative('assert'); variable
6 var AssertTrue = assert.AssertTrue;
7 var AssertFalse = assert.AssertFalse;
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_debug.h32 * For now it just has assert and printf replacements, but it might be extended
42 #include <assert.h>
162 * Do not expect that the assert call terminates -- errors must be handled
163 * regardless of assert behavior.
165 * For non debug builds the assert macro will expand to a no-op, so do not
166 * call functions with side effects in the assert expression.
175 /** Override standard assert macro */
176 #ifdef assert
177 #undef assert macro
179 #define assert(exp macro
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Dbackground_noise.cc13 #include <assert.h>
126 assert(channel < num_channels_); function
131 assert(channel < num_channels_);
136 assert(channel < num_channels_);
141 assert(channel < num_channels_);
146 assert(channel < num_channels_);
152 assert(channel < num_channels_);
159 assert(channel < num_channels_);
163 assert(channel < num_channels_);
191 assert(channe
[all...]
H A Dstatistics_calculator.cc13 #include <assert.h>
94 assert(next_waiting_time_index_ < kLenWaitingTimes); function
113 assert(false);
162 assert((numerator << 14) / denominator < (1 << 14));
/external/clang/lib/Format/
H A DFormatToken.cpp125 assert(End->TotalLength >= Begin->TotalLength);
201 assert(i < MustBreakBeforeItem.size()); function
/external/cmockery/cmockery_0_1_2/src/example/
H A Dcalculator.c19 #include <assert.h>
45 // Redirect assert to mock_assert() so assertions can be caught by cmockery.
46 #ifdef assert
47 #undef assert macro
48 #endif // assert
49 #define assert(expression) \ macro
115 assert(b); // Check for divde by zero.
128 assert(!number_of_operator_functions || operator_functions);
129 assert(operator_string);
164 assert(!number_of_argument
[all...]
/external/conscrypt/src/compat/native/
H A DUniquePtr.h151 static void assert(bool b) { function
166 assert(*p == 123);
180 assert(cCount == 1);
182 assert(cCount == 0);
187 assert(cCount == 1);
190 assert(cCount == 1);
195 assert(cCount == 1);
197 assert(cCount == 1);
199 assert(cCount == 0);
208 assert(cCoun
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_debug.h32 * For now it just has assert and printf replacements, but it might be extended
161 * Do not expect that the assert call terminates -- errors must be handled
162 * regardless of assert behavior.
164 * For non debug builds the assert macro will expand to a no-op, so do not
165 * call functions with side effects in the assert expression.
174 /** Override standard assert macro */
175 #ifdef assert
176 #undef assert macro
178 #define assert(expr) debug_assert(expr) macro
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/irc/servlet/jstemplate/
H A Dutil.js73 function assert(obj) {} function

Completed in 962 milliseconds

1234