Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/crypto/
H A Dwp512.c42 int bufferPos; member
994 wctx->bufferBits = wctx->bufferPos = 0; in wp512_init()
1016 int bufferPos = wctx->bufferPos; in wp512_update() local
1028 buffer[bufferPos++] |= (u8)(b >> bufferRem); in wp512_update()
1032 bufferBits = bufferPos = 0; in wp512_update()
1034 buffer[bufferPos] = b << (8 - bufferRem); in wp512_update()
1041 buffer[bufferPos] |= b >> bufferRem; in wp512_update()
1048 bufferPos++; in wp512_update()
1053 bufferBits = bufferPos = 0; in wp512_update()
1055 buffer[bufferPos] = b << (8 - bufferRem); in wp512_update()
[all …]
/OK3568_Linux_fs/external/xserver/os/
H A Dlog.c120 static int bufferSize = 0, bufferUnused = 0, bufferPos = 0; variable
269 fwrite(saveBuffer, bufferPos, 1, logFile); in LogInit()
629 memcpy(saveBuffer + bufferPos, buf, len); in LogSWrite()
630 bufferPos += len; in LogSWrite()