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

/external/elfutils/0.153/lib/
H A Dcrc32_file.c67 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/
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/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/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);
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/
H A DSDL_wsconsvideo.c153 size_t len, mapsize; local
283 mapsize = ((int)len + pagemask) & ~pagemask;
284 private->physmem = (Uint8 *)mmap(NULL, mapsize,
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
H A Dindirect.c2958 void __indirect_glPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat * values) argument
2961 const GLuint cmdlen = 12 + __GLX_PAD((mapsize * 4));
2962 if (mapsize < 0) {
2966 if (__builtin_expect((mapsize >= 0) && (gc->currentDpy != NULL), 1)) {
2973 (void) memcpy((void *)(gc->pc + 8), (void *)(&mapsize), 4);
2974 (void) memcpy((void *)(gc->pc + 12), (void *)(values), (mapsize * 4));
2985 (void) memcpy((void *)(pc + 12), (void *)(&mapsize), 4);
2986 __glXSendLargeCommand(gc, pc, 16, values, (mapsize * 4));
2992 void __indirect_glPixelMapuiv(GLenum map, GLsizei mapsize, const GLuint * values) argument
2995 const GLuint cmdlen = 12 + __GLX_PAD((mapsize *
3026 __indirect_glPixelMapusv(GLenum map, GLsizei mapsize, const GLushort * values) argument
[all...]
H A Dglapi_mapi_tmp.h273 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);
3157 GLAPI void APIENTRY GLAPI_PREFIX(PixelMapfv)(GLenum map, GLsizei mapsize, const GLfloat *values) argument
3161 ((void (APIENTRY *)(GLenum map, GLsizei mapsize, const GLfloat *values)) _func)(map, mapsize, values);
3164 GLAPI void APIENTRY GLAPI_PREFIX(PixelMapuiv)(GLenum map, GLsizei mapsize, const GLuint *values) argument
3168 ((void (APIENTRY *)(GLenum map, GLsizei mapsize, const GLuint *values)) _func)(map, mapsize, values);
3171 GLAPI void APIENTRY GLAPI_PREFIX(PixelMapusv)(GLenum map, GLsizei mapsize, cons argument
[all...]
H A Dglapi_mapi_tmp_shared.h265 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);
2556 static void APIENTRY noopPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat *values) argument
2558 (void) map; (void) mapsize; (void) values;
2562 static void APIENTRY noopPixelMapuiv(GLenum map, GLsizei mapsize, const GLuint *values) argument
2564 (void) map; (void) mapsize; (void) values;
2568 static void APIENTRY noopPixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values) argument
2570 (void) map; (void) mapsize; (void) values;
14560 void APIENTRY shared_dispatch_stub_251(GLenum map, GLsizei mapsize, cons argument
14567 shared_dispatch_stub_252(GLenum map, GLsizei mapsize, const GLuint *values) argument
14574 shared_dispatch_stub_253(GLenum map, GLsizei mapsize, const GLushort *values) argument
[all...]
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/glapi/
H A Dglapitemp.h1584 KEYWORD1 void KEYWORD2 NAME(PixelMapfv)(GLenum map, GLsizei mapsize, const GLfloat * values) argument
1586 (void) map; (void) mapsize; (void) values;
1587 DISPATCH(PixelMapfv, (map, mapsize, values), (F, "glPixelMapfv(0x%x, %d, %p);\n", map, mapsize, (const void *) values));
1590 KEYWORD1 void KEYWORD2 NAME(PixelMapuiv)(GLenum map, GLsizei mapsize, const GLuint * values) argument
1592 (void) map; (void) mapsize; (void) values;
1593 DISPATCH(PixelMapuiv, (map, mapsize, values), (F, "glPixelMapuiv(0x%x, %d, %p);\n", map, mapsize, (const void *) values));
1596 KEYWORD1 void KEYWORD2 NAME(PixelMapusv)(GLenum map, GLsizei mapsize, const GLushort * values) argument
1598 (void) map; (void) mapsize; (voi
[all...]

Completed in 2951 milliseconds