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

/frameworks/base/cmds/screencap/
H A Dscreencap.cpp163 ssize_t mapsize = -1; local
254 munmap((void *)mapbase, mapsize);
/frameworks/native/cmds/servicemanager/
H A Dbinder.c94 size_t mapsize; member in struct:binder_state
97 struct binder_state *binder_open(const char* driver, size_t mapsize) argument
123 bs->mapsize = mapsize;
124 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0);
142 munmap(bs->mapped, bs->mapsize);

Completed in 121 milliseconds