/external/clang/test/CXX/class.access/class.access.base/ |
D | p1.cpp | 12 protected: int prot; static int sprot; // expected-note 4 {{declared protected here}} member in test0::Base 20 prot++; in test() 27 Base::prot++; in test() 37 t->prot++; // expected-error {{protected member}} in test() 44 t->Base::prot++; // expected-error {{protected member}} in test() 61 protected: int prot; static int sprot; // expected-note 4 {{declared protected here}} member in test1::Base 69 prot++; in test() 76 Base::prot++; in test() 86 t->prot++; // expected-error {{protected member}} expected-error {{protected base class}} in test() 94 … t->Base::prot++; // expected-error 2 {{protected member}} expected-error {{protected base class}} in test() [all …]
|
/external/valgrind/coregrind/ |
D | pub_core_aspacemgr.h | 88 ( Addr start, SizeT len, UInt prot ); 95 ( Addr start, SizeT len, UInt prot ); 173 ( Addr a, SizeT len, UInt prot, UInt flags, Int fd, Off64T offset ); 179 extern Bool VG_(am_notify_client_shmat)( Addr a, SizeT len, UInt prot ); 190 extern Bool VG_(am_notify_mprotect)( Addr start, SizeT len, UInt prot ); 206 ( Addr start, SizeT length, UInt prot, UInt flags, Int fd, Off64T offset); 220 ( Addr start, SizeT length, UInt prot, Int fd, Off64T offset ); 222 ( Addr start, SizeT length, UInt prot, UInt flags, Int fd, Off64T offset ); 224 ( Addr start, SizeT length, UInt prot, Int fd, 227 ( Addr start, SizeT length, UInt prot, UInt flags, Int fd, [all …]
|
/external/llvm/lib/Support/Windows/ |
D | Memory.inc | 208 DWORD prot = getProtection(Addr); 209 if (!prot) 212 if (prot == PAGE_EXECUTE || prot == PAGE_EXECUTE_READ) { 213 prot = PAGE_EXECUTE_READWRITE; 214 } else if (prot == PAGE_NOACCESS || prot == PAGE_READONLY) { 215 prot = PAGE_READWRITE; 220 return ::VirtualProtect(const_cast<LPVOID>(Addr), Size, prot, &oldProt) 225 DWORD prot = getProtection(Addr); 226 if (!prot) 229 if (prot == PAGE_NOACCESS) { [all …]
|
/external/valgrind/coregrind/m_aspacemgr/ |
D | aspacemgr-linux.c | 350 void (*record_mapping)( Addr addr, SizeT len, UInt prot, 780 static void sync_check_mapping_callback ( Addr addr, SizeT len, UInt prot, in sync_check_mapping_callback() argument 888 if (sloppyXcheck && (prot & VKI_PROT_EXEC) != 0) { in sync_check_mapping_callback() 892 if (sloppyRcheck && (prot & (VKI_PROT_EXEC | VKI_PROT_READ)) == in sync_check_mapping_callback() 898 && seg_prot == prot in sync_check_mapping_callback() 921 prot & VKI_PROT_READ ? 'r' : '-', in sync_check_mapping_callback() 922 prot & VKI_PROT_WRITE ? 'w' : '-', in sync_check_mapping_callback() 923 prot & VKI_PROT_EXEC ? 'x' : '-', in sync_check_mapping_callback() 1203 Bool is_valid_for( UInt kinds, Addr start, SizeT len, UInt prot ) in is_valid_for() argument 1213 needR = toBool(prot & VKI_PROT_READ); in is_valid_for() [all …]
|
D | aspacemgr-common.c | 143 SysRes VG_(am_do_mmap_NO_NOTIFY)( Addr start, SizeT length, UInt prot, in VG_() 151 prot, flags, fd, offset); in VG_() 157 prot, flags, fd, offset / 4096); in VG_() 164 prot, flags, fd, offset); in VG_() 170 prot, flags, fd, offset & 0xffffffff, offset >> 32); in VG_() 176 prot, flags, (UInt)fd, offset); in VG_() 181 res = VG_(do_syscall7)(__NR_mmap64, (UWord)start, length, prot, flags, in VG_() 187 res = VG_(do_syscall6)(__NR_mmap, (UWord)start, length, prot, flags, in VG_() 196 SysRes local_do_mprotect_NO_NOTIFY(Addr start, SizeT length, UInt prot) in local_do_mprotect_NO_NOTIFY() argument 198 return VG_(do_syscall3)(__NR_mprotect, (UWord)start, length, prot ); in local_do_mprotect_NO_NOTIFY()
|
/external/tcpdump/ |
D | print-gre.c | 114 uint16_t flags, prot; in gre_print_0() local 126 prot = EXTRACT_16BITS(bp); in gre_print_0() 189 tok2str(ethertype_values,"unknown",prot), in gre_print_0() 190 prot)); in gre_print_0() 199 switch (prot) { in gre_print_0() 222 ND_PRINT((ndo, "gre-proto-0x%x", prot)); in gre_print_0() 234 uint16_t flags, prot; in gre_print_1() local 246 prot = EXTRACT_16BITS(bp); in gre_print_1() 283 tok2str(ethertype_values,"unknown",prot), in gre_print_1() 284 prot)); in gre_print_1() [all …]
|
D | print-geneve.c | 137 uint16_t prot; in geneve_print() local 160 prot = EXTRACT_16BITS(bp); in geneve_print() 181 tok2str(ethertype_values, "unknown", prot), prot)); in geneve_print() 212 if (ethertype_print(ndo, prot, bp, len, len) == 0) { in geneve_print() 213 if (prot == ETHERTYPE_TEB) in geneve_print() 216 ND_PRINT((ndo, "geneve-proto-0x%x", prot)); in geneve_print()
|
/external/lldb/tools/debugserver/source/MacOSX/ |
D | MachVMRegion.cpp | 55 MachVMRegion::SetProtections(mach_vm_address_t addr, mach_vm_size_t size, vm_prot_t prot) in SetProtections() argument 66 if (prot == (m_curr_protection & VM_PROT_ALL)) in SetProtections() 68 …lready sufficient for task 0x%4.4x at address 0x%8.8llx) ", __FUNCTION__, prot, m_task, (uint64_t)… in SetProtections() 74 m_err = ::mach_vm_protect (m_task, addr, prot_size, 0, prot); in SetProtections() 76 …lx, size = %llu, set_max = %i, prot = %u )", m_task, (uint64_t)addr, (uint64_t)prot_size, 0, prot); in SetProtections() 80 m_err = ::mach_vm_protect (m_task, addr, prot_size, 0, prot | VM_PROT_COPY); in SetProtections() 82 …, set_max = %i, prot = %u )", m_task, (uint64_t)addr, (uint64_t)prot_size, 0, prot | VM_PROT_COPY); in SetProtections() 86 m_curr_protection = prot; in SetProtections()
|
/external/compiler-rt/lib/dfsan/ |
D | dfsan_interceptors.cc | 19 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, in INTERCEPTOR() argument 21 void *res = REAL(mmap)(addr, length, prot, flags, fd, offset); in INTERCEPTOR() 27 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, in INTERCEPTOR() argument 29 void *res = REAL(mmap64)(addr, length, prot, flags, fd, offset); in INTERCEPTOR()
|
/external/mesa3d/src/gallium/auxiliary/os/ |
D | os_mman.h | 64 static INLINE void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, loff_t offset) in os_mmap() argument 72 return __mmap2(addr, length, prot, flags, fd, (size_t) (offset >> 12)); in os_mmap() 77 # define os_mmap(addr, length, prot, flags, fd, offset) mmap(addr, length, prot, flags, fd, offset)
|
/external/libdrm/ |
D | libdrm_macros.h | 49 static inline void *drm_mmap(void *addr, size_t length, int prot, int flags, in drm_mmap() argument 58 return mmap64(addr, length, prot, flags, fd, offset); in drm_mmap() 68 # define drm_mmap(addr, length, prot, flags, fd, offset) \ argument 69 mmap(addr, length, prot, flags, fd, offset)
|
/external/v8/src/base/platform/ |
D | platform-aix.cc | 39 static inline void* mmapHelper(size_t len, int prot, int flags, int fildes, in mmapHelper() argument 42 return mmap(addr, len, prot, flags, fildes, off); in mmapHelper() 67 int prot = PROT_READ | PROT_WRITE | (executable ? PROT_EXEC : 0); in Allocate() local 68 void* mbase = mmapHelper(msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() 221 int prot = PROT_READ | PROT_WRITE; in CommitRegion() local 223 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion() 225 if (mprotect(base, size, prot) == -1) return false; in CommitRegion()
|
D | platform-solaris.cc | 57 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() local 58 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() 178 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion() local 181 prot, in CommitRegion()
|
D | platform-linux.cc | 136 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() local 138 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() 352 int prot = PROT_READ | PROT_WRITE; in CommitRegion() local 354 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion() 358 prot, in CommitRegion()
|
/external/valgrind/helgrind/tests/ |
D | tc06_two_races.c | 9 int unprot1 = 0, unprot2 = 0, prot = 0; variable 16 prot ++; in child_fn() 33 prot ++; in main()
|
/external/lldb/source/Plugins/Process/Utility/ |
D | InferiorCallPOSIX.cpp | 27 addr_t addr, addr_t length, unsigned prot, in InferiorCallMmap() argument 58 if (prot == eMmapProtNone) in InferiorCallMmap() 62 if (prot & eMmapProtExec) in InferiorCallMmap() 64 if (prot & eMmapProtRead) in InferiorCallMmap() 66 if (prot & eMmapProtWrite) in InferiorCallMmap()
|
/external/lldb/source/Core/ |
D | DataBufferMemoryMap.cpp | 194 int prot = PROT_READ; in MemoryMapFromFileDescriptor() local 196 prot |= PROT_WRITE; in MemoryMapFromFileDescriptor() 202 m_mmap_addr = (uint8_t *)::mmap(NULL, length, prot, flags, fd, offset); in MemoryMapFromFileDescriptor() 214 …m_mmap_addr = (uint8_t *)::mmap(NULL, length + page_offset, prot, flags, fd, offset - page_offset); in MemoryMapFromFileDescriptor()
|
/external/clang/test/CodeGen/ |
D | 2003-11-18-CondExprLValue.c | 5 void split_large_page(unsigned long addr, pgprot_t prot) in split_large_page() argument 7 (addr ? prot : ((pgprot_t) { 0x001 } )).pgprot; in split_large_page()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix.cc | 60 uptr end, prot; in GetKernelAreaSize() local 63 /*filename_size*/0, &prot)) { in GetKernelAreaSize() 65 && (prot & MemoryMappingLayout::kProtectionWrite) != 0) in GetKernelAreaSize() 303 uptr s, e, off, prot; in GetCodeRangeForFile() local 306 while (proc_maps.Next(&s, &e, &off, buff.data(), buff.size(), &prot)) { in GetCodeRangeForFile() 307 if ((prot & MemoryMappingLayout::kProtectionExecute) != 0 in GetCodeRangeForFile()
|
D | sanitizer_libignore.cc | 59 uptr b, e, off, prot; in OnLibraryLoaded() local 60 while (proc_maps.Next(&b, &e, &off, module.data(), module.size(), &prot)) { in OnLibraryLoaded() 61 if ((prot & MemoryMappingLayout::kProtectionExecute) == 0) in OnLibraryLoaded()
|
D | sanitizer_procmaps_mac.cc | 162 uptr cur_beg, cur_end, prot; in DumpListOfModules() local 167 module_name.size(), &prot); in DumpListOfModules() 183 cur_module->addAddressRange(cur_beg, cur_end, prot & kProtectionExecute); in DumpListOfModules()
|
/external/clang/test/CXX/class.access/ |
D | p4.cpp | 63 void test(A &a, Public &pub, Protected &prot, Private &priv) { in test() argument 65 a + prot; // expected-error {{'operator+' is a protected member}} in test() 68 a[prot]; // expected-error {{'operator[]' is a protected member}} in test() 71 a(prot); // expected-error {{'operator()' is a protected member}} in test() 77 ca + prot; in test() 82 ca(prot); // expected-error {{'operator void (*)(Protected &)' is a protected member}} in test()
|
/external/doclava/src/com/google/doclava/apicheck/ |
D | ApiFile.java | 119 boolean prot = false; in parseClass() 135 prot = true; in parseClass() 172 cl = new ClassInfo(null/*classDoc*/, ""/*rawCommentText*/, tokenizer.pos(), pub, prot, in parseClass() 231 boolean prot = false; in parseConstructor() 241 prot = true; in parseConstructor() 259 name, null/*signature*/, cl, cl, pub, prot, pkgpriv, false/*isPrivate*/, false/*isFinal*/, in parseConstructor() 282 boolean prot = false; in parseMethod() 301 prot = true; in parseMethod() 344 pub, prot, pkgpriv, false/*isPrivate*/, fin, stat, false/*isSynthetic*/, abs/*isAbstract*/, in parseMethod() 369 boolean prot = false; in parseField() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform_posix.cc | 118 uptr p, end, prot; in CheckAndProtect() local 119 while (proc_maps.Next(&p, &end, 0, 0, 0, &prot)) { in CheckAndProtect() 125 if (prot == 0) // Zero page or mprotected. in CheckAndProtect()
|
/external/svox/pico/lib/ |
D | picopal.c | 430 pico_status_t picopal_mpr_protect(void *addr, picopal_objsize_t len, picopal_int16 prot) in picopal_mpr_protect() argument 437 if (prot & PICOPAL_PROT_READ) { in picopal_mpr_protect() 438 if (prot & PICOPAL_PROT_WRITE) { in picopal_mpr_protect() 443 } else if (prot & PICOPAL_PROT_WRITE) { in picopal_mpr_protect() 454 prot = prot; /* avoid warning "var not used in this function"*/ in picopal_mpr_protect()
|