/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/ |
skip.py | 28 def skip_if(klass, condition, message=None, logger=None): 29 """Makes all test_* methods in a given class no-ops if the given condition 33 if not condition:
|
/external/chromium_org/third_party/mesa/src/src/mapi/glapi/gen/ |
extension_helper.py | 124 """Create a C-preprocessor condition for the function. 127 condition is only created is all of the entry-point names for f are 128 not in the selected ABI. If all_not_in_ABI is not set, a condition 132 condition = [] 136 condition.append( 'defined(need_%s)' % (gl_XML.real_category_name( category )) ) 140 return condition 170 condition = condition_for_function(f, abi, 0) 171 if len(condition): 172 print '#if %s' % (string.join(condition, " || ")) 256 condition = condition_for_function(f, abi, 1 [all...] |
/external/chromium_org/tools/telemetry/telemetry/page/ |
test_expectations.py | 37 raise ValueError('Unknown expectation condition: "%s"' % c0) 39 condition = c.lower() 40 if condition in OS_MODIFIERS: 41 self.os_conditions.append(condition) 42 elif condition in GPU_MODIFIERS: 43 self.gpu_conditions.append(condition) 44 elif condition in CONFIG_MODIFIERS: 45 self.config_conditions.append(condition) 47 raise ValueError('Unknown expectation condition: "%s"' % condition) [all...] |
/external/iptables/include/linux/ |
kernel.h | 30 /* Force a compilation error if condition is true */ 31 #define BUILD_BUG_ON(condition) ((void)BUILD_BUG_ON_ZERO(condition)) 33 /* Force a compilation error if condition is constant and true */ 40 /* Force a compilation error if condition is true, but also produce a
|
/external/mesa3d/src/mapi/glapi/gen/ |
extension_helper.py | 124 """Create a C-preprocessor condition for the function. 127 condition is only created is all of the entry-point names for f are 128 not in the selected ABI. If all_not_in_ABI is not set, a condition 132 condition = [] 136 condition.append( 'defined(need_%s)' % (gl_XML.real_category_name( category )) ) 140 return condition 170 condition = condition_for_function(f, abi, 0) 171 if len(condition): 172 print '#if %s' % (string.join(condition, " || ")) 256 condition = condition_for_function(f, abi, 1 [all...] |
/external/valgrind/main/drd/tests/ |
boost_thread.cpp | 2 // use the boost::thread, boost::mutex and boost::condition classes. 5 #include <boost/thread/condition.hpp> 11 static boost::condition s_cva;
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
AgeFileFilter.java | 147 String condition = acceptOlder ? "<=" : ">";
local 148 return super.toString() + "(" + condition + cutoff + ")";
|
/external/eigen/bench/btl/generic_bench/utils/ |
utilities.h | 63 # define ASSERT(condition) if (!(condition)){ HERE ; cerr << "CONDITION " << #condition << " NOT VERIFIED"<< endl ; INTERRUPTION(1) ;} 80 # define ASSERT(condition)
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
Exynos_OSAL_Event.h | 41 pthread_cond_t condition; member in struct:_Exynos_OSAL_THREADEVENT
|
/external/chromium_org/third_party/freetype/include/freetype/internal/ |
ftdebug.h | 195 #define FT_ASSERT( condition ) \ 198 if ( !( condition ) ) \ 211 #define FT_ASSERT( condition ) do { } while ( 0 )
|
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFUtils.h | 28 #define NOT_IMPLEMENTED(condition, assert) \ 30 if ((bool)(condition)) { \ 31 PRINT_NOT_IMPL("NOT_IMPLEMENTED: " #condition "\n"); \
|
/external/chromium_org/v8/src/ |
checks.h | 55 // The CHECK macro checks that the given condition is true; if not, it 57 #define CHECK(condition) do { \ 58 if (!(condition)) { \ 59 V8_Fatal(__FILE__, __LINE__, "CHECK(%s) failed", #condition); \ 262 // Causes an error during compilation of the condition is not 284 #define SLOW_ASSERT(condition) \ 285 CHECK(!v8::internal::FLAG_enable_slow_asserts || (condition)) 288 #define SLOW_ASSERT(condition) ((void) 0) 299 #define ASSERT(condition) CHECK(condition) [all...] |
/external/freetype/include/freetype/internal/ |
ftdebug.h | 195 #define FT_ASSERT( condition ) \ 198 if ( !( condition ) ) \ 211 #define FT_ASSERT( condition ) do { } while ( 0 )
|
/external/skia/src/pdf/ |
SkPDFUtils.h | 28 #define NOT_IMPLEMENTED(condition, assert) \ 30 if ((bool)(condition)) { \ 31 PRINT_NOT_IMPL("NOT_IMPLEMENTED: " #condition "\n"); \
|
/external/chromium_org/sandbox/win/src/ |
sandbox_nt_util.h | 39 #define DCHECK_NT(condition) { (condition) ? (void)0 : __debugbreak(); } 43 #define DCHECK_NT(condition) 48 #define CHECK_NT(condition) { (condition) ? (void)0 : __debugbreak(); }
|
/external/chromium_org/third_party/cld/base/ |
logging.h | 59 // occurrence of an event, when condition is satisfied): 114 // There's also VLOG_IS_ON(n) "verbose level" condition macro. To be used as 122 // condition macros for sample cases, when some extra computation and 396 #define LOG_IF(severity, condition) \ 397 !(condition) ? (void) 0 : LogMessageVoidify() & LOG(severity) 398 #define SYSLOG_IF(severity, condition) \ 399 !(condition) ? (void) 0 : LogMessageVoidify() & SYSLOG(severity) 401 #define LOG_ASSERT(condition) \ 402 LOG_IF(FATAL, !(condition)) << "Assert failed: " #condition [all...] |
/external/ceres-solver/internal/ceres/miniglog/glog/ |
logging.h | 47 // CHECK(condition) - fails if condition is false and logs condition. 258 // Log only if condition is met. Otherwise evaluates to void. 259 #define LOG_IF(severity, condition) \ 260 !(condition) ? (void) 0 : LoggerVoidify() & \ 263 // Log only if condition is NOT met. Otherwise evaluates to void. 264 #define LOG_IF_FALSE(severity, condition) LOG_IF(severity, !(condition)) 304 // Check for a given boolean condition [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/animation/ |
SVGSMILElement.cpp | 103 static PassRefPtr<ConditionEventListener> create(SVGSMILElement* animation, SVGSMILElement::Condition* condition) 105 return adoptRef(new ConditionEventListener(animation, condition)); 123 ConditionEventListener(SVGSMILElement* animation, SVGSMILElement::Condition* condition) 126 , m_condition(condition) 133 SVGSMILElement::Condition* m_condition; 150 SVGSMILElement::Condition::Condition(Type type, BeginOrEnd beginOrEnd, const String& baseID, const String& name, SMILTime offset, int repeat) 437 Condition::Type type 569 Condition& condition = m_conditions[n]; local 596 Condition& condition = m_conditions[n]; local 1214 Condition& condition = m_conditions[n]; local [all...] |
/external/smack/src/org/jivesoftware/smackx/packet/ |
AdHocCommandData.java | 255 public SpecificErrorCondition condition;
field in class:AdHocCommandData.SpecificError 257 public SpecificError(SpecificErrorCondition condition) {
258 this.condition = condition;
262 return condition.toString();
269 return condition;
|
/frameworks/av/include/media/stagefright/foundation/ |
ADebug.h | 32 #define CHECK(condition) \ 34 !(condition), \ 37 " CHECK(" #condition ") failed.")
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
ResourceUtils.java | 123 * Find the condition that fulfills specified key value pairs from an array of 124 * "condition,constant", and return the corresponding string constant. A condition is 126 * "key=regexp_value" string. The condition matches only if all patterns of the condition 129 * For example, "condition,constant" has the following format. 135 * @param keyValuePairs attributes to be used to look for a matched condition. 136 * @param conditionConstantArray an array of "condition,constant" elements to be searched. 137 * @return the constant part of the matched "condition,constant" element. Returns null if no 138 * condition matches 153 final String condition = conditionConstant.substring(0, posComma); local [all...] |
/external/chromium_org/chrome/installer/util/ |
conditional_work_item_list.h | 17 explicit ConditionalWorkItemList(Condition* condition); 29 // Pointer to a Condition that is used to determine whether to run this 31 scoped_ptr<Condition> condition_; 37 class ConditionRunIfFileExists : public WorkItem::Condition { 47 // Condition class that inverts the ShouldRun result of another Condition. 49 class Not : public WorkItem::Condition { 51 explicit Not(WorkItem::Condition* original_condition) 56 scoped_ptr<WorkItem::Condition> original_condition_ [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
apicoll.h | 25 void doAssert(UBool condition, const char *message);
|
/external/clang/test/Preprocessor/ |
macro_fn.c | 51 #define NSAssert(condition, desc, ...) /* expected-warning {{variadic macros are a C99 feature}} */ \
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
Monitor.java | 27 import java.util.concurrent.locks.Condition; 43 * when a condition becomes true (no "signaling storms" due to use of {@link 44 * java.util.concurrent.locks.Condition#signalAll Condition.signalAll}) and that no signals are lost 45 * (no "hangs" due to incorrect use of {@link java.util.concurrent.locks.Condition#signal 46 * Condition.signal}). 66 * the condition of an <i>if</i> statement containing a <i>try/finally</i> block to ensure that the 118 * However, one advantage is that we can introduce two separate {@code Condition} objects, which 124 * private final Condition valuePresent = lock.newCondition(); 125 * private final Condition valueAbsent = lock.newCondition() 222 final Condition condition; field in class:Monitor.Guard 828 final Condition condition = guard.condition; local 856 final Condition condition = guard.condition; local 875 final Condition condition = guard.condition; local 911 final Condition condition = guard.condition; local [all...] |