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.c45 uint8_t bits[INPUT_PROP_CNT / 8]; in print_input_props() local
52 res = ioctl(fd, EVIOCGPROP(sizeof(bits)), bits); in print_input_props()
60 if (bits[i] & 1 << j) { in print_input_props()
77 uint8_t *bits = NULL; in print_possible_events() local
89 res = ioctl(fd, EVIOCGBIT(i, bits_size), bits); in print_possible_events()
93 bits = realloc(bits, bits_size * 2); in print_possible_events()
94 if(bits == NULL) { in print_possible_events()
102 res2 = ioctl(fd, EVIOCGKEY(res), bits + bits_size); in print_possible_events()
119 res2 = ioctl(fd, EVIOCGLED(res), bits + bits_size); in print_possible_events()
124 res2 = ioctl(fd, EVIOCGSND(res), bits + bits_size); in print_possible_events()
[all …]
/system/extras/tests/framebuffer/
Dfb_test.c55 void *bits; in get_framebuffer() local
88 bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in get_framebuffer()
89 if(bits == MAP_FAILED) { in get_framebuffer()
99 fb->data = bits; in get_framebuffer()
107 fb->data = (void *)((unsigned long)bits + 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.cpp33 const int bits = addr.size; in store() local
35 switch (bits) { in store()
70 const int bits = addr.size; in load() local
72 switch (bits) { in load()
109 void GGLAssembler::extract(integer_t& d, int s, int h, int l, int bits) in extract() argument
118 if ((h == bits) && !l && (s != d.reg)) { in extract()
120 } else if ((h == bits) && l) { in extract()
130 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.cpp143 const int bits = parts.iterated.size(); in init_iterated_color() local
144 const uint32_t size = ((bits>=32) ? 0 : (1LU << bits)) - 1; in init_iterated_color()
173 mask, bits); in init_iterated_color()
282 tmu.bits = tmu.format.size*8; in decodeTMUNeeds()
351 txPtr.setTo(obtainReg(), tmu.bits); in init_textures()
612 txPtr.setTo(texel.reg, tmu.bits); in build_textures()
797 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.h101 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/extras/ext4_utils/
Dsha1.c33 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) argument