HomeSort by relevance Sort by last modified time
    Searched refs:guard (Results 1 - 25 of 137) sorted by null

1 2 3 4 5 6

  /libcore/luni/src/main/java/java/security/
GuardedObject.java 25 * for the object with a {@code Guard}.
33 private final Guard guard; field in class:GuardedObject
37 * to the specified {@code Object} using the specified {@code Guard}.
41 * @param guard
42 * the {@code Guard} which protects the specified {@code Object},
45 public GuardedObject(Object object, Guard guard) {
47 this.guard = guard;
    [all...]
  /ndk/sources/cxx-stl/gabi++/src/
one_time_construction.cc 30 // And "3.2.3 Guard variables and the one-time construction API" in the ARM C++ ABI reference.
32 /* Note that the ARM C++ ABI defines the size of each guard variable
39 * We will treat guard variables here as 32-bit values, even on x86,
66 int guard = *gv; local
67 if ((guard & 1) != 0) {
73 // we use bit 8 to indicate that the guard value is being
76 if ((guard & 0x100) == 0) {
77 // nobody is initializing this yet, so mark the guard value
87 *gv = guard | 0x200;
96 int guard = *gv local
109 int guard = *gv; local
    [all...]
  /external/guava/guava/src/com/google/common/util/concurrent/
Monitor.java 159 * <p>This version adds some verbosity around the {@code Guard} objects, but removes that same
167 * private final Monitor.Guard valuePresent = new Monitor.Guard(monitor) {
172 * private final Monitor.Guard valueAbsent = new Monitor.Guard(monitor) {
208 * A boolean condition for which a thread may wait. A {@code Guard} is associated with a single
209 * {@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
213 * <p>If a {@code Guard} is passed into any method of a {@code Monitor} other than the one it is
219 public abstract static class Guard {
783 Guard guard = guards.get(i); local
796 Guard guard = guards.get(i); local
    [all...]
  /bionic/tests/
stack_protector_test.cpp 39 // For x86, bionic and glibc have per-thread stack guard values (all identical).
42 uint32_t guard; local
43 asm ("mov %%gs:0x14, %0": "=d" (guard));
44 return guard;
53 uint32_t guard = GetGuardFromTls(); local
55 printf("[thread %d] %%gs:0x14 = 0x%08x\n", tid, guard);
60 // Uninitialized guard. Our bug. Note this is potentially flaky; we _could_ get
62 ASSERT_NE(guard, 0U);
65 guards.insert(guard);
87 // bionic and glibc use the same guard for every thread
    [all...]
  /external/clang/test/CodeGen/
2007-09-12-PragmaPack.c 24 uint32_t guard; member in struct:__anon6269
  /libcore/luni/src/main/java/java/io/
FileInputStream.java 64 private final CloseGuard guard = CloseGuard.get(); field in class:FileInputStream
80 guard.open("close");
97 // Note that we do not call guard.open here because the
115 guard.close();
139 if (guard != null) {
140 guard.warnIfOpen();
FileOutputStream.java 64 private final CloseGuard guard = CloseGuard.get(); field in class:FileOutputStream
90 this.guard.open("close");
106 // Note that we do not call guard.open here because the
133 guard.close();
150 if (guard != null) {
151 guard.warnIfOpen();
  /libcore/luni/src/main/java/libcore/net/
RawSocket.java 57 private final CloseGuard guard = CloseGuard.get(); field in class:RawSocket
68 guard.open("close");
128 guard.close();
134 if (guard != null) {
135 guard.warnIfOpen();
  /libcore/dalvik/src/main/java/dalvik/system/
DexFile.java 37 private final CloseGuard guard = CloseGuard.get(); field in class:DexFile
80 guard.open("close");
111 guard.open("close");
172 guard.close();
259 if (guard != null) {
260 guard.warnIfOpen();
  /external/bison/lib/glthread/
lock.c 56 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.done = 1
    [all...]
  /libcore/luni/src/main/java/java/util/zip/
Inflater.java 61 private final CloseGuard guard = CloseGuard.get(); field in class:Inflater
82 guard.open("end");
94 guard.close();
107 if (guard != null) {
108 guard.warnIfOpen();
Deflater.java 161 private final CloseGuard guard = CloseGuard.get(); field in class:Deflater
198 guard.open("end");
259 guard.close();
275 if (guard != null) {
276 guard.warnIfOpen();
ZipFile.java 104 private final CloseGuard guard = CloseGuard.get(); field in class:ZipFile
149 guard.open("close");
154 if (guard != null) {
155 guard.warnIfOpen();
174 guard.close();
  /external/chromium/android/
generateAndroidForwardingHeader.pl 62 $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/libnfc-nci/halimpl/bcm2079x/adaptation/
HalAdaptation.cpp 192 SyncEventGuard guard (gOpenCompletedEvent);
210 SyncEventGuard guard (gOpenCompletedEvent);
218 SyncEventGuard guard (gPostInitCompletedEvent);
226 SyncEventGuard guard (gCloseCompletedEvent);
235 SyncEventGuard guard (gOpenCompletedEvent);
239 SyncEventGuard guard (gPostInitCompletedEvent);
243 SyncEventGuard guard (gCloseCompletedEvent);
266 SyncEventGuard guard (gCloseCompletedEvent);
280 SyncEventGuard guard (gPostInitCompletedEvent);
  /external/libvorbis/vq/
make_floor_books.pl 60 my($datafile,$range,$guard)=split(' ',$1);
77 my $command="huffbuild $datafile.tmp $range $guard";
  /packages/apps/Nfc/nci/jni/
HostAidRouter.cpp 121 SyncEventGuard guard (mRegisterEvent);
176 SyncEventGuard guard (mDeregisterEvent);
218 SyncEventGuard guard (mRegisterEvent);
265 SyncEventGuard guard (sHostAidRouter.mRegisterEvent);
278 SyncEventGuard guard (sHostAidRouter.mDeregisterEvent);
PowerSwitch.cpp 261 SyncEventGuard guard (mPowerStateEvent);
288 SyncEventGuard guard (mPowerStateEvent);
389 SyncEventGuard guard (mPowerStateEvent);
416 SyncEventGuard guard (sPowerSwitch.mPowerStateEvent);
SecureElement.cpp 195 SyncEventGuard guard (mEeRegisterEvent);
213 SyncEventGuard guard (mHciRegisterEvent);
504 SyncEventGuard guard (mEeSetModeEvent);
750 SyncEventGuard guard (mPipeListEvent);
777 SyncEventGuard guard (mAllocateGateEvent);
791 SyncEventGuard guard (mCreatePipeEvent);
805 SyncEventGuard guard (mPipeOpenedEvent);
856 SyncEventGuard guard (mRegistryEvent);
868 SyncEventGuard guard (mDeallocateGateEvent);
957 SyncEventGuard guard (mTransceiveEvent)
    [all...]
NativeNfcManager.cpp 233 SyncEventGuard guard (sNfaEnableDisablePollingEvent);
242 SyncEventGuard guard (sNfaEnableDisablePollingEvent);
251 SyncEventGuard guard (sNfaEnableDisablePollingEvent);
260 SyncEventGuard guard (sNfaEnableDisablePollingEvent);
611 SyncEventGuard guard (sNfaEnableEvent);
622 SyncEventGuard guard (sNfaDisableEvent);
633 SyncEventGuard guard (sNfaSetConfigEvent);
641 SyncEventGuard guard (sNfaGetConfigEvent);
682 SyncEventGuard guard (sNfaEnableDisablePollingEvent);
687 SyncEventGuard guard (sNfaEnableEvent)
    [all...]
  /external/valgrind/main/none/tests/ppc32/
round.c 586 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 bits *
903 int guard; local
    [all...]
  /external/valgrind/main/none/tests/ppc64/
round.c 586 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 bits *
903 int guard; local
    [all...]
  /external/stlport/src/
num_get_float.cpp 254 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 rest Actio
534 uint32_t guard = (uint32) vv.i64 & 1; local
600 uint32_t guard; local
    [all...]
  /ndk/sources/cxx-stl/stlport/src/
num_get_float.cpp 254 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 rest Actio
534 uint32_t guard = (uint32) vv.i64 & 1; local
600 uint32_t guard; local
    [all...]
  /libcore/luni/src/main/java/java/net/
PlainDatagramSocketImpl.java 45 private final CloseGuard guard = CloseGuard.get(); field in class:PlainDatagramSocketImpl
59 guard.open("close");
82 guard.close();
96 if (guard != null) {
97 guard.warnIfOpen();

Completed in 1962 milliseconds

1 2 3 4 5 6