HomeSort by relevance Sort by last modified time
    Searched full:mmap (Results 1 - 25 of 1306) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/valgrind/main/none/tests/
map_unaligned.stderr.exp 2 unaligned mmap failed: Invalid argument
map_unaligned.c 10 if ( ( p1 = mmap( 0, 4096, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0 ) ) == MAP_FAILED )
12 perror( "aligned mmap failed" );
25 if ( ( p2 = mmap( p1 + 1, 4096, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0 ) ) == MAP_FAILED )
27 perror( "unaligned mmap failed" );
mmap_fcntl_bug.c 3 * mmap. Feed it a r/w file, such as its own source code. */
31 // reproduce bug 297991: mmap interferes with fd position
47 /* If under valgrind, mmap re-opens and closes file, screwing us */
48 if (mmap(NULL, getpagesize(), PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0) == MAP_FAILED)
49 err(1, "mmap of %s", file);
51 errx(1, "zero offset from initial after mmap differs from 123 (TEST FAILED)");
  /external/llvm/autoconf/m4/
func_mmap_file.m4 2 # Check for the ability to mmap a file.
5 [AC_CACHE_CHECK(for mmap of files,
16 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
23 AC_DEFINE([HAVE_MMAP_FILE],[],[Define if mmap() can map files into memory])
header_mmap_anonymous.m4 2 # Check for anonymous mmap macros. This is modified from
13 [[mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);]])],
19 AC_DEFINE([HAVE_MMAP_ANONYMOUS],[1],[Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if it uses MAP_ANON])
  /external/llvm/projects/sample/autoconf/m4/
func_mmap_file.m4 2 # Check for the ability to mmap a file.
5 [AC_CACHE_CHECK(for mmap of files,
16 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
23 AC_DEFINE([HAVE_MMAP_FILE],[],[Define if mmap() can map files into memory])
header_mmap_anonymous.m4 2 # Check for anonymous mmap macros. This is modified from
13 [[mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);]])],
19 AC_DEFINE([HAVE_MMAP_ANONYMOUS],[1],[Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if it uses MAP_ANON])
  /frameworks/base/services/java/com/android/server/
ProcessMap.java 24 final HashMap<String, SparseArray<E>> mMap
28 SparseArray<E> uids = mMap.get(name);
34 SparseArray<E> uids = mMap.get(name);
37 mMap.put(name, uids);
44 SparseArray<E> uids = mMap.get(name);
48 mMap.remove(name);
54 return mMap;
  /external/valgrind/main/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)
  /external/compiler-rt/lib/asan/lit_tests/Linux/
rlimit_mmap_test.cc 1 // Check that we properly report mmap failure.
14 // CHECK: ERROR: Failed to mmap
  /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;
  /external/libvpx/libvpx/
example_xma.c 73 void my_mem_dtor(vpx_codec_mmap_t *mmap)
76 printf("freeing segment %d\n", mmap->id);
78 free(mmap->priv);
173 vpx_codec_mmap_t mmap; local
176 res = vpx_codec_get_mem_map(&decoder, &mmap, &iter);
177 align = mmap.align ? mmap.align - 1 : 0;
183 mmap.id, mmap.sz, mmap.align
    [all...]
  /external/valgrind/main/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...]
  /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();
  /external/bison/m4/
mmap-anon.m4 0 # mmap-anon.m4 serial 10
7 # Detect how mmap can be used to create anonymous (not file-backed) memory
21 # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
24 AC_CHECK_FUNC([mmap], [gl_have_mmap=yes], [gl_have_mmap=no])
45 [Define to a substitute value for mmap()'s MAP_ANONYMOUS flag.])
51 [Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
  /external/skia/legacy/src/core/
SkMMapStream.cpp 22 SkDEBUGF(("---- failed to open(%s) for mmap stream error=%d\n", filename, errno));
29 SkDEBUGF(("---- failed to lseek(%s) for mmap stream error=%d\n", filename, errno));
38 void* addr = mmap(NULL, size, PROT_READ, MAP_SHARED, fildes, 0);
40 // According to the POSIX documentation of mmap it adds an extra reference
48 SkDEBUGF(("---- failed to mmap(%s) for mmap stream error=%d\n", filename, errno));
  /external/skia/src/core/
SkMMapStream.cpp 23 SkDEBUGF(("---- failed to open(%s) for mmap stream error=%d\n", filename, errno));
30 SkDEBUGF(("---- failed to lseek(%s) for mmap stream error=%d\n", filename, errno));
39 void* addr = mmap(NULL, size, PROT_READ, MAP_SHARED, fildes, 0);
41 // According to the POSIX documentation of mmap it adds an extra reference
49 SkDEBUGF(("---- failed to mmap(%s) for mmap stream error=%d\n", filename, errno));
  /ndk/sources/host-tools/sed-4.2.1/m4/
mmap-anon.m4 0 # mmap-anon.m4 serial 8
7 # Detect how mmap can be used to create anonymous (not file-backed) memory
25 # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
28 AC_CHECK_FUNC([mmap], [gl_have_mmap=yes], [gl_have_mmap=no])
49 [Define to a substitute value for mmap()'s MAP_ANONYMOUS flag.])
55 [Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
  /external/linux-tools-perf/util/
event.c 21 [PERF_RECORD_MMAP] = "MMAP",
177 n = hex2u64(pbf, &event->mmap.start);
181 n = hex2u64(pbf, &event->mmap.len);
196 n = hex2u64(pbf, &event->mmap.pgoff);
200 memcpy(event->mmap.filename, execname, size);
208 event->mmap.len -= event->mmap.start;
209 event->mmap.header.size = (sizeof(event->mmap) -
210 (sizeof(event->mmap.filename) - size))
    [all...]
  /external/valgrind/main/memcheck/tests/
mmaptest.c 13 mmap(NULL, 4711, PROT_READ, MAP_PRIVATE, fd, 0);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeysCache.java 25 private final HashMap<Key, Key> mMap = CollectionUtils.newHashMap();
28 mMap.clear();
32 final Key existingKey = mMap.get(key);
37 mMap.put(key, key);
  /external/openfst/src/include/fst/
mapped-file.h 33 // mmap'ed files. If mmap equals NULL, then data represents an owned region of
34 // size bytes. Otherwise, mmap and size refer to the mapping and data is a
35 // casted pointer to a region contained within [mmap, mmap + size).
36 // If size is 0, then mmap refers and data refer to a block of memory managed
40 void *mmap; member in struct:fst::MemoryRegion
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
PathMatcher.java 73 private HashMap<String, Node> mMap;
77 if (mMap == null) {
78 mMap = new HashMap<String, Node>();
80 Node node = mMap.get(segment);
85 mMap.put(segment, n);
90 if (mMap == null) return null;
91 return mMap.get(segment);
  /frameworks/base/core/java/android/os/
Bundle.java 40 EMPTY.mMap = Collections.unmodifiableMap(new HashMap<String, Object>());
43 // Invariant - exactly one of mMap / mParcelledData will be null
46 /* package */ Map<String, Object> mMap = null;
49 * If mParcelledData is non-null, then mMap will be null and the
68 mMap = new HashMap<String, Object>();
94 mMap = new HashMap<String, Object>();
105 mMap = new HashMap<String, Object>(capacity);
124 if (b.mMap != null) {
125 mMap = new HashMap<String, Object>(b.mMap);
    [all...]

Completed in 585 milliseconds

1 2 3 4 5 6 7 8 91011>>