Searched refs:shrink_by (Results 1 – 4 of 4) sorted by relevance
166 int w, h, x, y, shrink_by; in filter_frame() local217 shrink_by = w % s->round; in filter_frame()218 w -= shrink_by; in filter_frame()219 x += (shrink_by/2 + 1) & ~1; in filter_frame()221 shrink_by = h % s->round; in filter_frame()222 h -= shrink_by; in filter_frame()223 y += (shrink_by/2 + 1) & ~1; in filter_frame()
133 … if(!region.shrink_by(region.get_size()/2, false) || region.get_size() != original_region_size/2){ in main()137 … if(!region.shrink_by(region.get_size()/2, true) || region.get_size() != shrunk_region_size/2){ in main()
195 bool shrink_by(std::size_t bytes, bool from_back = true);524 inline bool mapped_region::shrink_by(std::size_t bytes, bool from_back) in shrink_by() function in boost::interprocess::mapped_region724 inline bool mapped_region::shrink_by(std::size_t bytes, bool from_back) in shrink_by() function in boost::interprocess::mapped_region
7016 * Added `shrink_by` and `advise` functions in `mapped_region`.