/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:__anon16397
|
/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();
|
/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 | 155 private final CloseGuard guard = CloseGuard.get(); field in class:Deflater 192 guard.open("end"); 253 guard.close(); 269 if (guard != null) { 270 guard.warnIfOpen();
|
/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";
|
/bionic/libc/bionic/ |
malloc_debug_leak.cpp | 70 #define GUARD 0x48151642 79 uint32_t guard; member in struct:AllocationEntry 286 header->guard = GUARD; 300 // check the guard to make sure it is valid 303 if (header->guard != GUARD) { 305 if (header->guard == MEMALIGN_GUARD) { 312 if (header->guard == GUARD || is_valid_entry(header->entry)) [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
DexFile.java | 39 private final CloseGuard guard = CloseGuard.get(); field in class:DexFile 82 guard.open("close"); 113 guard.open("close"); 175 guard.close(); 281 if (guard != null) { 282 guard.warnIfOpen();
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
HalAdaptation.cpp | 205 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/libvorbis/vq/ |
make_floor_books.pl | 60 my($datafile,$range,$guard)=split(' ',$1); 77 my $command="huffbuild $datafile.tmp $range $guard";
|
/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/chromium_org/chrome/browser/ui/android/ |
ssl_client_certificate_request.cc | 54 base::ScopedClosureRunner guard(post_task_closure); 119 ignore_result(guard.Release()); 157 base::ScopedClosureRunner guard(null_closure); 191 ignore_result(guard.Release());
|
/external/chromium_org/content/browser/renderer_host/media/ |
audio_mirroring_manager.cc | 50 ReentrancyGuard guard; local 77 ReentrancyGuard guard; local 99 ReentrancyGuard guard; local 141 ReentrancyGuard guard; local
|
video_capture_device_impl.cc | 68 base::AutoLock guard(lock_); 133 base::AutoLock guard(lock_); 156 base::AutoLock guard(lock_); 161 base::AutoLock guard(lock_); 171 base::AutoLock guard(lock_);
|
/packages/apps/Nfc/nci/jni/ |
SecureElement.cpp | 209 SyncEventGuard guard (mHciRegisterEvent); 492 SyncEventGuard guard (mEeSetModeEvent); 738 SyncEventGuard guard (mPipeListEvent); 765 SyncEventGuard guard (mAllocateGateEvent); 779 SyncEventGuard guard (mCreatePipeEvent); 793 SyncEventGuard guard (mPipeOpenedEvent); 844 SyncEventGuard guard (mRegistryEvent); 856 SyncEventGuard guard (mDeallocateGateEvent); 945 SyncEventGuard guard (mTransceiveEvent); 996 SyncEventGuard guard (sSecElem.mEeSetModeEvent) [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...] |
/external/chromium_org/build/util/ |
lastchange.py | 173 Returns the header #define guard for the given file path. 175 relevant part of the guard. If there is no "src/", then the entire path 180 guard = path[src_index + 4:] 182 guard = path 183 guard = guard.upper() 184 return guard.replace('/', '_').replace('.', '_').replace('\\', '_') + '_'
|