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 | 202 unsigned CharByteWidth; member in class:clang::StringLiteralParser 217 MaxTokenLength(0), SizeBound(0), CharByteWidth(0), Kind(tok::unknown), 232 return GetStringLength() / CharByteWidth;
|
/external/clang/lib/AST/ |
H A D | Expr.cpp | 803 int CharByteWidth = 0; local 807 CharByteWidth = target.getCharWidth(); 810 CharByteWidth = target.getWCharWidth(); 813 CharByteWidth = target.getChar16Width(); 816 CharByteWidth = target.getChar32Width(); 819 assert((CharByteWidth & 7) == 0 && "Assumes character size is byte multiple"); 820 CharByteWidth /= 8; 821 assert((CharByteWidth==1 || CharByteWidth==2 || CharByteWidth [all...] |
H A D | MicrosoftMangle.cpp | 2947 unsigned CharByteWidth = SL->getCharByteWidth(); 2948 uint32_t CodeUnit = SL->getCodeUnit(Index / CharByteWidth); 2949 unsigned OffsetInCodeUnit = Index % CharByteWidth; 2954 unsigned CharByteWidth = SL->getCharByteWidth(); 2955 uint32_t CodeUnit = SL->getCodeUnit(Index / CharByteWidth); 2956 unsigned OffsetInCodeUnit = (CharByteWidth - 1) - (Index % CharByteWidth);
|
/external/clang/include/clang/AST/ |
H A D | Expr.h | 1485 unsigned CharByteWidth : 4; 1515 assert(CharByteWidth==1 1524 if (CharByteWidth == 1) 1526 if (CharByteWidth == 4) 1529 assert(CharByteWidth == 2 && "unsupported CharByteWidth"); 1538 if (CharByteWidth == 1) 1540 if (CharByteWidth == 4) 1542 assert(CharByteWidth == 2 && "unsupported CharByteWidth"); [all...] |
/external/clang/lib/Sema/ |
H A D | SemaExpr.cpp | 3045 static void ConvertUTF8ToWideString(unsigned CharByteWidth, StringRef Source, argument 3047 Target.resize(CharByteWidth * (Source.size() + 1)); 3050 bool success = ConvertUTF8toWide(CharByteWidth, Source, ResultPtr, ErrorPtr);
|
Completed in 160 milliseconds