Searched refs:CharByteWidth (Results 1 - 6 of 6) sorted by relevance
/external/clang/lib/Lex/ |
H A D | LiteralSupport.cpp | 334 const char *ThisTokEnd, unsigned CharByteWidth, 337 if (CharByteWidth == 4) 351 if (CharByteWidth == 2) 371 FullSourceLoc Loc, unsigned CharByteWidth, 383 assert((CharByteWidth == 1 || CharByteWidth == 2 || CharByteWidth == 4) && 389 if (CharByteWidth == 4) { 398 if (CharByteWidth == 2) { 417 assert(CharByteWidth 333 MeasureUCNEscape(const char *ThisTokBegin, const char *&ThisTokBuf, const char *ThisTokEnd, unsigned CharByteWidth, const LangOptions &Features, bool &HadError) argument 368 EncodeUCNEscape(const char *ThisTokBegin, const char *&ThisTokBuf, const char *ThisTokEnd, char *&ResultBuf, bool &HadError, FullSourceLoc Loc, unsigned CharByteWidth, DiagnosticsEngine *Diags, const LangOptions &Features) argument [all...] |
/external/clang/include/clang/Lex/ |
H A D | LiteralSupport.h | 191 unsigned CharByteWidth; member in class:clang::StringLiteralParser 206 MaxTokenLength(0), SizeBound(0), CharByteWidth(0), Kind(tok::unknown), 221 return GetStringLength() / CharByteWidth;
|
/external/clang/lib/AST/ |
H A D | Expr.cpp | 814 int CharByteWidth = 0; local 818 CharByteWidth = target.getCharWidth(); 821 CharByteWidth = target.getWCharWidth(); 824 CharByteWidth = target.getChar16Width(); 827 CharByteWidth = target.getChar32Width(); 830 assert((CharByteWidth & 7) == 0 && "Assumes character size is byte multiple"); 831 CharByteWidth /= 8; 832 assert((CharByteWidth==1 || CharByteWidth==2 || CharByteWidth [all...] |
H A D | MicrosoftMangle.cpp | 2820 unsigned CharByteWidth = SL->getCharByteWidth(); 2821 uint32_t CodeUnit = SL->getCodeUnit(Index / CharByteWidth); 2822 unsigned OffsetInCodeUnit = Index % CharByteWidth; 2827 unsigned CharByteWidth = SL->getCharByteWidth(); 2828 uint32_t CodeUnit = SL->getCodeUnit(Index / CharByteWidth); 2829 unsigned OffsetInCodeUnit = (CharByteWidth - 1) - (Index % CharByteWidth);
|
/external/clang/include/clang/AST/ |
H A D | Expr.h | 1527 unsigned CharByteWidth : 4; 1557 assert(CharByteWidth==1 1566 if (CharByteWidth == 1) 1568 if (CharByteWidth == 4) 1571 assert(CharByteWidth == 2 && "unsupported CharByteWidth"); 1580 if (CharByteWidth == 1) 1582 if (CharByteWidth == 4) 1584 assert(CharByteWidth == 2 && "unsupported CharByteWidth"); [all...] |
/external/clang/lib/Sema/ |
H A D | SemaExpr.cpp | 2980 static void ConvertUTF8ToWideString(unsigned CharByteWidth, StringRef Source, argument 2982 Target.resize(CharByteWidth * (Source.size() + 1)); 2985 bool success = ConvertUTF8toWide(CharByteWidth, Source, ResultPtr, ErrorPtr);
|
Completed in 724 milliseconds