/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/ |
6-1-buildonly.c | 10 * Test that the header defines the MAP_FAILED symbolic constant. 18 #ifndef MAP_FAILED 19 #error MAP_FAILED not defined
|
/external/valgrind/memcheck/tests/x86-linux/ |
bug133694.c | 9 if ((a1 = mmap((void *)0x200000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)) == MAP_FAILED) 21 if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) == MAP_FAILED) 27 if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) == MAP_FAILED)
|
/toolchain/binutils/binutils-2.25/gold/ |
mremap.c | 59 if (ret == MAP_FAILED) 69 #ifndef MAP_FAILED 70 #define MAP_FAILED ((void *) -1) 84 return MAP_FAILED;
|
/external/valgrind/none/tests/ |
map_unaligned.c | 10 if ( ( p1 = mmap( 0, 4096, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0 ) ) == MAP_FAILED ) 25 if ( ( p2 = mmap( p1 + 1, 4096, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0 ) ) == MAP_FAILED )
|
/external/valgrind/none/tests/linux/ |
mremap3.c | 14 if (initial_area == MAP_FAILED) 23 if (area == MAP_FAILED) 32 if (a2 == MAP_FAILED) {
|
/external/autotest/client/tests/aio_dio_bugs/src/ |
aio-free-ring-with-bogus-nr-pages.c | 48 if (map == MAP_FAILED) 52 if (map == MAP_FAILED)
|
/external/compiler-rt/test/tsan/ |
java_heap_init.cc | 13 if (jheap == (jptr)MAP_FAILED) 19 if (jheap == (jptr)MAP_FAILED)
|
ignored-interceptors-mmap.cc | 23 if (p == MAP_FAILED) 29 if (p == MAP_FAILED || p != new_p)
|
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/ |
hugetlb_vs_thp_test.c | 19 if (p != MAP_FAILED) { 35 if (p == MAP_FAILED) {
|
prot_sao.c | 31 FAIL_IF(p == MAP_FAILED);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
19-1.c | 35 if (pa == MAP_FAILED && errno == EBADF) { 40 if (pa == MAP_FAILED)
|
23-1.c | 42 if (pa == MAP_FAILED && errno == ENODEV) { 49 if (pa == MAP_FAILED) {
|
32-1.c | 43 if (pa == MAP_FAILED && errno == EINVAL) { 50 if (pa == MAP_FAILED)
|
/device/linaro/hikey/gralloc960/ |
gralloc_buffer_priv.cpp | 66 if(hnd->attr_base != MAP_FAILED) 76 hnd->attr_base = MAP_FAILED; 116 if( hnd->attr_base != MAP_FAILED ) 120 hnd->attr_base = MAP_FAILED;
|
gralloc_buffer_priv.h | 104 if(hnd->attr_base == MAP_FAILED) 128 if( hnd->attr_base != MAP_FAILED ) 132 hnd->attr_base = MAP_FAILED; 153 if( hnd->attr_base != MAP_FAILED ) 187 if( hnd->attr_base != MAP_FAILED )
|
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/ |
ffitest.h | 45 # ifndef MAP_FAILED 46 # define MAP_FAILED -1 58 # ifndef MAP_FAILED 59 # define MAP_FAILED -1
|
/external/compiler-rt/lib/profile/ |
WindowsMMap.c | 35 return MAP_FAILED; 38 return MAP_FAILED; 40 return MAP_FAILED; 64 return MAP_FAILED; 78 ret = MAP_FAILED;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
14-2.c | 56 if (buf == MAP_FAILED) { 70 if (buf == MAP_FAILED) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/ |
3-1.c | 55 if (buf == MAP_FAILED && errno == EBADF) { 58 } else if (buf == MAP_FAILED) {
|
/bionic/tests/ |
sys_mman_test.cpp | 28 ASSERT_NE(MAP_FAILED, map); 34 ASSERT_NE(MAP_FAILED, map); 42 ASSERT_EQ(MAP_FAILED, map); 49 ASSERT_EQ(MAP_FAILED, map); 63 ASSERT_NE(MAP_FAILED, map); 78 ASSERT_NE(MAP_FAILED, map); 114 ASSERT_NE(MAP_FAILED, map); 122 ASSERT_NE(MAP_FAILED, map); 150 ASSERT_NE(MAP_FAILED, map); 158 ASSERT_NE(MAP_FAILED, map) [all...] |
/prebuilts/go/darwin-x86/src/runtime/cgo/ |
gcc_mmap.c | 20 if (p == MAP_FAILED) {
|
/prebuilts/go/linux-x86/src/runtime/cgo/ |
gcc_mmap.c | 20 if (p == MAP_FAILED) {
|
/system/libhidl/transport/memory/1.0/default/ |
AshmemMapper.cpp | 37 if (data == MAP_FAILED) { 39 // exposing clients to MAP_FAILED.
|
/bionic/libc/bionic/ |
mmap.cpp | 47 return MAP_FAILED; 54 return MAP_FAILED; 63 if (result != MAP_FAILED && kernel_has_MADV_MERGEABLE &&
|
/external/autotest/client/site_tests/security_mprotect/src/ |
prot_exec.c | 38 fd, 0)) == MAP_FAILED) 44 fd, 0)) != MAP_FAILED) 49 fd, 0)) == MAP_FAILED)
|