Searched defs:mapsize (Results 1 - 4 of 4) sorted by relevance

/external/elfutils/src/lib/
H A Dcrc32_file.c51 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/
H A Dpixel.c109 store_pixelmap(struct gl_context *ctx, GLenum map, GLsizei mapsize, argument
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, cons argument
149 validate_pbo_access(struct gl_context *ctx, struct gl_pixelstore_attrib *pack, GLsizei mapsize, GLenum format, GLenum type, GLsizei clientMemSize, const GLvoid *ptr) argument
226 _mesa_PixelMapuiv(GLenum map, GLsizei mapsize, const GLuint *values ) argument
282 _mesa_PixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values ) argument
341 GLint mapsize, i; local
392 GLint mapsize, i; local
443 GLint mapsize, i; local
[all...]
H A Ddlist.c3184 save_PixelMapfv(GLenum map, GLint mapsize, const GLfloat *values) argument
3192 n[2].i = mapsize;
3193 n[3].data = (void *) malloc(mapsize * sizeof(GLfloat));
3194 memcpy(n[3].data, (void *) values, mapsize * sizeof(GLfloat));
3197 CALL_PixelMapfv(ctx->Exec, (map, mapsize, values));
3203 save_PixelMapuiv(GLenum map, GLint mapsize, const GLuint *values) argument
3208 for (i = 0; i < mapsize; i++) {
3213 for (i = 0; i < mapsize; i++) {
3217 save_PixelMapfv(map, mapsize, fvalues);
3222 save_PixelMapusv(GLenum map, GLint mapsize, cons argument
[all...]
/external/selinux/libsepol/src/
H A Debitmap.c346 uint32_t buf[3], mapsize, count, i; local
355 mapsize = le32_to_cpu(buf[0]);
359 if (mapsize != MAPSIZE) {
362 mapsize, MAPSIZE, e->highbit);

Completed in 315 milliseconds