Searched refs:prot (Results 1 - 25 of 49) sorted by relevance

12

/haiku-buildtools/legacy/gcc/libio/
H A Dpfstream.h44 ipfstream(const char *name, int mode=ios::in, int prot=0664);
55 opfstream(const char *name, int mode=ios::out, int prot=0664);
H A Dfstream.h42 fstreambase(const char *name, int mode, int prot=0664);
49 void open(const char *name, int mode, int prot=0664);
64 ifstream(const char *name, int mode=ios::in, int prot=0664) argument
65 : fstreambase(name, mode | ios::in, prot) { }
66 void open(const char *name, int mode=ios::in, int prot=0664) argument
67 { fstreambase::open(name, mode | ios::in, prot); }
75 ofstream(const char *name, int mode=ios::out, int prot=0664) argument
76 : fstreambase(name, mode | ios::out, prot) { }
77 void open(const char *name, int mode=ios::out, int prot=0664) argument
78 { fstreambase::open(name, mode | ios::out, prot); }
85 fstream(const char *name, int mode, int prot=0664) argument
88 open(const char *name, int mode, int prot=0664) argument
[all...]
H A DSFile.cc47 SFile::SFile(const char *filename, int size, int mode, int prot) argument
48 : fstream(filename, mode, prot)
59 void SFile::open(const char *name, int size, int mode, int prot) argument
61 fstream::open(name, mode, prot);
H A DSFile.h43 SFile(const char *name, int size, int mode, int prot=0664);
44 void open(const char *name, int size, int mode, int prot=0664);
H A Dfstream.cc63 fstreambase::fstreambase(const char *name, int mode, int prot) argument
66 if (!rdbuf()->open(name, mode, prot))
81 void fstreambase::open(const char *name, int mode, int prot) argument
84 if (!rdbuf()->open(name, mode, prot))
H A Dpfstream.cc34 ipfstream::ipfstream(const char *name, int mode, int prot) argument
72 if (!rdbuf()->open(name, mode, prot))
76 opfstream::opfstream(const char *name, int mode, int prot) argument
89 if (!rdbuf()->open(name, mode, prot))
H A DPlotFile.h59 PlotFile(const char *name, int mode=ios::out, int prot=0664) argument
60 : ofstream(name, mode, prot) { }
H A Dfilebuf.cc80 filebuf* filebuf::open(const char *filename, ios::openmode mode, int prot) argument
115 if (!_IO_file_open (this, filename, posix_mode, prot,
126 int fd = ::open(filename, posix_mode, prot);
/haiku-buildtools/gcc/libgcc/
H A Denable-execute-stack-mprotect.c40 int prot = (int) sysconf (_SC_STACK_PROT); local
42 if (prot != STACK_PROT_RWX)
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/sh/torture/
H A Dpr34777.c6 _dl_mmap (void * start, int length, int prot, int flags, int fd, argument
12 register long __sc6 __asm__ ("r6") = (long) prot;
/haiku-buildtools/gcc/gcc/config/
H A Dhost-solaris.c37 mmap_fixed (void *addr, size_t len, int prot, int flags, int fd, off_t off) argument
41 base = mmap ((caddr_t) addr, len, prot, flags, fd, off);
61 base = mmap ((caddr_t) addr, len, prot, flags | MAP_FIXED, fd, off);
/haiku-buildtools/gcc/libvtv/
H A Dvtv_malloc.h99 extern "C" int mprotect (void *addr, int len, int prot);
/haiku-buildtools/legacy/gcc/libio/tests/
H A Dtiomisc.cc40 special_ofstream(const char *name, int mode=ios::out, int prot=0664) {
41 open(name,mode,prot);
43 void open(const char *name, int mode=ios::out, int prot=0664);
46 void special_ofstream::open(const char* name, int mode, int prot) {
54 else ofstream::open(name,mode,prot);
39 special_ofstream(const char *name, int mode=ios::out, int prot=0664) argument
45 open(const char* name, int mode, int prot) argument
/haiku-buildtools/gcc/libsanitizer/sanitizer_common/
H A Dsanitizer_libignore.cc61 uptr b, e, off, prot; local
62 while (proc_maps.Next(&b, &e, &off, module.data(), module.size(), &prot)) {
63 if ((prot & MemoryMappingLayout::kProtectionExecute) == 0)
H A Dsanitizer_procmaps_mac.cc160 uptr cur_beg, cur_end, prot; local
165 module_name.size(), &prot);
181 cur_module->addAddressRange(cur_beg, cur_end, prot & kProtectionExecute);
H A Dsanitizer_procmaps_common.cc119 uptr cur_beg, cur_end, cur_offset, prot; local
124 module_name.size(), &prot);
145 cur_module->addAddressRange(cur_beg, cur_end, prot & kProtectionExecute);
H A Dsanitizer_posix.cc47 uptr end, prot; local
50 /*filename_size*/0, &prot)) {
52 && (prot & MemoryMappingLayout::kProtectionWrite) != 0)
323 uptr s, e, off, prot; local
326 while (proc_maps.Next(&s, &e, &off, buff.data(), buff.size(), &prot)) {
327 if ((prot & MemoryMappingLayout::kProtectionExecute) != 0
H A Dsanitizer_libc.h57 uptr internal_mmap(void *addr, uptr length, int prot, int flags,
H A Dsanitizer_mac.cc49 uptr internal_mmap(void *addr, size_t length, int prot, int flags, argument
51 return (uptr)mmap(addr, length, prot, flags, fd, offset);
H A Dsanitizer_coverage_libcdep.cc369 uptr mb, me, off, prot; local
373 proc_maps.Next(&mb, &me, &off, module.data(), module.size(), &prot);
375 if ((prot & MemoryMappingLayout::kProtectionExecute) == 0)
/haiku-buildtools/legacy/gcc/gcc/config/sparc/
H A Dsol2-sld-64.h319 int prot = (int) sysconf(515 /*_SC_STACK_PROT */); \
320 if (prot != 7) \
/haiku-buildtools/gcc/libsanitizer/tsan/
H A Dtsan_platform_linux.cc209 uptr start, end, offset, prot; local
211 while (proc_maps.Next(&start, &end, &offset, name, ARRAY_SIZE(name), &prot)) {
213 && (prot & MemoryMappingLayout::kProtectionRead)
214 && (prot & MemoryMappingLayout::kProtectionExecute)
215 && !(prot & MemoryMappingLayout::kProtectionWrite)
/haiku-buildtools/gcc/libmpx/mpxwrap/
H A Dmpx_wrappers.c40 __mpx_wrapper_mmap (void *addr, size_t length, int prot, int flags, argument
43 void *p = mmap (addr, length, prot, flags, fd, offset);
/haiku-buildtools/legacy/gcc/gcc/cp/
H A Dxref.c594 const char *prot; local
606 if (TREE_PRIVATE (fld)) prot = "PRIVATE";
607 else if (TREE_PROTECTED(fld)) prot = "PROTECTED";
608 else prot = "PUBLIC";
642 filename(xf), fld->decl.linenum, d, bufa, prot,
/haiku-buildtools/binutils/bfd/
H A Dbfdio.c165 . int prot, int flags, file_ptr offset,
444 int prot, int flags, file_ptr offset,
456 int prot, int flags, file_ptr offset,
464 return abfd->iovec->bmmap (abfd, addr, len, prot, flags, offset,
611 bfd_size_type len ATTRIBUTE_UNUSED, int prot ATTRIBUTE_UNUSED,
455 bfd_mmap(bfd *abfd, void *addr, bfd_size_type len, int prot, int flags, file_ptr offset, void **map_addr, bfd_size_type *map_len) argument

Completed in 218 milliseconds

12