/external/yaffs2/yaffs2/ |
H A D | 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 | [all...] |
/external/zlib/src/contrib/iostream2/ |
H A D | 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);
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
H A D | dbus_dict_helpers.c | 227 * Add a byte entry to the dict. 232 * @param value The byte value 416 * Add a byte array entry to the dict. 421 * @param value The byte array 422 * @param value_len The length of the byte array, in bytes 527 * Add a single byte array element to a string array dict entry 748 char byte; local 766 dbus_message_iter_get_basic(iter, &byte); 767 entry->bytearray_value[count] = byte;
|
/external/valgrind/main/none/tests/s390x/ |
H A D | clcl.c | 81 assert((pad & 0xFF) == pad); /* an 8-byte value */ 103 printf("FAIL: pad byte modified (unused bits 0)\n"); 121 printf("FAIL: pad byte modified (unused bits 1)\n"); 155 uint8_t byte, byte1, byte2; local 173 /* Test 3: Compare a single byte against the pad byte */ 175 byte = 10; 176 run_test(NULL, 0, &byte, 1, 10); // equal 177 run_test(NULL, 0, &byte, 1, 9); // first operand low 178 run_test(NULL, 0, &byte, [all...] |
H A D | mvcl.c | 82 assert((pad & 0xFF) == pad); /* an 8-byte value */ 107 printf("FAIL: pad byte modified (unused bits 0)\n"); 126 printf("FAIL: pad byte modified (unused bits 1)\n"); 174 uint8_t byte, buf[10], small[5], i; local 188 run_test(&byte, 1, NULL, 0, 'a'); 196 byte = 'x'; 197 run_test(&byte, 1, &byte, 1, 'a'); 225 Pad byte unused */ 243 Pad byte use [all...] |
/external/vixl/src/ |
H A D | globals-vixl.h | 62 typedef uint8_t byte; typedef
|
/external/webp/src/demux/ |
H A D | demux.c | 149 const uint8_t byte = mem->buf_[mem->start_]; local 151 return byte;
|
/external/valgrind/main/VEX/priv/ |
H A D | guest_s390_helpers.c | 650 /* The function looks at the first byte of an UTF-8 character and returns 662 s390_do_cu12_cu14_helper1(UInt byte, UInt etf3_and_m3_is_1) argument 664 vassert(byte <= 0xff); 667 if (byte >= 0x80 && byte <= 0xbf) return 1; 668 if (byte >= 0xf8) return 1; 671 if (byte == 0xc0 || byte == 0xc1) return 1; 672 if (byte >= 0xf5 && byte < [all...] |
H A D | guest_s390_toIR.c | 1124 /* Return the guest state offset of byte #6 of a gpr register. */ 1131 /* Write byte #6 of a gpr to the guest state. */ 1140 /* Read byte #6 of a gpr register. */ 1147 /* Return the guest state offset of byte #3 of a gpr register. */ 1154 /* Write byte #3 of a gpr to the guest state. */ 1163 /* Read byte #3 of a gpr register. */ 1170 /* Return the guest state offset of byte #0 of a gpr register. */ 1177 /* Write byte #0 of a gpr to the guest state. */ 1186 /* Read byte #0 of a gpr register. */ 1239 /* Return the guest state offset of byte # 11019 IRTemp byte = newTemp(Ity_I8); local 11524 IRTemp byte = newTemp(Ity_I8); local 16480 UChar byte; local [all...] |
/external/valgrind/main/coregrind/m_debuginfo/ |
H A D | d3basics.c | 349 UChar byte; local 355 byte = * data ++; 358 result |= ((ULong)(byte & 0x7f)) << shift; 363 while (byte & 0x80); 368 if (sign && (shift < 64) && (byte & 0x40)) 1068 /* 11 byte block: 3 c0 b6 2b 0 0 0 0 0 23 4 1075 && p[1 + sizeof(Addr) + 1] < 0x80 /*1-byte ULEB*/) {
|
H A D | readdwarf.c | 216 UChar byte; local 221 byte = ML_(cur_step_UChar)(data); 222 result |= ((ULong)(byte & 0x7f)) << shift; 225 while (byte & 0x80); 227 if (sign && (shift < 64) && (byte & 0x40)) 2625 /* ------------ Pick apart DWARF2 byte streams ------------ */
|
H A D | readdwarf3.c | 287 UChar byte; local 289 byte = get_UChar( c ); 290 result = (ULong)(byte & 0x7f); 291 if (LIKELY(!(byte & 0x80))) return result; 295 byte = get_UChar( c ); 296 result |= ((ULong)(byte & 0x7f)) << shift; 298 } while (byte & 0x80); 304 UChar byte; local 306 byte = get_UChar(c); 307 result |= ((ULong)(byte 701 UChar byte = get_UChar( &loc ); local [all...] |
/external/valgrind/main/coregrind/m_scheduler/ |
H A D | scheduler.c | 772 /* ppc guest_state vector regs must be 16 byte aligned for 784 /* arm guest_state VFP regs must be 8 byte aligned for 1492 UChar byte = ((UChar *)addr)[0]; local 1493 UInt insn_length = ((((byte >> 6) + 1) >> 1) + 1) << 1;
|
/external/valgrind/main/coregrind/ |
H A D | m_signals.c | 1716 UChar byte = ((UChar *)addr)[0]; local 1717 Int insn_length = ((((byte >> 6) + 1) >> 1) + 1) << 1;
|
/external/valgrind/main/memcheck/tests/ |
H A D | sh-mem-random.c | 28 // For the byte 'x', build a value of 'size' bytes from that byte, eg: 37 U8 build(int size, U1 byte) argument 48 mask |= (U8)byte; 80 fprintf(stderr, "\n\nFAILURE: %s, byte %d -- " 88 printf("test passed, sum = %llu (%9.5f per byte)\n", 181 genuine 8-byte load/store to test the relevant memcheck
|
H A D | sh-mem.c | 29 // For the byte 'x', build a value of 'size' bytes from that byte, eg: 38 U8 build(int size, U1 byte) argument 49 mask |= (U8)byte; 64 // Check that all the bytes in a[x..y-1] have their V byte equal 77 fprintf(stderr, "\n\nFAILURE: %s, offset %d, byte %d -- " 150 /* For each of the 256 possible V byte values... */ \
|
/external/tcpdump/ |
H A D | addrtoname.c | 176 register u_int byte; local 186 byte = addr & 0xff; 187 *--cp = byte % 10 + '0'; 188 byte /= 10; 189 if (byte > 0) { 190 *--cp = byte % 10 + '0'; 191 byte /= 10; 192 if (byte > 0) 193 *--cp = byte + '0'; 207 * is assumed to be in network byte orde [all...] |
H A D | decnet.h | 25 typedef u_int8_t byte[1]; /* single byte field */ typedef 28 * the keyword 'byte' generates conflicts in Windows 30 typedef unsigned char Byte[1]; /* single byte field */ 31 #define byte Byte macro 33 typedef u_int8_t word[2]; /* 2 byte field */ 66 byte sh_flags; /* route flags */ 69 byte sh_visits; /* visit count */ 74 byte lg_flags; /* route flags */ 75 byte lg_dare [all...] |
H A D | print-esp.c | 185 u_int byte; local 187 byte = (hexdigit(ndo, hexstring[0]) << 4) + hexdigit(ndo, hexstring[1]); 188 return byte;
|
H A D | util.c | 451 int byte; local 454 for (byte = 0; byte < 16; byte++) { 458 if (mask[byte] == bitmasks[bits]) { 464 if (mask[byte] != 0xff)
|
/external/srec/portable/src/ |
H A D | 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/skia/src/core/ |
H A D | SkScalerContext.cpp | 527 static inline int convert_8_to_1(unsigned byte) { argument 528 SkASSERT(byte <= 0xFF); 529 return byte >> 7;
|
H A D | SkStream.cpp | 52 uint8_t byte; local 53 if (!this->read(&byte, 1)) { 56 if (SK_BYTE_SENTINEL_FOR_U16 == byte) { 58 } else if (SK_BYTE_SENTINEL_FOR_U32 == byte) { 61 return byte;
|
/external/skia/src/effects/ |
H A D | SkColorFilters.cpp | 541 static SkScalar byte_to_scale(U8CPU byte) { argument 542 if (0xFF == byte) { 546 return byte * 0.00392156862745f;
|
/external/skia/src/images/ |
H A D | SkImageDecoder_libico.cpp | 318 int byte = readByte(buf, xorOffset + (pixelNo >> 3)); local 321 // Read all of the bits in this byte. 330 colorBit = (byte & m) >> shift; 346 int byte = readByte(buf, xorOffset + (pixelNo >> 1)); local 347 int pixel = (byte >> 4) & 0xF; 354 pixel = byte & 0xF;
|