/system/core/init/ |
H A D | logo.c | 43 unsigned short *bits; member in struct:FB 65 fb->bits = mmap(0, fb_size(fb), PROT_READ | PROT_WRITE, 67 if (fb->bits == MAP_FAILED) 79 munmap(fb->bits, fb_size(fb)); 109 unsigned short *data, *bits, *ptr; local 136 bits = fb.bits; 141 android_memset16(bits, ptr[1], n << 1); 142 bits += n;
|
/system/core/toolbox/ |
H A D | getevent.c | 45 uint8_t bits[INPUT_PROP_CNT / 8]; local 52 res = ioctl(fd, EVIOCGPROP(sizeof(bits)), bits); 60 if (bits[i] & 1 << j) { 77 uint8_t *bits = NULL; local 89 res = ioctl(fd, EVIOCGBIT(i, bits_size), bits); 93 bits = realloc(bits, bits_size * 2); 94 if(bits == NULL) { 102 res2 = ioctl(fd, EVIOCGKEY(res), bits [all...] |
/system/extras/tests/framebuffer/ |
H A D | fb_test.c | 55 void *bits; local 88 bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); 89 if(bits == MAP_FAILED) { 99 fb->data = bits; 107 fb->data = (void *)((unsigned long)bits +
|
/system/extras/libpagemap/include/pagemap/ |
H A D | pagemap.h | 132 #define _BITS(x, offset, bits) (((x) >> offset) & ((1LL << (bits)) - 1))
|
/system/core/libpixelflinger/codeflinger/ |
H A D | load_store.cpp | 33 const int bits = addr.size; local 35 switch (bits) { 41 // 24 bits formats are a little special and used only for RGB 70 const int bits = addr.size; local 72 switch (bits) { 78 // 24 bits formats are a little special and used only for RGB 109 void GGLAssembler::extract(integer_t& d, int s, int h, int l, int bits) argument 122 if ((h == bits) && !l && (s != d.reg)) { 124 } else if ((h == bits) && l) { 134 if (h != bits) { [all...] |
H A D | GGLAssembler.h | 310 int bits; member in struct:android::GGLAssembler::texture_unit_t 379 void extract(integer_t& d, int s, int h, int l, int bits=32); 509 void build_and_immediate(int d, int s, uint32_t mask, int bits);
|
H A D | texturing.cpp | 143 const int bits = parts.iterated.size(); local 144 const uint32_t size = ((bits>=32) ? 0 : (1LU << bits)) - 1; 173 mask, bits); 282 tmu.bits = tmu.format.size*8; 351 txPtr.setTo(obtainReg(), tmu.bits); 488 // for 8-bits textures, we can afford 489 // 7 bits of fractional precision at no 490 // additional cost (we can't do 8 bits 491 // because filter8 uses signed 16 bits mul [all...] |
H A D | GGLAssembler.cpp | 504 // expand the source if the destination has more bits 540 // expand the source if the destination has more bits 568 // We keep only 8 bits for the blending stage 884 void GGLAssembler::build_and_immediate(int d, int s, uint32_t mask, int bits) argument 887 uint32_t size = ((bits>=32) ? 0 : (1LU << bits)) - 1;
|
/system/core/include/pixelflinger/ |
H A D | format.h | 101 inline uint32_t bits(int i) const { function in struct:__anon314
|
/system/core/libmincrypt/ |
H A D | sha.c | 193 #define rol(bits, value) (((value) << (bits)) | ((value) >> (32 - (bits))))
|
/system/core/libpixelflinger/ |
H A D | buffer.cpp | 36 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) argument 284 if (h != bits) { 353 // we need to clear the high bits of the source 367 // sbits==dbits and we don't need to clean the lower bits
|
H A D | fixed.cpp | 110 // Compute a full precision square-root (24 bits accuracy) 270 if ((result >> 31) != 0) // result must fit in 31 bits 274 int bits = 31; local 284 } while (bits--);
|
/system/extras/ext4_utils/ |
H A D | sha1.c | 35 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits))))
|