Home
last modified time | relevance | path

Searched refs:StrData (Results 1 – 6 of 6) sorted by relevance

/external/clang/include/clang/Rewrite/
DRewriteRope.h58 RopeRefCountString *StrData; member
62 RopePiece() : StrData(0), StartOffs(0), EndOffs(0) {} in RopePiece()
65 : StrData(Str), StartOffs(Start), EndOffs(End) { in RopePiece()
66 StrData->addRef(); in RopePiece()
69 : StrData(RP.StrData), StartOffs(RP.StartOffs), EndOffs(RP.EndOffs) { in RopePiece()
70 StrData->addRef(); in RopePiece()
74 StrData->dropRef(); in ~RopePiece()
78 if (StrData != RHS.StrData) {
79 StrData->dropRef();
80 StrData = RHS.StrData;
[all …]
/external/clang/lib/Lex/
DLexer.cpp185 const char *StrData = SM.getCharacterData(SpellingLoc); in Create_PragmaLexer() local
187 L->BufferPtr = StrData; in Create_PragmaLexer()
188 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer()
407 const char *StrData = Buffer.data()+LocInfo.second; in MeasureTokenLength() local
409 if (isWhitespace(StrData[0])) in MeasureTokenLength()
414 Buffer.begin(), StrData, Buffer.end()); in MeasureTokenLength()
440 const char *StrData = BufStart+LocInfo.second; in getBeginningOfFileToken() local
441 if (StrData[0] == '\n' || StrData[0] == '\r') in getBeginningOfFileToken()
444 const char *LexStart = StrData; in getBeginningOfFileToken()
464 if (TheLexer.getBufferLocation() > StrData) { in getBeginningOfFileToken()
[all …]
/external/clang/include/clang/AST/
DExpr.h1347 } StrData; variable
1381 return StringRef(StrData.asChar, getByteLength()); in getString()
1389 return StringRef(StrData.asChar, getByteLength()); in getBytes()
1391 return StringRef(reinterpret_cast<const char*>(StrData.asUInt32), in getBytes()
1394 return StringRef(reinterpret_cast<const char*>(StrData.asUInt16), in getBytes()
1401 return static_cast<unsigned char>(StrData.asChar[i]); in getCodeUnit()
1403 return StrData.asUInt32[i]; in getCodeUnit()
1405 return StrData.asUInt16[i]; in getCodeUnit()
/external/clang/lib/Rewrite/
DRewriteRope.cpp263 RopePiece Tail(Pieces[i].StrData, Pieces[i].StartOffs+IntraPieceOffset, in split()
/external/llvm/lib/Analysis/
DValueTracking.cpp1751 StringRef StrData; in GetStringLengthH() local
1752 if (!getConstantStringInfo(V, StrData)) in GetStringLengthH()
1755 return StrData.size()+1; in GetStringLengthH()
/external/clang/lib/AST/
DExpr.cpp654 StrData.asChar = AStrData; in setString()
660 StrData.asUInt16 = AStrData; in setString()
666 StrData.asUInt32 = AStrData; in setString()
705 const char *StrData = Buffer.data()+LocInfo.second; in getLocationOfByte() local
713 Lexer TheLexer(StrTokSpellingLoc, Features, Buffer.begin(), StrData, in getLocationOfByte()