/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...] |
/external/chromium_org/third_party/mesa/src/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...] |
/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...] |
/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...] |
/frameworks/base/cmds/screencap/ |
screencap.cpp | 136 ssize_t mapsize = -1; local 164 mapsize = offset + size; 165 mapbase = mmap(0, mapsize, PROT_READ, MAP_PRIVATE, fb, 0); 199 munmap((void *)mapbase, mapsize);
|
/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,
|
/frameworks/native/cmds/servicemanager/ |
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);
|