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

12

/external/webkit/Source/WebKit/chromium/src/
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/webkit/Source/WebKit/mac/Misc/
H A DOldWebAssertions.c29 void WebReportAssertionFailure(const char *file, int line, const char *function, const char *assertion);
32 void WebReportAssertionFailure(const char *file, int line, const char *function, const char *assertion) argument
/external/webkit/Source/WebKit/chromium/public/
H A DWebCommon.h103 WEBKIT_API void failedAssertion(const char* file, int line, const char* function, const char* assertion);
109 #define WEBKIT_ASSERT(assertion) ((void)0)
111 #define WEBKIT_ASSERT(assertion) do { \
112 if (!(assertion)) \
113 failedAssertion(__FILE__, __LINE__, __FUNCTION__, #assertion); \
/external/webkit/Source/JavaScriptCore/wtf/
H A DAssertions.h149 WTF_EXPORT_PRIVATE void WTFReportAssertionFailure(const char* file, int line, const char* function, const char* assertion);
150 WTF_EXPORT_PRIVATE void WTFReportAssertionFailureWithMessage(const char* file, int line, const char* function, const char* assertion, const char* format, ...) WTF_ATTRIBUTE_PRINTF(5, 6);
151 WTF_EXPORT_PRIVATE void WTFReportArgumentAssertionFailure(const char* file, int line, const char* function, const char* argName, const char* assertion);
237 #define ASSERT(assertion) ((void)0)
243 #define ASSERT_UNUSED(variable, assertion) (assertUnused(variable))
245 #define ASSERT_UNUSED(variable, assertion) ((void)variable)
250 #define ASSERT(assertion) do \
251 if (!(assertion)) { \
252 WTFReportAssertionFailure(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, #assertion); \
262 #define ASSERT_UNUSED(variable, assertion) ASSER
[all...]
H A DAssertions.cpp196 void WTFReportAssertionFailure(const char* file, int line, const char* function, const char* assertion) argument
198 if (assertion)
199 printf_stderr_common("ASSERTION FAILED: %s\n", assertion);
205 void WTFReportAssertionFailureWithMessage(const char* file, int line, const char* function, const char* assertion, const char* format, ...) argument
212 printf_stderr_common("\n%s\n", assertion);
216 void WTFReportArgumentAssertionFailure(const char* file, int line, const char* function, const char* argName, const char* assertion) argument
218 printf_stderr_common("ARGUMENT BAD: %s, %s\n", argName, 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/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/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/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 Char* assertion, const Char* file, argument
29 assertion);
H A Dunit_bitmap.c29 void VG_(assert_fail)(Bool isCore, const Char* assertion, const Char* file, argument
39 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/webkit/Source/WebKit2/Platform/CoreIPC/
H A DConnection.h70 #define MESSAGE_CHECK_BASE(assertion, connection) do \
71 if (!(assertion)) { \
72 ASSERT(assertion); \
/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/webkit/Source/WebKit/android/WebCoreSupport/
H A DWebCookieJar.cpp38 #define ASSERT(assertion, ...) do \
39 if (!(assertion)) { \
H A DChromiumIncludes.h59 #define ASSERT(assertion) (void(0))
H A DWebRequest.cpp53 #define ASSERT(assertion, ...) do \
54 if (!(assertion)) { \
/external/webkit/Tools/CSSTestSuiteHarness/harness/
H A Dharness.css106 .info .assertion, .info .flags {
H A Dharness.js203 this.assertion = fields[5];
829 document.getElementById('test-assertion').innerText = test.assertion;
875 document.getElementById('test-assertion').innerText = '';
1528 tx.executeSql('CREATE TABLE tests (test PRIMARY KEY UNIQUE, ref, title, flags, links, assertion, hstatus, hcomment, xstatus, xcomment)', null,
1607 tx.executeSql('INSERT INTO tests (test, ref, title, flags, links, assertion) VALUES (?, ?, ?, ?, ?, ?)',
1608 [test.id, test.reference, test.title, test.flags, test.links, test.assertion], null, errorHandler);
1617 tx.executeSql('INSERT INTO tests (test, ref, title, flags, links, assertion, seen) VALUES (?, ?, ?, ?, ?, ?, ?)',
1618 [test.id, test.reference, test.title, test.flags, test.links, test.assertion, 'TRUE'], null, errorHandler);
/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/openssl/crypto/
H A Dcryptlib.c912 void OpenSSLDie(const char *file,int line,const char *assertion) argument
915 "%s(%d): OpenSSL internal error, assertion failed: %s\n",
916 file,line,assertion);
/external/webkit/Source/WebKit2/UIProcess/
H A DWebContext.cpp64 #define MESSAGE_CHECK(assertion) MESSAGE_CHECK_BASE(assertion, process()->connection())
275 // FIXME: Once we support multiple processes per context, this assertion won't hold.
304 // FIXME: Once we support multiple processes per context, this assertion won't hold.
323 // FIXME: Once we support multiple processes per context, this assertion won't hold.

Completed in 899 milliseconds

12