Lines Matching defs:buffer
129 (prepared) to the Preflight Open() call. There is a read/write op, buffer offset to the IOMD for
637 vars->buffer = (uint8_t *) ioBuffer->getBytesNoCopy();
901 bytes = vars->buffer + vars->bufferOffset;
912 bcopy(bytes, vars->buffer + vars->bufferHalf + vars->bufferOffset, copy);
916 bzero(vars->buffer + vars->bufferHalf + vars->bufferOffset, copy);
945 // encrypt the buffer
946 aes_encrypt_cbc(vars->buffer + vars->bufferHalf + encryptStart,
949 vars->buffer + vars->bufferHalf + encryptStart,
958 bcopy(vars->buffer + vars->bufferHalf + encryptStart + encryptLen - AES_BLOCK_SIZE,
1025 bcopy(vars->buffer + vars->bufferHalf + vars->bufferOffset, bytes, copy);
1093 bcopy(vars->buffer + vars->bufferHalf + lastReadLength - AES_BLOCK_SIZE,
1096 // decrypt the buffer
1099 aes_decrypt_cbc(vars->buffer + vars->bufferHalf,
1102 vars->buffer + vars->bufferHalf,
2030 hibernate_pal_write(void *buffer, size_t size)
2034 IOReturn err = IOPolledFileWrite(vars->fileVars, (const uint8_t *)buffer, size, local_cryptvars);
2258 // write the preview buffer