Home
last modified time | relevance | path

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

/system/core/init/
Dlogo.c43 unsigned short *bits; member
65 fb->bits = mmap(0, fb_size(fb), PROT_READ | PROT_WRITE, in fb_open()
67 if (fb->bits == MAP_FAILED) in fb_open()
79 munmap(fb->bits, fb_size(fb)); in fb_close()
109 unsigned short *data, *bits, *ptr; in load_565rle_image() local
136 bits = fb.bits; in load_565rle_image()
141 android_memset16(bits, ptr[1], n << 1); in load_565rle_image()
142 bits += n; in load_565rle_image()
/system/core/toolbox/
Dgetevent.c29 uint8_t *bits = NULL; in print_possible_events() local
39 res = ioctl(fd, EVIOCGBIT(i, bits_size), bits); in print_possible_events()
43 bits = realloc(bits, bits_size * 2); in print_possible_events()
44 if(bits == NULL) { in print_possible_events()
55 res2 = ioctl(fd, EVIOCGKEY(res), bits + bits_size); in print_possible_events()
68 res2 = ioctl(fd, EVIOCGLED(res), bits + bits_size); in print_possible_events()
72 res2 = ioctl(fd, EVIOCGSND(res), bits + bits_size); in print_possible_events()
76 res2 = ioctl(fd, EVIOCGSW(bits_size), bits + bits_size); in print_possible_events()
94 if(bits[j] & 1 << k) { in print_possible_events()
96 if(j < res2 && (bits[j + bits_size] & 1 << k)) in print_possible_events()
[all …]
/system/extras/tests/framebuffer/
Dfb_test.c59 void *bits; in get_framebuffer() local
82 bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in get_framebuffer()
83 if(bits == MAP_FAILED) { in get_framebuffer()
92 fb->data = bits; in get_framebuffer()
101 fb->data = (void*) (((unsigned) bits) + vi.yres * vi.xres * 2); in get_framebuffer()
Dmdp_test.c98 void *bits; in get_framebuffer() local
116 bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, *fd, 0); in get_framebuffer()
117 if(bits == MAP_FAILED) { in get_framebuffer()
124 *fb = bits; in get_framebuffer()
/system/core/libpixelflinger/codeflinger/
Dload_store.cpp30 const int bits = addr.size; in store() local
32 switch (bits) { in store()
67 const int bits = addr.size; in load() local
69 switch (bits) { in load()
106 void GGLAssembler::extract(integer_t& d, int s, int h, int l, int bits) in extract() argument
113 if (h != bits) { in extract()
DGGLAssembler.h306 int bits; member
375 void extract(integer_t& d, int s, int h, int l, int bits=32);
505 void build_and_immediate(int d, int s, uint32_t mask, int bits);
Dtexturing.cpp140 const int bits = parts.iterated.size(); in init_iterated_color() local
141 const uint32_t size = ((bits>=32) ? 0 : (1LU << bits)) - 1; in init_iterated_color()
170 mask, bits); in init_iterated_color()
279 tmu.bits = tmu.format.size*8; in decodeTMUNeeds()
348 txPtr.setTo(obtainReg(), tmu.bits); in init_textures()
609 txPtr.setTo(texel.reg, tmu.bits); in build_textures()
794 texel.format.c[i].l = texel.format.c[i].h - (tmu.format.bits(i) + prec); in filter16()
DGGLAssembler.cpp881 void GGLAssembler::build_and_immediate(int d, int s, uint32_t mask, int bits) in build_and_immediate() argument
884 uint32_t size = ((bits>=32) ? 0 : (1LU << bits)) - 1; in build_and_immediate()
/system/extras/libpagemap/include/pagemap/
Dpagemap.h132 #define _BITS(x, offset, bits) (((x) >> offset) & ((1LL << ((bits) + 1)) - 1)) argument
/system/core/
DREADME4 essential bits are required for basic booting, operation, and debugging.
/system/core/include/pixelflinger/
Dformat.h99 inline uint32_t bits(int i) const { in bits() function
/system/core/libmincrypt/
Dsha.c193 #define rol(bits, value) (((value) << (bits)) | ((value) >> (32 - (bits)))) argument
/system/core/libpixelflinger/
Dfixed.cpp273 int bits = 31; in slow_muldiv() local
283 } while (bits--); in slow_muldiv()
Dbuffer.cpp36 static uint32_t extract(uint32_t v, int h, int l, int bits);
278 uint32_t extract(uint32_t v, int h, int l, int bits) in extract() argument
284 if (h != bits) { in extract()
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/TNETWIF/BusTxn/
Dwspi.c148 static UINT8 WSPI_GenerateCRC7 (UINT8* bits, UINT32 len);
1324 static UINT8 WSPI_GenerateCRC7 (UINT8* bits, UINT32 len) in WSPI_GenerateCRC7() argument
1335 bit = (bits[i / 8] & (1 << (7 - (i % 8)))) >> (7 - (i % 8)); in WSPI_GenerateCRC7()