Searched defs:CharByteWidth (Results 1 - 4 of 4) sorted by relevance

/external/clang/include/clang/Lex/
H A DLiteralSupport.h191 unsigned CharByteWidth; member in class:clang::StringLiteralParser
206 MaxTokenLength(0), SizeBound(0), CharByteWidth(0), Kind(tok::unknown),
221 return GetStringLength() / CharByteWidth;
/external/clang/lib/Lex/
H A DLiteralSupport.cpp334 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/lib/AST/
H A DExpr.cpp814 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...]
/external/clang/lib/Sema/
H A DSemaExpr.cpp2980 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 129 milliseconds