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

123

/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/clang/test/CodeGen/
H A D2007-09-12-PragmaPack.c24 uint32_t guard; member in struct:__anon15805
/external/chromium_org/tools/git/
H A Dmove_source_file.py71 updates the moved file's include guard to match the new path and
119 """Returns an include guard name given a path from root."""
120 guard = path_from_root.replace('/', '_')
121 guard = guard.replace('\\', '_')
122 guard = guard.replace('.', '_')
123 guard += '_'
124 return guard.upper()
128 """Updates the include guard i
[all...]
/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...]
H A Dlock.h206 pthread_mutex_t guard; /* protects the initialization */ member in struct:__anon319
302 pthread_mutex_t guard; /* protects the initialization */ member in struct:__anon321
642 gl_spinlock_t guard; /* protects the initialization */ member in struct:__anon326
681 gl_spinlock_t guard; /* protects the initialization */ member in struct:__anon328
718 gl_spinlock_t guard; /* protects the initialization */ member in struct:__anon329
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A DHalAdaptation.cpp205 SyncEventGuard guard (gOpenCompletedEvent);
223 SyncEventGuard guard (gOpenCompletedEvent);
231 SyncEventGuard guard (gPostInitCompletedEvent);
239 SyncEventGuard guard (gCloseCompletedEvent);
248 SyncEventGuard guard (gOpenCompletedEvent);
252 SyncEventGuard guard (gPostInitCompletedEvent);
256 SyncEventGuard guard (gCloseCompletedEvent);
279 SyncEventGuard guard (gCloseCompletedEvent);
293 SyncEventGuard guard (gPostInitCompletedEvent);
/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/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/chromium_org/content/browser/renderer_host/media/
H A Dweb_contents_video_capture_device_unittest.cc83 base::AutoLock guard(lock_);
88 base::AutoLock guard(lock_);
93 base::AutoLock guard(lock_);
98 base::AutoLock guard(lock_);
104 base::AutoLock guard(lock_);
112 base::AutoLock guard(lock_);
117 base::AutoLock guard(lock_);
122 base::AutoLock guard(lock_);
127 base::AutoLock guard(lock_);
133 base::AutoLock guard(lock
[all...]
H A Daudio_mirroring_manager.cc50 ReentrancyGuard guard; local
77 ReentrancyGuard guard; local
99 ReentrancyGuard guard; local
141 ReentrancyGuard guard; local
/external/chromium_org/chrome/browser/ui/android/
H A Dssl_client_certificate_request.cc53 base::ScopedClosureRunner guard(post_task_closure);
118 guard.Release();
156 base::ScopedClosureRunner guard(null_closure);
190 guard.Release();
/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/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/android/
H A DgenerateAndroidForwardingHeader.pl62 $guard = $forward;
63 $guard =~ s/[\.\/\\-]/_/g;
67 print $handle "#ifndef _${guard}_\n";
68 print $handle "#define _${guard}_\n\n";
70 print $handle "#endif // _${guard}_\n";
/external/chromium_org/third_party/WebKit/Source/web/
H A DExternalPopupMenu.cpp113 RefPtr<ExternalPopupMenu> guard(this);
155 RefPtr<ExternalPopupMenu> guard(this);
/external/aac/libSBRenc/src/
H A Dton_corr.h143 when indexing a highband channel, -1 represents a guard band */
145 INT guard; /*!< number of guardbands between every patch */ member in struct:__anon268
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
H A DV8AbstractEventListener.h85 RefPtr<V8AbstractEventListener> guard(this);
/external/chromium_org/native_client_sdk/src/libraries/error_handling/
H A Derror_handling.c219 void* guard; local
226 // Allocate stack + guard page
232 guard = mmap(stack, PAGE_CHUNK_SIZE,
234 if (guard != stack) {
235 fprintf(stderr, "WARNING: Failed to add guard page for alt stack.\n");
/external/valgrind/main/memcheck/
H A Dmc_translate.c1094 static void complainIfUndefined ( MCEnv* mce, IRAtom* atom, IRExpr *guard )
1225 di->guard = cond;
1227 /* If the complaint is to be issued under a guard condition, AND that
1228 guard condition. */
1229 if (guard) {
1230 IRAtom *g1 = assignNew('V', mce, Ity_I32, unop(Iop_1Uto32, di->guard));
1231 IRAtom *g2 = assignNew('V', mce, Ity_I32, unop(Iop_1Uto32, guard));
1234 di->guard = assignNew('V', mce, Ity_I1, unop(Iop_32to1, e));
1297 IRAtom* atom, IRAtom* vatom, IRExpr *guard )
1325 if (guard) {
5609 struct { void* entry; IRExpr* guard; } member in struct:__anon27744
5665 check_or_add( XArray* pairs, IRExpr* guard, void* entry ) argument
5699 IRExpr* guard; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
H A DAudioFileReaderThread.c463 SDLOSXCAGuard *guard = sReaderThread->GetGuard(sReaderThread); local
464 if (guard->Try(guard, &didLock)) {
467 guard->Unlock(guard);
/external/chromium/third_party/libevent/
H A Devent_rpcgen.py1293 guard = '_'+name.upper()+'_'
1295 return guard
1298 guard = GuardName(name)
1305 name, guard, guard)
1340 guard = GuardName(name)
1341 return '#endif /* %s */' % guard

Completed in 1284 milliseconds

123