Home | History | Annotate | Download | only in Lex

Lines Matching refs:CharByteWidth

334                             const char *ThisTokEnd, unsigned CharByteWidth,
337 if (CharByteWidth == 4)
351 if (CharByteWidth == 2)
371 FullSourceLoc Loc, unsigned CharByteWidth,
383 assert((CharByteWidth == 1 || CharByteWidth == 2 || CharByteWidth == 4) &&
389 if (CharByteWidth == 4) {
398 if (CharByteWidth == 2) {
417 assert(CharByteWidth == 1 && "UTF-8 encoding is only for 1 byte characters");
1256 MaxTokenLength(0), SizeBound(0), CharByteWidth(0), Kind(tok::unknown),
1314 CharByteWidth = getCharWidth(Kind, Target);
1315 assert((CharByteWidth & 7) == 0 && "Assumes character size is byte multiple");
1316 CharByteWidth /= 8;
1320 SizeBound *= CharByteWidth;
1476 CharByteWidth, Diags, Features);
1483 CharByteWidth*8, Diags, Features);
1485 if (CharByteWidth == 4) {
1491 } else if (CharByteWidth == 2) {
1498 assert(CharByteWidth == 1 && "Unexpected char width");
1506 if (CharByteWidth == 4) {
1511 } else if (CharByteWidth == 2) {
1517 assert(CharByteWidth == 1 && "Unexpected char width");
1561 if (ConvertUTF8toWide(CharByteWidth, Fragment, ResultPtr, ErrorPtrTmp))
1588 Dummy.reserve(Fragment.size() * CharByteWidth);
1591 while (!ConvertUTF8toWide(CharByteWidth, NextFragment, Ptr, ErrorPtrTmp)) {
1678 CharByteWidth*8, Diags, Features);