Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DLiteralSupport.cpp259 char *&ResultBuf, bool &HadError, in EncodeUCNEscape() argument
281 UTF32 *ResultPtr = reinterpret_cast<UTF32*>(ResultBuf); in EncodeUCNEscape()
283 ResultBuf += 4; in EncodeUCNEscape()
290 UTF16 *ResultPtr = reinterpret_cast<UTF16*>(ResultBuf); in EncodeUCNEscape()
294 ResultBuf += 2; in EncodeUCNEscape()
302 ResultBuf += 4; in EncodeUCNEscape()
333 ResultBuf += bytesToWrite; in EncodeUCNEscape()
335 case 4: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
336 case 3: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
337 case 2: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
[all …]
/external/clang/include/clang/Lex/
DLiteralSupport.h174 SmallString<512> ResultBuf; variable
187 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) { in SM()
196 return StringRef(ResultBuf.data(), GetStringLength()); in GetString()
198 unsigned GetStringLength() const { return ResultPtr-ResultBuf.data(); } in GetStringLength()