HomeSort by relevance Sort by last modified time
    Searched full:mmap (Results 51 - 75 of 4512) sorted by null

1 23 4 5 6 7 8 91011>>

  /prebuilts/clang/host/linux-x86/clang-4691093/lib64/clang/6.0.2/lib/linux/
libclang_rt.dfsan-x86_64.a.syms 38 mmap;
  /system/libhidl/transport/include/hidl/
ConcurrentMap.h 35 mMap[std::forward<K>(k)] = std::forward<V>(v);
41 const_iterator iter = mMap.find(k);
42 if (iter == mMap.end()) {
50 return mMap.erase(k);
55 const_iterator iter = mMap.find(k);
56 if (iter == mMap.end()) {
60 mMap.erase(iter);
69 void setLocked(K&& k, V&& v) { mMap[std::forward<K>(k)] = std::forward<V>(v); }
72 const_iterator iter = mMap.find(k);
73 if (iter == mMap.end())
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
ProcessMap.java 23 final ArrayMap<String, SparseArray<E>> mMap
27 SparseArray<E> uids = mMap.get(name);
33 SparseArray<E> uids = mMap.get(name);
36 mMap.put(name, uids);
43 SparseArray<E> uids = mMap.get(name);
47 mMap.remove(name);
55 return mMap;
59 return mMap.size();
  /frameworks/ex/common/java/com/android/common/content/
ProjectionMap.java 30 private ProjectionMap mMap = new ProjectionMap();
33 mMap.putColumn(column, column);
38 mMap.putColumn(alias, expression + " AS " + alias);
51 mMap.putColumn(entry.getKey(), entry.getValue());
57 String[] columns = new String[mMap.size()];
58 mMap.keySet().toArray(columns);
60 mMap.mColumns = columns;
61 return mMap;
  /prebuilts/go/darwin-x86/src/runtime/
export_mmap_test.go 11 var Mmap = mmap
mmap.go 15 // mmap calls the mmap system call. It is implemented in assembly.
20 func mmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off uint32) (p unsafe.Pointer, err int) func
  /prebuilts/go/linux-x86/src/runtime/
export_mmap_test.go 11 var Mmap = mmap
mmap.go 15 // mmap calls the mmap system call. It is implemented in assembly.
20 func mmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off uint32) (p unsafe.Pointer, err int) func
  /external/strace/xlat/
mmap_flags.in 13 * the old pre-4.x "mmap()", which:
15 * only let you map devices with an "mmap" routine (e.g.,
22 * memory and which, and the 4.x "mmap()" which:
31 * It's not actually used in source code that calls "mmap()"; the
32 * "mmap()" routine adds it for you.
36 * and calls with it as "mmap()".
  /packages/apps/Contacts/src-bind/com/android/contactsbind/experiments/
Flags.java 29 private Map<String, Object> mMap;
39 mMap = new HashMap<>();
43 return mMap.containsKey(flagName) ? (boolean) mMap.get(flagName) : false;
47 return mMap.containsKey(flagName) ? ((Integer) mMap.get(flagName)).intValue() : 0;
  /external/ltp/testcases/kernel/controllers/memcg/functional/
memcg_stat_rss.sh 36 test_mem_stat "--mmap-anon" $PAGESIZE $PAGESIZE "rss" $PAGESIZE false
41 test_mem_stat "--mmap-file" $PAGESIZE $PAGESIZE "rss" 0 false
51 test_mem_stat "--mmap-anon --mmap-file --shm" \
57 test_mem_stat "--mmap-lock1" $PAGESIZE $PAGESIZE "rss" $PAGESIZE false
62 test_mem_stat "--mmap-anon" $PAGESIZE $PAGESIZE "rss" $PAGESIZE true
67 test_mem_stat "--mmap-file" $PAGESIZE $PAGESIZE "rss" 0 true
77 test_mem_stat "--mmap-anon --mmap-file --shm" \
83 test_mem_stat "--mmap-lock1" $PAGESIZE $PAGESIZE "rss" $PAGESIZE tru
    [all...]
  /external/strace/tests/
mmap.test 3 # Check mmap/mmap2, madvise, mlockall, mprotect, mremap, msync, and munmap
39 for n in mmap mmap2; do
44 if grep '^mmap(NULL, 0, PROT_NONE,' < "$LOG" > /dev/null; then
45 mmap=mmap
47 mmap=mmap2
49 dump_log_and_fail_with "mmap/mmap2 not found in $STRACE $args output"
52 syscall=$mmap,madvise,mlockall,mprotect,mremap,msync,munmap
54 run_prog "../$NAME" $mmap > /dev/null
56 sed -n "/^$mmap(NULL, 0, PROT_NONE,/,\$p" < "$LOG" > "$OUT
    [all...]
  /external/strace/tests-m32/
mmap.test 3 # Check mmap/mmap2, madvise, mlockall, mprotect, mremap, msync, and munmap
39 for n in mmap mmap2; do
44 if grep '^mmap(NULL, 0, PROT_NONE,' < "$LOG" > /dev/null; then
45 mmap=mmap
47 mmap=mmap2
49 dump_log_and_fail_with "mmap/mmap2 not found in $STRACE $args output"
52 syscall=$mmap,madvise,mlockall,mprotect,mremap,msync,munmap
54 run_prog "../$NAME" $mmap > /dev/null
56 sed -n "/^$mmap(NULL, 0, PROT_NONE,/,\$p" < "$LOG" > "$OUT
    [all...]
  /external/strace/tests-mx32/
mmap.test 3 # Check mmap/mmap2, madvise, mlockall, mprotect, mremap, msync, and munmap
39 for n in mmap mmap2; do
44 if grep '^mmap(NULL, 0, PROT_NONE,' < "$LOG" > /dev/null; then
45 mmap=mmap
47 mmap=mmap2
49 dump_log_and_fail_with "mmap/mmap2 not found in $STRACE $args output"
52 syscall=$mmap,madvise,mlockall,mprotect,mremap,msync,munmap
54 run_prog "../$NAME" $mmap > /dev/null
56 sed -n "/^$mmap(NULL, 0, PROT_NONE,/,\$p" < "$LOG" > "$OUT
    [all...]
  /device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/
arm_bl1_fwu.c 51 bl1_mem_info_t *mmap; local
66 mmap = fwu_addr_map_secure;
68 mmap = fwu_addr_map_non_secure;
70 while (mmap[index].mem_size) {
71 if ((mem_base >= mmap[index].mem_base) &&
73 <= (mmap[index].mem_base +
74 mmap[index].mem_size)))
  /external/valgrind/none/tests/amd64/
nibz_bennee_mmap.c 13 > I think the problem here is that you've done an mmap (either fixed or
35 if ((p = mmap((void*)0x1F7F100000, 4096, PROT_READ|PROT_WRITE,
38 perror("mmap");
46 if ((p = mmap((void*)0x1F7F101000, 4096, PROT_READ,
49 perror("mmap");
52 if ((p = mmap((void*)0x1F7F101000, 4096, PROT_READ,
55 perror("mmap");
  /external/libffi/
acinclude.m4 0 # mmap(2) blacklisting. Some platforms provide the mmap library routine
7 AC_CHECK_FUNC([mmap], [libffi_func_mmap=yes], [libffi_func_mmap=no])
14 AC_CACHE_CHECK([whether read-only mmap of a plain file works],
17 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
27 AC_CACHE_CHECK([whether mmap from /dev/zero works],
29 [# Add a system to this blacklist if it has mmap() but /dev/zero
64 AC_CACHE_CHECK([whether mmap with MAP_ANON(YMOUS) works],
66 [# Add a system to this blacklist if it has mmap() and MAP_ANON or
67 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0
    [all...]
  /external/python/cpython2/Modules/_ctypes/libffi/
acinclude.m4 0 # mmap(2) blacklisting. Some platforms provide the mmap library routine
7 AC_CHECK_FUNC([mmap], [libffi_func_mmap=yes], [libffi_func_mmap=no])
14 AC_CACHE_CHECK([whether read-only mmap of a plain file works],
17 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
27 AC_CACHE_CHECK([whether mmap from /dev/zero works],
29 [# Add a system to this blacklist if it has mmap() but /dev/zero
64 AC_CACHE_CHECK([whether mmap with MAP_ANON(YMOUS) works],
66 [# Add a system to this blacklist if it has mmap() and MAP_ANON or
67 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0
    [all...]
  /external/python/cpython3/Modules/_ctypes/libffi/
acinclude.m4 0 # mmap(2) blacklisting. Some platforms provide the mmap library routine
7 AC_CHECK_FUNC([mmap], [libffi_func_mmap=yes], [libffi_func_mmap=no])
14 AC_CACHE_CHECK([whether read-only mmap of a plain file works],
17 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
27 AC_CACHE_CHECK([whether mmap from /dev/zero works],
29 [# Add a system to this blacklist if it has mmap() but /dev/zero
64 AC_CACHE_CHECK([whether mmap with MAP_ANON(YMOUS) works],
66 [# Add a system to this blacklist if it has mmap() and MAP_ANON or
67 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0
    [all...]
  /toolchain/binutils/binutils-2.27/config/
mmap.m4 5 dnl mmap(2) blacklisting. Some platforms provide the mmap library routine
12 AC_CHECK_FUNC([mmap], [gcc_func_mmap=yes], [gcc_func_mmap=no])
19 AC_CACHE_CHECK([whether read-only mmap of a plain file works],
22 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
32 AC_CACHE_CHECK([whether mmap from /dev/zero works],
34 [# Add a system to this blacklist if it has mmap() but /dev/zero
69 AC_CACHE_CHECK([whether mmap with MAP_ANON(YMOUS) works],
71 [# Add a system to this blacklist if it has mmap() and MAP_ANON or
72 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0
    [all...]
  /external/linux-kselftest/tools/testing/selftests/x86/
5lvl.c 24 .msg = "mmap(NULL)",
31 .msg = "mmap(LOW_ADDR)",
38 .msg = "mmap(HIGH_ADDR)",
45 .msg = "mmap(HIGH_ADDR) again",
52 .msg = "mmap(HIGH_ADDR, MAP_FIXED)",
58 .msg = "mmap(-1)",
65 .msg = "mmap(-1) again",
71 .msg = "mmap((1UL << 47), 2 * PAGE_SIZE)",
79 .msg = "mmap((1UL << 47), 2 * PAGE_SIZE / 2)",
87 .msg = "mmap((1UL << 47) - PAGE_SIZE, 2 * PAGE_SIZE, MAP_FIXED)"
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
23-1.c 9 * The mmap() function shall fail if: [ENODEV] The fildes argument refers to a
10 * file whose type is not supported by mmap().
14 * 2. mmap the pipe fd to memory, should get ENODEV;
40 pa = mmap(NULL, 1024, PROT_READ, MAP_SHARED, pipe_fd[0], 0);
53 printf("Text FAILED: mmap() succeded\n");
  /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
CastTest.java 27 ArrayMap<String, String> mMap = new ArrayMap<>();
40 mMap.clear();
41 mMap.put("hello", "world");
42 mMap.put("world", "hello");
44 mBinder.setMap(mMap);
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
MockSuggestionExtras.java 26 HashMap<String, Object> mMap;
30 mMap = new HashMap<String, Object>();
34 mMap.put(name, value);
40 Object o = mMap.get(columnName);
46 return mMap.keySet();
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
FileTypeMapTest.java 39 private FileTypeMap mMap;
45 mMap = new FileTypeMap(context);
51 assertEquals(expected, mMap.lookup("text/plain"));
57 assertEquals(expected, mMap.lookup("application/pdf"));
63 assertEquals(expected, mMap.lookup("application/msword"));
69 assertEquals(expected, mMap.lookup("application/vnd.google-apps.document"));
76 assertEquals(expected, mMap.lookup(mime));
83 assertEquals(expected, mMap.lookup(mime));
90 assertEquals(expected, mMap.lookup(mime));
97 assertEquals(expected, mMap.lookup(mime))
    [all...]

Completed in 3391 milliseconds

1 23 4 5 6 7 8 91011>>