Searched refs:bpp (Results 1 – 3 of 3) sorted by relevance
/system/extras/tests/framebuffer/ |
D | fb_test.c | 36 int bpp; member 52 static int get_framebuffer(struct simple_fb *fb, unsigned bpp) in get_framebuffer() argument 72 if (bpp && vi.bits_per_pixel != bpp) { in get_framebuffer() 73 printf("bpp != %d, forcing...\n", bpp); in get_framebuffer() 74 vi.bits_per_pixel = bpp; in get_framebuffer() 100 fb->bpp = vi.bits_per_pixel; in get_framebuffer() 109 fb->bpp = vi.bits_per_pixel; in get_framebuffer() 139 int gr_init(int bpp, int id) in gr_init() argument 154 gr_fb_fd = get_framebuffer(gr_fbs, bpp); in gr_init() 260 int bpp = 0; in main() local [all …]
|
/system/core/adb/daemon/ |
D | framebuffer_service.cpp | 46 unsigned int bpp; member 99 fbinfo.bpp = 32; in framebuffer_service() 113 fbinfo.bpp = 32; in framebuffer_service() 127 fbinfo.bpp = 24; in framebuffer_service() 141 fbinfo.bpp = 16; in framebuffer_service() 155 fbinfo.bpp = 32; in framebuffer_service()
|
/system/netd/resolv/ |
D | gethnamaddr.cpp | 110 static void convert_v4v6_hostent(struct hostent* hp, char** bpp, char* ep, 115 static void pad_v4v6_hostent(struct hostent* hp, char** bpp, char* ep); 678 static void convert_v4v6_hostent(struct hostent* hp, char** bpp, char* ep, in convert_v4v6_hostent() argument 682 _DIAGASSERT(bpp != NULL); in convert_v4v6_hostent() 688 int i = (int) (sizeof(align) - (size_t)((u_long) *bpp % sizeof(align))); in convert_v4v6_hostent() 690 if (ep - *bpp < (i + NS_IN6ADDRSZ)) { in convert_v4v6_hostent() 695 *bpp += i; in convert_v4v6_hostent() 696 map_addr(*ap, *bpp); in convert_v4v6_hostent() 697 *ap = *bpp; in convert_v4v6_hostent() 698 *bpp += NS_IN6ADDRSZ; in convert_v4v6_hostent() [all …]
|