Searched refs:StrData (Results 1 – 6 of 6) sorted by relevance
/external/clang/include/clang/Rewrite/Core/ |
D | RewriteRope.h | 59 RopeRefCountString *StrData; member 63 RopePiece() : StrData(0), StartOffs(0), EndOffs(0) {} in RopePiece() 66 : StrData(Str), StartOffs(Start), EndOffs(End) { in RopePiece() 67 if (StrData) in RopePiece() 68 StrData->addRef(); in RopePiece() 71 : StrData(RP.StrData), StartOffs(RP.StartOffs), EndOffs(RP.EndOffs) { in RopePiece() 72 if (StrData) in RopePiece() 73 StrData->addRef(); in RopePiece() 77 if (StrData) in ~RopePiece() 78 StrData->dropRef(); in ~RopePiece() [all …]
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 192 const char *StrData = SM.getCharacterData(SpellingLoc); in Create_PragmaLexer() local 194 L->BufferPtr = StrData; in Create_PragmaLexer() 195 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer() 449 const char *StrData = Buffer.data()+LocInfo.second; in getRawToken() local 451 if (isWhitespace(StrData[0])) in getRawToken() 456 Buffer.begin(), StrData, Buffer.end()); in getRawToken() 481 const char *StrData = BufStart+LocInfo.second; in getBeginningOfFileToken() local 482 if (StrData[0] == '\n' || StrData[0] == '\r') in getBeginningOfFileToken() 485 const char *LexStart = StrData; in getBeginningOfFileToken() 505 if (TheLexer.getBufferLocation() > StrData) { in getBeginningOfFileToken() [all …]
|
/external/clang/include/clang/AST/ |
D | Expr.h | 1454 } StrData; variable 1488 return StringRef(StrData.asChar, getByteLength()); in getString() 1496 return StringRef(StrData.asChar, getByteLength()); in getBytes() 1498 return StringRef(reinterpret_cast<const char*>(StrData.asUInt32), in getBytes() 1501 return StringRef(reinterpret_cast<const char*>(StrData.asUInt16), in getBytes() 1510 return static_cast<unsigned char>(StrData.asChar[i]); in getCodeUnit() 1512 return StrData.asUInt32[i]; in getCodeUnit() 1514 return StrData.asUInt16[i]; in getCodeUnit()
|
/external/clang/lib/Rewrite/Core/ |
D | RewriteRope.cpp | 260 RopePiece Tail(Pieces[i].StrData, Pieces[i].StartOffs+IntraPieceOffset, in split()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 1865 StringRef StrData; in GetStringLengthH() local 1866 if (!getConstantStringInfo(V, StrData)) in GetStringLengthH() 1869 return StrData.size()+1; in GetStringLengthH()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 901 StrData.asChar = AStrData; in setString() 907 StrData.asUInt16 = AStrData; in setString() 913 StrData.asUInt32 = AStrData; in setString() 953 const char *StrData = Buffer.data()+LocInfo.second; in getLocationOfByte() local 957 Buffer.begin(), StrData, Buffer.end()); in getLocationOfByte()
|