Lines Matching refs:CharByteWidth
260 FullSourceLoc Loc, unsigned CharByteWidth,
272 assert((CharByteWidth == 1 || CharByteWidth == 2 || CharByteWidth) &&
278 if (CharByteWidth == 4) {
287 if (CharByteWidth == 2) {
306 assert(CharByteWidth == 1 && "UTF-8 encoding is only for 1 byte characters");
1032 MaxTokenLength(0), SizeBound(0), CharByteWidth(0), Kind(tok::unknown),
1094 CharByteWidth = getCharWidth(Kind, Target);
1095 assert((CharByteWidth & 7) == 0 && "Assumes character size is byte multiple");
1096 CharByteWidth /= 8;
1100 SizeBound *= CharByteWidth;
1230 CharByteWidth, Diags, Features);
1237 CharByteWidth*8, Diags);
1239 if (CharByteWidth == 4) {
1245 } else if (CharByteWidth == 2) {
1252 assert(CharByteWidth == 1 && "Unexpected char width");
1260 if (CharByteWidth == 4) {
1265 } else if (CharByteWidth == 2) {
1271 assert(CharByteWidth == 1 && "Unexpected char width");
1303 assert(CharByteWidth==1 || CharByteWidth==2 || CharByteWidth==4);
1306 if (CharByteWidth == 1) {
1312 } else if (CharByteWidth == 2) {
1323 } else if (CharByteWidth == 4) {
1394 CharByteWidth*8, Diags);