• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // BranchMisc.cpp
2 
3 #include "StdAfx.h"
4 
5 #include "../../../C/Bra.h"
6 
7 #include "BranchMisc.h"
8 
SubFilter(Byte * data,UInt32 size)9 UInt32 CBC_ARM_Encoder::SubFilter(Byte *data, UInt32 size)
10   { return (UInt32)::ARM_Convert(data, size, _bufferPos, 1); }
11 
SubFilter(Byte * data,UInt32 size)12 UInt32 CBC_ARM_Decoder::SubFilter(Byte *data, UInt32 size)
13   { return (UInt32)::ARM_Convert(data, size, _bufferPos, 0); }
14 
SubFilter(Byte * data,UInt32 size)15 UInt32 CBC_ARMT_Encoder::SubFilter(Byte *data, UInt32 size)
16   { return (UInt32)::ARMT_Convert(data, size, _bufferPos, 1); }
17 
SubFilter(Byte * data,UInt32 size)18 UInt32 CBC_ARMT_Decoder::SubFilter(Byte *data, UInt32 size)
19   { return (UInt32)::ARMT_Convert(data, size, _bufferPos, 0); }
20 
SubFilter(Byte * data,UInt32 size)21 UInt32 CBC_PPC_Encoder::SubFilter(Byte *data, UInt32 size)
22   { return (UInt32)::PPC_Convert(data, size, _bufferPos, 1); }
23 
SubFilter(Byte * data,UInt32 size)24 UInt32 CBC_PPC_Decoder::SubFilter(Byte *data, UInt32 size)
25   { return (UInt32)::PPC_Convert(data, size, _bufferPos, 0); }
26 
SubFilter(Byte * data,UInt32 size)27 UInt32 CBC_SPARC_Encoder::SubFilter(Byte *data, UInt32 size)
28   { return (UInt32)::SPARC_Convert(data, size, _bufferPos, 1); }
29 
SubFilter(Byte * data,UInt32 size)30 UInt32 CBC_SPARC_Decoder::SubFilter(Byte *data, UInt32 size)
31   { return (UInt32)::SPARC_Convert(data, size, _bufferPos, 0); }
32 
SubFilter(Byte * data,UInt32 size)33 UInt32 CBC_IA64_Encoder::SubFilter(Byte *data, UInt32 size)
34   { return (UInt32)::IA64_Convert(data, size, _bufferPos, 1); }
35 
SubFilter(Byte * data,UInt32 size)36 UInt32 CBC_IA64_Decoder::SubFilter(Byte *data, UInt32 size)
37   {  return (UInt32)::IA64_Convert(data, size, _bufferPos, 0); }
38