Lines Matching refs:pC
116 const PVRTuint8* pC = pUTF8;
117 while(*pC)
120 while(*pC && *pC < VALID_ASCII)
122 aUTF32.Append(*pC++);
125 if(!*pC)
128 c32 = *pC++;
133 if(uiTailLen == 0 || (pC + uiTailLen > pUTF8 + uiBytes))
142 if((pC[uiIndex] & 0xC0) != 0x80)
145 c32 = (c32 << BYTES_PER_TAIL) + (pC[uiIndex] & TAIL_MASK);
149 pC += uiIndex;
176 const PVRTuint16* pC = pUTF16;
179 while(*++pC && (pC - pUTF16) < MAX_LEN);
180 unsigned int uiBufferLen = (unsigned int) (pC - pUTF16);
186 pC = pUTF16;
189 while(*pC)
192 c32 = *pC++;
198 if(pC + 1 > pUTF16 + uiBufferLen || *pC == 0)
202 if(*pC < UTF16_SURG_L_MARK || *pC > UTF16_SURG_L_END)
206 c32 = ((c32 - UTF16_SURG_H_MARK) << 10) + (*pC - UTF16_SURG_L_MARK) + 0x10000;
207 pC++;
229 const PVRTuint8* pC = pUTF8;
233 while(*pC)
236 const PVRTuint8* pStart = pC;
237 while(*pC && *pC < VALID_ASCII)
238 pC++;
240 charCount += (unsigned int) (pC - pStart);
243 if(!*pC)
246 mask = *pC & 0xF0;
249 case 0xF0: pC++;
250 case 0xE0: pC++;
251 case 0xC0: pC++;
258 pC++;
275 const PVRTuint16* pC = pUTF16;
277 while(*pC && (pC - pUTF16) < MAX_LEN)
279 if( pC[0] >= UTF16_SURG_H_MARK && pC[0] <= UTF16_SURG_H_END
280 && pC[1] >= UTF16_SURG_L_MARK && pC[0] <= UTF16_SURG_L_END)
282 pC += 2;
286 pC += 1;
306 const PVRTuint8* pC = pUTF8;
307 while(*pC)
310 while(*pC && *pC < VALID_ASCII) pC++;
312 if(!*pC)
315 PVRTuint32 c32 = *pC++;
320 if(uiTailLen == 0 || (pC + uiTailLen > pUTF8 + uiBytes))
327 if((pC[uiIndex] & 0xC0) != 0x80)
330 c32 = (c32 << BYTES_PER_TAIL) + (pC[uiIndex] & TAIL_MASK);
334 pC += uiIndex;