Lines Matching refs:ResultBuf
232 char ResultBuf[4]; in appendCodePoint() local
233 char *ResultPtr = ResultBuf; in appendCodePoint()
237 Str.append(ResultBuf, ResultPtr); in appendCodePoint()
383 char *&ResultBuf, bool &HadError, in EncodeUCNEscape() argument
405 llvm::UTF32 *ResultPtr = reinterpret_cast<llvm::UTF32*>(ResultBuf); in EncodeUCNEscape()
407 ResultBuf += 4; in EncodeUCNEscape()
414 llvm::UTF16 *ResultPtr = reinterpret_cast<llvm::UTF16*>(ResultBuf); in EncodeUCNEscape()
418 ResultBuf += 2; in EncodeUCNEscape()
426 ResultBuf += 4; in EncodeUCNEscape()
457 ResultBuf += bytesToWrite; in EncodeUCNEscape()
460 *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
463 *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
466 *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
469 *--ResultBuf = (UTF8) (UcnVal | firstByteMark[bytesToWrite]); in EncodeUCNEscape()
472 ResultBuf += bytesToWrite; in EncodeUCNEscape()
1480 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) { in StringLiteralParser()
1546 ResultBuf.resize(SizeBound); in init()
1554 ResultPtr = &ResultBuf[0]; // Next byte to fill in. in init()
1732 llvm::UTF32 *ResultWidePtr = reinterpret_cast<llvm::UTF32*>(ResultBuf.data()); in init()
1737 llvm::UTF16 *ResultWidePtr = reinterpret_cast<llvm::UTF16*>(ResultBuf.data()); in init()
1741 ResultBuf[0] = GetNumStringChars() - 1; in init()