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

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /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/mesa3d/src/amd/vulkan/
radv_entrypoints_gen.py 48 def print_guard_start(guard):
49 if guard is not None:
50 print "#ifdef {0}".format(guard)
52 def print_guard_end(guard):
53 if guard is not None:
54 print "#endif // {0}".format(guard)
77 guard = entrypoints_to_defines[fullname]
79 guard = None
80 entrypoints.append((type, shortname, params, i, hash(fullname), guard))
109 for type, name, args, num, h, guard in entrypoints
    [all...]
  /external/mesa3d/src/intel/vulkan/
anv_entrypoints_gen.py 48 def print_guard_start(guard):
49 if guard is not None:
50 print "#ifdef {0}".format(guard)
52 def print_guard_end(guard):
53 if guard is not None:
54 print "#endif // {0}".format(guard)
77 guard = entrypoints_to_defines[fullname]
79 guard = None
80 entrypoints.append((type, shortname, params, i, hash(fullname), guard))
119 for type, name, args, num, h, guard in entrypoints
    [all...]
  /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...]
  /build/make/core/
host_fuzz_test.mk 7 LOCAL_CFLAGS += -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp
  /device/google/cuttlefish_common/host/frontend/vnc_server/
blackboard.cpp 40 std::lock_guard<std::mutex> guard(m_);
53 std::lock_guard<std::mutex> guard(m_);
61 std::lock_guard<std::mutex> guard(m_);
80 std::unique_lock<std::mutex> guard(m_);
85 state.new_frame_cv.wait(guard);
98 std::unique_lock<std::mutex> guard(m_);
100 new_client_cv_.wait(guard);
106 std::lock_guard<std::mutex> guard(m_);
116 std::lock_guard<std::mutex> guard(m_);
126 std::lock_guard<std::mutex> guard(m_)
    [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/vixl/src/aarch32/
macro-assembler-aarch32.h 86 ExactAssemblyScopeWithoutPoolsCheck guard(this,
109 ExactAssemblyScopeWithoutPoolsCheck guard(this,
566 MacroEmissionCheckScope guard(this, pool_policy);
567 ITScope it_scope(this, &cond, guard);
589 MacroEmissionCheckScope guard(this, pool_policy);
590 ITScope it_scope(this, &cond, guard);
610 MacroEmissionCheckScope guard(this, pool_policy);
611 ITScope it_scope(this, &cond, guard);
632 MacroEmissionCheckScope guard(this, pool_policy);
633 ITScope it_scope(this, &cond, guard);
    [all...]
  /device/google/cuttlefish_common/common/libs/thread_safe_queue/
thread_safe_queue.h 44 std::unique_lock<std::mutex> guard(m_);
46 new_item_.wait(guard);
54 std::lock_guard<std::mutex> guard(m_);
61 std::lock_guard<std::mutex> guard(m_);
  /external/clang/test/CodeGen/
2007-09-12-PragmaPack.c 24 uint32_t guard; member in struct:__anon15768
  /external/perfetto/tools/
fix_include_guards 24 guard = re.sub(r'[^a-zA-Z0-9_-]', '_', fpath.upper()) + '_'
37 line = '#ifndef ' + guard
40 line = '#define ' + guard
44 line = '#endif // ' + guard
  /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...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/
swap.pass.cpp 128 DisableAllocationGuard guard; local
129 ((void)guard);
139 DisableAllocationGuard guard; local
140 ((void)guard);
147 DisableAllocationGuard guard; local
148 ((void)guard);
155 DisableAllocationGuard guard; local
156 ((void)guard);
164 DisableAllocationGuard guard; local
165 ((void)guard);
175 DisableAllocationGuard guard; local
186 DisableAllocationGuard guard; local
    [all...]

Completed in 1836 milliseconds

1 2 3 4 5 6 7 8 91011>>