/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | OSAllocatorPosix.cpp | 49 int protection = PROT_READ; local 51 protection |= PROT_WRITE; 53 protection |= PROT_EXEC; 83 result = mmap(result, bytes, protection, flags, fd, 0);
|
H A D | OSAllocatorWin.cpp | 34 static inline DWORD protection(bool writable, bool executable) function in namespace:WTF 43 void* result = VirtualAlloc(0, bytes, MEM_RESERVE, protection(writable, executable)); 51 void* result = VirtualAlloc(0, bytes, MEM_RESERVE | MEM_COMMIT, protection(writable, executable)); 59 void* result = VirtualAlloc(address, bytes, MEM_COMMIT, protection(writable, executable));
|
H A D | PageAllocationAligned.cpp | 43 int protection = PROT_READ; local 45 protection |= PROT_WRITE; 47 protection |= PROT_EXEC; 50 vm_map(current_task(), &address, size, alignmentMask, flags, MEMORY_OBJECT_NULL, 0, FALSE, protection, PROT_READ | PROT_WRITE | PROT_EXEC, VM_INHERIT_DEFAULT); local
|
/external/webkit/Source/WebKit2/Platform/gtk/ |
H A D | SharedMemoryGtk.cpp | 61 PassRefPtr<SharedMemory> SharedMemory::create(const Handle& handle, Protection protection) argument 72 bool SharedMemory::createHandle(Handle& handle, Protection protection) argument
|
/external/webkit/Source/WebKit2/Platform/mac/ |
H A D | SharedMemoryMac.cpp | 121 static inline vm_prot_t machProtection(SharedMemory::Protection protection) argument 123 switch (protection) { 134 PassRefPtr<SharedMemory> SharedMemory::create(const Handle& handle, Protection protection) argument 140 vm_prot_t vmProtection = machProtection(protection); 167 bool SharedMemory::createHandle(Handle& handle, Protection protection) argument 177 if (protection == ReadWrite && m_port) { 184 kern_return_t kr = mach_make_memory_entry_64(mach_task_self(), &size, address, machProtection(protection), &port, MACH_PORT_NULL);
|
/external/webkit/Source/WebKit2/Platform/win/ |
H A D | SharedMemoryWin.cpp | 133 static DWORD accessRights(SharedMemory::Protection protection) argument 135 switch (protection) { 146 PassRefPtr<SharedMemory> SharedMemory::create(const Handle& handle, Protection protection) argument 148 RefPtr<SharedMemory> memory = adopt(handle.m_handle, handle.m_size, protection); 158 PassRefPtr<SharedMemory> SharedMemory::adopt(HANDLE handle, size_t size, Protection protection) argument 163 DWORD desiredAccess = accessRights(protection); 187 bool SharedMemory::createHandle(Handle& handle, Protection protection) argument 195 if (!::DuplicateHandle(processHandle, m_handle, processHandle, &duplicatedHandle, accessRights(protection), FALSE, 0))
|
/external/webkit/Source/WebKit2/Platform/unix/ |
H A D | SharedMemoryUnix.cpp | 155 static inline int accessModeMMap(SharedMemory::Protection protection) argument 157 switch (protection) { 168 PassRefPtr<SharedMemory> SharedMemory::create(const Handle& handle, Protection protection) argument 172 void* data = mmap(0, handle.m_size, accessModeMMap(protection), MAP_SHARED, handle.m_fileDescriptor, 0); 190 static inline int accessModeFile(SharedMemory::Protection protection) argument 192 switch (protection) { 203 bool SharedMemory::createHandle(Handle& handle, Protection protection) argument 216 while ((fcntl(duplicatedHandle, F_SETFD, FD_CLOEXEC | accessModeFile(protection)) == -1)) {
|
/external/valgrind/main/coregrind/ |
H A D | pub_core_threadstate.h | 222 UWord protection; member in struct:__anon13812::__anon13813::__anon13825 244 UWord protection; member in struct:__anon13812::__anon13813::__anon13830
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 1167 // extend this protection. 1178 PeepholeProtection protection; local 1179 protection.Inst = inst; 1180 return protection; 1183 void CodeGenFunction::unprotectFromPeepholes(PeepholeProtection protection) { argument 1184 if (!protection.Inst) return; 1187 protection.Inst->eraseFromParent();
|
/external/v8/src/ |
H A D | platform-win32.cc | 905 static void* RandomizedVirtualAlloc(size_t size, int action, int protection) { argument 908 if (protection == PAGE_EXECUTE_READWRITE || protection == PAGE_NOACCESS) { 911 base = VirtualAlloc(GetRandomAddr(), size, action, protection); 916 if (base == NULL) base = VirtualAlloc(NULL, size, action, protection);
|