/external/elfutils/libasm/ |
asm_adduleb128.c | 45 uint32_t byte; local 49 byte = num & 0x7f; 53 /* This is the last byte. */ 56 *dest++ = byte | 0x80; 59 *dest++ = byte;
|
asm_addsleb128.c | 45 uint32_t byte; local 49 byte = 0; 53 byte = num & 0x7f; 57 /* This is the last byte. */ 60 *dest++ = byte | 0x80; 63 *dest++ = byte;
|
/external/srec/portable/src/ |
pcrc.c | 127 register unsigned char byte; local 136 byte = (unsigned char)((remainder >> (WIDTH - 8)) ^ *p++); 137 remainder = crcTable[byte] ^(remainder << 8); 139 byte = (unsigned char)(((remainder >> (WIDTH - 8)) ^(*p >> 8)) & 0xFF); 140 remainder = crcTable[byte] ^(remainder << 8); 141 byte = (unsigned char)(((remainder >> (WIDTH - 8)) ^(*p++ & 0xFF)) & 0xFF); 142 remainder = crcTable[byte] ^(remainder << 8);
|
/external/v8/src/ |
disasm.h | 33 typedef unsigned char byte; typedef in namespace:disasm 44 virtual const char* NameOfAddress(byte* addr) const; 45 virtual const char* NameOfConstant(byte* addr) const; 46 virtual const char* NameInCode(byte* addr) const; 60 int InstructionDecode(v8::internal::Vector<char> buffer, byte* instruction); 64 int ConstantPoolSizeAt(byte* instruction); 68 static void Disassemble(FILE* f, byte* begin, byte* end);
|
/external/iproute2/lib/ |
dnet_ntop.c | 10 u_int8_t byte[2]; member in union:__anon2626 15 return ((u_int16_t)u.byte[0]) | (((u_int16_t)u.byte[1]) << 8);
|
dnet_pton.c | 10 u_int8_t byte[2]; member in union:__anon2627 15 return ((u_int16_t)u.byte[0]) | (((u_int16_t)u.byte[1]) << 8);
|
/external/opencore/codecs_v2/video/avc_h264/enc/src/ |
bitstream_io.cpp | 76 /* Purpose : Save the current_word into the buffer, byte-swap, and */ 86 uint8 *write_pnt, byte; local 89 /* check number of bytes in current_word, must always be byte-aligned!!!! */ 100 /* write word, byte-by-byte */ 106 byte = (current_word >> num_bits) & 0xFF; 107 if (byte != 0) 109 *write_pnt++ = byte; 116 *write_pnt++ = byte; 252 /* check whether it's byte-aligned * [all...] |
/frameworks/base/media/libstagefright/ |
DataSource.cpp | 35 uint8_t byte[2]; local 36 if (readAt(offset, byte, 2) != 2) { 40 *x = (byte[0] << 8) | byte[1];
|
/external/opencore/baselibs/gen_data_structures/src/ |
bitstreamparser.cpp | 73 //Optimize reads for special cases such as byte-aligned reads and 77 //This is the special case where a read is a whole byte (aligned). 80 //OR the current byte from the stream into the output. 82 //Advance the stream byte pointer. 90 //to read from the current byte. 97 //Process the bits in the current byte... 99 //Determine the number of bits remaining in the current byte of the stream. 109 //This reads the current byte from the stream, 127 //If bitpos is not on a byte boundary, have to use ReadBits... 176 uint8 byte = *bytepos local [all...] |
/external/skia/src/animator/ |
SkBase64.cpp | 54 int byte = 0; local 64 bytes[byte] = decoded; 70 byte++; 73 if (byte == 0) 75 if (byte == 4) 78 if (byte < 2) 81 if (byte == 2) 84 } while (byte < 4);
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_macros.h | 415 /* extract a byte portably */ 417 #define byte(x, n) ((unsigned char)((x) >> (8 * (n)))) macro 419 #define byte(x, n) (((x) >> (8 * (n))) & 255) macro
|
/external/quake/quake/src/WinQuake/ |
common.h | 23 typedef unsigned char byte; typedef 43 byte *data; 71 #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) 180 byte *COM_LoadStackFile (const char *path, void *buffer, int bufsize); 181 byte *COM_LoadTempFile (const char *path); 182 byte *COM_LoadHunkFile (const char *path);
|
/external/yaffs2/yaffs2/ |
yaffs_ecc.c | 21 * The ECC can correct single bit errors in a 256-byte page of data. Thus, two such ECC 22 * blocks are used on a 512-byte NAND page. 28 * for each byte of data. These are instead provided in a table in bits7..2. 99 /* Calculate the ECC for a 256-byte block of data */ 114 if (b & 0x01) // odd number of bits in the byte 171 /* Correct the ECC on a 256 byte block of data */ 190 unsigned byte; local 202 bit = byte = 0; 205 byte |= 0x80; 207 byte |= 0x40 [all...] |
/external/icu4c/io/ |
ufmt_cmn.c | 206 /* Get the first nibble of the byte */ 207 uint8_t byte = (uint8_t)ufmt_digitvalue(buffer[count]); local 210 /* Get the second nibble of the byte when available */ 211 byte = (uint8_t)(byte + (ufmt_digitvalue(buffer[--count]) << 4)); 213 /* Write the byte into the array */ 214 result.bytes[resultIdx] = byte;
|
/external/icu4c/test/intltest/ |
strtest.cpp | 28 uint8_t byte; member in union:__anon2401 32 if(U_IS_BIG_ENDIAN!=u.byte) {
|
/external/opencore/fileformats/mp4/composer/src/ |
atomutils.cpp | 31 // Render the 64 bits byte by byte and take most significant byte first 40 uint8 byte = (uint8)((data >> (56 - i)) & 0x000000ff); local 41 if (fp->_filePtr->Write(&byte, 1, 1) != 1) 51 // Render the 32 bits byte by byte and take most significant byte first 59 uint8 byte = (uint8)((data >> (24 - i)) & 0x000000ff); local 60 if (fp->_filePtr->Write(&byte, 1, 1) != 1 78 uint8 byte = (uint8)((data >> (16 - i)) & 0x0000ff); local 97 uint8 byte = (uint8)((data >> (8 - i)) & 0x00ff); local 129 uint8 byte = 0; local 185 uint8 byte = 0; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_blit_0.c | 48 Uint8 byte = 0, bit; local 51 byte = *src++; 53 bit = (byte&0x80)>>7; 58 byte <<= 1; 65 Uint8 byte = 0, bit; local 68 byte = *src++; 70 bit = (byte&0x80)>>7; 75 byte <<= 1; 101 Uint8 byte = 0, bit; local 104 byte = *src++ 135 Uint8 byte = 0, bit; local 173 Uint8 byte = 0, bit; local 207 Uint8 byte = 0, bit; local 224 Uint8 byte = 0, bit; local 259 Uint8 byte = 0, bit; local 292 Uint8 byte = 0, bit; local 326 Uint8 byte = 0, bit; local 362 Uint8 byte = 0, bit; local 409 Uint8 byte = 0, bit; local [all...] |
/external/zlib/contrib/iostream2/ |
zstream.h | 46 struct Val { unsigned char byte; size_t word; } val; member in struct:zstringlen::Val 130 zs > val.byte; 131 if (val.byte == 255) zs > val.word; 132 else val.word = val.byte; 278 val.byte = 255; val.word = ::strlen(x); 279 if (val.word < 255) zs < (val.byte = val.word);
|
/bionic/libc/kernel/common/linux/ |
i2c.h | 61 __u8 byte; member in union:i2c_smbus_data
|
/external/dbus/tools/ |
dbus-send.c | 49 unsigned char byte; local 56 byte = strtoul (value, NULL, 0); 57 dbus_message_iter_append_basic (iter, DBUS_TYPE_BYTE, &byte); 197 else if (!strcmp (arg, "byte"))
|
/external/icu4c/i18n/ |
ucol_wgt.c | 68 setWeightByte(uint32_t weight, int32_t idx, uint32_t byte) { 69 uint32_t mask; /* 0xffffffff except a 00 "hole" for the index-th byte */ 75 return (uint32_t)((weight&mask)|(byte<<idx)); 95 uint32_t byte; local 98 byte=getWeightByte(weight, length); 99 if(byte<maxByte) { 100 return setWeightByte(weight, length, byte+1); 102 /* roll over, set this byte to UCOL_BYTE_FIRST_TAILORED and increment the previous one */ 309 /* number of usable byte values 3..maxByte */ 364 /* sum up the number of elements that fit into ranges of each byte length * 406 uint32_t byte; local [all...] |
/external/opencore/codecs_v2/video/m4v_h263/enc/src/ |
bitstream_io.cpp | 36 1. There is a problem when output the last bits(which can not form a byte yet 37 so when you output, you need to stuff to make sure it is a byte 38 2. I now hard coded byte to be 8 bits*/ 264 numbyte = bitused >> 3; /* number of byte fully used */ 302 // *ptr = (UChar)((word>>shift)&0xFF); /* need to do it for the last fractional byte */ 359 /* Question: in MPEG-4 , short_video_header[0]==0 => even already byte aligned, will still stuff 8 bits 436 if (!offset) /* bitstream1 is byte-aligned */ 443 /* since bitstream1 doesn't have to be byte-aligned, we have to process byte by byte */ 582 UChar *ptr, byte; local 682 UChar *pSrc, *pDst, byte; local [all...] |
/external/ppp/pppd/ |
md4.c | 25 ** MD.buffer[3]. (Least-significant byte of each word 84 ** Order is from low-order byte of buffer[0] to high-order byte of 86 ** Each byte is printed with high-order hexadecimal digit first. 198 ** (if not a multiple of 8, uses high bits of last byte.) 214 unsigned int i, tmp, bit, byte, mask; local 249 byte = count >> 3; 252 for (i=0;i<=byte;i++) XX[i] = X[i]; 253 for (i=byte+1;i<64;i++) XX[i] = 0; 254 /* Add padding '1' bit and low-order zeros in last byte */ [all...] |
/external/quake/quake/src/QW/client/ |
common.h | 22 typedef unsigned char byte; typedef 41 byte *data; 67 #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) 200 byte *COM_LoadStackFile (char *path, void *buffer, int bufsize); 201 byte *COM_LoadTempFile (char *path); 202 byte *COM_LoadHunkFile (char *path); 219 byte COM_BlockSequenceCheckByte (byte *base, int length, int sequence, unsigned mapchecksum); 220 byte COM_BlockSequenceCRCByte (byte *base, int length, int sequence); [all...] |
/external/skia/src/images/ |
SkImageDecoder_libico.cpp | 290 int byte = readByte(buf, xorOffset + (pixelNo >> 3)); local 293 // Read all of the bits in this byte. 302 colorBit = (byte & m) >> shift; 318 int byte = readByte(buf, xorOffset + (pixelNo >> 1)); local 319 int pixel = (byte >> 4) & 0xF; 326 pixel = byte & 0xF;
|