/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/ |
D | Memory.inc | 107 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/llvm-project/llvm/lib/Support/Unix/ |
D | Memory.inc | 108 int Protect = getPosixProtectionFlags(PFlags); 111 Protect |= PROT_MPROTECT(PROT_READ | PROT_WRITE | PROT_EXEC); 124 void *Addr = ::mmap(reinterpret_cast<void *>(Start), PageSize*NumPages, Protect, 183 int Protect = getPosixProtectionFlags(Flags); 193 if (InvalidateCache && !(Protect & PROT_READ)) { 194 int Result = ::mprotect((void *)Start, End - Start, Protect | PROT_READ); 203 int Result = ::mprotect((void *)Start, End - Start, Protect);
|
/external/lua/src/ |
D | lvm.c | 997 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/ |
D | Memory.inc | 101 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/llvm-project/llvm/lib/Support/Windows/ |
D | Memory.inc | 132 DWORD Protect = getWindowsProtectionFlags(Flags); 136 AllocSize, AllocType, Protect); 175 DWORD Protect = getWindowsProtectionFlags(Flags); 178 if (!VirtualProtect(M.Address, M.AllocatedSize, Protect, &OldFlags))
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/ |
D | Memory.inc | 132 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/ |
D | protected_memory_allocator.h | 73 kern_return_t Protect();
|
D | protected_memory_allocator.cc | 73 kern_return_t ProtectedMemoryAllocator::Protect() { in Protect() function in ProtectedMemoryAllocator
|
D | exception_handler.cc | 549 gBreakpadAllocator->Protect(); in WaitForMessage() 594 gBreakpadAllocator->Protect(); in WaitForMessage() 631 gBreakpadAllocator->Protect(); in SignalHandler()
|
/external/llvm-project/compiler-rt/lib/builtins/ |
D | enable_execute_stack.c | 48 &mbi.Protect); in __enable_execute_stack()
|
/external/compiler-rt/lib/builtins/ |
D | enable_execute_stack.c | 54 VirtualProtect (mbi.BaseAddress, mbi.RegionSize, PAGE_EXECUTE_READWRITE, &mbi.Protect); in __enable_execute_stack()
|
/external/compiler-rt/test/builtins/Unit/ |
D | enable_execute_stack_test.c | 27 if (!VirtualProtect(b.BaseAddress, b.RegionSize, PAGE_EXECUTE_READWRITE, &b.Protect)) in __enable_execute_stack()
|
D | clear_cache_test.c | 66 if (!VirtualProtect(b.BaseAddress, b.RegionSize, PAGE_EXECUTE_READWRITE, &b.Protect)) in main()
|
/external/llvm/lib/Support/Unix/ |
D | Memory.inc | 111 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/ |
D | Memory.inc | 103 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/lib/sanitizer_common/ |
D | sanitizer_win.cc | 249 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/llvm-project/lldb/source/Plugins/Process/Windows/Common/ |
D | ProcessDebugger.cpp | 432 const bool readable = IsPageReadable(mem_info.Protect); in GetMemoryRegionInfo() 433 const bool executable = IsPageExecutable(mem_info.Protect); in GetMemoryRegionInfo() 434 const bool writable = IsPageWritable(mem_info.Protect); in GetMemoryRegionInfo()
|
/external/pdfium/third_party/lcms/ |
D | README.pdfium | 28 0033-opt-integer-overflow.patch: Protect against integer overflow.
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_win.cpp | 392 return mbi.Protect == PAGE_NOACCESS && in MemoryRangeIsAvailable() 926 if (info.Protect == 0 || info.Protect == PAGE_NOACCESS || in IsAccessibleMemoryRange() 927 info.Protect == PAGE_EXECUTE) in IsAccessibleMemoryRange()
|
/external/kmod/ |
D | TODO | 10 * Protect index against OOM
|
/external/expat/cmake/ |
D | expat-config.cmake.in | 31 # Protect against multiple inclusion
|
/external/google-breakpad/src/client/ios/ |
D | exception_handler_no_mach.cc | 195 gBreakpadAllocator->Protect(); in SignalHandler()
|
/external/expat/cmake/autotools/ |
D | expat.cmake | 15 # Protect against multiple inclusion, which would fail when already imported targets are added once…
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
D | MinidumpYAML.cpp | 121 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/llvm-project/llvm/lib/ObjectYAML/ |
D | MinidumpYAML.cpp | 121 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()
|