/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/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/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/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 | 11 #define CHECK(condition) \ 12 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/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 | 62 #define OSSTATUS_LOG_IF(severity, condition, status) \ 64 LOG_IS_ON(severity) && (condition)) 69 #define OSSTATUS_VLOG_IF(verbose_level, condition, status) \ 71 VLOG_IS_ON(verbose_level) && (condition)) 73 #define OSSTATUS_CHECK(condition, status) \ 74 LAZY_STREAM(OSSTATUS_LOG_STREAM(FATAL, status), !(condition)) \ 75 << "Check failed: " # condition << ". " 79 #define OSSTATUS_DLOG_IF(severity, condition, status) \ 81 DLOG_IS_ON(severity) && (condition)) 86 #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/chromium-trace/catapult/netlog_viewer/netlog_viewer/ |
H A D | assert.js | 10 * Verify |condition| is truthy and return |condition| if so. 12 * @param {T} condition A condition to check for truthiness. Note that this 16 * @return {T} A non-null |condition|. 18 function assert(condition, opt_message) { 19 if (!condition) { 29 return condition;
|
/external/v8/src/ |
H A D | checks.h | 18 #define SLOW_DCHECK(condition) \ 19 CHECK(!v8::internal::FLAG_enable_slow_asserts || (condition)) 22 #define SLOW_DCHECK(condition) ((void) 0)
|
/external/autotest/tko/ |
H A D | query_lib.py | 20 def parse_scrub_and_gen_condition(condition, valid_field_dict): 26 condition = condition.strip() 29 #match = re.match(r'^[(](.+)[)]$', condition) 31 # dprint("Matched () on %s" % condition) 43 match = re.match(r'^(.+)[|](.+)$', condition) 45 dprint("Matched | on %s" % condition) 52 match = re.match(r'^(.+)[&](.+)$', condition) 54 dprint("Matched & on %s" % condition) 61 #match = re.match(r'^[!](.+)$', condition) [all...] |
/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/vixl/src/vixl/ |
H A D | globals.h | 66 #define VIXL_ASSERT(condition) assert(condition) 67 #define VIXL_CHECK(condition) VIXL_ASSERT(condition) 73 #define VIXL_ASSERT(condition) ((void) 0) 74 #define VIXL_CHECK(condition) assert(condition) 82 #define VIXL_STATIC_ASSERT_LINE(line, condition) \ 83 typedef char VIXL_CONCAT(STATIC_ASSERT_LINE_, line)[(condition) ? 1 : -1] \ 85 #define VIXL_STATIC_ASSERT(condition) \ [all...] |
/external/compiler-rt/test/asan/TestCases/ |
H A D | initialization-nobug.cc | 16 bool condition = true; variable 18 return condition ? 0x2a : 052;
|
/external/v8/test/mjsunit/regress/ |
H A D | regress-350863.js | 31 function __f_8(base, condition) { 34 if (condition) {
|
/external/embunit/inc/ |
H A D | AssertImpl.h | 59 #define TEST_ASSERT_MESSAGE(condition, message)\ 60 if (condition) {} else {TEST_FAIL(message);} 62 #define TEST_ASSERT(condition)\ 63 if (condition) {} else {TEST_FAIL(#condition);}
|
/external/libvpx/libvpx/vpx_util/ |
H A D | vpx_thread.h | 99 static INLINE int pthread_cond_destroy(pthread_cond_t *const condition) { argument 101 ok &= (CloseHandle(condition->waiting_sem_) != 0); 102 ok &= (CloseHandle(condition->received_sem_) != 0); 103 ok &= (CloseHandle(condition->signal_event_) != 0); 107 static INLINE int pthread_cond_init(pthread_cond_t *const condition, argument 110 condition->waiting_sem_ = CreateSemaphore(NULL, 0, MAX_DECODE_THREADS, NULL); 111 condition->received_sem_ = CreateSemaphore(NULL, 0, MAX_DECODE_THREADS, NULL); 112 condition->signal_event_ = CreateEvent(NULL, FALSE, FALSE, NULL); 113 if (condition->waiting_sem_ == NULL || 114 condition 122 pthread_cond_signal(pthread_cond_t *const condition) argument 135 pthread_cond_wait(pthread_cond_t *const condition, pthread_mutex_t *const mutex) argument [all...] |