/external/valgrind/drd/ |
drd_libstdcxx_intercepts.c | 46 int __cxa_guard_acquire(void* guard); 47 void __cxa_guard_release(void* guard) __attribute__((__nothrow__)); 48 void __cxa_guard_abort(void* guard) __attribute__((__nothrow__)); 69 int __cxa_guard_acquire_intercept(void *guard) 75 guard, mutex_type_cxa_guard, 0, 0, 0); 76 CALL_FN_W_W(ret, fn, guard); 78 guard, 1, 0, 0, 0); 81 guard, mutex_type_cxa_guard, 0, 0, 0); 83 guard, 0, 0, 0, 0); 89 (void *guard), (guard)) [all...] |
/external/valgrind/none/tests/linux/ |
pthread-stack.stderr.exp | 1 ... doing bad things till guard page
|
/external/valgrind/none/tests/solaris/ |
pthread-stack.stderr.exp | 1 ... doing bad things till guard page
|
/libcore/ojluni/src/main/java/java/security/ |
GuardedObject.java | 32 * <p>A GuardedObject encapsulates a target object and a Guard object, 34 * only if the Guard object allows it. 38 * <code>checkGuard</code> method on the Guard object that is 42 * @see Guard 54 private Guard guard; // the guard field in class:GuardedObject 57 * Constructs a GuardedObject using the specified object and guard. 58 * If the Guard object is null, then no restrictions will 63 * @param guard the Guard object that guards access to the object [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/ |
EnterprisePolicyGuardTest.java | 99 EnterprisePolicyGuard guard = new EnterprisePolicyGuardTestable(getContext(), true); local 100 checkDirectorySupport(guard, URI_PHONE_LOOKUP, true); 101 checkDirectorySupport(guard, URI_EMAILS_LOOKUP, true); 102 checkDirectorySupport(guard, URI_CONTACTS_FILTER, true); 103 checkDirectorySupport(guard, URI_PHONES_FILTER, true); 104 checkDirectorySupport(guard, URI_CALLABLES_FILTER, true); 105 checkDirectorySupport(guard, URI_EMAILS_FILTER, true); 106 checkDirectorySupport(guard, URI_DIRECTORY_FILE, true); 107 checkDirectorySupport(guard, URI_DIRECTORIES, false); 108 checkDirectorySupport(guard, URI_DIRECTORIES_ID, false) 117 EnterprisePolicyGuard guard; local 187 EnterprisePolicyGuard guard = new EnterprisePolicyGuardTestable(context, false); local [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 | 156 * <p>This version adds some verbosity around the {@code Guard} objects, but removes that same 164 * private final Monitor.Guard valuePresent = new Monitor.Guard(monitor) { 169 * private final Monitor.Guard valueAbsent = new Monitor.Guard(monitor) { 206 // TODO(user): Change API to make it impossible to use a Guard with the "wrong" monitor, 209 // guard.lock(); 210 // try { /* monitor locked and guard satisfied here */ } 211 // finally { guard.unlock(); } 222 // guard.enter() paired with monitor.leave()? That might ge [all...] |
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
signal_segv_handler.cc | 24 void *guard; variable 27 mprotect(guard, page_size, PROT_READ | PROT_WRITE); 38 guard = mmap(0, 3 * page_size, PROT_NONE, MAP_ANON | MAP_PRIVATE, -1, 0); 39 guard = (char*)guard + page_size; // work around a kernel bug 41 mprotect(guard, page_size, PROT_NONE); 42 *(int*)guard = 1;
|
/external/compiler-rt/lib/safestack/ |
safestack.cc | 79 // protector pass to store the stack guard (see getStackCookieLocation() 95 static inline void *unsafe_stack_alloc(size_t size, size_t guard) { 96 CHECK_GE(size + guard, size); 97 void *addr = MmapOrDie(size + guard, "unsafe_stack_alloc"); 98 MprotectNoAccess((uptr)addr, (uptr)guard); 99 return (char *)addr + guard; 102 static inline void unsafe_stack_setup(void *start, size_t size, size_t guard) { 104 CHECK_GE((char *)start + guard, (char *)start); 111 unsafe_stack_guard = guard; 176 size_t guard = 0 local 214 size_t guard = 4096; local [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
MonitorTestCase.java | 35 public class TestGuard extends Monitor.Guard { 142 TestGuard guard = new TestGuard(true); local 143 thread1.callAndAssertReturns(enterWhen(), guard); local 147 TestGuard guard = new TestGuard(false); local 148 thread1.callAndAssertWaits(enterWhen(), guard); local 150 guard.setSatisfied(true); 156 TestGuard guard = new TestGuard(true); local 158 thread1.callAndAssertBlocks(enterWhen(), guard); local 164 TestGuard guard = new TestGuard(true); local 165 thread1.callAndAssertReturns(true, enterIf(), guard); 170 TestGuard guard = new TestGuard(false); local 176 TestGuard guard = new TestGuard(true); local 178 thread1.callAndAssertBlocks(enterIf(), guard); local 184 TestGuard guard = new TestGuard(true); local 190 TestGuard guard = new TestGuard(false); local 196 TestGuard guard = new TestGuard(true); local 202 TestGuard guard = new TestGuard(true); local 204 thread1.callAndAssertReturns(waitFor(), guard); local 208 TestGuard guard = new TestGuard(false); local 210 thread1.callAndAssertWaits(waitFor(), guard); local 218 TestGuard guard = new TestGuard(true); local [all...] |
/external/v8/src/libplatform/ |
task-queue.cc | 16 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_);
|
/packages/apps/Camera2/src/com/android/camera/app/ |
CameraApp.java | 60 Profile guard = Profilers.instance().guard("CameraApp onCreate()"); local 65 guard.mark("initializeTimeOfFirstRun"); 68 guard.mark("UsageStatistics.initialize"); 71 guard.stop("clearNotifications");
|
/external/clang/test/CodeGen/ |
2007-09-12-PragmaPack.c | 24 uint32_t guard; member in struct:__anon8027
|
/bionic/tests/ |
stack_protector_test.cpp | 44 void* guard = __get_tls()[TLS_SLOT_STACK_GUARD]; local 46 printf("[thread %d] TLS stack guard = %p\n", tid, guard); 51 // Uninitialized guard. Our bug. Note this is potentially flaky; we _could_ 53 ASSERT_NE(guard, nullptr); 57 ASSERT_EQ(__stack_chk_guard, reinterpret_cast<uintptr_t>(guard)); 61 guards.insert(guard); 88 // Both bionic and glibc use the same guard for every thread.
|
/external/vulkan-validation-layers/demos/smoke/ |
generate-dispatch-table | 77 def __init__(self, name, version, guard=None, commands=[]): 80 self.guard = guard 88 lines.append("Extension(name=%s, version=%s, guard=%s, commands=[" % 89 (repr(self.name), repr(self.version), repr(self.guard))) 99 vk_core = Extension(name='VK_core', version=0, guard=None, commands=[ 239 vk_khr_surface = Extension(name='VK_KHR_surface', version=25, guard=None, commands=[ 247 vk_khr_swapchain = Extension(name='VK_KHR_swapchain', version=67, guard=None, commands=[ 255 vk_khr_display = Extension(name='VK_KHR_display', version=21, guard=None, commands=[ 265 vk_khr_display_swapchain = Extension(name='VK_KHR_display_swapchain', version=9, guard=None, commands= [all...] |
/external/vixl/src/vixl/a64/ |
macro-assembler-a64.h | 932 SingleEmissionCheckScope guard(this); 938 SingleEmissionCheckScope guard(this); 945 SingleEmissionCheckScope guard(this) [all...] |
/system/update_engine/include/ |
update_includes.sh | 56 local guard=$(realpath "${MY_DIR}/../.." | tr '[:lower:]/ ' '[:upper:]__') 58 sed "s,___CHROMEOS_DBUS_BINDING__${guard},___CHROMEOS_DBUS_BINDING__," \
|
/external/v8/src/ |
locked-queue-inl.h | 49 base::LockGuard<base::Mutex> guard(&tail_mutex_); 60 base::LockGuard<base::Mutex> guard(&head_mutex_); 74 base::LockGuard<base::Mutex> guard(&head_mutex_); 81 base::LockGuard<base::Mutex> guard(&head_mutex_);
|
/frameworks/base/rs/java/android/renderscript/ |
BaseObj.java | 73 final CloseGuard guard = CloseGuard.get(); field in class:BaseObj 124 guard.close(); 140 if (guard != null) { 141 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...] |
/external/dbus-binding-generator/chromeos-dbus-bindings/ |
header_generator.cc | 25 string guard = base::StringPrintf("____chromeos_dbus_binding__%s", local 27 for (auto& c : guard) { 34 return guard;
|
/libcore/ojluni/src/main/java/java/io/ |
FileOutputStream.java | 83 private final CloseGuard guard = CloseGuard.get(); field in class:FileOutputStream 222 guard.open("close"); 344 guard.close(); 411 if (guard != null) { 412 guard.warnIfOpen();
|
/libcore/ojluni/src/main/java/java/util/zip/ |
Inflater.java | 87 private final CloseGuard guard = CloseGuard.get(); field in class:Inflater 104 guard.open("end"); 371 guard.close(); 386 if (guard != null) { 387 guard.warnIfOpen();
|
/packages/apps/Camera2/src/com/android/camera/stats/profiler/ |
Profilers.java | 111 public GuardingProfiler guard() { method in class:Profilers 115 public Profile guard(String name) { method in class:Profilers 116 return guard().create(name).start(); 119 public Profile guard(String name, int durationMillis) { method in class:Profilers 120 return guard().create(name, durationMillis).start();
|
/external/libcxxabi/src/ |
cxa_guard.cpp | 118 uint64_t guard; member in union:__cxxabiv1::__anon15435::__anon15436 130 uint64_t guard; member in union:__cxxabiv1::__anon15435::__anon15437 134 x = f.guard; 143 uint32_t guard; member in union:__cxxabiv1::__anon15435::__anon15438 155 uint32_t guard; member in union:__cxxabiv1::__anon15435::__anon15439 159 x = f.guard;
|