Searched defs:ASSERT (Results 1 - 25 of 50) sorted by relevance

12

/external/chromium_org/third_party/skia/tests/
H A DGrGLSLPrettyPrintTest.cpp12 #define ASSERT(x) REPORTER_ASSERT(r, x) macro
86 ASSERT(output1 == test);
89 ASSERT(GrGLSLPrettyPrint::PrettyPrintGLSL(input2, true).c_str() != NULL);
H A DChecksumTest.cpp16 #define ASSERT(x) REPORTER_ASSERT(r, x) macro
36 ASSERT(algorithm(NULL, 0) == 0);
40 ASSERT(hash == algorithm(data, kBytes));
47 ASSERT(tweakedHash != hash);
48 ASSERT(tweakedHash == algorithm(tweaked, kBytes));
H A DColorPrivTest.cpp5 #define ASSERT(expr) REPORTER_ASSERT(r, expr) macro
12 ASSERT(ag == 0x00A100C3);
13 ASSERT(rb == 0x00B200D4);
14 ASSERT(SkUnsplay(ag << 8, rb << 8) == color);
17 ASSERT(agrb == 0x00A100C300B200D4ULL);
18 ASSERT(SkUnsplay(agrb<<8) == color);
24 ASSERT(SkFourByteInterp256(src, dst, scale) == SkFastFourByteInterp256(src, dst, scale));
38 ASSERT(deltaA == 0 || deltaA == 1);
39 ASSERT(deltaR == 0 || deltaR == 1);
40 ASSERT(delta
[all...]
H A DDynamicHashTest.cpp36 #define ASSERT(x) REPORTER_ASSERT(reporter, x) macro
46 ASSERT(hash.capacity() == 0);
49 ASSERT(hash.capacity() == 4);
52 ASSERT(hash.capacity() == 4);
55 ASSERT(hash.capacity() == 4);
58 ASSERT(hash.capacity() == 8);
61 ASSERT(hash.capacity() == 8);
63 ASSERT(hash.count() == 5);
71 ASSERT(hash.count() == 0);
73 ASSERT(has
[all...]
H A DBlendTest.cpp4 #define ASSERT(x) REPORTER_ASSERT(r, x) macro
34 ASSERT(abs_diff(blend, golden) <= maxDiff);
/external/libhevc/common/
H A Dihevc_debug.h55 #define ASSERT(x) assert((x)) macro
56 //#define ASSERT(x) ihevcd_debug_assert((x))
59 #define ASSERT(x) \ macro
63 printf("ASSERT %s %d\n", __FILE__, __LINE__); \
/external/srec/portable/include/
H A Dptstutils.h27 #ifdef ASSERT
28 #undef ASSERT macro
35 #define ASSERT(x) \ macro
/external/chromium_org/third_party/angle/src/compiler/translator/
H A Dcompilerdebug.h36 #define ASSERT(expression) do { \ macro
/external/emma/core/java12/com/vladium/util/asserts/
H A D$assert.java33 public static void ASSERT (final boolean condition, final String msg) method in class:$assert
41 public static void ASSERT (final boolean condition) method in class:$assert
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
H A DSQLTransactionStateMachine.h51 #if ENABLE(ASSERT)
70 #if ENABLE(ASSERT)
74 #if ENABLE(ASSERT)
83 ASSERT(m_nextState == SQLTransactionState::Idle);
84 ASSERT(m_requestedState != SQLTransactionState::Idle);
92 ASSERT(SQLTransactionState::End < SQLTransactionState::Idle); function
94 ASSERT(m_nextState < SQLTransactionState::NumberOfStates);
96 ASSERT(stateFunction);
98 #if ENABLE(ASSERT)
/external/eigen/bench/btl/generic_bench/utils/
H A Dutilities.h62 # ifndef ASSERT
63 # define ASSERT(condition) if (!(condition)){ HERE ; cerr << "CONDITION " << #condition << " NOT VERIFIED"<< endl ; INTERRUPTION(1) ;} macro
64 # endif /* ASSERT */
79 # ifndef ASSERT
80 # define ASSERT(condition) macro
81 # endif /* ASSERT */
/external/skia/tests/
H A DChecksumTest.cpp16 #define ASSERT(x) REPORTER_ASSERT(r, x) macro
36 ASSERT(algorithm(NULL, 0) == 0);
40 ASSERT(hash == algorithm(data, kBytes));
47 ASSERT(tweakedHash != hash);
48 ASSERT(tweakedHash == algorithm(tweaked, kBytes));
H A DColorPrivTest.cpp5 #define ASSERT(expr) REPORTER_ASSERT(r, expr) macro
12 ASSERT(ag == 0x00A100C3);
13 ASSERT(rb == 0x00B200D4);
14 ASSERT(SkUnsplay(ag << 8, rb << 8) == color);
17 ASSERT(agrb == 0x00A100C300B200D4ULL);
18 ASSERT(SkUnsplay(agrb<<8) == color);
24 ASSERT(SkFourByteInterp256(src, dst, scale) == SkFastFourByteInterp256(src, dst, scale));
38 ASSERT(deltaA == 0 || deltaA == 1);
39 ASSERT(deltaR == 0 || deltaR == 1);
40 ASSERT(delta
[all...]
H A DDynamicHashTest.cpp36 #define ASSERT(x) REPORTER_ASSERT(reporter, x) macro
46 ASSERT(hash.capacity() == 0);
49 ASSERT(hash.capacity() == 4);
52 ASSERT(hash.capacity() == 4);
55 ASSERT(hash.capacity() == 4);
58 ASSERT(hash.capacity() == 8);
61 ASSERT(hash.capacity() == 8);
63 ASSERT(hash.count() == 5);
71 ASSERT(hash.count() == 0);
73 ASSERT(has
[all...]
H A DBlendTest.cpp4 #define ASSERT(x) REPORTER_ASSERT(r, x) macro
34 ASSERT(abs_diff(blend, golden) <= maxDiff);
/external/chromium_org/third_party/angle/src/common/
H A Ddebug.h75 #define ASSERT(expression) do { \ macro
82 #define ASSERT(expression) (void(0))
/external/srec/srec/include/
H A Dportable.h39 #define ASSERT passert macro
/external/chromium_org/sandbox/win/src/sidestep/
H A Dpreamble_patcher_with_stub.cpp45 #define ASSERT(a, b) DCHECK_NT(a) macro
58 ASSERT(false, (L"Invalid parameters - either pTargetFunction or "
92 ASSERT(false, (L"Unable to patch because there is a jump instruction "
96 ASSERT(false, (L"Unable to patch because function is too short"));
99 ASSERT(false, (L"Disassembler encountered unsupported instruction "
179 #undef ASSERT macro
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dinternal_logging.h119 #define ASSERT(cond) CHECK_CONDITION(cond) macro
121 #define ASSERT(cond) ((void) 0)
/external/qemu/android/
H A Dcbuffer.c22 # define ASSERT(cond,fmt,...) ({ if (!(cond)) { fprintf(stderr, fmt, __VA_ARGS__); assert(cond); } }) macro
24 # define ASSERT(cond,fmt,...) ((void)0) macro
91 ASSERT(avail >= 0, "avail is negative: %d", avail);
99 ASSERT( wpos >= 0 && wpos < cb->size, "wpos is out-of-bounds: %d (rpos=%d)", wpos, cb->rpos);
127 ASSERT(avail >= 0, "avail is negative: %d", avail);
132 ASSERT((rpos >= 0 && rpos < cb->size), "rpos is out-of-bounds: %d", rpos);
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGGlyphMap.h54 ASSERT(!glyphIdentifier.isEmpty() || !unicodeString.isEmpty());
59 ASSERT(hasGlyphIdentifier);
95 ASSERT(tableEntry < std::numeric_limits<unsigned short>::max()); function
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dinternal_logging.h126 #define ASSERT(cond) CHECK_CONDITION(cond) macro
129 #define ASSERT(cond) ((void) 0)
/external/chromium_org/third_party/webrtc/base/
H A Dcommon.h84 // Assert (and from the ASSERT macro in debug mode) before any other action
135 #ifndef ASSERT
137 // Using debugbreak() inline on Windows directly in the ASSERT macro, has the
140 #define ASSERT(x) \ macro
144 #define ASSERT(x) \
167 #ifndef ASSERT
168 #define ASSERT(x) (void)0
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DAssertions.h46 // Users must test "#if ENABLE(ASSERT)", which helps ensure that code
50 /* Disable ASSERT* macros in release mode by default. */
58 #define BACKTRACE_DISABLED !ENABLE(ASSERT)
62 #define ASSERT_MSG_DISABLED !ENABLE(ASSERT)
66 #define ASSERT_ARG_DISABLED !ENABLE(ASSERT)
70 #define FATAL_DISABLED !ENABLE(ASSERT)
74 #define ERROR_DISABLED !ENABLE(ASSERT)
78 #define LOG_DISABLED !ENABLE(ASSERT)
146 To test for unknown errors and verify assumptions, use ASSERT instead, to avoid impacting performance in release builds.
166 Print a backtrace to the same location as ASSERT message
187 #undef ASSERT macro
192 #define ASSERT macro
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
H A Ddouble-conversion.cc84 ASSERT(length != 0);
103 ASSERT(exponent < 1e4);
130 ASSERT(length <= digits_after_point - (-decimal_point));
145 ASSERT(digits_after_point > 0);
148 ASSERT(length - decimal_point <= digits_after_point);
203 ASSERT(kMaxFixedDigitsBeforePoint == 60);
251 ASSERT(kDecimalRepCapacity > kBase10MaximalLength);
263 ASSERT(decimal_rep_length <= requested_digits + 1);
307 ASSERT(decimal_rep_length <= precision);
364 ASSERT(!Doubl
488 ASSERT(buffer_pos < kBufferSize); function
[all...]

Completed in 706 milliseconds

12