Searched refs:mapsize (Results 1 – 4 of 4) sorted by relevance
/external/elfutils/lib/ |
D | crc32_file.c | 67 size_t mapsize = st.st_size; in crc32_file() local 68 void *mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0); in crc32_file() 72 mapsize = ((mapsize / 2) + pagesize - 1) & -pagesize; in crc32_file() 73 while (mapsize >= pagesize in crc32_file() 74 && (mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, in crc32_file() 76 mapsize /= 2; in crc32_file() 82 if (st.st_size <= (off_t) mapsize) in crc32_file() 85 munmap (mapped, mapsize); in crc32_file() 88 crc = crc32 (crc, mapped, mapsize); in crc32_file() 89 off += mapsize; in crc32_file() [all …]
|
/external/libsepol/src/ |
D | ebitmap.c | 346 uint32_t buf[3], mapsize, count, i; in ebitmap_read() local 355 mapsize = le32_to_cpu(buf[0]); in ebitmap_read() 359 if (mapsize != MAPSIZE) { in ebitmap_read() 362 mapsize, MAPSIZE, e->highbit); in ebitmap_read()
|
/external/qemu/distrib/sdl-1.2.12/src/video/wscons/ |
D | SDL_wsconsvideo.c | 153 size_t len, mapsize; in WSCONS_VideoInit() local 283 mapsize = ((int)len + pagemask) & ~pagemask; in WSCONS_VideoInit() 284 private->physmem = (Uint8 *)mmap(NULL, mapsize, in WSCONS_VideoInit()
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
D | 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))
|