Searched refs:guard (Results 1 - 25 of 98) sorted by relevance

1234

/external/guava/guava/src/com/google/common/util/concurrent/
H A DMonitor.java209 * {@code Monitor}. The monitor may check the guard at arbitrary times from any thread occupying
210 * the monitor, so code should not be written to rely on how often a guard might or might not be
233 * Evaluates this guard's boolean condition. This method is always called with the associated
355 * Enters this monitor when the guard is satisfied. Blocks indefinitely, but may be interrupted.
357 public void enterWhen(Guard guard) throws InterruptedException { argument
358 if (guard.monitor != this) {
366 waitInterruptibly(guard, reentrant);
376 * Enters this monitor when the guard is satisfied. Blocks indefinitely.
378 public void enterWhenUninterruptibly(Guard guard) { argument
379 if (guard
403 enterWhen(Guard guard, long time, TimeUnit unit) argument
436 enterWhenUninterruptibly(Guard guard, long time, TimeUnit unit) argument
487 enterIf(Guard guard) argument
510 enterIfInterruptibly(Guard guard) argument
533 enterIf(Guard guard, long time, TimeUnit unit) argument
558 enterIfInterruptibly(Guard guard, long time, TimeUnit unit) argument
586 tryEnterIf(Guard guard) argument
609 waitFor(Guard guard) argument
623 waitForUninterruptibly(Guard guard) argument
639 waitFor(Guard guard, long time, TimeUnit unit) argument
655 waitForUninterruptibly(Guard guard, long time, TimeUnit unit) argument
747 hasWaiters(Guard guard) argument
765 getWaitQueueLength(Guard guard) argument
804 incrementWaiters(Guard guard) argument
812 decrementWaiters(Guard guard) argument
820 waitInterruptibly(Guard guard, boolean signalBeforeWaiting) argument
849 waitUninterruptibly(Guard guard, boolean signalBeforeWaiting) argument
867 waitInterruptibly(Guard guard, long remainingNanos, boolean signalBeforeWaiting) argument
900 waitUninterruptibly(Guard guard, long timeoutNanos, boolean signalBeforeWaiting) argument
[all...]
/external/chromium_org/v8/src/libplatform/
H A Dtask-queue.cc16 base::LockGuard<base::Mutex> guard(&lock_);
23 base::LockGuard<base::Mutex> guard(&lock_);
33 base::LockGuard<base::Mutex> guard(&lock_);
50 base::LockGuard<base::Mutex> guard(&lock_);
H A Ddefault-platform.cc40 base::LockGuard<base::Mutex> guard(&lock_);
60 base::LockGuard<base::Mutex> guard(&lock_);
71 base::LockGuard<base::Mutex> guard(&lock_);
83 base::LockGuard<base::Mutex> guard(&lock_);
105 base::LockGuard<base::Mutex> guard(&lock_);
/external/chromium_org/tools/
H A Dboilerplate.py39 guard = filename.replace('/', '_').replace('.', '_').upper() + '_'
42 '#ifndef ' + guard,
43 '#define ' + guard,
45 '#endif // ' + guard,
/external/clang/test/CodeGen/
H A D2007-09-12-PragmaPack.c24 uint32_t guard; member in struct:__anon18545
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.guard/
H A DAndroid.mk17 test_makefile := external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.guard/Android.mk
19 test_name := thread/thread.mutex/thread.lock/thread.lock.guard/adopt_lock
23 test_name := thread/thread.mutex/thread.lock/thread.lock.guard/types
27 test_name := thread/thread.mutex/thread.lock/thread.lock.guard/mutex
/external/bison/lib/glthread/
H A Dlock.c56 err = pthread_mutex_lock (&lock->guard);
64 pthread_mutex_unlock (&lock->guard);
68 err = pthread_mutex_unlock (&lock->guard);
82 err = pthread_mutex_lock (&lock->guard);
90 pthread_mutex_unlock (&lock->guard);
94 err = pthread_mutex_unlock (&lock->guard);
347 err = pthread_mutex_lock (&lock->guard);
355 pthread_mutex_unlock (&lock->guard);
359 err = pthread_mutex_unlock (&lock->guard);
640 lock->guard
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DHeaders.h47 void setGuard(Guard guard) { m_guard = guard; } argument
48 Guard guard() const { return m_guard; } function in class:blink::FINAL
/external/chromium_org/tools/git/
H A Dmove_source_file.py72 updates the moved file's include guard to match the new path and
120 """Returns an include guard name given a path from root."""
121 guard = path_from_root.replace('/', '_')
122 guard = guard.replace('\\', '_')
123 guard = guard.replace('.', '_')
124 guard += '_'
125 return guard.upper()
129 """Updates the include guard i
[all...]
/external/libcxxabi/src/
H A Dcxa_guard.cpp118 uint64_t guard; member in union:__cxxabiv1::__anon23627::__anon23628
130 uint64_t guard; member in union:__cxxabiv1::__anon23627::__anon23629
134 x = f.guard;
143 uint32_t guard; member in union:__cxxabiv1::__anon23627::__anon23630
155 uint32_t guard; member in union:__cxxabiv1::__anon23627::__anon23631
159 x = f.guard;
/external/valgrind/main/lackey/
H A Dlk_main.c358 /* A helper that adds the instrumentation for a detail. guard ::
361 static void instrument_detail(IRSB* sb, Op op, IRType type, IRAtom* guard) argument
374 if (guard) di->guard = guard;
410 IRAtom* guard; /* :: Ity_I1, or NULL=="always True" */ member in struct:__anon32997
507 if (ev->guard) {
508 di->guard = ev->guard;
534 evt->guard
[all...]
/external/chromium_org/v8/test/mjsunit/
H A Dtry.js60 function guard(f) { try { f(); } catch (o) { return o; } } function
61 assertEquals('baz', guard(function() { throw 'baz'; }));
63 assertEquals(1, guard(function() { try { throw 1; } finally { } }));
64 assertEquals(2, guard(function() { try { throw 2; } finally { var x = 12; } }));
65 assertEquals(4, guard(function() { try { throw 3; } finally { throw 4; } }));
/external/valgrind/main/none/tests/ppc32/
H A Dround.c586 int guard = 0; local
592 ** force a 3 bit shift for scaling leaving us with 3 guard bits
605 /* mask off LSB from resulting guard bits */
606 guard = g & 7;
621 guard = (0x10-g);
622 Z.layout.frac = guard>>3;
624 /* mask off LSB from resulting guard bits */
625 guard &= 7;
638 guard = g & 7;
641 /* g >> 3 == LSB, g & 7 == guard bit
903 int guard; local
[all...]
/external/valgrind/main/none/tests/ppc64/
H A Dround.c586 int guard = 0; local
592 ** force a 3 bit shift for scaling leaving us with 3 guard bits
605 /* mask off LSB from resulting guard bits */
606 guard = g & 7;
621 guard = (0x10-g);
622 Z.layout.frac = guard>>3;
624 /* mask off LSB from resulting guard bits */
625 guard &= 7;
638 guard = g & 7;
641 /* g >> 3 == LSB, g & 7 == guard bit
903 int guard; local
[all...]
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A DHalAdaptation.cpp251 SyncEventGuard guard (gOpenCompletedEvent);
269 SyncEventGuard guard (gOpenCompletedEvent);
277 SyncEventGuard guard (gPostInitCompletedEvent);
285 SyncEventGuard guard (gCloseCompletedEvent);
294 SyncEventGuard guard (gOpenCompletedEvent);
298 SyncEventGuard guard (gPostInitCompletedEvent);
302 SyncEventGuard guard (gCloseCompletedEvent);
325 SyncEventGuard guard (gCloseCompletedEvent);
339 SyncEventGuard guard (gPostInitCompletedEvent);
/external/kernel-headers/original/uapi/linux/
H A Dbsg.h21 __s32 guard; /* [i] 'Q' to differentiate from v3 */ member in struct:sg_io_v4
/external/libvorbis/vq/
H A Dmake_floor_books.pl60 my($datafile,$range,$guard)=split(' ',$1);
77 my $command="huffbuild $datafile.tmp $range $guard";
H A Dhuffbuild.c65 int i,j,k,begin,n,subn,guard=1; local
71 if(argc==4)guard=0;
133 for(j=loval;j<vals;j++)hist[j]=guard;
H A Dlatticetune.c45 int entries=-1,dim=-1,guard=1; local
58 if(argv[3]!=NULL)guard=0;
86 for(j=0;j<entries;j++)hits[j]=guard;
/external/lldb/
H A DAndroid.mk2 # This guard will be removed once lldb is working
/external/stlport/src/
H A Dnum_get_float.cpp254 if ((prodlo & _Stl_HIBITULL) != 0) { /* first guard bit a one */
344 uint32 guard; /* First guard bit */ local
345 uint64 rest; /* Remaining guard bits */
403 guard = 0;
408 guard = (uint32) ((value>> 63) & 1 );
413 guard = (uint32) (((value>> lead0)-1) & 1);
418 if (guard && ((value & 1) || rest) ) {
431 guard = (uint32) value & 1;
434 /* value&1 guard res
534 uint32_t guard = (uint32) vv.i64 & 1; local
600 uint32_t guard; local
[all...]
/external/chromium_org/build/util/
H A Dlastchange.py185 Returns the header #define guard for the given file path.
187 relevant part of the guard. If there is no "src/", then the entire path
192 guard = path[src_index + 4:]
194 guard = path
195 guard = guard.upper()
196 return guard.replace('/', '_').replace('.', '_').replace('\\', '_') + '_'
/external/chromium_org/content/browser/media/capture/
H A Dcontent_video_capture_device_core.cc73 base::AutoLock guard(lock_);
148 base::AutoLock guard(lock_);
153 base::AutoLock guard(lock_);
177 base::AutoLock guard(lock_);
182 base::AutoLock guard(lock_);
193 base::AutoLock guard(lock_);
H A Dweb_contents_video_capture_device_unittest.cc87 base::AutoLock guard(lock_);
92 base::AutoLock guard(lock_);
97 base::AutoLock guard(lock_);
102 base::AutoLock guard(lock_);
108 base::AutoLock guard(lock_);
116 base::AutoLock guard(lock_);
121 base::AutoLock guard(lock_);
126 base::AutoLock guard(lock_);
131 base::AutoLock guard(lock_);
137 base::AutoLock guard(lock
[all...]
/external/deqp/modules/glshared/
H A DglsStateQueryUtil.hpp140 testCtx.getLog() << TestLog::Message << "// ERROR: Pre-guard value was modified " << TestLog::EndMessage;
149 testCtx.getLog() << TestLog::Message << "// ERROR: Post-guard value was modified " << TestLog::EndMessage;
170 std::ostream& operator<< (std::ostream& str, const StateQueryMemoryWriteGuard<T>& guard) argument
172 return str << guard.get();

Completed in 698 milliseconds

1234