/external/clang/test/CodeGen/ |
H A D | 2003-11-18-CondExprLValue.c | 5 void split_large_page(unsigned long addr, pgprot_t prot) argument 7 (addr ? prot : ((pgprot_t) { 0x001 } )).pgprot;
|
/external/valgrind/main/helgrind/tests/ |
H A D | tc06_two_races.c | 9 int unprot1 = 0, unprot2 = 0, prot = 0; variable 16 prot ++; 33 prot ++;
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/ |
H A D | os_mman.h | 64 static INLINE void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, loff_t offset) argument 72 return __mmap2(addr, length, prot, flags, fd, (size_t) (offset >> 12)); 77 # define os_mmap(addr, length, prot, flags, fd, offset) mmap(addr, length, prot, flags, fd, offset)
|
/external/mesa3d/src/gallium/auxiliary/os/ |
H A D | os_mman.h | 64 static INLINE void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, loff_t offset) argument 72 return __mmap2(addr, length, prot, flags, fd, (size_t) (offset >> 12)); 77 # define os_mmap(addr, length, prot, flags, fd, offset) mmap(addr, length, prot, flags, fd, offset)
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | crazy_linker_ashmem.cpp | 44 bool AshmemRegion::SetProtectionFlags(int prot) { argument 45 return ioctl(fd_, ASHMEM_SET_PROT_MASK, prot) == 0;
|
H A D | crazy_linker_memory_mapping.h | 34 // |prot| are the desired protection bit flags. 37 bool Allocate(void* address, size_t size, Protection prot, int fd) { argument 43 map_ = ::mmap(address, size_, static_cast<int>(prot), flags, fd, 0); 54 bool SetProtection(Protection prot) { argument 55 if (!map_ || ::mprotect(map_, size_, static_cast<int>(prot)) < 0)
|
H A D | crazy_linker_proc_maps_unittest.cpp | 74 int prot; member in struct:crazy::__anon10752 86 int prot; local 90 EXPECT_EQ(kData[n].success, FindProtectionFlagsForAddress(address, &prot)); 93 EXPECT_EQ(kData[n].prot, prot);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | malloc_hook_mmap_freebsd.h | 59 void* mmap(void *start, size_t length,int prot, int flags, 69 int prot, int flags, 72 start, length, prot, flags, fd, offset); 116 extern "C" void* mmap(void *start, size_t length, int prot, int flags, 118 MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); 121 start, length, prot, flags, fd, offset, &result)) { 122 result = do_mmap(start, length, prot, flags, fd, 125 MallocHook::InvokeMmapHook(result, start, length, prot, flags, fd, offset); 146 /*static*/void* MallocHook::UnhookedMMap(void *start, size_t length, int prot, argument 150 start, length, prot, flag [all...] |
H A D | malloc_hook_mmap_linux.h | 79 int prot, int flags, 83 return (void *)syscall(SYS_mmap, start, length, prot, flags, fd, offset); 92 int prot, int flags, 110 start, length, prot, flags, fd, 130 int32 args[6] = { (int32) start, (int32) length, prot, flags, fd, 163 void* mmap64(void *start, size_t length, int prot, int flags, 166 void* mmap(void *start, size_t length,int prot, int flags, 180 extern "C" void* mmap64(void *start, size_t length, int prot, int flags, 182 MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); 185 start, length, prot, flag 248 UnhookedMMap(void *start, size_t length, int prot, int flags, int fd, off_t offset) argument [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | malloc_hook_mmap_freebsd.h | 59 void* mmap(void *start, size_t length,int prot, int flags, 69 int prot, int flags, 72 start, length, prot, flags, fd, offset); 116 extern "C" void* mmap(void *start, size_t length, int prot, int flags, 118 MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); 121 start, length, prot, flags, fd, offset, &result)) { 122 result = do_mmap(start, length, prot, flags, fd, 125 MallocHook::InvokeMmapHook(result, start, length, prot, flags, fd, offset); 146 /*static*/void* MallocHook::UnhookedMMap(void *start, size_t length, int prot, argument 150 start, length, prot, flag [all...] |
H A D | malloc_hook_mmap_linux.h | 57 int prot, int flags, 59 return sys_mmap(start, length, prot, flags, fd, offset); 68 int prot, int flags, 86 start, length, prot, flags, fd, 106 int32 args[6] = { (int32) start, (int32) length, prot, flags, fd, 139 void* mmap64(void *start, size_t length, int prot, int flags, 142 void* mmap(void *start, size_t length,int prot, int flags, 154 extern "C" void* mmap64(void *start, size_t length, int prot, int flags, 156 MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); 159 start, length, prot, flag 214 UnhookedMMap(void *start, size_t length, int prot, int flags, int fd, off_t offset) argument [all...] |
/external/compiler-rt/lib/dfsan/ |
H A D | dfsan_interceptors.cc | 19 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, argument 21 void *res = REAL(mmap)(addr, length, prot, flags, fd, offset); 27 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, argument 29 void *res = REAL(mmap64)(addr, length, prot, flags, fd, offset);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_libignore.cc | 63 uptr b, e, off, prot; local 64 while (proc_maps.Next(&b, &e, &off, module.data(), module.size(), &prot)) { 65 if ((prot & MemoryMappingLayout::kProtectionExecute) == 0)
|
/external/chromium_org/components/nacl/loader/nonsfi/ |
H A D | irt_memory.cc | 19 int prot = 0; local 24 prot |= PROT_READ; 26 prot |= PROT_WRITE; 28 prot |= PROT_EXEC; 29 return prot; 48 int IrtMMap(void** addr, size_t len, int prot, int flags, argument 50 const int host_prot = NaClProtToProt(prot); 73 int IrtMProtect(void* addr, size_t len, int prot) { argument 74 return CheckError(mprotect(addr, len, NaClProtToProt(prot)));
|
/external/clang/test/CXX/class.access/class.access.base/ |
H A D | p1.cpp | 12 protected: int prot; static int sprot; // expected-note 4 {{declared protected here}} member in class:test0::Base 20 prot++; 27 Base::prot++; member in class:test0::Test::Base 37 t->prot++; // expected-error {{protected member}} 44 t->Base::prot++; // expected-error {{protected member}} 61 protected: int prot; static int sprot; // expected-note 4 {{declared protected here}} member in class:test1::Base 69 prot++; 76 Base::prot++; member in class:test1::Test::Base 86 t->prot++; // expected-error {{protected member}} expected-error {{protected base class}} 94 t->Base::prot 112 int prot; // expected-note {{declared protected here}} \\ member in class:test2::Base 133 Base::prot++; member in class:test2::Test::Base [all...] |
/external/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachVMRegion.cpp | 55 MachVMRegion::SetProtections(mach_vm_address_t addr, mach_vm_size_t size, vm_prot_t prot) argument 66 if (prot == (m_curr_protection & VM_PROT_ALL)) 68 DNBLogThreadedIf(LOG_MEMORY_PROTECTIONS | LOG_VERBOSE, "MachVMRegion::%s: protections (%u) already sufficient for task 0x%4.4x at address 0x%8.8llx) ", __FUNCTION__, prot, m_task, (uint64_t)addr); 74 m_err = ::mach_vm_protect (m_task, addr, prot_size, 0, prot); 76 m_err.LogThreaded("::mach_vm_protect ( task = 0x%4.4x, addr = 0x%8.8llx, size = %llu, set_max = %i, prot = %u )", m_task, (uint64_t)addr, (uint64_t)prot_size, 0, prot); 80 m_err = ::mach_vm_protect (m_task, addr, prot_size, 0, prot | VM_PROT_COPY); 82 m_err.LogThreaded("::mach_vm_protect ( task = 0x%4.4x, addr = 0x%8.8llx, size = %llu, set_max = %i, prot = %u )", m_task, (uint64_t)addr, (uint64_t)prot_size, 0, prot | VM_PROT_COPY); 86 m_curr_protection = prot; [all...] |
/external/valgrind/main/coregrind/ |
H A D | pub_core_aspacemgr.h | 80 client with at least the permissions 'prot' ? To find out 82 VKI_PROT_NONE as 'prot'. Will return False if any part of the 87 // ( Addr start, SizeT len, UInt prot ); 91 the protection 'prot'. */ 93 ( Addr start, SizeT len, UInt prot ); 100 ( Addr start, SizeT len, UInt prot ); 177 ( Addr a, SizeT len, UInt prot, UInt flags, Int fd, Off64T offset ); 183 extern Bool VG_(am_notify_client_shmat)( Addr a, SizeT len, UInt prot ); 194 extern Bool VG_(am_notify_mprotect)( Addr start, SizeT len, UInt prot ); 210 ( Addr start, SizeT length, UInt prot, UIn 376 UInt prot; // Not used for removed segs. member in struct:__anon31809 [all...] |
/external/lldb/source/Core/ |
H A D | DataBufferMemoryMap.cpp | 194 int prot = PROT_READ; local 196 prot |= PROT_WRITE; 202 m_mmap_addr = (uint8_t *)::mmap(NULL, length, prot, flags, fd, offset); 214 m_mmap_addr = (uint8_t *)::mmap(NULL, length + page_offset, prot, flags, fd, offset - page_offset);
|
/external/oprofile/module/x86/ |
H A D | op_fixmap.c | 43 pgprot_t prot; local 51 prot = PAGE_KERNEL; 53 pgprot_val(prot) |= _PAGE_PCD; 55 pgprot_val(prot) |= _PAGE_GLOBAL; 56 set_pte(pte, mk_pte_phys(phys, prot));
|
/external/valgrind/main/memcheck/tests/ |
H A D | addressable.c | 15 static char *mm(char *addr, int size, int prot) argument 23 ret = mmap(addr, size, prot, flags, -1, 0);
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | gas_serv.h | 51 int prot; /* whether Protected Dual of Public Action frame is used */ member in struct:gas_dialog_info
|
/external/wpa_supplicant_8/src/ap/ |
H A D | gas_serv.h | 51 int prot; /* whether Protected Dual of Public Action frame is used */ member in struct:gas_dialog_info
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | gas_serv.h | 51 int prot; /* whether Protected Dual of Public Action frame is used */ member in struct:gas_dialog_info
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
H A D | kernel_wrap_dummy.cc | 40 int prot, 38 _real_mmap(void** addr, size_t length, int prot, int flags, int fd, off_t offset) argument
|
/external/chromium_org/ppapi/tests/ |
H A D | test_file_mapping.cc | 77 std::string TestFileMapping::MapAndCheckResults(uint32_t prot, argument 115 prot, 124 if (prot & PP_FILEMAPPROTECTION_READ) { 146 if (prot & PP_FILEMAPPROTECTION_WRITE) {
|