/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...] |
/device/google/contexthub/firmware/lib/libc/ |
cxa.cpp | 25 uint8_t *guard = reinterpret_cast<uint8_t*>(_guard); local 26 return guard[0] ? 0 : 1; 32 uint8_t *guard = reinterpret_cast<uint8_t*>(_guard); local 33 guard[0] = 1; 39 uint8_t *guard = reinterpret_cast<uint8_t*>(_guard); local 40 guard[0] = 0;
|
/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} 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...] |
/prebuilts/ndk/r11/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...] |
/prebuilts/ndk/r13/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, 74 int guard = *gv; local 75 if ((guard & 1) != 0) { 81 // we use bit 8 to indicate that the guard value is being 84 if ((guard & 0x100) == 0) { 85 // nobody is initializing this yet, so mark the guard value 95 *gv = guard | 0x200; 104 int guard = *gv local 117 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 | 18 base::LockGuard<base::Mutex> guard(&lock_); 25 base::LockGuard<base::Mutex> guard(&lock_); 35 base::LockGuard<base::Mutex> guard(&lock_); 52 base::LockGuard<base::Mutex> guard(&lock_); 61 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");
|
/frameworks/av/media/libaudiohal/ |
HalDeathHandlerHidl.cpp | 40 std::lock_guard<std::mutex> guard(mHandlersLock); 45 std::lock_guard<std::mutex> guard(mHandlersLock); 52 std::lock_guard<std::mutex> guard(mHandlersLock);
|
/external/clang/test/CodeGen/ |
2007-09-12-PragmaPack.c | 24 uint32_t guard; member in struct:__anon14682
|
/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.py | 72 def __init__(self, name, version, guard=None, commands=[]): 75 self.guard = guard 83 lines.append("Extension(name=%s, version=%s, guard=%s, commands=[" % 84 (repr(self.name), repr(self.version), repr(self.guard))) 94 vk_core = Extension(name='VK_core', version=0, guard=None, commands=[ 233 vk_khr_surface = Extension(name='VK_KHR_surface', version=25, guard=None, commands=[ 241 vk_khr_swapchain = Extension(name='VK_KHR_swapchain', version=67, guard=None, commands=[ 249 vk_khr_display = Extension(name='VK_KHR_display', version=21, guard=None, commands=[ 259 vk_khr_display_swapchain = Extension(name='VK_KHR_display_swapchain', version=9, guard=None, commands= [all...] |
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/ |
swap.pass.cpp | 127 DisableAllocationGuard guard; local 128 ((void)guard); 138 DisableAllocationGuard guard; local 139 ((void)guard); 146 DisableAllocationGuard guard; local 147 ((void)guard); 154 DisableAllocationGuard guard; local 155 ((void)guard); 163 DisableAllocationGuard guard; local 164 ((void)guard); 174 DisableAllocationGuard guard; local 185 DisableAllocationGuard guard; local [all...] |
/external/vixl/src/aarch64/ |
macro-assembler-aarch64.h | [all...] |
/device/linaro/hikey/bluetooth/ |
async_fd_watcher.cc | 41 std::unique_lock<std::mutex> guard(internal_mutex_); 54 std::unique_lock<std::mutex> guard(timeout_mutex_); 94 std::unique_lock<std::mutex> guard(internal_mutex_); 99 std::unique_lock<std::mutex> guard(timeout_mutex_); 145 std::unique_lock<std::mutex> guard(timeout_mutex_); 162 std::unique_lock<std::mutex> guard(internal_mutex_);
|
/hardware/interfaces/bluetooth/1.0/default/ |
async_fd_watcher.cc | 46 std::unique_lock<std::mutex> guard(internal_mutex_); 59 std::unique_lock<std::mutex> guard(timeout_mutex_); 99 std::unique_lock<std::mutex> guard(internal_mutex_); 104 std::unique_lock<std::mutex> guard(timeout_mutex_); 158 std::unique_lock<std::mutex> guard(timeout_mutex_); 177 std::unique_lock<std::mutex> guard(internal_mutex_);
|
/external/v8/src/ |
cancelable-task.cc | 33 base::LockGuard<base::Mutex> guard(&mutex_); 44 base::LockGuard<base::Mutex> guard(&mutex_); 53 base::LockGuard<base::Mutex> guard(&mutex_); 75 base::LockGuard<base::Mutex> guard(&mutex_);
|
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();
|