/external/elfutils/0.153/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...] |
dlist.c | [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 | 136 ssize_t mapsize = -1; local 164 mapsize = offset + size; 165 mapbase = mmap(0, mapsize, PROT_READ, MAP_PRIVATE, fb, 0); 200 munmap((void *)mapbase, mapsize);
|
/frameworks/native/cmds/servicemanager/ |
binder.h | 49 struct binder_state *binder_open(size_t mapsize);
|
binder.c | 92 size_t mapsize; member in struct:binder_state 95 struct binder_state *binder_open(size_t mapsize) 119 bs->mapsize = mapsize; 120 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0); 138 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,
|
/bionic/libc/dns/nameser/ |
ns_name.c | 809 ns_name_map(ns_nname_ct nname, size_t namelen, ns_namemap_t map, int mapsize) { 839 l = ns_name_map(nname + n, namelen - n, map, mapsize); 844 if (l >= 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))
|
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/ |
indirect.c | [all...] |
indirect.h | 319 extern _X_HIDDEN void __indirect_glPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat * values); 320 extern _X_HIDDEN void __indirect_glPixelMapuiv(GLenum map, GLsizei mapsize, const GLuint * values); 321 extern _X_HIDDEN void __indirect_glPixelMapusv(GLenum map, GLsizei mapsize, const GLushort * values); [all...] |
glapi_mapi_tmp_shared.h | 265 void APIENTRY shared_dispatch_stub_251(GLenum map, GLsizei mapsize, const GLfloat *values); 266 void APIENTRY shared_dispatch_stub_252(GLenum map, GLsizei mapsize, const GLuint *values); 267 void APIENTRY shared_dispatch_stub_253(GLenum map, GLsizei mapsize, const GLushort *values); [all...] |
glapi_mapi_tmp.h | 273 GLAPI void APIENTRY GLAPI_PREFIX(PixelMapfv)(GLenum map, GLsizei mapsize, const GLfloat *values); 274 GLAPI void APIENTRY GLAPI_PREFIX(PixelMapuiv)(GLenum map, GLsizei mapsize, const GLuint *values); 275 GLAPI void APIENTRY GLAPI_PREFIX(PixelMapusv)(GLenum map, GLsizei mapsize, const GLushort *values); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/GL/ |
gl.h | [all...] |
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/glapi/ |
glapitable.h | 294 void (GLAPIENTRYP PixelMapfv)(GLenum map, GLsizei mapsize, const GLfloat * values); /* 251 */ 295 void (GLAPIENTRYP PixelMapuiv)(GLenum map, GLsizei mapsize, const GLuint * values); /* 252 */ 296 void (GLAPIENTRYP PixelMapusv)(GLenum map, GLsizei mapsize, const GLushort * values); /* 253 */ [all...] |
glapitemp.h | [all...] |
/external/chromium_org/third_party/mesa/src/include/GL/ |
gl.h | [all...] |
/external/mesa3d/include/GL/ |
gl.h | [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/GL/ |
gl.h | [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/GL/ |
gl.h | [all...] |