Lines Matching defs:CharByteWidth
723 const char *ThisTokEnd, unsigned CharByteWidth,
726 if (CharByteWidth == 4)
740 if (CharByteWidth == 2)
760 FullSourceLoc Loc, unsigned CharByteWidth,
772 assert((CharByteWidth == 1 || CharByteWidth == 2 || CharByteWidth == 4) &&
778 if (CharByteWidth == 4) {
787 if (CharByteWidth == 2) {
806 assert(CharByteWidth == 1 && "UTF-8 encoding is only for 1 byte characters");
1957 MaxTokenLength(0), SizeBound(0), CharByteWidth(0), Kind(tok::unknown),
2032 CharByteWidth = getCharWidth(Kind, Target);
2033 assert((CharByteWidth & 7) == 0 && "Assumes character size is byte multiple");
2034 CharByteWidth /= 8;
2038 SizeBound *= CharByteWidth;
2214 CharByteWidth, Diags, Features);
2221 CharByteWidth * 8, Diags, Features, EvalMethod);
2223 if (CharByteWidth == 4) {
2229 } else if (CharByteWidth == 2) {
2236 assert(CharByteWidth == 1 && "Unexpected char width");
2246 if (CharByteWidth == 4) {
2251 } else if (CharByteWidth == 2) {
2257 assert(CharByteWidth == 1 && "Unexpected char width");
2301 if (ConvertUTF8toWide(CharByteWidth, Fragment, ResultPtr, ErrorPtrTmp))
2328 Dummy.reserve(Fragment.size() * CharByteWidth);
2331 while (!ConvertUTF8toWide(CharByteWidth, NextFragment, Ptr, ErrorPtrTmp)) {
2418 FullSourceLoc(Tok.getLocation(), SM), CharByteWidth * 8,