/system/core/include/system/ |
H A D | audio.h | 188 AUDIO_FORMAT_PCM_SUB_16_BIT = 0x1, /* DO NOT CHANGE - PCM signed 16 bits */ 189 AUDIO_FORMAT_PCM_SUB_8_BIT = 0x2, /* DO NOT CHANGE - PCM unsigned 8 bits */ 231 /* Audio format consists of a main format field (upper 8 bits) and a sub format 232 * field (lower 24 bits). 302 /* These can be the bits portion of an audio_channel_mask_t 304 * Using these bits as a complete audio_channel_mask_t is deprecated. 327 /* TODO: should these be considered complete channel masks, or only bits? */ 384 /* These are bits only, not complete values */ 402 /* TODO: should these be considered complete channel masks, or only bits, or deprecated? */ 437 * The constants AUDIO_CHANNEL_OUT_* or AUDIO_CHANNEL_IN_* apply to the bits portio 494 uint32_t bits = audio_channel_mask_get_bits(channel); local 508 audio_channel_mask_from_representation_and_bits( audio_channel_representation_t representation, uint32_t bits) argument 1114 uint32_t bits = audio_channel_mask_get_bits(channel); local 1136 uint32_t bits = audio_channel_mask_get_bits(channel); local 1158 uint32_t bits = audio_channel_mask_get_bits(channel); local 1179 uint32_t bits = audio_channel_mask_get_bits(channel); local 1204 uint32_t bits; local 1248 uint32_t bits; local 1279 uint32_t bits = (1 << channel_count) - 1; local [all...] |
/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/core/libbacktrace/ |
H A D | GetPss.cpp | 28 #define _BITS(x, offset, bits) (((x) >> offset) & ((1LL << (bits)) - 1))
|
/system/core/libmincrypt/ |
H A D | sha256.c | 36 #define ror(value, bits) (((value) >> (bits)) | ((value) << (32 - (bits)))) 37 #define shr(value, bits) ((value) >> (bits))
|
H A D | sha.c | 36 #define rol(bits, value) (((value) << (bits)) | ((value) >> (32 - (bits))))
|
/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/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 | 316 int bits; member in struct:android::GGLAssembler::texture_unit_t 385 void extract(integer_t& d, int s, int h, int l, int bits=32); 515 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/extras/libpagemap/include/pagemap/ |
H A D | pagemap.h | 159 #define _BITS(x, offset, bits) (((x) >> offset) & ((1LL << (bits)) - 1))
|
/system/core/include/pixelflinger/ |
H A D | format.h | 101 inline uint32_t bits(int i) const { function in struct:__anon43
|
/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/keymaster/ |
H A D | ocb.c | 250 /* KtopStr is reg correct by 64 bits, return mem correct */ 300 /* KtopStr is reg correct by 64 bits, return mem correct */ 520 static int AES_set_encrypt_key(const unsigned char* userKey, const int bits, AES_KEY* key) { argument 521 if (bits == 128) { 523 } else if (bits == 192) { 525 } else if (bits == 256) { 529 key->rounds = 6 + bits / 32; 546 static int AES_set_decrypt_key(const unsigned char* userKey, const int bits, AES_KEY* key) { argument 548 AES_set_encrypt_key(userKey, bits, &temp_key); 775 idx = (unsigned)(tmp.u8[15] & 0x3f); /* Get low 6 bits o [all...] |
/system/extras/ext4_utils/ |
H A D | sha1.c | 35 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits))))
|