if ( m_Context.empty() )
return RESULT_INIT;
- register h__AESContext* Ctx = m_Context;
+ h__AESContext* Ctx = m_Context;
const byte_t* in_p = ct_buf;
byte_t* out_p = pt_buf;
Kumu::FileWriter::Writev(const byte_t* buf, ui32_t buf_len)
{
assert( ! m_IOVec.empty() );
- register h__iovec* iov = m_IOVec;
+ h__iovec* iov = m_IOVec;
KM_TEST_NULL_L(buf);
if ( iov->m_Count >= IOVecMaxEntries )
Kumu::FileWriter::Writev(ui32_t* bytes_written)
{
assert( ! m_IOVec.empty() );
- register h__iovec* iov = m_IOVec;
+ h__iovec* iov = m_IOVec;
ui32_t tmp_int;
if ( bytes_written == 0 )
Result_t result = Kumu::RESULT_OK;
// AFAIK, there is no writev() equivalent in the win32 API
- for ( register int i = 0; i < iov->m_Count; i++ )
+ for ( int i = 0; i < iov->m_Count; i++ )
{
ui32_t tmp_count = 0;
BOOL wr_result = ::WriteFile(m_Handle,
Kumu::FileWriter::Writev(ui32_t* bytes_written)
{
assert( ! m_IOVec.empty() );
- register h__iovec* iov = m_IOVec;
+ h__iovec* iov = m_IOVec;
ui32_t tmp_int;
if ( bytes_written == 0 )
i32_t
Kumu::base64decode(const char* str, byte_t* buf, ui32_t buf_len, ui32_t* char_count)
{
- register byte_t c = 0, d = 0;
- register ui32_t phase = 0, i = 0;
+ byte_t c = 0, d = 0;
+ ui32_t phase = 0, i = 0;
if ( str == 0 || buf == 0 || char_count == 0 )
return -1;
ASDCP_TEST_NULL(m_Delegate);
Result_t result = RESULT_OK;
- register const byte_t* end_p = buf + buf_len;
- register const byte_t* run_pos = buf; // track runs of uninteresting data using a position and count
- register ui32_t run_len = 0;
+ const byte_t* end_p = buf + buf_len;
+ const byte_t* run_pos = buf; // track runs of uninteresting data using a position and count
+ ui32_t run_len = 0;
// search for MPEG2 headers
// copy interesting data to a buffer and pass to delegate for processing
- for ( register const byte_t* p = buf; p < end_p; p++ )
+ for ( const byte_t* p = buf; p < end_p; p++ )
{
if ( m_State->Test_IN_HEADER() )
{