Lines Matching refs:ResultBuf
219 char ResultBuf[4]; in appendCodePoint() local
220 char *ResultPtr = ResultBuf; in appendCodePoint()
224 Str.append(ResultBuf, ResultPtr); in appendCodePoint()
370 char *&ResultBuf, bool &HadError, in EncodeUCNEscape() argument
392 UTF32 *ResultPtr = reinterpret_cast<UTF32*>(ResultBuf); in EncodeUCNEscape()
394 ResultBuf += 4; in EncodeUCNEscape()
401 UTF16 *ResultPtr = reinterpret_cast<UTF16*>(ResultBuf); in EncodeUCNEscape()
405 ResultBuf += 2; in EncodeUCNEscape()
413 ResultBuf += 4; in EncodeUCNEscape()
444 ResultBuf += bytesToWrite; in EncodeUCNEscape()
446 case 4: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
447 case 3: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
448 case 2: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
449 case 1: *--ResultBuf = (UTF8) (UcnVal | firstByteMark[bytesToWrite]); in EncodeUCNEscape()
452 ResultBuf += bytesToWrite; in EncodeUCNEscape()
1257 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) { in StringLiteralParser()
1323 ResultBuf.resize(SizeBound); in init()
1331 ResultPtr = &ResultBuf[0]; // Next byte to fill in. in init()
1509 UTF32 *ResultWidePtr = reinterpret_cast<UTF32*>(ResultBuf.data()); in init()
1514 UTF16 *ResultWidePtr = reinterpret_cast<UTF16*>(ResultBuf.data()); in init()
1518 ResultBuf[0] = GetNumStringChars() - 1; in init()