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

1 2 3 4 5 6 7 8 91011>>

  /system/chre/platform/slpi/include/chre/target_platform/
assert.h 22 #define CHRE_ASSERT(condition) do { \
23 if (!(condition)) { \
  /system/chre/platform/include/chre/platform/
assert.h 44 #define CHRE_ASSERT(condition) ((void) (condition))
51 * Combination macro that always logs an error message if the condition
54 * Note that the supplied condition may be evaluated more than once.
56 * @param condition Boolean expression which evaluates to false in the failure
61 #define CHRE_ASSERT_LOG(condition, fmt, ...) do { \
62 if (!(condition)) { \
64 CHRE_ASSERT(condition); \
  /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");
  /system/chre/util/include/chre/util/nanoapp/
assert.h 34 * @param the condition to check for non-zero.
37 #define CHRE_ASSERT(condition) do { \
38 if (!(condition)) { \
45 #define CHRE_ASSERT(condition) ((void) (condition))
  /external/syslinux/gpxe/src/include/
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/
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)) { \
  /frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/
MainActivity.java 33 public int get1(boolean condition) {
34 return IntermediateClass.get1(condition);
37 public int get2(boolean condition) {
38 return IntermediateClass.get2(condition);
40 public int get3(boolean condition) {
41 return MiniIntermediateClass.get3(condition);
TestApplication.java 23 private static void canThrow1(boolean condition) throws ExceptionInMainDex {
24 if (condition) {
30 public static int get(boolean condition) {
32 canThrow1(condition);
  /external/libnl/tests/
util.h 3 #define nl_fail_if(condition, error, message) \
4 fail_if((condition), "nlerr=%d (%s): %s", \
  /prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
SDL_assert.h 95 #define SDL_disabled_assert(condition) \
96 do { (void) sizeof ((condition)); } while (SDL_NULL_WHILE_LOOP_CONDITION)
111 const char *condition; member in struct:SDL_assert_data
127 and that the analyzer should assume the condition was always true past this
141 #define SDL_enabled_assert(condition) \
143 while ( !(condition) ) { \
145 0, 0, #condition, 0, 0, 0, 0 \
164 # define SDL_assert(condition) SDL_disabled_assert(condition)
165 # define SDL_assert_release(condition) SDL_disabled_assert(condition
    [all...]
  /prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/
SDL_assert.h 95 #define SDL_disabled_assert(condition) \
96 do { (void) sizeof ((condition)); } while (SDL_NULL_WHILE_LOOP_CONDITION)
111 const char *condition; member in struct:SDL_assert_data
127 and that the analyzer should assume the condition was always true past this
141 #define SDL_enabled_assert(condition) \
143 while ( !(condition) ) { \
145 0, 0, #condition, 0, 0, 0, 0 \
164 # define SDL_assert(condition) SDL_disabled_assert(condition)
165 # define SDL_assert_release(condition) SDL_disabled_assert(condition
    [all...]
  /prebuilts/misc/windows/sdl2/include/
SDL_assert.h 95 #define SDL_disabled_assert(condition) \
96 do { (void) sizeof ((condition)); } while (SDL_NULL_WHILE_LOOP_CONDITION)
111 const char *condition; member in struct:SDL_assert_data
127 and that the analyzer should assume the condition was always true past this
141 #define SDL_enabled_assert(condition) \
143 while ( !(condition) ) { \
145 0, 0, #condition, 0, 0, 0, 0 \
164 # define SDL_assert(condition) SDL_disabled_assert(condition)
165 # define SDL_assert_release(condition) SDL_disabled_assert(condition
    [all...]
  /prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/
SDL_assert.h 95 #define SDL_disabled_assert(condition) \
96 do { (void) sizeof ((condition)); } while (SDL_NULL_WHILE_LOOP_CONDITION)
111 const char *condition; member in struct:SDL_assert_data
127 and that the analyzer should assume the condition was always true past this
141 #define SDL_enabled_assert(condition) \
143 while ( !(condition) ) { \
145 0, 0, #condition, 0, 0, 0, 0 \
164 # define SDL_assert(condition) SDL_disabled_assert(condition)
165 # define SDL_assert_release(condition) SDL_disabled_assert(condition
    [all...]
  /external/mesa3d/src/gallium/auxiliary/gallivm/
lp_bld_assert.h 38 LLVMValueRef condition,
  /external/v8/src/inspector/
script-breakpoint.h 41 String16 condition)
45 condition(std::move(condition)) {}
50 String16 condition; member in struct:v8_inspector::ScriptBreakpoint
  /system/bt/embdrv/sbc/decoder/include/
oi_assert.h 44 /** The macro OI_ASSERT takes a condition argument. If the asserted condition
51 #define OI_ASSERT(condition) \
53 if (!(condition)) OI_AssertFail(__FILE__, __LINE__, #condition); \
61 #define OI_ASSERT(condition)
  /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)) { \
  /packages/apps/Launcher3/tests/src/com/android/launcher3/util/
Wait.java 6 * A utility class for waiting for a condition to be true.
12 public static boolean atMost(Condition condition, long timeout) {
13 return atMost(condition, timeout, DEFAULT_SLEEP_MS);
16 public static boolean atMost(Condition condition, long timeout, long sleepMillis) {
20 if (condition.isTrue()) {
31 if (condition.isTrue()) {
  /system/chre/platform/linux/include/chre/target_platform/
assert.h 73 #define CHRE_ASSERT(condition) \
75 if (gMockAssert != nullptr && !(condition)) { \
76 LOGI("Mocked assertion " #condition " triggered"); \
79 assert(condition); \
85 #define CHRE_ASSERT(condition) assert(condition)
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/mips/
mips64-mips3d.l 2 .*:150: Warning: condition code register should be even for bc1any2f, was 1
3 .*:152: Warning: condition code register should be even for bc1any2t, was 3
4 .*:154: Warning: condition code register should be 0 or 4 for bc1any4f, was 1
5 .*:156: Warning: condition code register should be 0 or 4 for bc1any4t, was 2
  /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;
  /cts/tests/app/src/android/app/cts/
ConditionTest.java 21 import android.service.notification.Condition;
32 private final int mState = Condition.STATE_FALSE;
41 Condition condition = new Condition(mConditionId, mSummary, mState); local
42 assertEquals(expected, condition.describeContents());
46 Condition condition = new Condition(mConditionId, mSummary, mState); local
47 assertEquals(mConditionId, condition.id)
57 Condition condition = new Condition(mConditionId, mSummary, mState); local
    [all...]
  /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...]

Completed in 618 milliseconds

1 2 3 4 5 6 7 8 91011>>