Lines Matching refs:ppSrc

119 INLINE unsigned char read1(unsigned const char** ppSrc)  in read1()  argument
121 return *(*ppSrc)++; in read1()
127 INLINE unsigned short read2BE(unsigned char const** ppSrc) in read2BE() argument
131 result = *(*ppSrc)++ << 8; in read2BE()
132 result |= *(*ppSrc)++; in read2BE()
140 INLINE unsigned int read4BE(unsigned char const** ppSrc) in read4BE() argument
144 result = *(*ppSrc)++ << 24; in read4BE()
145 result |= *(*ppSrc)++ << 16; in read4BE()
146 result |= *(*ppSrc)++ << 8; in read4BE()
147 result |= *(*ppSrc)++; in read4BE()
155 INLINE unsigned long long read8BE(unsigned char const** ppSrc) in read8BE() argument
159 result = (unsigned long long) *(*ppSrc)++ << 56; in read8BE()
160 result |= (unsigned long long) *(*ppSrc)++ << 48; in read8BE()
161 result |= (unsigned long long) *(*ppSrc)++ << 40; in read8BE()
162 result |= (unsigned long long) *(*ppSrc)++ << 32; in read8BE()
163 result |= (unsigned long long) *(*ppSrc)++ << 24; in read8BE()
164 result |= (unsigned long long) *(*ppSrc)++ << 16; in read8BE()
165 result |= (unsigned long long) *(*ppSrc)++ << 8; in read8BE()
166 result |= (unsigned long long) *(*ppSrc)++; in read8BE()
174 INLINE unsigned short read2LE(unsigned char const** ppSrc) in read2LE() argument
178 result = *(*ppSrc)++; in read2LE()
179 result |= *(*ppSrc)++ << 8; in read2LE()
187 INLINE unsigned int read4LE(unsigned char const** ppSrc) in read4LE() argument
191 result = *(*ppSrc)++; in read4LE()
192 result |= *(*ppSrc)++ << 8; in read4LE()
193 result |= *(*ppSrc)++ << 16; in read4LE()
194 result |= *(*ppSrc)++ << 24; in read4LE()
202 INLINE unsigned long long read8LE(unsigned char const** ppSrc) in read8LE() argument
206 result = (unsigned long long) *(*ppSrc)++; in read8LE()
207 result |= (unsigned long long) *(*ppSrc)++ << 8; in read8LE()
208 result |= (unsigned long long) *(*ppSrc)++ << 16; in read8LE()
209 result |= (unsigned long long) *(*ppSrc)++ << 24; in read8LE()
210 result |= (unsigned long long) *(*ppSrc)++ << 32; in read8LE()
211 result |= (unsigned long long) *(*ppSrc)++ << 40; in read8LE()
212 result |= (unsigned long long) *(*ppSrc)++ << 48; in read8LE()
213 result |= (unsigned long long) *(*ppSrc)++ << 56; in read8LE()
221 INLINE void skipUtf8String(unsigned char const** ppSrc) in skipUtf8String() argument
223 unsigned int length = read4BE(ppSrc); in skipUtf8String()
225 (*ppSrc) += length; in skipUtf8String()
233 INLINE int readUtf8String(unsigned char const** ppSrc, char* buf, size_t bufLen) in readUtf8String() argument
235 unsigned int length = read4BE(ppSrc); in readUtf8String()
238 memcpy(buf, *ppSrc, copyLen); in readUtf8String()
241 (*ppSrc) += length; in readUtf8String()
251 INLINE char* readNewUtf8String(unsigned char const** ppSrc, size_t* pLength) in readNewUtf8String() argument
253 unsigned int length = read4BE(ppSrc); in readNewUtf8String()
258 memcpy(buf, *ppSrc, length); in readNewUtf8String()
261 (*ppSrc) += length; in readNewUtf8String()