Home
last modified time | relevance | path

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

12345678910>>...116

/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_where_op.py31 def where_v2(condition, x=None, y=None, name=None): argument
80 with ops.name_scope('RaggedWhere', name, [condition, x, y]):
81 condition = ragged_tensor.convert_to_tensor_or_ragged_tensor(
82 condition, name='condition')
84 return _coordinate_where(condition)
88 condition, x, y = ragged_tensor.match_row_splits_dtypes(condition, x, y)
89 return _elementwise_where_v2(condition, x, y)
92 def where(condition, x=None, y=None, name=None): argument
161 with ops.name_scope('RaggedWhere', name, [condition, x, y]):
162 condition = ragged_tensor.convert_to_tensor_or_ragged_tensor(
[all …]
Dragged_where_op_test.py39 condition=ragged_factory_ops.constant_value(
43 condition=ragged_factory_ops.constant_value(
52 condition=ragged_factory_ops.constant_value([True, False]),
61 condition=[True, False, True, False, True],
64 condition=[[True, False], [False, True]],
67 condition=ragged_factory_ops.constant_value(
71 condition=ragged_factory_ops.constant_value([
78 condition=ragged_factory_ops.constant_value([
85 condition=ragged_factory_ops.constant_value([
98 condition=True, x='A', y='a', expected=b'A'),
[all …]
/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/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/libaom/libaom/aom_util/
Daom_thread.h113 static INLINE int pthread_cond_destroy(pthread_cond_t *const condition) { in pthread_cond_destroy() argument
114 (void)condition; in pthread_cond_destroy()
118 static INLINE int pthread_cond_init(pthread_cond_t *const condition, in pthread_cond_init() argument
121 InitializeConditionVariable(condition); in pthread_cond_init()
125 static INLINE int pthread_cond_signal(pthread_cond_t *const condition) { in pthread_cond_signal() argument
126 WakeConditionVariable(condition); in pthread_cond_signal()
130 static INLINE int pthread_cond_broadcast(pthread_cond_t *const condition) { in pthread_cond_broadcast() argument
131 WakeAllConditionVariable(condition); in pthread_cond_broadcast()
135 static INLINE int pthread_cond_wait(pthread_cond_t *const condition, in pthread_cond_wait() argument
138 ok = SleepConditionVariableCS(condition, mutex, INFINITE); in pthread_cond_wait()
[all …]
/external/angle/
DDEPS123 'condition': 'not build_with_chromium',
128 'condition': 'not build_with_chromium',
133 'condition': 'not build_with_chromium',
144 'condition': 'not build_with_chromium and host_os == "linux"',
155 'condition': 'not build_with_chromium and host_os == "mac"',
160 'condition': 'not build_with_chromium',
165 'condition': 'not build_with_chromium',
176 'condition': 'not build_with_chromium and host_os == "win"',
181 'condition': 'not build_with_chromium',
186 'condition': 'not build_with_chromium',
[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/webrtc/
DDEPS33 'condition': 'checkout_android',
37 'condition': 'checkout_ios',
52 'condition': 'checkout_linux',
62 'condition': 'checkout_mac',
72 'condition': 'checkout_win',
91 'condition': 'checkout_mac',
102 'condition': 'checkout_android',
113 'condition': 'checkout_android',
124 'condition': 'checkout_android',
145 'condition': 'checkout_android',
[all …]
/external/llvm-project/openmp/runtime/test/ompt/cancel/
Dcancel_taskgroup.c13 int condition=0; in main() local
24 #pragma omp task shared(condition) in main()
27 OMPT_SIGNAL(condition); in main()
28 OMPT_WAIT(condition,2); in main()
32 #pragma omp task shared(condition) in main()
35 OMPT_SIGNAL(condition); in main()
36 OMPT_WAIT(condition,2); in main()
40 #pragma omp task shared(condition) in main()
43 OMPT_SIGNAL(condition); in main()
44 OMPT_WAIT(condition,2); in main()
[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/llvm-project/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/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()
145 if not condition:
[all …]
/external/angle/src/compiler/translator/tree_ops/
DSimplifyLoopConditions.cpp27 TIntermTyped *condition = nullptr; member
142 if (node->getFlowOp() == EOpContinue && (mLoop.condition || mLoop.expression)) in visitBranch()
151 if (mLoop.condition) in visitBranch()
155 CreateTempAssignmentNode(mLoop.conditionVariable, mLoop.condition->deepCopy())); in visitBranch()
197 mLoop.condition = node->getCondition(); in traverseLoop()
206 if (mLoop.condition->getAsSymbolNode()) in traverseLoop()
209 mLoop.condition = nullptr; in traverseLoop()
211 else if (mLoop.condition->getAsConstantUnion()) in traverseLoop()
219 CreateTempInitDeclarationNode(mLoop.conditionVariable, mLoop.condition); in traverseLoop()
225 mLoop.condition = nullptr; in traverseLoop()
[all …]
/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 …]
/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/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 …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-spuriously-wake-up-functions.cpp116 static std::condition_variable condition; variable
118 void consume_list_element(std::condition_variable &condition) { in consume_list_element() argument
122 condition.wait(lk); in consume_list_element()
127 condition.wait(lk); in consume_list_element()
131 condition.wait(lk); in consume_list_element()
135 condition.wait(lk); in consume_list_element()
140 condition.wait(lk); in consume_list_element()
146 condition.wait(lk); in consume_list_element()
152 condition.wait(lk); in consume_list_element()
158 condition.wait_for(lk, dur); in consume_list_element()
[all …]
/external/vixl/src/
Dglobals-vixl.h113 #define VIXL_CHECK(condition) \
115 if (!(condition)) { \
117 oss << "Assertion failed (" #condition ")\nin "; \
133 #define VIXL_CHECK(condition) \
135 if (!(condition)) { \
137 #condition, \
145 #define VIXL_ASSERT(condition) VIXL_CHECK(condition)
155 #define VIXL_ASSERT(condition) ((void)0)
164 #define VIXL_STATIC_ASSERT_LINE(line_unused, condition, message) \
165 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/llvm-project/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/openscreen/util/
Dosp_logging.h53 #define OSP_LAZY_STREAM(condition, stream) \ argument
54 !(condition) ? (void)0 : openscreen::internal::Voidify() & (stream)
73 #define OSP_VLOG_IF(condition) !(condition) ? (void)0 : OSP_VLOG argument
74 #define OSP_LOG_IF(level, condition) !(condition) ? (void)0 : OSP_LOG_##level argument
76 #define OSP_CHECK(condition) \ argument
77 OSP_LOG_IF(FATAL, !(condition)) << "OSP_CHECK(" << #condition << ") failed: "
92 #define OSP_DCHECK(condition) OSP_CHECK(condition) argument
105 #define OSP_DCHECK(condition) OSP_EAT_STREAM << !(condition) argument
119 #define OSP_DVLOG_IF(condition) OSP_VLOG_IF(OSP_DCHECK_IS_ON() && (condition)) argument
120 #define OSP_DLOG_IF(level, condition) \ argument
[all …]
/external/libyuv/files/
DDEPS88 'condition': 'checkout_android or checkout_linux',
99 'condition': 'checkout_android',
104 'condition': 'checkout_android',
108 'condition': 'checkout_android',
117 'condition': 'checkout_android',
127 'condition': 'checkout_android',
132 'condition': 'checkout_android',
141 'condition': 'checkout_android',
146 'condition': 'checkout_android',
187 'condition': 'checkout_android_native_support',
[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 …]

12345678910>>...116