/external/emma/core/java12/com/vladium/util/asserts/ |
H A D | $assert.java | 30 * @param condition 33 public static void ASSERT (final boolean condition, final String msg) argument 37 if (! condition) throw new RuntimeException (msg); 41 public static void ASSERT (final boolean condition) argument 45 if (! condition) throw new RuntimeException ("ASSERTION FAILURE");
|
/external/syslinux/gpxe/src/include/ |
H A D | assert.h | 35 * Assert a condition at run-time. 37 * If the condition is not true, a debug message will be printed. 43 #define assert( condition ) \ 45 if ( ASSERTING && ! (condition) ) { \ 47 #condition, __FILE__, __LINE__ ); \ 52 * Assert a condition at link-time. 54 * If the condition is not true, the link will fail with an unresolved 61 #define linker_assert( condition, error_symbol ) \ 62 if ( ! (condition) ) { \
|
/external/jsoncpp/include/json/ |
H A D | assertions.h | 17 #define JSON_ASSERT(condition) \ 18 assert(condition); // @todo <= change this into an exception throw 21 #define JSON_ASSERT(condition) assert(condition); 36 #define JSON_ASSERT_MESSAGE(condition, message) \ 37 if (!(condition)) { \
|
/external/libnl/tests/ |
H A D | util.h | 3 #define nl_fail_if(condition, error, message) \ 4 fail_if((condition), "nlerr=%d (%s): %s", \
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_assert.h | 38 LLVMValueRef condition,
|
H A D | lp_bld_assert.c | 40 lp_assert(int condition, const char *msg) argument 42 if (!condition) { 44 assert(condition); 56 * \param condition should be an 'i1' or 'i32' value 61 LLVMValueRef condition, 84 args[0] = LLVMBuildZExt(builder, condition, arg_types[0], ""); 60 lp_build_assert(struct gallivm_state *gallivm, LLVMValueRef condition, const char *msg) argument
|
/external/v8/src/inspector/ |
H A D | script-breakpoint.h | 40 ScriptBreakpoint(int lineNumber, int columnNumber, const String16& condition) argument 43 condition(condition) {} 47 String16 condition; member in struct:v8_inspector::ScriptBreakpoint
|
/external/dng_sdk/source/ |
H A D | dng_assertions.h | 75 /// \param condition Predicate which must be true. 76 /// \param msg String to display if condition is not true. 78 #define DNG_REQUIRE(condition,msg) \ 82 if (!(condition)) \ 85 DNG_ASSERT(condition, msg); \ 98 /// \param condition Predicate which must be true. 99 /// \param msg String to display if condition is not true. 101 #define DNG_REQUIRE(condition,msg) \ 105 if (!(condition)) \
|
/external/libexif/test/ |
H A D | test-integers.c | 39 # define CHECK(condition) \ 40 if (!(condition)) { \ 42 __FILE__, __LINE__, #condition); \ 46 # define CHECK(condition) \ 47 if (!(condition)) { \
|
/external/pdfium/third_party/base/ |
H A D | logging.h | 18 #define CHECK(condition) \ 19 if (!(condition)) { \
|
/external/autotest/frontend/client/src/autotest/tko/ |
H A D | TestSet.java | 8 * Get the full condition args for this test set. 12 * Get the SQL condition for this test set within the global set. 19 JSONObject condition = getInitialCondition(); 20 String sqlCondition = TkoUtils.getSqlCondition(condition); 22 condition.put("extra_where", new JSONString(sqlCondition)); 23 return condition;
|
H A D | LabelField.java | 8 String condition = " IS NOT NULL"; 10 condition = " IS NULL"; 12 return getFilteringName() + condition;
|
H A D | TestContextMenu.java | 32 final JSONObject condition = tests.getCondition(); 35 labelManager.handleInvalidate(condition); 40 labelManager.handleRevalidate(condition); 45 labelManager.handleAddLabels(condition); 50 labelManager.handleRemoveLabels(condition);
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
H A D | contextlib_ext.py | 8 def __init__(self, manager, condition): 10 self._condition = condition 23 def Optional(manager, condition): 24 """Wraps the provided context manager and runs it if condition is True. 28 condition: If true, runs the given context manager. 32 return _OptionalContextManager(manager, condition)
|
/external/clang/test/Analysis/ |
H A D | cfref_rdar6080742.c | 34 void DebugTraceIf(unsigned int condition, const char *format,...); 37 #define Assert(condition)if (!(condition)) { DebugStop("Assertion failure: %s [File: %s, Line: %lu]", #condition, __FILE__, __LINE__); } 38 #define AssertMsg(condition, message)if (!(condition)) { DebugStop("Assertion failure: %s (%s) [File: %s, Line: %lu]", #condition, message, __FILE__, __LINE__); } 39 #define Require(condition)if (!(condition)) { DebugStop("Assertion failure: %s [File: %s, Line: %lu]", #condition, __FILE_ [all...] |
/external/fio/compiler/ |
H A D | compiler.h | 40 #define __compiletime_error_fallback(condition) do { } while (0) 43 #define __compiletime_assert(condition, msg, prefix, suffix) \ 45 int __cond = !(condition); \ 52 #define _compiletime_assert(condition, msg, prefix, suffix) \ 53 __compiletime_assert(condition, msg, prefix, suffix) 55 #define compiletime_assert(condition, msg) \ 56 _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
|
/external/libchrome/base/mac/ |
H A D | mach_logging.h | 66 #define MACH_LOG_IF(severity, condition, mach_err) \ 68 LOG_IS_ON(severity) && (condition)) 73 #define MACH_VLOG_IF(verbose_level, condition, mach_err) \ 75 VLOG_IS_ON(verbose_level) && (condition)) 77 #define MACH_CHECK(condition, mach_err) \ 78 LAZY_STREAM(MACH_LOG_STREAM(FATAL, mach_err), !(condition)) \ 79 << "Check failed: " # condition << ". " 83 #define MACH_DLOG_IF(severity, condition, mach_err) \ 85 DLOG_IS_ON(severity) && (condition)) 90 #define MACH_DVLOG_IF(verbose_level, condition, mach_er [all...] |
H A D | mac_logging.h | 65 #define OSSTATUS_LOG_IF(severity, condition, status) \ 67 LOG_IS_ON(severity) && (condition)) 72 #define OSSTATUS_VLOG_IF(verbose_level, condition, status) \ 74 VLOG_IS_ON(verbose_level) && (condition)) 76 #define OSSTATUS_CHECK(condition, status) \ 77 LAZY_STREAM(OSSTATUS_LOG_STREAM(FATAL, status), !(condition)) \ 78 << "Check failed: " # condition << ". " 82 #define OSSTATUS_DLOG_IF(severity, condition, status) \ 84 DLOG_IS_ON(severity) && (condition)) 89 #define OSSTATUS_DVLOG_IF(verbose_level, condition, statu [all...] |
/external/valgrind/drd/tests/ |
H A D | pth_uninitialized_cond.stderr.exp | 2 Statically initialized condition variable. 3 Uninitialized condition variable. 4 condition variable has not been initialized: cond 0x........
|
/external/v8/src/ |
H A D | checks.h | 19 #define SLOW_DCHECK(condition) \ 20 CHECK(!v8::internal::FLAG_enable_slow_asserts || (condition)) 23 #define SLOW_DCHECK(condition) ((void) 0)
|
/external/ant-glob/src/org/apache/tools/ant/taskdefs/condition/ |
H A D | Condition.java | 19 package org.apache.tools.ant.taskdefs.condition; 24 * Interface for conditions to use inside the <condition> task. 29 * Is this condition true? 30 * @return true if the condition is true
|
/external/clang/test/SemaCXX/ |
H A D | warn-string-conversion.cpp | 5 void assert(bool condition);
|
/external/libvpx/libvpx/vpx_util/ |
H A D | vpx_thread.h | 132 static INLINE int pthread_cond_destroy(pthread_cond_t *const condition) { argument 135 (void)condition; 137 ok &= (CloseHandle(condition->waiting_sem_) != 0); 138 ok &= (CloseHandle(condition->received_sem_) != 0); 139 ok &= (CloseHandle(condition->signal_event_) != 0); 144 static INLINE int pthread_cond_init(pthread_cond_t *const condition, argument 148 InitializeConditionVariable(condition); 150 condition->waiting_sem_ = CreateSemaphore(NULL, 0, MAX_DECODE_THREADS, NULL); 151 condition->received_sem_ = CreateSemaphore(NULL, 0, MAX_DECODE_THREADS, NULL); 152 condition 162 pthread_cond_signal(pthread_cond_t *const condition) argument 179 pthread_cond_wait(pthread_cond_t *const condition, pthread_mutex_t *const mutex) argument 281 pthread_cond_destroy(pthread_cond_t *const condition) argument 288 pthread_cond_init(pthread_cond_t *const condition, void *cond_attr) argument 304 pthread_cond_signal(pthread_cond_t *const condition) argument 315 pthread_cond_broadcast(pthread_cond_t *const condition) argument 324 pthread_cond_wait(pthread_cond_t *const condition, pthread_mutex_t *const mutex) argument [all...] |
/external/compiler-rt/test/asan/TestCases/ |
H A D | initialization-nobug.cc | 16 bool condition = true; variable 18 return condition ? 0x2a : 052;
|
/external/fmtlib/test/ |
H A D | test-assert.h | 38 #define FMT_ASSERT(condition, message) \ 39 if (!(condition)) throw AssertionFailure(message);
|