Home
last modified time | relevance | path

Searched refs:ResultBuf (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/Lex/
DLiteralSupport.cpp326 char *&ResultBuf, bool &HadError, in EncodeUCNEscape() argument
348 UTF32 *ResultPtr = reinterpret_cast<UTF32*>(ResultBuf); in EncodeUCNEscape()
350 ResultBuf += 4; in EncodeUCNEscape()
357 UTF16 *ResultPtr = reinterpret_cast<UTF16*>(ResultBuf); in EncodeUCNEscape()
361 ResultBuf += 2; in EncodeUCNEscape()
369 ResultBuf += 4; in EncodeUCNEscape()
400 ResultBuf += bytesToWrite; in EncodeUCNEscape()
402 case 4: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
403 case 3: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
404 case 2: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
[all …]
DPreprocessor.cpp507 char ResultBuf[4]; in appendCodePoint() local
508 char *ResultPtr = ResultBuf; in appendCodePoint()
512 Str.append(ResultBuf, ResultPtr); in appendCodePoint()
/external/clang/include/clang/Lex/
DLiteralSupport.h178 SmallString<512> ResultBuf; variable
191 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) { in SM()
200 return StringRef(ResultBuf.data(), GetStringLength()); in GetString()
202 unsigned GetStringLength() const { return ResultPtr-ResultBuf.data(); } in GetStringLength()