HomeSort by relevance Sort by last modified time
    Searched refs:condition (Results 1 - 25 of 1173) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/emma/core/java12/com/vladium/util/asserts/
$assert.java 30 * @param condition
33 public static void ASSERT (final boolean condition, final String msg)
37 if (! condition) throw new RuntimeException (msg);
41 public static void ASSERT (final boolean condition)
45 if (! condition) throw new RuntimeException ("ASSERTION FAILURE");
  /external/jsoncpp/include/json/
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/
util.h 3 #define nl_fail_if(condition, error, message) \
4 fail_if((condition), "nlerr=%d (%s): %s", \
  /external/mesa3d/src/gallium/auxiliary/gallivm/
lp_bld_assert.h 38 LLVMValueRef condition,
  /external/u-boot/include/linux/
bug.h 14 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
16 #define WARN_ON(condition) ({ \
17 int __ret_warn_on = !!(condition); \
23 #define WARN(condition, format...) ({ \
24 int __ret_warn_on = !!(condition); \
30 #define WARN_ON_ONCE(condition) ({ \
32 int __ret_warn_once = !!(condition); \
41 #define WARN_ONCE(condition, format...) ({ \
43 int __ret_warn_once = !!(condition); \
    [all...]
build_bug.h 13 #define BUILD_BUG_ON(condition) (0)
24 * Force a compilation error if condition is true, but also produce a
40 * BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied
42 * @condition: the condition which the compiler should know is false.
49 * BUILD_BUG_ON - break compile if a condition is true.
50 * @condition: the condition which the compiler should know is false.
53 * some other compile-time-evaluated condition, you should use BUILD_BUG_ON to
67 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])
    [all...]
  /external/dng_sdk/source/
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/
test-integers.c 39 # define CHECK(condition) \
40 if (!(condition)) { \
42 __FILE__, __LINE__, #condition); \
46 # define CHECK(condition) \
47 if (!(condition)) { \
  /external/autotest/frontend/client/src/autotest/tko/
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(); local
20 String sqlCondition = TkoUtils.getSqlCondition(condition);
22 condition.put("extra_where", new JSONString(sqlCondition));
23 return condition;
LabelField.java 8 String condition = " IS NOT NULL"; local
10 condition = " IS NULL";
12 return getFilteringName() + condition;
  /external/v8/src/
checks.h 19 #define SLOW_DCHECK(condition) \
20 CHECK(!v8::internal::FLAG_enable_slow_asserts || (condition))
23 #define SLOW_DCHECK(condition) ((void) 0)
  /external/clang/test/Analysis/
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__, __LINE__);
    [all...]
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/
ConditionalExpr.java 33 private Expression condition; field in class:ConditionalExpr
42 public ConditionalExpr(Expression condition, Expression thenExpr, Expression elseExpr) {
43 setCondition(condition);
48 public ConditionalExpr(Range range, Expression condition, Expression thenExpr, Expression elseExpr) {
50 setCondition(condition);
66 return condition;
77 public ConditionalExpr setCondition(Expression condition) {
78 this.condition = condition;
79 setAsParentNodeOf(this.condition);
    [all...]
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/
DoStmt.java 37 private Expression condition; field in class:DoStmt
42 public DoStmt(final Statement body, final Expression condition) {
44 setCondition(condition);
47 public DoStmt(Range range, final Statement body, final Expression condition) {
50 setCondition(condition);
67 return condition;
77 public DoStmt setCondition(final Expression condition) {
78 this.condition = condition;
79 setAsParentNodeOf(this.condition);
    [all...]
IfStmt.java 34 private Expression condition; field in class:IfStmt
43 public IfStmt(final Expression condition, final Statement thenStmt, final Statement elseStmt) {
44 setCondition(condition);
50 final Expression condition, final Statement thenStmt, final Statement elseStmt) {
52 setCondition(condition);
66 return condition;
77 public IfStmt setCondition(final Expression condition) {
78 this.condition = condition;
79 setAsParentNodeOf(this.condition);
    [all...]
WhileStmt.java 35 private Expression condition; field in class:WhileStmt
42 public WhileStmt(final Expression condition, final Statement body) {
43 setCondition(condition);
47 public WhileStmt(Range range, final Expression condition, final Statement body) {
49 setCondition(condition);
67 return condition;
77 public WhileStmt setCondition(final Expression condition) {
78 this.condition = condition;
79 setAsParentNodeOf(this.condition);
    [all...]
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/expr/
ConditionalExpr.java 32 private Expression condition; field in class:ConditionalExpr
41 public ConditionalExpr(Expression condition, Expression thenExpr, Expression elseExpr) {
42 setCondition(condition);
47 public ConditionalExpr(int beginLine, int beginColumn, int endLine, int endColumn, Expression condition, Expression thenExpr, Expression elseExpr) {
49 setCondition(condition);
65 return condition;
76 public void setCondition(Expression condition) {
77 this.condition = condition;
78 setAsParentNodeOf(this.condition);
    [all...]
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/
DoStmt.java 35 private Expression condition; field in class:DoStmt
40 public DoStmt(final Statement body, final Expression condition) {
42 setCondition(condition);
46 final Statement body, final Expression condition) {
49 setCondition(condition);
65 return condition;
73 public void setCondition(final Expression condition) {
74 this.condition = condition;
75 setAsParentNodeOf(this.condition);
    [all...]
IfStmt.java 33 private Expression condition; field in class:IfStmt
42 public IfStmt(final Expression condition, final Statement thenStmt, final Statement elseStmt) {
43 setCondition(condition);
49 final Expression condition, final Statement thenStmt, final Statement elseStmt) {
51 setCondition(condition);
65 return condition;
76 public void setCondition(final Expression condition) {
77 this.condition = condition;
78 setAsParentNodeOf(this.condition);
    [all...]
WhileStmt.java 33 private Expression condition; field in class:WhileStmt
40 public WhileStmt(final Expression condition, final Statement body) {
41 setCondition(condition);
46 final Expression condition, final Statement body) {
48 setCondition(condition);
65 return condition;
73 public void setCondition(final Expression condition) {
74 this.condition = condition;
75 setAsParentNodeOf(this.condition);
    [all...]
  /external/libaom/libaom/aom_util/
aom_thread.h 129 // Condition
130 static INLINE int pthread_cond_destroy(pthread_cond_t *const condition) {
133 (void)condition;
135 ok &= (CloseHandle(condition->waiting_sem_) != 0);
136 ok &= (CloseHandle(condition->received_sem_) != 0);
137 ok &= (CloseHandle(condition->signal_event_) != 0);
142 static INLINE int pthread_cond_init(pthread_cond_t *const condition,
146 InitializeConditionVariable(condition);
148 condition->waiting_sem_ = CreateSemaphore(NULL, 0, MAX_DECODE_THREADS, NULL);
149 condition->received_sem_ = CreateSemaphore(NULL, 0, MAX_DECODE_THREADS, NULL)
    [all...]
  /external/libvpx/libvpx/vpx_util/
vpx_thread.h 131 // Condition
132 static INLINE int pthread_cond_destroy(pthread_cond_t *const condition) {
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,
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)
    [all...]
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
PollingCheck.java 63 public static void check(CharSequence message, long timeout, Callable<Boolean> condition)
66 if (condition.call()) {
77 public static void waitFor(final PollingCheckCondition condition) {
81 return condition.canProceed();
86 public static void waitFor(long timeout, final PollingCheckCondition condition) {
90 return condition.canProceed();
  /cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
PollingCheck.java 63 public static void check(CharSequence message, long timeout, Callable<Boolean> condition)
66 if (condition.call()) {
77 public static void waitFor(final PollingCheckCondition condition) {
81 return condition.canProceed();
86 public static void waitFor(long timeout, final PollingCheckCondition condition) {
90 return condition.canProceed();
  /external/mesa3d/src/compiler/glsl/
opt_conditional_discard.cpp 33 * (discard <condition>)
73 /* Move the condition and replace the ir_if with the ir_discard. */
75 if (!discard->condition)
76 discard->condition = ir->condition;
79 discard->condition = new(ctx) ir_expression(ir_binop_logic_and,
80 ir->condition,
81 discard->condition);

Completed in 4098 milliseconds

1 2 3 4 5 6 7 8 91011>>