/external/elfutils/lib/ |
crc32_file.c | 67 size_t mapsize = st.st_size; local 68 void *mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0); 72 mapsize = ((mapsize / 2) + pagesize - 1) & -pagesize; 73 while (mapsize >= pagesize 74 && (mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, 76 mapsize /= 2; 82 if (st.st_size <= (off_t) mapsize) 85 munmap (mapped, mapsize); 88 crc = crc32 (crc, mapped, mapsize); [all...] |
/frameworks/base/cmds/screencap/ |
screencap.cpp | 140 ssize_t mapsize = -1; local 168 mapsize = offset + size; 169 mapbase = mmap(0, mapsize, PROT_READ, MAP_PRIVATE, fb, 0); 203 munmap((void *)mapbase, mapsize);
|
/frameworks/native/cmds/servicemanager/ |
binder.h | 71 struct binder_state *binder_open(unsigned mapsize);
|
binder.c | 91 unsigned mapsize; member in struct:binder_state 94 struct binder_state *binder_open(unsigned mapsize) 111 bs->mapsize = mapsize; 112 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0); 132 munmap(bs->mapped, bs->mapsize);
|
/external/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...] |
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/ |
SDL_wsconsvideo.c | 153 size_t len, mapsize; local 283 mapsize = ((int)len + pagemask) & ~pagemask; 284 private->physmem = (Uint8 *)mmap(NULL, mapsize,
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_glfuncs.h | 197 SDL_PROC_UNUSED(void,glPixelMapfv,(GLenum map, GLsizei mapsize, const GLfloat *values)) 198 SDL_PROC_UNUSED(void,glPixelMapuiv,(GLenum map, GLsizei mapsize, const GLuint *values)) 199 SDL_PROC_UNUSED(void,glPixelMapusv,(GLenum map, GLsizei mapsize, const GLushort *values))
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/GL/ |
gl.h | [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/GL/ |
gl.h | [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/GL/ |
gl.h | [all...] |