Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/minui/
Dgraphics_fbdev.cpp96 void* bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Init() local
97 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()
Devents.cpp43 constexpr size_t BITS_TO_LONGS(size_t bits) { in BITS_TO_LONGS() argument
44 return ((bits + BITS_PER_LONG - 1) / BITS_PER_LONG); in BITS_TO_LONGS()