/external/elfutils/src/lib/ |
crc32_file.c | 51 size_t mapsize = st.st_size; local 52 void *mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0); 56 mapsize = ((mapsize / 2) + pagesize - 1) & -pagesize; 57 while (mapsize >= pagesize 58 && (mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, 60 mapsize /= 2; 66 if (st.st_size <= (off_t) mapsize) 69 munmap (mapped, mapsize); 72 crc = crc32 (crc, mapped, mapsize); [all...] |
/external/mesa3d/src/mesa/main/ |
pixel.c | 109 store_pixelmap(struct gl_context *ctx, GLenum map, GLsizei mapsize, 122 ctx->PixelMaps.StoS.Size = mapsize; 123 for (i = 0; i < mapsize; i++) { 129 ctx->PixelMaps.ItoI.Size = mapsize; 130 for (i = 0; i < mapsize; i++) { 136 pm->Size = mapsize; 137 for (i = 0; i < mapsize; i++) { 150 struct gl_pixelstore_attrib *pack, GLsizei mapsize, 161 ok = _mesa_validate_pbo_access(1, &ctx->DefaultPacking, mapsize, 1, 1, 184 _mesa_PixelMapfv( GLenum map, GLsizei mapsize, const GLfloat *values 341 GLint mapsize, i; local 392 GLint mapsize, i; local 443 GLint mapsize, i; local [all...] |
dlist.c | [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_mmap.py | 121 mapsize = 10 122 open(TESTFN, "wb").write("a"*mapsize) 124 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_READ) 125 self.assertEqual(m[:], 'a'*mapsize, "Readonly memory map data incorrect.") 129 m[:] = 'b'*mapsize 163 m.resize(2*mapsize) 172 self.assertEqual(open(TESTFN, "rb").read(), 'a'*mapsize, 179 m = mmap.mmap(f.fileno(), mapsize+1) 196 f.truncate(mapsize) 201 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_WRITE [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_mmap.py | 121 mapsize = 10 122 open(TESTFN, "wb").write("a"*mapsize) 124 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_READ) 125 self.assertEqual(m[:], 'a'*mapsize, "Readonly memory map data incorrect.") 129 m[:] = 'b'*mapsize 163 m.resize(2*mapsize) 172 self.assertEqual(open(TESTFN, "rb").read(), 'a'*mapsize, 179 m = mmap.mmap(f.fileno(), mapsize+1) 196 f.truncate(mapsize) 201 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_WRITE [all...] |
/frameworks/base/cmds/screencap/ |
screencap.cpp | 157 ssize_t mapsize = -1; local 211 mapsize = offset + size; 212 mapbase = mmap(0, mapsize, PROT_READ, MAP_PRIVATE, fb, 0); 247 munmap((void *)mapbase, mapsize);
|
/frameworks/native/cmds/servicemanager/ |
binder.h | 49 struct binder_state *binder_open(size_t mapsize);
|
binder.c | 93 size_t mapsize; member in struct:binder_state 96 struct binder_state *binder_open(size_t mapsize) 122 bs->mapsize = mapsize; 123 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0); 141 munmap(bs->mapped, bs->mapsize);
|
/external/selinux/libsepol/src/ |
ebitmap.c | 236 if ((n->startbit + MAPSIZE) > bit) { 251 uint32_t startbit = bit & ~(MAPSIZE - 1); 252 uint32_t highbit = startbit + MAPSIZE; 262 if ((n->startbit + MAPSIZE) > bit) { 278 MAPSIZE; 346 uint32_t buf[3], mapsize, count, i; local 355 mapsize = le32_to_cpu(buf[0]); 359 if (mapsize != MAPSIZE) { 362 mapsize, MAPSIZE, e->highbit) [all...] |
/bionic/libc/dns/nameser/ |
ns_name.c | 803 ns_name_map(ns_nname_ct nname, size_t namelen, ns_namemap_t map, int mapsize) { 833 l = ns_name_map(nname + n, namelen - n, map, mapsize); 838 if (l >= mapsize) {
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/GL/ |
gl.h | [all...] |
/external/mesa3d/include/GL/ |
gl.h | [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/GL/ |
gl.h | [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/GL/ |
gl.h | [all...] |