Home
last modified time | relevance | path

Searched refs:condition (Results 1 – 25 of 1307) sorted by relevance

12345678910>>...53

/external/libvpx/libvpx/vpx_util/
Dvpx_thread.h132 static INLINE int pthread_cond_destroy(pthread_cond_t *const condition) { in pthread_cond_destroy() argument
135 (void)condition; in pthread_cond_destroy()
137 ok &= (CloseHandle(condition->waiting_sem_) != 0); in pthread_cond_destroy()
138 ok &= (CloseHandle(condition->received_sem_) != 0); in pthread_cond_destroy()
139 ok &= (CloseHandle(condition->signal_event_) != 0); in pthread_cond_destroy()
144 static INLINE int pthread_cond_init(pthread_cond_t *const condition, in pthread_cond_init() argument
148 InitializeConditionVariable(condition); in pthread_cond_init()
150 condition->waiting_sem_ = CreateSemaphore(NULL, 0, MAX_DECODE_THREADS, NULL); in pthread_cond_init()
151 condition->received_sem_ = CreateSemaphore(NULL, 0, MAX_DECODE_THREADS, NULL); in pthread_cond_init()
152 condition->signal_event_ = CreateEvent(NULL, FALSE, FALSE, NULL); in pthread_cond_init()
[all …]
/external/libchrome/base/mac/
Dmach_logging.h66 #define MACH_LOG_IF(severity, condition, mach_err) \ argument
68 LOG_IS_ON(severity) && (condition))
73 #define MACH_VLOG_IF(verbose_level, condition, mach_err) \ argument
75 VLOG_IS_ON(verbose_level) && (condition))
77 #define MACH_CHECK(condition, mach_err) \ argument
78 LAZY_STREAM(MACH_LOG_STREAM(FATAL, mach_err), !(condition)) \
79 << "Check failed: " # condition << ". "
83 #define MACH_DLOG_IF(severity, condition, mach_err) \ argument
85 DLOG_IS_ON(severity) && (condition))
90 #define MACH_DVLOG_IF(verbose_level, condition, mach_err) \ argument
[all …]
Dmac_logging.h65 #define OSSTATUS_LOG_IF(severity, condition, status) \ argument
67 LOG_IS_ON(severity) && (condition))
72 #define OSSTATUS_VLOG_IF(verbose_level, condition, status) \ argument
74 VLOG_IS_ON(verbose_level) && (condition))
76 #define OSSTATUS_CHECK(condition, status) \ argument
77 LAZY_STREAM(OSSTATUS_LOG_STREAM(FATAL, status), !(condition)) \
78 << "Check failed: " # condition << ". "
82 #define OSSTATUS_DLOG_IF(severity, condition, status) \ argument
84 DLOG_IS_ON(severity) && (condition))
89 #define OSSTATUS_DVLOG_IF(verbose_level, condition, status) \ argument
[all …]
/external/autotest/frontend/tko/preconfigs/metrics/
Dperf4 globalFilter[0][condition]: = 'my_host'
11 seriesFilters[0][0][condition]: = 'elapsed'
13 seriesFilters[0][1][condition]: = 'kernbench'
20 seriesFilters[1][0][condition]: = 'throughput'
22 seriesFilters[1][1][condition]: = 'dbench'
29 seriesFilters[2][0][condition]: = 'throughput'
31 seriesFilters[2][1][condition]: = 'tbench'
38 seriesFilters[3][0][condition]: = 'score'
40 seriesFilters[3][1][condition]: = 'unixbench'
47 seriesFilters[4][0][condition]: = '32768-4096-fwrite'
[all …]
Dkernel_compare4 globalFilter[0][condition]: IN ('dbench', 'tbench')
6 globalFilter[1][condition]: = 'throughput'
8 globalFilter[2][condition]: = 'my_host'
15 seriesFilters[0][0][condition]: LIKE 'my_kernel_1.%'
22 seriesFilters[1][0][condition]: LIKE 'my_kernel_2.%'
27 globalFilter[0][condition]: IN ('dbench', 'tbench')
29 globalFilter[1][condition]: = 'throughput'
31 globalFilter[2][condition]: = 'my_host'
38 seriesFilters[0][0][condition]: LIKE 'my_kernel_1.%'
45 seriesFilters[1][0][condition]: LIKE 'my_kernel_2.%'
[all …]
/external/libchrome/base/
Dlogging.h390 #define LAZY_STREAM(stream, condition) \ argument
391 !(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)
404 #define LOG_IF(severity, condition) \ argument
405 LAZY_STREAM(LOG_STREAM(severity), LOG_IS_ON(severity) && (condition))
414 #define VLOG_IF(verbose_level, condition) \ argument
416 VLOG_IS_ON(verbose_level) && (condition))
431 #define VPLOG_IF(verbose_level, condition) \ argument
433 VLOG_IS_ON(verbose_level) && (condition))
437 #define LOG_ASSERT(condition) \ argument
438 LOG_IF(FATAL, !(condition)) << "Assert failed: " #condition ". "
[all …]
/external/clang/test/Analysis/
Dcfref_rdar6080742.c34 void DebugTraceIf(unsigned int condition, const char *format,...);
37 #define Assert(condition)if (!(condition)) { DebugStop("Assertion failure: %s [File: %s, Line: %lu]… argument
38 #define AssertMsg(condition, message)if (!(condition)) { DebugStop("Assertion failure: %s (%s) [Fil… argument
39 #define Require(condition)if (!(condition)) { DebugStop("Assertion failure: %s [File: %s, Line: %lu… argument
40 #define RequireAction(condition, action)if (!(condition)) { DebugStop("Assertion failure: %s [File:… argument
41 #define RequireActionSilent(condition, action)if (!(condition)) { action } argument
/external/vixl/src/
Dglobals-vixl.h98 #define VIXL_CHECK(condition) \ argument
100 if (!(condition)) { \
102 oss << "Assertion failed (" #condition ")\nin "; \
119 #define VIXL_CHECK(condition) \ argument
121 if (!(condition)) { \
122 printf("Assertion failed (" #condition ")\nin %s, line %i\n", \
131 #define VIXL_ASSERT(condition) assert(condition) argument
141 #define VIXL_ASSERT(condition) ((void)0) argument
150 #define VIXL_STATIC_ASSERT_LINE(line_unused, condition, message) \ argument
151 static_assert(condition, message)
[all …]
/external/llvm/test/MC/ARM/
Dthumb-invalid-crypto.txt5 @ CHECK: error: instruction 'aesd' is not predicable, but condition code specified
7 @ CHECK: error: instruction 'aesimc' is not predicable, but condition code specified
9 @ CHECK: error: instruction 'aesmc' is not predicable, but condition code specified
11 @ CHECK: error: instruction 'aese' is not predicable, but condition code specified
15 @ CHECK: error: instruction 'sha1h' is not predicable, but condition code specified
17 @ CHECK: error: instruction 'sha1su1' is not predicable, but condition code specified
19 @ CHECK: error: instruction 'sha256su0' is not predicable, but condition code specified
23 @ CHECK: error: instruction 'sha1c' is not predicable, but condition code specified
25 @ CHECK: error: instruction 'sha1m' is not predicable, but condition code specified
27 @ CHECK: error: instruction 'sha1p' is not predicable, but condition code specified
[all …]
/external/webp/src/utils/
Dthread_utils.c131 static int pthread_cond_destroy(pthread_cond_t* const condition) { in pthread_cond_destroy() argument
134 (void)condition; in pthread_cond_destroy()
136 ok &= (CloseHandle(condition->waiting_sem_) != 0); in pthread_cond_destroy()
137 ok &= (CloseHandle(condition->received_sem_) != 0); in pthread_cond_destroy()
138 ok &= (CloseHandle(condition->signal_event_) != 0); in pthread_cond_destroy()
143 static int pthread_cond_init(pthread_cond_t* const condition, void* cond_attr) { in pthread_cond_init() argument
146 InitializeConditionVariable(condition); in pthread_cond_init()
148 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); in pthread_cond_init()
149 condition->received_sem_ = CreateSemaphore(NULL, 0, 1, NULL); in pthread_cond_init()
150 condition->signal_event_ = CreateEvent(NULL, FALSE, FALSE, NULL); in pthread_cond_init()
[all …]
/external/icu/icu4c/source/common/
Dumutex.cpp123 umtx_condBroadcast(UConditionVar *condition) { in umtx_condBroadcast() argument
127 if (condition->fWaitCount == 0) { in umtx_condBroadcast()
130 ResetEvent(condition->fExitGate); in umtx_condBroadcast()
131 SetEvent(condition->fEntryGate); in umtx_condBroadcast()
135 umtx_condSignal(UConditionVar *condition) { in umtx_condSignal() argument
144 umtx_condWait(UConditionVar *condition, UMutex *mutex) { in umtx_condWait() argument
145 if (condition->fEntryGate == NULL) { in umtx_condWait()
150 U_ASSERT(condition->fExitGate == NULL); in umtx_condWait()
151 condition->fEntryGate = CreateEvent(NULL, // Security Attributes in umtx_condWait()
155 U_ASSERT(condition->fEntryGate != NULL); in umtx_condWait()
[all …]
/external/fio/compiler/
Dcompiler.h39 #define compiletime_assert(condition, msg) _Static_assert(condition, msg) argument
48 #define __compiletime_error_fallback(condition) do { } while (0) argument
51 #define __compiletime_assert(condition, msg, prefix, suffix) \ argument
53 int __cond = !(condition); \
60 #define _compiletime_assert(condition, msg, prefix, suffix) \ argument
61 __compiletime_assert(condition, msg, prefix, suffix)
63 #define compiletime_assert(condition, msg) \ argument
64 _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
68 #define compiletime_assert(condition, msg) do { } while (0) argument
/external/autotest/frontend/tko/preconfigs/qual/
Dpre2 globalFilter[0][condition]: LIKE 'my_host%'
4 globalFilter[1][condition]: LIKE 'my_other_host%'
7 testFilter[0][condition]: = 'my_test_name'
11 globalFilter[0][condition]: LIKE 'my_host%'
13 globalFilter[1][condition]: LIKE 'my_other_host%'
16 testFilter[0][condition]: = 'my_test_name'
20 globalFilter[0][condition]: LIKE 'my_host%'
22 globalFilter[1][condition]: LIKE 'my_other_host%'
25 testFilter[0][condition]: = 'my_test_name'
/external/libcxx/cmake/Modules/
DHandleLibcxxFlags.cmake47 # Add a macro definition if condition is true.
48 macro(define_if condition def)
49 if (${condition})
54 # Add a macro definition if condition is not true.
55 macro(define_if_not condition def)
56 if (NOT ${condition})
61 # Add a macro definition to the __config_site file if the specified condition
64 macro(config_define_if condition def)
65 if (${condition})
71 macro(config_define_if_not condition def)
[all …]
/external/autotest/frontend/client/src/autotest/tko/embedded_spreadsheet/
DEmbeddedSpreadsheetPresenter.java55 private JSONObject condition; field in EmbeddedSpreadsheetPresenter
67 condition = getFilterCondition(afeJobIdStr); in initialize()
68 if (condition == null) { in initialize()
72 JsonRpcProxy.getProxy().rpcCall("get_num_test_views", condition, new JsonRpcCallback() { in initialize()
76 renderSpreadsheet(condition); in initialize()
96 JSONObject condition = new JSONObject(); in getFilterCondition() local
97 condition.put("afe_job_id", new JSONNumber(afeJobId)); in getFilterCondition()
98 return condition; in getFilterCondition()
105 private void renderSpreadsheet(JSONObject condition) { in renderSpreadsheet() argument
113 spreadsheetProcessor.refresh(condition, display.getOnSpreadsheetRendered()); in renderSpreadsheet()
[all …]
/external/v8/src/compiler/
Dcontrol-builders.cc14 void IfBuilder::If(Node* condition, BranchHint hint) { in If() argument
15 builder_->NewBranch(condition, hint); in If()
70 void LoopBuilder::BreakUnless(Node* condition) { in BreakUnless() argument
72 control_if.If(condition); in BreakUnless()
80 void LoopBuilder::BreakWhen(Node* condition) { in BreakWhen() argument
82 control_if.If(condition); in BreakWhen()
107 void SwitchBuilder::BeginLabel(int index, Node* condition) { in BeginLabel() argument
108 builder_->NewBranch(condition); in BeginLabel()
160 void BlockBuilder::BreakWhen(Node* condition, BranchHint hint) { in BreakWhen() argument
162 control_if.If(condition, hint); in BreakWhen()
[all …]
Dbranch-elimination.cc58 Node* condition = node->InputAt(0); in ReduceBranch() local
62 Maybe<bool> condition_value = from_input->LookupCondition(condition); in ReduceBranch()
89 Node* condition = NodeProperties::GetValueInput(node, 0); in ReduceDeoptimizeConditional() local
100 Maybe<bool> condition_value = conditions->LookupCondition(condition); in ReduceDeoptimizeConditional()
117 node, conditions->AddCondition(zone_, condition, condition_is_true)); in ReduceDeoptimizeConditional()
130 Node* condition = branch->InputAt(0); in ReduceIf() local
132 node, from_branch->AddCondition(zone_, condition, is_true_branch)); in ReduceIf()
269 Node* condition, in AddCondition() argument
271 DCHECK(LookupCondition(condition).IsNothing()); in AddCondition()
274 BranchCondition(condition, is_true, head_); in AddCondition()
[all …]
/external/testng/src/main/java/org/testng/
DFileAssert.java32 boolean condition=false; in assertDirectory()
34 condition=tstvalue.isDirectory(); in assertDirectory()
38 if(!condition) { in assertDirectory()
54 boolean condition=false; in assertFile()
56 condition=tstvalue.isFile(); in assertFile()
60 if(!condition) { in assertFile()
157 boolean condition=false; in assertReadable()
159 condition=tstvalue.canRead(); in assertReadable()
163 if(!condition) { in assertReadable()
182 boolean condition=false; in assertWriteable()
[all …]
/external/mesa3d/src/compiler/glsl/
Dopt_constant_folding.cpp121 if (ir->condition) { in visit_enter()
122 ir->condition->accept(this); in visit_enter()
123 handle_rvalue(&ir->condition); in visit_enter()
125 ir_constant *const_val = ir->condition->as_constant(); in visit_enter()
131 ir->condition = NULL; in visit_enter()
147 if (ir->condition) { in visit_enter()
148 ir->condition->accept(this); in visit_enter()
149 handle_rvalue(&ir->condition); in visit_enter()
151 ir_constant *const_val = ir->condition->as_constant(); in visit_enter()
157 ir->condition = NULL; in visit_enter()
Dopt_conditional_discard.cpp75 if (!discard->condition) in visit_leave()
76 discard->condition = ir->condition; in visit_leave()
79 discard->condition = new(ctx) ir_expression(ir_binop_logic_and, in visit_leave()
80 ir->condition, in visit_leave()
81 discard->condition); in visit_leave()
/external/jsoncpp/include/json/
Dassertions.h17 #define JSON_ASSERT(condition) \ argument
18 assert(condition); // @todo <= change this into an exception throw
21 #define JSON_ASSERT(condition) assert(condition); argument
36 #define JSON_ASSERT_MESSAGE(condition, message) \ argument
37 if (!(condition)) { \
/external/autotest/tko/
Dquery_lib.py15 def parse_scrub_and_gen_condition(condition, valid_field_dict): argument
21 condition = condition.strip()
24 match = re.match(r'^(.+)[|](.+)$', condition)
32 match = re.match(r'^(.+)[&](.+)$', condition)
45 match = re.match(regex, condition)
59 raise "Could not parse '%s' (%s)" % (condition, regex)
/external/llvm/test/Analysis/ScalarEvolution/
Dinfer-prestart-no-wrap.ll19 %condition = icmp eq i32 %counter, 1
21 br i1 %condition, label %exit, label %loop
43 %condition = icmp eq i32 %counter, 1
45 br i1 %condition, label %exit, label %loop
64 %condition = load i1, i1* %c
65 br i1 %condition, label %exit, label %loop
75 %entry.condition = icmp slt i8 %start, 127
76 br i1 %entry.condition, label %loop, label %exit
84 %condition = load volatile i1, i1* %c
85 br i1 %condition, label %exit, label %loop
[all …]
/external/syslinux/gpxe/src/include/
Dassert.h43 #define assert( condition ) \ argument
45 if ( ASSERTING && ! (condition) ) { \
47 #condition, __FILE__, __LINE__ ); \
61 #define linker_assert( condition, error_symbol ) \ argument
62 if ( ! (condition) ) { \
/external/webrtc/webrtc/base/
Dchecks.h63 #define RTC_LAZY_STREAM(stream, condition) \ argument
64 !(condition) ? static_cast<void>(0) : rtc::FatalMessageVoidify() & (stream)
71 #define RTC_EAT_STREAM_PARAMETERS(condition) \ argument
72 (true ? true : !(condition)) \
82 #define RTC_CHECK(condition) \ argument
84 !(condition)) \
85 << "Check failed: " #condition << std::endl << "# "
168 #define RTC_DCHECK(condition) RTC_CHECK(condition) argument
177 #define RTC_DCHECK(condition) RTC_EAT_STREAM_PARAMETERS(condition)

12345678910>>...53