Home
last modified time | relevance | path

Searched refs:last_bytes (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/i2c/
Dtegra_i2c.c238 uchar last_bytes; in send_recv_packets() local
250 last_bytes = trans->num_bytes & 3; in send_recv_packets()
258 if ((words == 1) && last_bytes) { in send_recv_packets()
260 memcpy(&local, dptr, last_bytes); in send_recv_packets()
282 if ((words == 1) && last_bytes) in send_recv_packets()
283 memcpy(dptr, (char *)&local, last_bytes); in send_recv_packets()
/external/brotli/c/enc/
Dencode.c248 uint16_t* last_bytes, uint8_t* last_bytes_bits) { in EncodeWindowBits() argument
250 *last_bytes = (uint16_t)(((lgwin & 0x3F) << 8) | 0x11); in EncodeWindowBits()
254 *last_bytes = 0; in EncodeWindowBits()
257 *last_bytes = 1; in EncodeWindowBits()
260 *last_bytes = (uint16_t)(((lgwin - 17) << 1) | 0x01); in EncodeWindowBits()
263 *last_bytes = (uint16_t)(((lgwin - 8) << 4) | 0x01); in EncodeWindowBits()
554 uint16_t last_bytes; in WriteMetaBlockInternal() local
578 last_bytes = (uint16_t)((storage[1] << 8) | storage[0]); in WriteMetaBlockInternal()
640 storage[0] = (uint8_t)last_bytes; in WriteMetaBlockInternal()
641 storage[1] = (uint8_t)(last_bytes >> 8); in WriteMetaBlockInternal()
[all …]