Lines Matching refs:pSrc
33 INLINE u1 get1(unsigned const char* pSrc)
35 return *pSrc;
41 INLINE u2 get2BE(unsigned char const* pSrc)
43 return (pSrc[0] << 8) | pSrc[1];
49 INLINE u4 get4BE(unsigned char const* pSrc)
51 return (pSrc[0] << 24) | (pSrc[1] << 16) | (pSrc[2] << 8) | pSrc[3];
57 INLINE u8 get8BE(unsigned char const* pSrc)
61 high = pSrc[0];
62 high = (high << 8) | pSrc[1];
63 high = (high << 8) | pSrc[2];
64 high = (high << 8) | pSrc[3];
65 low = pSrc[4];
66 low = (low << 8) | pSrc[5];
67 low = (low << 8) | pSrc[6];
68 low = (low << 8) | pSrc[7];
76 INLINE u2 get2LE(unsigned char const* pSrc)
78 return pSrc[0] | (pSrc[1] << 8);
84 INLINE u4 get4LE(unsigned char const* pSrc)
88 result = pSrc[0];
89 result |= pSrc[1] << 8;
90 result |= pSrc[2] << 16;
91 result |= pSrc[3] << 24;
99 INLINE u8 get8LE(unsigned char const* pSrc)
103 low = pSrc[0];
104 low |= pSrc[1] << 8;
105 low |= pSrc[2] << 16;
106 low |= pSrc[3] << 24;
107 high = pSrc[4];
108 high |= pSrc[5] << 8;
109 high |= pSrc[6] << 16;
110 high |= pSrc[7] << 24;
127 const unsigned char* pSrc = *ppSrc;
129 *ppSrc = pSrc + 2;
130 return pSrc[0] << 8 | pSrc[1];
138 const unsigned char* pSrc = *ppSrc;
141 result = pSrc[0] << 24;
142 result |= pSrc[1] << 16;
143 result |= pSrc[2] << 8;
144 result |= pSrc[3];
146 *ppSrc = pSrc + 4;
155 const unsigned char* pSrc = *ppSrc;
158 high = pSrc[0];
159 high = (high << 8) | pSrc[1];
160 high = (high << 8) | pSrc[2];
161 high = (high << 8) | pSrc[3];
162 low = pSrc[4];
163 low = (low << 8) | pSrc[5];
164 low = (low << 8) | pSrc[6];
165 low = (low << 8) | pSrc[7];
167 *ppSrc = pSrc + 8;
176 const unsigned char* pSrc = *ppSrc;
177 *ppSrc = pSrc + 2;
178 return pSrc[0] | pSrc[1] << 8;
186 const unsigned char* pSrc = *ppSrc;
189 result = pSrc[0];
190 result |= pSrc[1] << 8;
191 result |= pSrc[2] << 16;
192 result |= pSrc[3] << 24;
194 *ppSrc = pSrc + 4;
203 const unsigned char* pSrc = *ppSrc;
206 low = pSrc[0];
207 low |= pSrc[1] << 8;
208 low |= pSrc[2] << 16;
209 low |= pSrc[3] << 24;
210 high = pSrc[4];
211 high |= pSrc[5] << 8;
212 high |= pSrc[6] << 16;
213 high |= pSrc[7] << 24;
215 *ppSrc = pSrc + 8;