Searched defs:mapsize (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/cmds/screencap/ |
H A D | screencap.cpp | 135 ssize_t mapsize = -1; local 161 mapsize = offset + size; 162 mapbase = mmap(0, mapsize, PROT_READ, MAP_PRIVATE, fb, 0); 192 munmap((void *)mapbase, mapsize);
|
/frameworks/base/cmds/servicemanager/ |
H A D | binder.c | 91 unsigned mapsize; member in struct:binder_state 94 struct binder_state *binder_open(unsigned mapsize) argument 111 bs->mapsize = mapsize; 112 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0); 132 munmap(bs->mapped, bs->mapsize);
|
Completed in 756 milliseconds