Searched defs:mapsize (Results 1 - 2 of 2) sorted by last modified time
/frameworks/native/cmds/servicemanager/ |
H A D | binder.c | 92 size_t mapsize; member in struct:binder_state 95 struct binder_state *binder_open(size_t mapsize) argument 119 bs->mapsize = mapsize; 120 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0); 138 munmap(bs->mapped, bs->mapsize);
|
/frameworks/base/cmds/screencap/ |
H A D | 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);
|
Completed in 67 milliseconds