Searched defs:assert (Results 26 - 50 of 77) sorted by relevance

1234

/external/chromium_org/chrome/third_party/chromevox/third_party/closure-library/closure/goog/asserts/
H A Dasserts.js20 * for type-inference. For example, <code>goog.asserts.assert(foo)</code>
25 * var x = goog.asserts.assert(foo()); goog.asserts.assert(bar());
118 goog.asserts.assert = function(condition, opt_message, var_args) {
136 * default: goog.assert.fail('Unrecognized type: ' + type);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_scene.h208 assert(size <= DATA_BLOCK_SIZE);
209 assert(block != NULL);
242 assert(block != NULL);
271 assert(list->head && list->head->used >= size);
300 assert(x < scene->tiles_x);
301 assert(y < scene->tiles_y);
302 assert(cmd < LP_RAST_OP_MAX); function
309 assert(tail->count == 0);
/external/chromium_org/third_party/smhasher/src/
H A DBitvec.cpp5 #include <assert.h>
9 #undef assert macro
10 void assert ( bool ) function
60 assert((len & 3) == 0);
237 assert((len & 3) == 0);
316 assert((len & 3) == 0);
407 assert((len & 3) == 0);
504 assert((len & 3) == 0);
599 assert((len & 3) == 0);
644 b = a; lshift1 (&b,nbytes,i); assert(
[all...]
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Dtmmbr_help.cc13 #include <assert.h>
66 assert(i < _sizeOfSet); function
78 assert(_lengthOfSet < _sizeOfSet);
83 assert(sourceIdx < _lengthOfSet);
225 assert(_candidateSet.PacketOH(i) == 0);
369 assert(_boundingSet.lengthOfSet() == numBoundingSet);
/external/chromium_org/v8/tools/profviz/
H A Dcomposer.js63 assert(thread_id >= 0 && thread_id < kNumThreads, "invalid thread id");
155 function assert(something, message) {
223 assert(int_timestamp >= last_timestamp, "Inconsistent timestamps.");
251 assert(finished_event === event_stack[thread_id].pop(),
/external/clang/test/Analysis/
H A Dnull-deref-ps.c10 #define assert(expr) \ macro
194 assert (len != 0);
205 assert (len > 0); // note use of '>'
/external/clang/test/SemaCXX/
H A Dfor-range-examples.cpp118 #define assert(b) if (!(b)) { return 1; } macro
125 assert(total == 10);
130 assert(total == 460);
139 assert(total == 463);
149 assert(total == 500);
/external/jemalloc/src/
H A Dutil.c1 #define assert(e) do { \ macro
245 assert(base >= 2 && base <= 36);
409 assert(alt_form == false);
413 assert(left_justify == false);
417 assert(plus_space == false);
421 assert(plus_plus == false);
444 assert(uwidth != UINTMAX_MAX || get_errno() !=
467 assert(uprec != UINTMAX_MAX || get_errno() !=
541 assert(len == '?' || len == 'l');
550 assert(le
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_scene.h208 assert(size <= DATA_BLOCK_SIZE);
209 assert(block != NULL);
242 assert(block != NULL);
271 assert(list->head && list->head->used >= size);
300 assert(x < scene->tiles_x);
301 assert(y < scene->tiles_y);
302 assert(cmd < LP_RAST_OP_MAX); function
309 assert(tail->count == 0);
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
H A DSDL_qsort.c47 #include <assert.h>
53 #ifdef assert
54 #undef assert macro
56 #define assert(X) macro
328 assert(pivot!=0);
359 assert(pivot!=0);
389 assert(pivot!=0);
/external/srec/tools/grxmlcompile/
H A Dnetw_arc.h24 #undef assert macro
25 #define assert(X) macro
/external/stlport/stlport/stl/config/
H A D_evc.h311 // evc3 doesn't have assert.h
313 # define assert(expr) _STLP_ASSERT(expr) macro
/external/valgrind/main/auxprogs/
H A Dvalgrind-listener.c88 #undef assert macro
90 #define assert(expr) \ macro
323 assert(new_sd > 0);
381 assert(k < M_CONNECTIONS);
/external/chromium_org/ppapi/native_client/tools/browser_tester/browserdata/
H A Dnacltest.js347 function assert(condition, message, test_status) { function
722 this.assert = function(condition, message) {
723 assert(condition, message, this);
818 this.assert(messages.length > 0, 'Must provide at least one message');
/external/chromium_org/remoting/webapp/
H A Dbase.js29 base.debug.assert = function(expr, opt_msg) {
71 base.debug.assert(typeof obj.dispose == 'function');
84 base.debug.assert(!dest.hasOwnProperty(prop),"Don't override properties");
318 base.debug.assert(Boolean(obj.eventMap_),
320 base.debug.assert(Boolean(obj.eventMap_[type]), 'Event <' + type +
330 base.debug.assert(!Boolean(this.eventMap_),
339 base.debug.assert(typeof type == 'string');
350 base.debug.assert(typeof fn == 'function');
363 base.debug.assert(typeof fn == 'function');
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_format.h401 assert(desc);
414 assert(desc);
442 assert(desc);
462 assert(desc);
496 assert(desc);
510 assert(desc);
546 assert(0);
653 assert(desc);
669 assert(bits % 8 == 0);
679 assert(des
752 assert(component < 4); function
[all...]
/external/clang/lib/Lex/
H A DLiteralSupport.cpp221 assert(Res && "Unexpected conversion failure");
233 assert(*I == 'u' || *I == 'U');
241 assert(I + NumHexDigits <= E);
246 assert(Value != -1U);
381 assert((CharByteWidth == 1 || CharByteWidth == 2 || CharByteWidth == 4) &&
385 assert((UcnLen== 4 || UcnLen== 8) && "only ucn length of 4 or 8 supported");
415 assert(CharByteWidth == 1 && "UTF-8 encoding is only for 1 byte characters");
514 assert(!isPreprocessingNumberBody(*ThisTokEnd) && "didn't maximally munch?");
753 assert(s[0] == '0' && "Invalid method call");
946 assert( function
[all...]
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
H A Dsha2.c65 * Some sanity checking code is included using assert(). On my FreeBSD
67 * defined. Check your own systems manpage on assert() to see how to
83 #define assert(x) macro
527 assert(context != (SHA256_CTX*)0 && data != (sha2_byte*)0);
571 assert(context != (SHA256_CTX*)0);
634 assert(context != (SHA256_CTX*)0);
849 assert(context != (SHA512_CTX*)0 && data != (sha2_byte*)0);
933 assert(context != (SHA512_CTX*)0);
963 assert(context != (SHA512_CTX*)0);
1008 assert(contex
[all...]
/external/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteRegisterContext.cpp161 assert (packet_len < ((int)sizeof(packet) - 1));
202 assert (packet_len < ((int)sizeof(packet) - 1)); function
255 assert (!"Didn't get sequence mutex for read register.");
518 assert (packet_len < ((int)sizeof(packet) - 1));
/external/llvm/include/llvm/Support/
H A DScaledNumber.h205 assert(LocalFloor >= 1);
310 assert(ShiftL < getWidth<DigitsT>() && "can't shift more than width"); function
324 assert(LScale == RScale && "scales should match");
340 assert(LScale < INT16_MAX && "scale too large");
341 assert(RScale < INT16_MAX && "scale too large");
710 assert(Shift >= ScaledNumbers::MinScale && "Shift should be close to 0");
711 assert(Shift <= ScaledNumbers::MaxScale - 64 &&
788 assert(size_t(Scale) < sizeof(IntT) * 8);
792 assert(size_t(-Scale) < sizeof(IntT) * 8);
835 assert(Shif
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format.h401 assert(desc);
414 assert(desc);
442 assert(desc);
462 assert(desc);
496 assert(desc);
510 assert(desc);
546 assert(0);
653 assert(desc);
669 assert(bits % 8 == 0);
679 assert(des
752 assert(component < 4); function
[all...]
/external/chromium_org/base/
H A Dlogging.h74 // which is syntactic sugar for {,D}LOG_IF(FATAL, assert fails) << assertion;
115 // We also override the standard 'assert' to use 'DLOG_ASSERT'.
673 // Redefine the standard assert to use our nice log files
674 #undef assert macro
675 #define assert(x) DLOG_ASSERT(x) macro
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/test/
H A Dbwe_test_framework.cc27 assert(max_delay_ms >= 0);
72 assert(packets_per_second_ >= 1);
73 assert(bytes_per_second_ >= packet.second);
153 assert(send_time_us >= 0);
256 assert(in_out);
273 assert(loss_percent >= 0.0f);
274 assert(loss_percent <= 100.0f);
279 assert(in_out);
298 assert(delay_ms >= 0);
303 assert(in_ou
559 assert(first_frame_offset < 1.0f); function
[all...]
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
H A Dmedia_opt_util.cc62 assert(lowRttNackThresholdMs >= -1 && highRttNackThresholdMs >= -1);
63 assert(highRttNackThresholdMs == -1 ||
65 assert(lowRttNackThresholdMs > -1 || highRttNackThresholdMs == -1);
366 assert(indexTable < kSizeAvgFECRecoveryXOR);
444 assert(indexTable < kSizeCodeRateXORTable);
497 assert(indexTableKey < kSizeCodeRateXORTable); function
/external/clang/lib/Format/
H A DUnwrappedLineParser.cpp80 assert(!eof());
141 assert(Parser.Line->Tokens.empty());
187 assert(Position >= 0);
254 assert(PPLevelBranchIndex.size() == PPLevelBranchCount.size());
255 assert(PPLevelBranchIndex.back() <= PPLevelBranchCount.back());
320 assert(Tok->Tok.is(tok::l_brace));
398 assert(FormatTok->Tok.is(tok::l_brace) && "'{' expected");
455 assert(FormatTok->Tok.is(tok::hash) && "'#' expected");
499 assert(PPBranchLevel >= 0 && PPBranchLevel <= (int)PPLevelBranchIndex.size());
512 assert(PPBranchLeve
521 assert(PPBranchLevel < (int)PPLevelBranchIndex.size()); function
[all...]

Completed in 815 milliseconds

1234