Home
last modified time | relevance | path

Searched refs:exclusive (Results 1 – 25 of 1673) sorted by relevance

12345678910>>...67

/external/toolchain-utils/
Dfile_lock_machine_test.py24 file_lock_machine.Machine(machine, "/tmp", auto=True).Lock(exclusive=True)
45 self.assertTrue(mach.Lock(exclusive=True))
46 self.assertTrue(mach.Unlock(exclusive=True))
50 self.assertTrue(mach.Lock(exclusive=True))
51 self.assertTrue(mach.Unlock(exclusive=True))
56 self.assertTrue(mach.Lock(exclusive=False))
58 self.assertTrue(mach.Unlock(exclusive=False))
59 self.assertTrue(mach.Lock(exclusive=True))
60 self.assertTrue(mach.Unlock(exclusive=True))
64 self.assertTrue(mach.Lock(exclusive=False))
[all …]
Dfile_lock_machine.py69 self.exclusive = desc["exclusive"]
76 self.exclusive = False
83 return self.counter or self.exclusive
89 "Exclusive: %s" % self.exclusive,
112 self.exclusive = None
151 file_lock.getDescription().exclusive,
191 if self._description.exclusive and self._description.auto:
230 def NonBlockingLock(self, exclusive, reason=""): argument
232 if lock.exclusive:
239 if exclusive:
[all …]
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_math_ops_test.py94 def _cumsum_slow(rt, axis=0, exclusive=False, reverse=False, name=None): argument
96 result = math_ops.cumsum(dense, axis=axis, exclusive=exclusive,
113 exclusive=True),
116 exclusive=True),
119 exclusive=True),
128 axis=1, exclusive=True, reverse=True),
131 axis=1, exclusive=True),
133 def test_cumsum(self, original, expected, axis=0, exclusive=False, argument
138 original_rt, axis=axis, exclusive=exclusive, reverse=reverse)
140 baseline = _cumsum_slow(original_rt, axis=axis, exclusive=exclusive,
[all …]
/external/javassist/src/main/javassist/bytecode/
DCodeIterator.java469 private int insert0(int pos, byte[] code, boolean exclusive) in insert0() argument
477 pos = insertGapAt(pos, len, exclusive).position; in insert0()
613 public Gap insertGapAt(int pos, int length, boolean exclusive) in insertGapAt() argument
631 c = insertGapCore0w(bytecode, pos, length, exclusive, in insertGapAt()
638 c = insertGapCore0(bytecode, pos, length, exclusive, in insertGapAt()
647 if (mark > pos || (mark == pos && exclusive)) in insertGapAt()
817 boolean exclusive, ExceptionTable etable, CodeAttribute ca) in insertGapCore0() argument
824 return insertGapCore1(code, where, gapLength, exclusive, etable, ca); in insertGapCore0()
829 exclusive, etable, ca); in insertGapCore0()
838 boolean exclusive, ExceptionTable etable, in insertGapCore1() argument
[all …]
DExceptionTable.java243 void shiftPc(int where, int gapLength, boolean exclusive) { in shiftPc() argument
245 e.startPc = shiftPc(e.startPc, where, gapLength, exclusive); in shiftPc()
246 e.endPc = shiftPc(e.endPc, where, gapLength, exclusive); in shiftPc()
247 e.handlerPc = shiftPc(e.handlerPc, where, gapLength, exclusive); in shiftPc()
252 boolean exclusive) { in shiftPc() argument
253 if (pc > where || (exclusive && pc == where)) in shiftPc()
/external/clang/test/SemaObjC/
Dproperty-10.m6 …int p0; // expected-error {{property attributes 'readonly' and 'readwrite' are mutually exclusive}}
13 …opy) id p3_0; // expected-error {{property attributes 'assign' and 'copy' are mutually exclusive}}
14 …n) id p3_1; // expected-error {{property attributes 'assign' and 'retain' are mutually exclusive}}
15 …g) id s3_1; // expected-error {{property attributes 'assign' and 'strong' are mutually exclusive}}
16 …ain) id p3_2; // expected-error {{property attributes 'copy' and 'retain' are mutually exclusive}}
17 …ong) id s3_2; // expected-error {{property attributes 'copy' and 'strong' are mutually exclusive}}
18 …ign' and 'copy' are mutually exclusive}}, expected-error {{property attributes 'assign' and 'retai…
19 …ign' and 'copy' are mutually exclusive}}, expected-error {{property attributes 'assign' and 'stron…
21 …0; // expected-error {{property attributes 'unsafe_unretained' and 'copy' are mutually exclusive}}
22 … // expected-error {{property attributes 'unsafe_unretained' and 'retain' are mutually exclusive}}
[all …]
Dwarn-retain-block-property.m37 // CHECK-ARC: 15:1: error: property attributes 'retain' and 'weak' are mutually exclusive
40 // CHECK-ARC: 18:1: error: property attributes 'copy' and 'retain' are mutually exclusive
43 // CHECK-ARC: 19:1: error: property attributes 'assign' and 'retain' are mutually exclusive
54 // CHECK: 15:1: error: property attributes 'retain' and 'weak' are mutually exclusive
57 // CHECK: 18:1: error: property attributes 'copy' and 'retain' are mutually exclusive
60 // CHECK: 19:1: error: property attributes 'assign' and 'retain' are mutually exclusive
Dweak-property.m13 …ssign) id v1; // expected-error {{property attributes 'assign' and 'weak' are mutually exclusive}}
14 …ak, copy) id v2; // expected-error {{property attributes 'copy' and 'weak' are mutually exclusive}}
15 …retain) id v3; // expected-error {{property attributes 'retain' and 'weak' are mutually exclusive}}
16 …ssign) id v4; // expected-error {{property attributes 'assign' and 'weak' are mutually exclusive}}
Dproperty-12.m16 …) id X; // expected-error {{property attributes 'readonly' and 'readwrite' are mutually exclusive}}
20 …gn,copy) id X; // expected-error {{property attributes 'assign' and 'copy' are mutually exclusive}}
24 …etain) id X; // expected-error {{property attributes 'assign' and 'retain' are mutually exclusive}}
28 …,retain) id X; // expected-error {{property attributes 'copy' and 'retain' are mutually exclusive}}
/external/freetype/src/gxvalid/
Dgxvfeat.c84 FT_Bool exclusive, in gxv_feat_registry_validate() argument
124 if ( exclusive != gxv_feat_registry[feature].exclusive ) in gxv_feat_registry_validate()
127 exclusive )); in gxv_feat_registry_validate()
165 FT_Bool exclusive, in gxv_feat_setting_validate() argument
179 if ( exclusive && ( setting & 1 ) == 0 ) in gxv_feat_setting_validate()
203 FT_Bool exclusive; in gxv_feat_name_validate() local
226 exclusive = FT_BOOL( featureFlags & GXV_FEAT_MASK_EXCLUSIVE_SETTINGS ); in gxv_feat_name_validate()
227 if ( exclusive ) in gxv_feat_name_validate()
243 gxv_feat_registry_validate( feature, nSettings, exclusive, gxvalid ); in gxv_feat_name_validate()
250 gxv_feat_setting_validate( p, limit, exclusive, gxvalid ); in gxv_feat_name_validate()
/external/tensorflow/tensorflow/python/kernel_tests/control_flow/
Dscan_ops_test.py40 def handle_options(func, x, axis, exclusive, reverse): argument
49 if exclusive:
76 def _compare(self, x, axis, exclusive, reverse): argument
77 np_out = handle_options(np.cumsum, x, axis, exclusive, reverse)
79 tf_out = math_ops.cumsum(x, axis, exclusive, reverse).eval()
84 for exclusive in [True, False]:
86 self._compare(x, axis, exclusive, reverse)
165 def _compareGradient(self, shape, axis, exclusive, reverse): argument
169 result = math_ops.cumsum(t, axis, exclusive, reverse)
197 for exclusive in [True, False]:
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dscan_ops_gpu.h172 bool exclusive, bool reverse, Op op) { in __launch_bounds__()
223 if (exclusive) { in __launch_bounds__()
242 const bool exclusive) { in LaunchScan() argument
261 out.data(), dimx, dimy, dimz, exclusive, reverse, op)); in LaunchScan()
267 out.data(), dimx, dimy, dimz, exclusive, reverse, op)); in LaunchScan()
273 out.data(), dimx, dimy, dimz, exclusive, reverse, op)); in LaunchScan()
279 out.data(), dimx, dimy, dimz, exclusive, reverse, op)); in LaunchScan()
291 out.data(), dimx, dimy, dimz, exclusive, reverse, op)); in LaunchScan()
297 out.data(), dimx, dimy, dimz, exclusive, reverse, op)); in LaunchScan()
306 const bool reverse, const bool exclusive) {
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Cumsum.pbtxt19 name: "exclusive"
21 If `True`, perform exclusive cumsum.
39 By setting the `exclusive` kwarg to `True`, an exclusive cumsum is
43 tf.cumsum([a, b, c], exclusive=True) # => [0, a, a + b]
55 The `reverse` and `exclusive` kwargs can also be combined:
58 tf.cumsum([a, b, c], exclusive=True, reverse=True) # => [b + c, c, 0]
Dapi_def_Cumprod.pbtxt19 name: "exclusive"
21 If `True`, perform exclusive cumprod.
39 By setting the `exclusive` kwarg to `True`, an exclusive cumprod is
43 tf.cumprod([a, b, c], exclusive=True) # => [1, a, a * b]
55 The `reverse` and `exclusive` kwargs can also be combined:
58 tf.cumprod([a, b, c], exclusive=True, reverse=True) # => [b * c, c, 1]
Dapi_def_CumulativeLogsumexp.pbtxt18 name: "exclusive"
20 If `True`, perform exclusive cumulative log-sum-exp.
38 By setting the `exclusive` kwarg to `True`, an exclusive cumulative log-sum-exp is
41 tf.cumulative_logsumexp([a, b, c], exclusive=True) # => [-inf, a, log(exp(a) * exp(b))]
/external/tensorflow/tensorflow/compiler/tests/
Dscan_ops_test.py41 def handle_options(func, x, axis, exclusive, reverse): argument
50 if exclusive:
78 def _compare(self, x, axis, exclusive, reverse): argument
79 np_out = handle_options(np.cumsum, x, axis, exclusive, reverse)
82 tf_out = math_ops.cumsum(p, axis, exclusive, reverse).eval(
88 for exclusive in [True, False]:
90 self._compare(x, axis, exclusive, reverse)
136 exclusive=True).eval()
165 def _compare(self, x, axis, exclusive, reverse): argument
166 np_out = handle_options(np.cumprod, x, axis, exclusive, reverse)
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/math_ops/
Dcumulative_logsumexp_test.py48 for exclusive in (True, False):
51 reverse=reverse, exclusive=exclusive,
85 for exclusive in (True, False):
89 reverse=reverse, exclusive=exclusive)
91 reverse=reverse, exclusive=exclusive)
/external/python/pyserial/test/
Dtest_exclusive.py29 with serial.Serial(PORT, exclusive=None):
35 with serial.Serial(PORT, exclusive=False):
41 with serial.Serial(PORT, exclusive=True):
43 serial.Serial(PORT, exclusive=True) # fails to open twice
49 serial.Serial(PORT, exclusive=False) # expected to fail: False not supported
/external/rust/crates/vulkano/src/command_buffer/
Dtraits.rs147 exclusive: bool, in check_buffer_access()
155 exclusive: bool, in check_image_access()
188 exclusive: bool, in check_buffer_access()
191 (**self).check_buffer_access(buffer, exclusive, queue) in check_buffer_access()
199 exclusive: bool, in check_image_access()
202 (**self).check_image_access(image, layout, exclusive, queue) in check_image_access()
410 exclusive: bool, in check_buffer_access()
415 .check_buffer_access(buffer, exclusive, queue) in check_buffer_access()
420 self.previous.check_buffer_access(buffer, exclusive, queue) in check_buffer_access()
430 exclusive: bool, in check_image_access()
[all …]
/external/autotest/client/cros/
Dkernel_config.py106 def is_exclusive(self, exclusive): argument
116 for name in exclusive['missing']:
118 for name in exclusive['builtin']:
121 for name in exclusive['module']:
124 for name in exclusive['enabled']:
129 regex = r'CONFIG_%s' % (exclusive['regex'])
/external/rust/crates/vulkano/src/sync/future/
Djoin.rs208 exclusive: bool, in check_buffer_access()
211 let first = self.first.check_buffer_access(buffer, exclusive, queue); in check_buffer_access()
212 let second = self.second.check_buffer_access(buffer, exclusive, queue); in check_buffer_access()
214 !exclusive || !(first.is_ok() && second.is_ok()), in check_buffer_access()
239 exclusive: bool, in check_image_access()
244 .check_image_access(image, layout, exclusive, queue); in check_image_access()
247 .check_image_access(image, layout, exclusive, queue); in check_image_access()
249 !exclusive || !(first.is_ok() && second.is_ok()), in check_image_access()
Dfence_signal.rs388 exclusive: bool, in check_buffer_access()
393 previous.check_buffer_access(buffer, exclusive, queue) in check_buffer_access()
404 exclusive: bool, in check_image_access()
409 previous.check_image_access(image, layout, exclusive, queue) in check_image_access()
500 exclusive: bool, in check_buffer_access()
503 (**self).check_buffer_access(buffer, exclusive, queue) in check_buffer_access()
511 exclusive: bool, in check_image_access()
514 (**self).check_image_access(image, layout, exclusive, queue) in check_image_access()
/external/cronet/net/spdy/
Dhttp2_priority_dependencies_unittest.cc19 a.weight == b.weight && a.exclusive == b.exclusive; in operator ==()
27 << (e.exclusive ? "true" : "false") << "}"; in operator <<()
53 bool exclusive = false; in TestStreamCreation() local
55 &exclusive); in TestStreamCreation()
56 if (expected_parent_id != parent_id || !exclusive || in TestStreamCreation()
61 << exclusive << ")\n" in TestStreamCreation()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrAtomics.td36 // Low-level exclusive operations
39 // TODO: add exclusive operations here...
47 // And clear exclusive.
/external/rust/crates/vulkano/src/command_buffer/synced/
Dmod.rs150 let prev_err = match future.check_buffer_access(&buf, state.exclusive, queue) { in lock_submit()
161 match (buf.try_gpu_lock(state.exclusive, queue), prev_err) { in lock_submit()
182 state.exclusive, in lock_submit()
197 state.exclusive, in lock_submit()
293 exclusive: bool, in check_buffer_access()
298 if !value.exclusive && exclusive { in check_buffer_access()
316 exclusive: bool, in check_image_access()
330 if !value.exclusive && exclusive { in check_image_access()
439 exclusive: bool, field

12345678910>>...67