Home
last modified time | relevance | path

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

/external/clang/include/clang/Rewrite/Core/
DRewriteRope.h60 llvm::IntrusiveRefCntPtr<RopeRefCountString> StrData; member
64 RopePiece() : StrData(nullptr), StartOffs(0), EndOffs(0) {} in RopePiece()
68 : StrData(std::move(Str)), StartOffs(Start), EndOffs(End) {} in RopePiece()
71 return StrData->Data[Offset+StartOffs];
74 return StrData->Data[Offset+StartOffs];
/external/clang/lib/Lex/
DLexer.cpp178 const char *StrData = SM.getCharacterData(SpellingLoc); in Create_PragmaLexer() local
180 L->BufferPtr = StrData; in Create_PragmaLexer()
181 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer()
436 const char *StrData = Buffer.data()+LocInfo.second; in getRawToken() local
438 if (!IgnoreWhiteSpace && isWhitespace(StrData[0])) in getRawToken()
443 Buffer.begin(), StrData, Buffer.end()); in getRawToken()
468 const char *StrData = BufStart+LocInfo.second; in getBeginningOfFileToken() local
469 if (StrData[0] == '\n' || StrData[0] == '\r') in getBeginningOfFileToken()
472 const char *LexStart = StrData; in getBeginningOfFileToken()
492 if (TheLexer.getBufferLocation() > StrData) { in getBeginningOfFileToken()
[all …]
/external/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp126 DataExtractor StrData(Str, true, 0); in getIndexedString() local
127 return StrData.getCStr(&StrOffset); in getIndexedString()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp70 DataExtractor StrData(StringSection, LittleEndian, 0); in dumpAccelSection() local
72 DWARFAcceleratorTable Accel(AccelSection, StrData, Section.Relocs); in dumpAccelSection()
/external/clang/include/clang/AST/
DExpr.h1483 } StrData; variable
1517 return StringRef(StrData.asChar, getByteLength()); in getString()
1525 return StringRef(StrData.asChar, getByteLength()); in getBytes()
1527 return StringRef(reinterpret_cast<const char*>(StrData.asUInt32), in getBytes()
1530 return StringRef(reinterpret_cast<const char*>(StrData.asUInt16), in getBytes()
1539 return static_cast<unsigned char>(StrData.asChar[i]); in getCodeUnit()
1541 return StrData.asUInt32[i]; in getCodeUnit()
1543 return StrData.asUInt16[i]; in getCodeUnit()
/external/clang/lib/Rewrite/
DRewriteRope.cpp260 RopePiece Tail(Pieces[i].StrData, Pieces[i].StartOffs+IntraPieceOffset, in split()
/external/clang/lib/AST/
DExpr.cpp972 StrData.asChar = AStrData; in setString()
978 StrData.asUInt16 = AStrData; in setString()
984 StrData.asUInt32 = AStrData; in setString()
1048 const char *StrData = Buffer.data()+LocInfo.second; in getLocationOfByte() local
1052 Buffer.begin(), StrData, Buffer.end()); in getLocationOfByte()
/external/llvm/lib/Analysis/
DValueTracking.cpp2929 StringRef StrData; in GetStringLengthH() local
2930 if (!getConstantStringInfo(V, StrData)) in GetStringLengthH()
2933 return StrData.size()+1; in GetStringLengthH()