Searched refs:bits (Results 1 – 2 of 2) sorted by relevance
96 void* bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Init() local97 if (bits == MAP_FAILED) { in Init()102 memset(bits, 0, fi.smem_len); in Init()106 gr_framebuffer[0]->buffer_ = static_cast<uint8_t*>(bits); in Init()
40 constexpr size_t BITS_TO_LONGS(size_t bits) { in BITS_TO_LONGS() argument41 return ((bits + BITS_PER_LONG - 1) / BITS_PER_LONG); in BITS_TO_LONGS()