HomeSort by relevance Sort by last modified time
    Searched defs:prot (Results 1 - 25 of 199) sorted by null

1 2 3 4 5 6 7 8

  /external/strace/tests/
remap_file_pages.c 44 const unsigned long prot = PROT_READ|PROT_WRITE|PROT_EXEC; local
48 long rc = syscall(__NR_remap_file_pages, addr, size, prot, pgoff, flags);
  /external/strace/tests-m32/
remap_file_pages.c 44 const unsigned long prot = PROT_READ|PROT_WRITE|PROT_EXEC; local
48 long rc = syscall(__NR_remap_file_pages, addr, size, prot, pgoff, flags);
  /external/strace/tests-mx32/
remap_file_pages.c 44 const unsigned long prot = PROT_READ|PROT_WRITE|PROT_EXEC; local
48 long rc = syscall(__NR_remap_file_pages, addr, size, prot, pgoff, flags);
  /external/valgrind/helgrind/tests/
tc06_two_races.c 9 int unprot1 = 0, unprot2 = 0, prot = 0; variable
16 prot ++;
33 prot ++;
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_libignore.cc 59 uptr b, e, off, prot; local
60 while (proc_maps.Next(&b, &e, &off, module.data(), module.size(), &prot)) {
61 if ((prot & MemoryMappingLayout::kProtectionExecute) == 0)
sanitizer_linux_s390.cc 30 uptr internal_mmap(void *addr, uptr length, int prot, int flags, int fd,
35 unsigned long prot; member in struct:__sanitizer::s390_mmap_params
42 (unsigned long)prot,
sanitizer_procmaps_mac.cc 161 uptr cur_beg, cur_end, prot; local
164 module_name.size(), &prot);
178 cur_module->addAddressRange(cur_beg, cur_end, prot & kProtectionExecute);
  /external/compiler-rt/lib/tsan/rtl/
tsan_platform_posix.cc 118 uptr p, end, prot; local
119 while (proc_maps.Next(&p, &end, 0, 0, 0, &prot)) {
125 if (prot == 0) // Zero page or mprotected.
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
5-1.c 9 * The prot shall be either PROT_NONE or the bitwise-inclusive OR of
17 * specified by prot, the call to mmap() shall fail.
37 int prot; member in struct:testcase
42 {.flags = MAP_SHARED,.prot = PROT_NONE},
43 {.flags = MAP_SHARED,.prot = PROT_READ},
44 {.flags = MAP_SHARED,.prot = PROT_WRITE},
45 {.flags = MAP_SHARED,.prot = PROT_EXEC},
46 {.flags = MAP_SHARED,.prot = PROT_READ | PROT_WRITE},
47 {.flags = MAP_SHARED,.prot = PROT_READ | PROT_EXEC},
48 {.flags = MAP_SHARED,.prot = PROT_EXEC | PROT_WRITE}
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/
1-1.c 56 int prot; local
91 prot = PROT_READ | PROT_WRITE;
92 pa = mmap(addr, len, prot, flag, fd, off);
1-2.c 56 int prot; local
91 prot = PROT_READ | PROT_WRITE;
92 pa = mmap(addr, len, prot, flag, fd, off);
3-1.c 43 int prot; local
72 prot = PROT_READ | PROT_WRITE;
73 pa = mmap(addr, len, prot, flag, fd, off);
4-1.c 52 int prot; local
74 prot = PROT_READ | PROT_WRITE;
76 pa = mmap(addr, size, prot, flag, fd, off);
97 pa = mmap(addr, size, prot, flag, fd, off);
9-1.c 40 int prot; local
67 prot = PROT_READ | PROT_WRITE;
68 pa = mmap(addr, len, prot, flag, fd, off);
  /external/syslinux/gpxe/src/interface/efi/
efi_init.c 59 struct efi_protocol *prot; local
85 for_each_table_entry ( prot, EFI_PROTOCOLS ) {
86 if ( ( efirc = bs->LocateProtocol ( &prot->u.guid, NULL,
87 prot->protocol ) ) == 0 ) {
89 uuid_ntoa ( &prot->u.uuid ), *(prot->protocol));
92 uuid_ntoa ( &prot->u.uuid ) );
  /external/clang/test/CXX/class.access/class.access.base/
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++; // expected-error 2 {{protected member}} expected-error {{protected base class}
112 int prot; \/\/ expected-note {{declared protected here}} \\ member in class:test2::Base
133 Base::prot++; member in class:test2::Test::Base
    [all...]
  /external/ltp/testcases/kernel/syscalls/mprotect/
mprotect01.c 53 int prot; member in struct:test_case
99 TEST(mprotect(TC[i].addr, TC[i].len, TC[i].prot));
  /external/valgrind/coregrind/
pub_core_aspacemgr.h 82 valgrind with at least the permissions 'prot' ? To find out
84 VKI_PROT_NONE as 'prot'. Will return False if any part of the
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 )
371 UInt prot; \/\/ Not used for removed segs. member in struct:__anon37491
    [all...]
  /frameworks/ml/nn/runtime/
Memory.cpp 57 int MemoryFd::set(size_t size, int prot, int fd, size_t offset) {
81 mHandle->data[1] = prot;
99 int prot = mHandle->data[1]; local
101 void* data = mmap(nullptr, mHidlMemory.size(), prot, MAP_SHARED, fd, offset);
  /dalvik/libdex/
SysUtil.cpp 264 int prot = wantReadWrite ? (PROT_READ|PROT_WRITE) : (PROT_READ); local
265 if (mprotect(alignAddr, alignLength, prot) != 0) {
268 alignAddr, alignLength, prot, strerror(errno));
  /external/strace/
mem.c 63 const kernel_ulong_t prot = u_arg[2]; local
69 printflags64(mmap_prot, prot, "PROT_???");
312 const kernel_ulong_t prot = tcp->u_arg[2]; local
318 printflags64(mmap_prot, prot, "PROT_???");
  /system/core/libmemunreachable/
PtracerThread.cpp 43 int prot = PROT_READ | PROT_WRITE; local
47 base_ = mmap(NULL, size_, prot, flags, -1, 0);
  /system/extras/ioshark/
ioshark_bench_mmap.c 106 mmap_do_io(void *db_node, int prot, off_t offset, size_t len,
113 if (!(prot & IOSHARK_PROT_WRITE)) {
172 int prot = file_op->mmap_prot; local
188 mmap_do_io(db_node, prot, offset, len,
198 mmap_do_io(db_node, prot, offset, len, bufp, buflen,
  /bionic/libc/bionic/
pthread_create.cpp 141 int prot = PROT_READ | PROT_WRITE; local
143 void* space = mmap(NULL, mmap_size, prot, flags, -1, 0);
  /bionic/tests/
utils.h 79 char prot[5]; // sizeof("rwxp") local
81 &record.addr_start, &record.addr_end, prot, &record.offset,
84 if (prot[0] == 'r') {
87 if (prot[1] == 'w') {
90 if (prot[2] == 'x') {

Completed in 305 milliseconds

1 2 3 4 5 6 7 8