/external/nanopb-c/tests/decode_unittests/ |
decode_unittests.c | 21 /* Verifies that the stream passed to callback matches the byte array pointed to by arg. */ 25 uint8_t byte; local 30 if (!pb_read(stream, &byte, 1)) 33 if (byte != ref->bytes[i]) 184 * Therefore this tests against a 10-byte string, while otherwise even
|
/art/runtime/ |
memory_region.h | 44 byte* start() const { return reinterpret_cast<byte*>(pointer_); } 45 byte* end() const { return start() + size_; } 60 // significant bit in the first byte. 63 uint8_t byte = *ComputeBitPointer(bit_offset, &bit_mask); local 64 return byte & bit_mask; 69 uint8_t* byte = ComputeBitPointer(bit_offset, &bit_mask); local 71 *byte |= bit_mask; 73 *byte &= ~bit_mask; 99 // Locate the bit with the given offset. Returns a pointer to the byte [all...] |
globals.h | 27 typedef uint8_t byte; typedef in namespace:art
|
/external/chromium_org/third_party/icu/source/tools/icuinfo/ |
icuinfo.cpp | 73 uint8_t byte; member in union:__anon17022 77 if(U_IS_BIG_ENDIAN==u.byte) { 81 U_IS_BIG_ENDIAN, u.byte);
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
coding.cc | 117 uint32_t byte = *(reinterpret_cast<const unsigned char*>(p)); local 119 if (byte & 128) { 121 result |= ((byte & 127) << shift); 123 result |= (byte << shift); 146 uint64_t byte = *(reinterpret_cast<const unsigned char*>(p)); local 148 if (byte & 128) { 150 result |= ((byte & 127) << shift); 152 result |= (byte << shift);
|
/external/chromium_org/third_party/libjpeg_turbo/simd/ |
jsimdcfg.inc.h | 70 %define JSAMPLE byte ; unsigned char variable
|
/external/chromium_org/third_party/skia/tests/ |
PathUtilsTest.cpp | 26 int byte = x >> 3; local 29 return buffer[byte] & (128 >> bit);
|
PremulAlphaRoundTripTest.cpp | 21 uint8_t* byte = reinterpret_cast<uint8_t*>(&packed); local 22 byte[0] = SkColorGetR(c); 23 byte[1] = SkColorGetG(c); 24 byte[2] = SkColorGetB(c); 25 byte[3] = SkColorGetA(c); 31 uint8_t* byte = reinterpret_cast<uint8_t*>(&packed); local 32 byte[0] = SkColorGetB(c); 33 byte[1] = SkColorGetG(c); 34 byte[2] = SkColorGetR(c); 35 byte[3] = SkColorGetA(c) [all...] |
/external/icu/icu4c/source/tools/icuinfo/ |
icuinfo.cpp | 73 uint8_t byte; member in union:__anon1768 77 if(U_IS_BIG_ENDIAN==u.byte) { 81 U_IS_BIG_ENDIAN, u.byte);
|
/external/lldb/source/DataFormatters/ |
CF.cpp | 165 uint8_t byte = bytes[byte_idx]; local 166 bool bit0 = (byte & 1) == 1; 167 bool bit1 = (byte & 2) == 2; 168 bool bit2 = (byte & 4) == 4; 169 bool bit3 = (byte & 8) == 8; 170 bool bit4 = (byte & 16) == 16; 171 bool bit5 = (byte & 32) == 32; 172 bool bit6 = (byte & 64) == 64; 173 bool bit7 = (byte & 128) == 128; 186 // print the last byte ensuring we do not print spurious bit 187 uint8_t byte = bytes[num_bytes-1]; local [all...] |
/bootable/recovery/ |
asn1_decoder.cpp | 65 int byte = *ctx->p; local 68 return byte; 95 int byte = get_byte(ctx); local 96 if (byte == -1) { 100 length += byte; 124 int byte = peek_byte(ctx); local 125 while (byte != -1 && (byte & kMaskConstructed) == kTagConstructed) { 131 byte = peek_byte(ctx); 133 return byte != -1 [all...] |
verifier.cpp | 120 // (2-byte signature start) $ff $ff (2-byte comment size) 409 unsigned int byte; local 412 if (fscanf(f, " %i , { %u", &key_len, &byte) != 2) goto exit; 417 x_bytes[P256_NBYTES - 1] = byte; 419 if (fscanf(f, " , %u", &byte) != 1) goto exit; 420 x_bytes[i] = byte; 422 if (fscanf(f, " } , { %u", &byte) != 1) goto exit; 423 y_bytes[P256_NBYTES - 1] = byte; 425 if (fscanf(f, " , %u", &byte) != 1) goto exit [all...] |
/external/chromium_org/components/rappor/ |
byte_vector_utils.cc | 110 uint8_t byte = vector[i]; local 112 if (byte & (1 << j))
|
/external/chromium_org/courgette/third_party/ |
bsdiff_apply.cc | 104 // Byte-wise arithmetically add bytes from old file to bytes from the diff 120 uint8 byte = old_position[i] + diff_byte; local 121 if (!new_stream->Write(&byte, 1))
|
/external/chromium_org/media/cast/net/rtcp/ |
rtcp_utility.cc | 75 uint8 byte; local 76 if (!reader->ReadU8(&byte)) 78 parsed_header->V = byte >> 6; 79 parsed_header->P = ((byte & 0x20) == 0) ? false : true; 85 parsed_header->IC = byte & 0x1f;
|
/external/chromium_org/ppapi/tests/ |
test_tcp_server_socket_private.cc | 239 const char byte = 'a' + i; local 240 ASSERT_SUBTEST_SUCCESS(SyncWrite(client_sockets[i], &byte, sizeof(byte))); 245 char byte; local 246 ASSERT_SUBTEST_SUCCESS(SyncRead(accepted_sockets[i], &byte, sizeof(byte))); 247 const size_t index = byte - 'a';
|
/external/chromium_org/third_party/icu/source/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/chromium_org/third_party/icu/source/test/intltest/ |
strtest.cpp | 31 uint8_t byte; member in union:__anon16960 35 if(U_IS_BIG_ENDIAN!=u.byte) {
|
/external/icu/icu4c/source/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/icu/icu4c/source/test/intltest/ |
strtest.cpp | 31 uint8_t byte; member in union:__anon1705 35 if(U_IS_BIG_ENDIAN!=u.byte) {
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
nfc_hal_main.c | 580 UINT8 byte; local 695 /* Read one byte to see if there is anything waiting to be read */ 696 if (USERIAL_Read (USERIAL_NFC_PORT, &byte, 1) == 0) 701 if (nfc_hal_nci_receive_msg (byte))
|
/external/lldb/tools/debugserver/source/ |
DNBDataRef.cpp | 246 uint8_t byte; local 252 byte = *src++; 253 result |= (byte & 0x7f) << shift; 255 if ((byte & 0x80) == 0) 279 uint8_t byte = 0; local 285 byte = *src++; 286 result |= (byte & 0x7f) << shift; 288 if ((byte & 0x80) == 0) 292 // Sign bit of byte is 2nd high order bit (0x40) 293 if (shift < size && (byte & 0x40) [all...] |
/bionic/libc/kernel/uapi/linux/ |
i2c.h | 72 __u8 byte; member in union:i2c_smbus_data
|
/development/ndk/platforms/android-3/include/linux/ |
i2c.h | 61 __u8 byte; member in union:i2c_smbus_data
|
/development/ndk/platforms/android-L/include/linux/ |
i2c.h | 72 __u8 byte; member in union:i2c_smbus_data
|