Home
last modified time | relevance | path

Searched refs:Protect (Results 1 – 25 of 103) sorted by relevance

12345

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DMemory.inc107 int Protect = getPosixProtectionFlags(PFlags);
110 Protect |= PROT_MPROTECT(PROT_READ | PROT_WRITE | PROT_EXEC);
123 void *Addr = ::mmap(reinterpret_cast<void *>(Start), PageSize*NumPages, Protect,
182 int Protect = getPosixProtectionFlags(Flags);
192 if (InvalidateCache && !(Protect & PROT_READ)) {
193 int Result = ::mprotect((void *)Start, End - Start, Protect | PROT_READ);
202 int Result = ::mprotect((void *)Start, End - Start, Protect);
/external/lua/src/
Dlvm.c997 Protect(cond = other(L, s2v(ra), rb)); \
1017 Protect(cond = luaT_callorderiTM(L, s2v(ra), im, inv, isf, tm)); \
1089 #define Protect(exp) (savestate(L,ci), (exp), updatetrap(ci)) macro
1223 Protect(luaV_finishget(L, upval, rc, ra, slot)); in luaV_execute()
1237 Protect(luaV_finishget(L, rb, rc, ra, slot)); in luaV_execute()
1250 Protect(luaV_finishget(L, rb, &key, ra, slot)); in luaV_execute()
1263 Protect(luaV_finishget(L, rb, rc, ra, slot)); in luaV_execute()
1276 Protect(luaV_finishset(L, upval, rb, rc, slot)); in luaV_execute()
1290 Protect(luaV_finishset(L, s2v(ra), rb, rc, slot)); in luaV_execute()
1303 Protect(luaV_finishset(L, s2v(ra), &key, rc, slot)); in luaV_execute()
[all …]
/external/llvm/lib/Support/Windows/
DMemory.inc101 DWORD Protect = getWindowsProtectionFlags(Flags);
105 MEM_RESERVE | MEM_COMMIT, Protect);
143 DWORD Protect = getWindowsProtectionFlags(Flags);
146 if (!VirtualProtect(M.Address, M.Size, Protect, &OldFlags))
188 return info.Protect;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DMemory.inc132 DWORD Protect = getWindowsProtectionFlags(Flags);
136 AllocSize, AllocType, Protect);
175 DWORD Protect = getWindowsProtectionFlags(Flags);
178 if (!VirtualProtect(M.Address, M.AllocatedSize, Protect, &OldFlags))
/external/google-breakpad/src/client/mac/handler/
Dprotected_memory_allocator.h73 kern_return_t Protect();
Dprotected_memory_allocator.cc73 kern_return_t ProtectedMemoryAllocator::Protect() { in Protect() function in ProtectedMemoryAllocator
Dexception_handler.cc549 gBreakpadAllocator->Protect(); in WaitForMessage()
594 gBreakpadAllocator->Protect(); in WaitForMessage()
631 gBreakpadAllocator->Protect(); in SignalHandler()
/external/cronet/base/win/
Dpatch_util.cc31 memory_info.Protect; in ModifyCode()
/external/compiler-rt/lib/builtins/
Denable_execute_stack.c54 VirtualProtect (mbi.BaseAddress, mbi.RegionSize, PAGE_EXECUTE_READWRITE, &mbi.Protect); in __enable_execute_stack()
/external/llvm/lib/Support/Unix/
DMemory.inc111 int Protect = getPosixProtectionFlags(PFlags);
120 Protect, MMFlags, fd, 0);
162 int Protect = getPosixProtectionFlags(Flags);
164 …t((void*)((uintptr_t)M.Address & ~(PageSize-1)), PageSize*((M.Size+PageSize-1)/PageSize), Protect);
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DMemory.inc103 int Protect = getPosixProtectionFlags(PFlags);
112 Protect, MMFlags, fd, 0);
154 int Protect = getPosixProtectionFlags(Flags);
158 int Result = ::mprotect((void *)Start, End - Start, Protect);
/external/compiler-rt/test/builtins/Unit/
Denable_execute_stack_test.c27 if (!VirtualProtect(b.BaseAddress, b.RegionSize, PAGE_EXECUTE_READWRITE, &b.Protect)) in __enable_execute_stack()
Dclear_cache_test.c66 if (!VirtualProtect(b.BaseAddress, b.RegionSize, PAGE_EXECUTE_READWRITE, &b.Protect)) in main()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_win.cc249 return mbi.Protect == PAGE_NOACCESS && in MemoryRangeIsAvailable()
801 if (info.Protect == 0 || info.Protect == PAGE_NOACCESS || in IsAccessibleMemoryRange()
802 info.Protect == PAGE_EXECUTE) in IsAccessibleMemoryRange()
/external/pdfium/third_party/lcms/
DREADME.pdfium21 0033-opt-integer-overflow.patch: Protect against integer overflow.
/external/sg3_utils/
DREADME.iscsi27 SCCS=0 ACC=0 TPGS=0 3PC=0 Protect=0 BQue=0
/external/kmod/
DTODO10 * Protect index against OOM
/external/google-breakpad/src/client/ios/
Dexception_handler_no_mach.cc195 gBreakpadAllocator->Protect(); in SignalHandler()
/external/cronet/base/debug/
Dhandle_hooks_win.cc97 memory_info.Protect; in ChangeProtection()
/external/cronet/base/profiler/
Dsuspendable_thread_delegate_win.cc105 return result != 0 && (memory_info.Protect & PAGE_GUARD); in PointsToGuardPage()
/external/expat/expat/cmake/
Dexpat-config.cmake.in31 # Protect against multiple inclusion
/external/google-breakpad/src/client/mac/Framework/
DBreakpad.mm115 allocator_->Protect();
699 gBreakpadAllocator->Protect();
823 gMasterAllocator->Protect();
824 gKeyValueAllocator->Protect();
825 gBreakpadAllocator->Protect();
994 gBreakpadAllocator->Protect();
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DMinidumpYAML.cpp121 IO &IO, MemoryProtection &Protect) { in bitset() argument
123 IO.bitSetCase(Protect, #NATIVENAME, MemoryProtection::NAME); in bitset()
253 mapOptionalAs<MemoryProtection>(IO, "Protect", Info.Protect, in mapping()
/external/expat/expat/cmake/autotools/
Dexpat.cmake18 # Protect against multiple inclusion, which would fail when already imported targets are added once…
/external/python/cpython2/Doc/library/
Dbastion.rst39 Protect the object *object*, returning a bastion for the object. Any attempt to

12345