Searched refs:copySize (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/lib/ |
H A D | lz4.c | 184 size_t copySize = (size_t)(lowPrefix-match); in LZ4_decompress_generic() local 185 memcpy(op, dictEnd - copySize, copySize); in LZ4_decompress_generic() 186 op += copySize; in LZ4_decompress_generic() 187 copySize = length - copySize; in LZ4_decompress_generic() 188 if (copySize > (size_t)(op-lowPrefix)) /* overlap within current segment */ in LZ4_decompress_generic() 190 BYTE* const endOfMatch = op + copySize; in LZ4_decompress_generic() 196 memcpy(op, lowPrefix, copySize); in LZ4_decompress_generic() 197 op += copySize; in LZ4_decompress_generic()
|
/openbmc/linux/lib/lz4/ |
H A D | lz4_decompress.c | 358 size_t const copySize = (size_t)(lowPrefix - match); in LZ4_decompress_generic() local 359 size_t const restSize = length - copySize; in LZ4_decompress_generic() 361 LZ4_memcpy(op, dictEnd - copySize, copySize); in LZ4_decompress_generic() 362 op += copySize; in LZ4_decompress_generic()
|
/openbmc/linux/drivers/usb/serial/ |
H A D | io_edgeport.c | 1117 int copySize; in edge_write() local 1132 copySize = min((unsigned int)count, in edge_write() 1136 __func__, count, edge_port->txCredits - fifo->count, copySize); in edge_write() 1140 if (copySize == 0) { in edge_write() 1153 firsthalf = min(bytesleft, copySize); in edge_write() 1169 secondhalf = copySize-firsthalf; in edge_write() 1190 __func__, copySize, edge_port->txCredits, fifo->count); in edge_write() 1192 return copySize; in edge_write()
|