Lines Matching refs:pStart
161 const unsigned char *pStart = nullptr;
173 pStart = src;
181 while (pEnd - pStart >= 3) {
183 *pos = table[pStart[0] >> 2];
185 *(pos + 1) = table[((pStart[0] & LOWER_2_BITS_MASK) << 4) | (pStart[1] >> 4)];
187 *(pos + 2) = table[((pStart[1] & LOWER_4_BITS_MASK) << 2) | (pStart[2] >> 6)];
189 *(pos + 3) = table[pStart[2] & LOWER_6_BITS_MASK];
192 // 3 : the pointer of pStart scrolls off 3 bytes to point the next 3 bytes of which will be encoded chars
193 pStart += 3;
197 if (pEnd - pStart > 0) {
199 *pos = table[pStart[0] >> 2];
200 if (pEnd - pStart == 1) { // one byte remaining
202 *(pos + 1) = table[(pStart[0] & LOWER_2_BITS_MASK) << 4];
207 *(pos + 1) = table[((pStart[0] & LOWER_2_BITS_MASK) << 4) | (pStart[1] >> 4)];
209 *(pos + 2) = table[(pStart[1] & LOWER_4_BITS_MASK) << 2];