Searched refs:assertion (Results 1 - 25 of 47) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebCommon.cpp38 void failedAssertion(const char* file, int line, const char* function, const char* assertion) argument
40 WTFReportAssertionFailure(file, line, function, assertion);
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DAssertions.h98 WTF_EXPORT void WTFReportAssertionFailure(const char* file, int line, const char* function, const char* assertion);
99 WTF_EXPORT void WTFReportAssertionFailureWithMessage(const char* file, int line, const char* function, const char* assertion, const char* format, ...) WTF_ATTRIBUTE_PRINTF(5, 6);
100 WTF_EXPORT void WTFReportArgumentAssertionFailure(const char* file, int line, const char* function, const char* argName, const char* assertion);
192 #define ASSERT(assertion) \
193 (!(assertion) ? \
194 (WTFReportAssertionFailure(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, #assertion), \
198 #define ASSERT_AT(assertion, file, line, function) \
199 (!(assertion) ? \
200 (WTFReportAssertionFailure(file, line, function, #assertion), \
209 #define ASSERT_UNUSED(variable, assertion) ASSER
[all...]
H A DAssertions.cpp202 void WTFReportAssertionFailure(const char* file, int line, const char* function, const char* assertion) argument
204 if (assertion)
205 printf_stderr_common("ASSERTION FAILED: %s\n", assertion);
211 void WTFReportAssertionFailureWithMessage(const char* file, int line, const char* function, const char* assertion, const char* format, ...) argument
217 printf_stderr_common("\n%s\n", assertion);
221 void WTFReportArgumentAssertionFailure(const char* file, int line, const char* function, const char* argName, const char* assertion) argument
223 printf_stderr_common("ARGUMENT BAD: %s, %s\n", argName, assertion);
341 // in case we hit an assertion.
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebCommon.h109 BLINK_COMMON_EXPORT void failedAssertion(const char* file, int line, const char* function, const char* assertion);
115 #define BLINK_ASSERT(assertion) ((void)0)
117 #define BLINK_ASSERT(assertion) do { \
118 if (!(assertion)) \
119 failedAssertion(__FILE__, __LINE__, __FUNCTION__, #assertion); \
/external/chromium_org/third_party/sinonjs/src/
H A Dsinon-qunit.js39 sinon.assert.pass = function (assertion) {
40 QUnit.ok(true, assertion);
/external/guava/guava-testlib/src/com/google/common/testing/
H A DRelationshipTester.java38 private final RelationshipAssertion<T> assertion; field in class:RelationshipTester
40 RelationshipTester(RelationshipAssertion<T> assertion) { argument
41 this.assertion = checkNotNull(assertion);
79 assertion.assertRelated(item, related);
93 assertion.assertUnrelated(item, unrelated);
/external/chromium_org/third_party/qunit/src/
H A Dbrowser_test_harness.js34 function(assertion, index){
35 return ' ' + (index + 1) + '. ' + assertion.message + '\n' +
36 ' ' + assertion.source;
/external/llvm/test/MC/Mips/
H A Dmips-register-names-invalid.s4 # $32 used to trigger an assertion instead of the usual error message due to
/external/apache-xml/src/main/java/org/apache/xpath/axes/
H A DLocPathIterator.java391 assertion(false, "setNextPosition not supported in this iterator!");
418 assertion(false, "setShouldCacheNodes not supported by this iterater!");
440 assertion(false, "setCurrentPos not supported by this iterator!");
464 assertion(false, "size() not supported by this iterator!");
479 assertion(false, "item(int index) not supported by this iterator!");
498 assertion(false, "setItem not supported by this iterator!");
700 assertion(false, "This iterator can not reset!");
H A DNodeSequence.java185 assertion(nodeVector instanceof NodeVector,
227 assertion(false, "Can not get a DTM Unless a DTMManager has been set!");
250 // an assertion here.
251 // assertion(false, "Can not get the root from a non-iterated NodeSequence!");
275 assertion(false, "Can not setRoot on a non-iterated NodeSequence!");
689 assertion(false, "Can not getAxis from a non-iterated node sequence!");
723 assertion(hasCache(), "addNodeInDocOrder must be done on a mutable sequence!");
/external/chromium_org/testing/gtest/scripts/
H A Dgen_gtest_pred_impl.py113 // Implements a family of generic predicate assertion macros.
123 // This header implements a family of generic predicate assertion
278 // %(Arity)s predicate assertion macros.
529 "The predicate assertion didn't evaluate argument %s "
536 FAIL() << "The predicate assertion unexpactedly aborted the test.";
538 FAIL() << "The failed predicate assertion didn't abort the test "
572 """Returns the test for a predicate assertion macro.
575 use_format: true iff the assertion is a *_PRED_FORMAT*.
576 use_assert: true iff the assertion is a ASSERT_*.
577 expect_failure: true iff the assertion i
[all...]
/external/protobuf/gtest/scripts/
H A Dgen_gtest_pred_impl.py113 // Implements a family of generic predicate assertion macros.
123 // This header implements a family of generic predicate assertion
280 // %(Arity)s predicate assertion macros.
532 "The predicate assertion didn't evaluate argument %s "
539 FAIL() << "The predicate assertion unexpactedly aborted the test.";
541 FAIL() << "The failed predicate assertion didn't abort the test "
575 """Returns the test for a predicate assertion macro.
578 use_format: true iff the assertion is a *_PRED_FORMAT*.
579 use_assert: true iff the assertion is a ASSERT_*.
580 expect_failure: true iff the assertion i
[all...]
/external/libsepol/
H A DAndroid.mk4 src/assertion.c \
/external/valgrind/main/drd/tests/
H A Dunit_vc.c19 void VG_(assert_fail)(Bool isCore, const HChar* assertion, const HChar* file, argument
29 assertion);
/external/apache-xml/src/main/java/org/apache/xpath/
H A DExpression.java404 * Tell the user of an assertion error, and probably throw an
408 * @param msg The assertion message, which should be informative.
414 public void assertion(boolean b, java.lang.String msg) method in class:Expression
476 assertion(n != this, "Can not parent an expression to itself!");
489 assertion(false, "exprAddChild method not implemented!");
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DRedundentExprEliminator.java366 assertion(false, "Could not find common ancestor!!!");
456 assertion(null != walker, "Walker should not be null!");
538 assertion((null != aw1) || (null != aw2), "Total match is incorrect!");
1249 errMsg = "Programmer's assertion: expr1 not an iterator: "+
1254 errMsg = "Programmer's assertion: expr1 not an iterator: "+
1272 assertion(owner.getExpression() == path, "owner.getExpression() != path!!!");
1278 assertion(ew != owner, "duplicate owner on the list!!!");
1279 assertion(ew.getExpression() != path, "duplicate expression on the list!!!");
1284 * Simple assertion.
1286 protected static void assertion(boolea method in class:RedundentExprEliminator
[all...]
/external/chromium_org/remoting/base/
H A Dbreakpad_win.cc71 MDRawAssertionInfo* assertion);
174 MDRawAssertionInfo* /* assertion */) {
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
H A Dradeon_compiler.h86 int rc_if_fail_helper(struct radeon_compiler * c, const char * file, int line, const char * assertion);
H A Dradeon_compiler.c99 int rc_if_fail_helper(struct radeon_compiler * c, const char * file, int line, const char * assertion) argument
101 rc_error(c, "ICE at %s:%i: assertion failed: %s\n", file, line, assertion);
/external/deqp/framework/delibs/debase/
H A DdeDefs.c137 # error Implement assertion function on your platform.
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_compiler.h86 int rc_if_fail_helper(struct radeon_compiler * c, const char * file, int line, const char * assertion);
H A Dradeon_compiler.c99 int rc_if_fail_helper(struct radeon_compiler * c, const char * file, int line, const char * assertion) argument
101 rc_error(c, "ICE at %s:%i: assertion failed: %s\n", file, line, assertion);
/external/chromium_org/third_party/WebKit/Tools/qunit/qunit/
H A Dqunit.js138 var assertion = this.assertions[i];
141 li.className = assertion.result ? "pass" : "fail";
142 li.innerHTML = assertion.message || (assertion.result ? "okay" : "failed");
145 if ( assertion.result ) {
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DXObject.java740 assertion(false, "callVisitors should not be called for this object!!!");
/external/nanopb-c/generator/
H A Dnanopb_generator.py838 assertion = ' && '.join(str(c) + ' < 65536' for c in checks)
847 yield 'STATIC_ASSERT((%s), YOU_MUST_DEFINE_PB_FIELD_32BIT_FOR_MESSAGES_%s)\n'%(assertion,msgs)
855 assertion = ' && '.join(str(c) + ' < 256' for c in checks)
864 yield 'STATIC_ASSERT((%s), YOU_MUST_DEFINE_PB_FIELD_16BIT_FOR_MESSAGES_%s)\n'%(assertion,msgs)

Completed in 1537 milliseconds

12