Home
last modified time | relevance | path

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

12345678910>>...83

/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/libaom/libaom/aom_util/
Daom_thread.h130 static INLINE int pthread_cond_destroy(pthread_cond_t *const condition) { in pthread_cond_destroy() argument
133 (void)condition; in pthread_cond_destroy()
135 ok &= (CloseHandle(condition->waiting_sem_) != 0); in pthread_cond_destroy()
136 ok &= (CloseHandle(condition->received_sem_) != 0); in pthread_cond_destroy()
137 ok &= (CloseHandle(condition->signal_event_) != 0); in pthread_cond_destroy()
142 static INLINE int pthread_cond_init(pthread_cond_t *const condition, in pthread_cond_init() argument
146 InitializeConditionVariable(condition); in pthread_cond_init()
148 condition->waiting_sem_ = CreateSemaphore(NULL, 0, MAX_DECODE_THREADS, NULL); in pthread_cond_init()
149 condition->received_sem_ = CreateSemaphore(NULL, 0, MAX_DECODE_THREADS, NULL); in pthread_cond_init()
150 condition->signal_event_ = CreateEvent(NULL, FALSE, FALSE, NULL); in pthread_cond_init()
[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.h407 #define LAZY_STREAM(stream, condition) \ argument
408 !(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)
421 #define LOG_IF(severity, condition) \ argument
422 LAZY_STREAM(LOG_STREAM(severity), LOG_IS_ON(severity) && (condition))
431 #define VLOG_IF(verbose_level, condition) \ argument
433 VLOG_IS_ON(verbose_level) && (condition))
448 #define VPLOG_IF(verbose_level, condition) \ argument
450 VLOG_IS_ON(verbose_level) && (condition))
454 #define LOG_ASSERT(condition) \ argument
455 LOG_IF(FATAL, !(ANALYZER_ASSUME_TRUE(condition))) \
[all …]
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_where_op.py31 def where(condition, x=None, y=None, name=None): argument
103 with ops.name_scope('RaggedWhere', name, [condition, x, y]):
104 condition = ragged_tensor.convert_to_tensor_or_ragged_tensor(
105 condition, name='condition')
107 return _coordinate_where(condition)
111 return _elementwise_where(condition, x, y)
114 def _elementwise_where(condition, x, y): argument
116 condition_is_ragged = isinstance(condition, ragged_tensor.RaggedTensor)
121 return array_ops.where(condition, x, y)
124 return ragged_functional_ops.map_flat_values(array_ops.where, condition, x,
[all …]
Dragged_where_op_test.py37 condition=ragged_factory_ops.constant_value(
41 condition=ragged_factory_ops.constant_value(
50 condition=ragged_factory_ops.constant_value([True, False]),
59 condition=[True, False, True, False, True],
62 condition=[[True, False], [False, True]],
65 condition=ragged_factory_ops.constant_value(
69 condition=ragged_factory_ops.constant_value([
76 condition=ragged_factory_ops.constant_value([
83 condition=ragged_factory_ops.constant_value([
96 condition=True, x='A', y='a', expected=b'A'),
[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/scapy/scapy/layers/tls/
Dautomaton_cli.py169 @ATMT.condition(PREPARE_CLIENTFLIGHT1)
178 @ATMT.condition(ADDED_CLIENTHELLO)
196 @ATMT.condition(RECEIVED_SERVERFLIGHT1, prio=1)
209 @ATMT.condition(RECEIVED_SERVERFLIGHT1, prio=2)
218 @ATMT.condition(HANDLED_SERVERHELLO, prio=1)
229 @ATMT.condition(HANDLED_SERVERHELLO, prio=2)
245 @ATMT.condition(HANDLED_SERVERCERTIFICATE, prio=1)
258 @ATMT.condition(HANDLED_SERVERCERTIFICATE, prio=2)
275 @ATMT.condition(HANDLED_SERVERKEYEXCHANGE, prio=2)
279 @ATMT.condition(HANDLED_SERVERCERTIFICATE, prio=3)
[all …]
Dautomaton_srv.py193 @ATMT.condition(RECEIVED_CLIENTFLIGHT1, prio=1)
202 @ATMT.condition(HANDLED_CLIENTHELLO)
220 @ATMT.condition(RECEIVED_CLIENTFLIGHT1, prio=3)
233 @ATMT.condition(PREPARE_SERVERFLIGHT1)
256 @ATMT.condition(ADDED_SERVERHELLO)
267 @ATMT.condition(ADDED_CERTIFICATE)
278 @ATMT.condition(ADDED_SERVERKEYEXCHANGE)
288 @ATMT.condition(ADDED_CERTIFICATEREQUEST)
297 @ATMT.condition(ADDED_SERVERHELLODONE)
311 @ATMT.condition(RECEIVED_CLIENTFLIGHT2, prio=1)
[all …]
/external/python/cpython3/Tools/clinic/
Dcpp.py4 def negate(condition): argument
8 if condition.startswith('!'):
9 return condition[1:]
10 return "!" + condition
40 " condition=", repr(self.condition()),
44 return str(self.line_number).rjust(4) + ": " + self.condition()
46 def condition(self): member in Monitor
50 return " && ".join(condition for token, condition in self.stack)
142 condition = ' '.join(fields[1:]).strip()
156 if not condition:
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DWhileStmt.java49 private Expression condition; field in WhileStmt
58 public WhileStmt(final Expression condition, final Statement body) { in WhileStmt() argument
59 this(null, condition, body); in WhileStmt()
66 public WhileStmt(TokenRange tokenRange, Expression condition, Statement body) { in WhileStmt() argument
68 setCondition(condition); in WhileStmt()
92 return condition; in getCondition()
110 public WhileStmt setCondition(final Expression condition) { in setCondition() argument
111 assertNotNull(condition); in setCondition()
112 if (condition == this.condition) { in setCondition()
115 notifyPropertyChange(ObservableProperty.CONDITION, this.condition, condition); in setCondition()
[all …]
DDoStmt.java51 private Expression condition; field in DoStmt
58 public DoStmt(final Statement body, final Expression condition) { in DoStmt() argument
59 this(null, body, condition); in DoStmt()
66 public DoStmt(TokenRange tokenRange, Statement body, Expression condition) { in DoStmt() argument
69 setCondition(condition); in DoStmt()
92 return condition; in getCondition()
110 public DoStmt setCondition(final Expression condition) { in setCondition() argument
111 assertNotNull(condition); in setCondition()
112 if (condition == this.condition) { in setCondition()
115 notifyPropertyChange(ObservableProperty.CONDITION, this.condition, condition); in setCondition()
[all …]
DIfStmt.java51 private Expression condition; field in IfStmt
63 public IfStmt(final Expression condition, final Statement thenStmt, final Statement elseStmt) { in IfStmt() argument
64 this(null, condition, thenStmt, elseStmt); in IfStmt()
71 …public IfStmt(TokenRange tokenRange, Expression condition, Statement thenStmt, Statement elseStmt)… in IfStmt() argument
73 setCondition(condition); in IfStmt()
93 return condition; in getCondition()
107 public IfStmt setCondition(final Expression condition) { in setCondition() argument
108 assertNotNull(condition); in setCondition()
109 if (condition == this.condition) { in setCondition()
112 notifyPropertyChange(ObservableProperty.CONDITION, this.condition, condition); in setCondition()
[all …]
/external/vixl/src/
Dglobals-vixl.h108 #define VIXL_CHECK(condition) \
110 if (!(condition)) { \
112 oss << "Assertion failed (" #condition ")\nin "; \
128 #define VIXL_CHECK(condition) \
130 if (!(condition)) { \
132 #condition, \
140 #define VIXL_ASSERT(condition) VIXL_CHECK(condition)
150 #define VIXL_ASSERT(condition) ((void)0)
159 #define VIXL_STATIC_ASSERT_LINE(line_unused, condition, message) \
160 static_assert(condition, message)
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DConditionalExpr.java46 private Expression condition; field in ConditionalExpr
57 public ConditionalExpr(Expression condition, Expression thenExpr, Expression elseExpr) { in ConditionalExpr() argument
58 this(null, condition, thenExpr, elseExpr); in ConditionalExpr()
65 …public ConditionalExpr(TokenRange tokenRange, Expression condition, Expression thenExpr, Expressio… in ConditionalExpr() argument
67 setCondition(condition); in ConditionalExpr()
87 return condition; in getCondition()
101 public ConditionalExpr setCondition(final Expression condition) { in setCondition() argument
102 assertNotNull(condition); in setCondition()
103 if (condition == this.condition) { in setCondition()
106 notifyPropertyChange(ObservableProperty.CONDITION, this.condition, condition); in setCondition()
[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/swiftshader/third_party/llvm-7.0/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/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/u-boot/include/linux/
Dbug.h14 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) argument
16 #define WARN_ON(condition) ({ \ argument
17 int __ret_warn_on = !!(condition); \
23 #define WARN(condition, format...) ({ \ argument
24 int __ret_warn_on = !!(condition); \
30 #define WARN_ON_ONCE(condition) ({ \ argument
32 int __ret_warn_once = !!(condition); \
41 #define WARN_ONCE(condition, format...) ({ \ argument
43 int __ret_warn_once = !!(condition); \
/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()
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()
156 condition->fExitGate = CreateEvent(NULL, TRUE, TRUE, NULL); in umtx_condWait()
[all …]
/external/libcxx/cmake/Modules/
DHandleLibcxxFlags.cmake55 # If the specified 'condition' is true then append the specified list of flags to DEST
56 macro(append_flags_if condition DEST)
57 if (${condition})
71 # Add a macro definition if condition is true.
72 macro(define_if condition def)
73 if (${condition})
78 # Add a macro definition if condition is not true.
79 macro(define_if_not condition def)
80 if (NOT ${condition})
85 # Add a macro definition to the __config_site file if the specified condition
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/
DWhileStmt.java33 private Expression condition; field in WhileStmt
40 public WhileStmt(final Expression condition, final Statement body) { in WhileStmt() argument
41 setCondition(condition); in WhileStmt()
46 final Expression condition, final Statement body) { in WhileStmt() argument
48 setCondition(condition); in WhileStmt()
65 return condition; in getCondition()
73 public void setCondition(final Expression condition) { in setCondition() argument
74 this.condition = condition; in setCondition()
75 setAsParentNodeOf(this.condition); in setCondition()
DDoStmt.java35 private Expression condition; field in DoStmt
40 public DoStmt(final Statement body, final Expression condition) { in DoStmt() argument
42 setCondition(condition); in DoStmt()
46 final Statement body, final Expression condition) { in DoStmt() argument
49 setCondition(condition); in DoStmt()
65 return condition; in getCondition()
73 public void setCondition(final Expression condition) { in setCondition() argument
74 this.condition = condition; in setCondition()
75 setAsParentNodeOf(this.condition); in setCondition()
/external/libcxxabi/cmake/Modules/
DHandleLibcxxabiFlags.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 …]

12345678910>>...83