Lines Matching refs:StringRef
21 #include "llvm/ADT/StringRef.h"
79 StringRef buf = Buffer->getBuffer();
80 StringRef magic = buf.substr(0, 4);
94 StringRef buf = Buffer->getBuffer();
95 StringRef magic = buf.substr(0, 4);
141 StringRef getString() {
166 bool readString(StringRef &Str) {
202 StringRef cwd;
233 StringRef getName() const { return Name; }
234 StringRef getFilename() const;
258 StringRef Name;
326 GCOVCoverage(StringRef Name) : Name(Name) {}
328 StringRef Name;
339 StringRef filename;
343 SourceInfo(StringRef filename) : filename(filename) {}
370 void addBlockLine(StringRef Filename, uint32_t Line, const GCOVBlock *Block) {
376 void addFunctionLine(StringRef Filename, uint32_t Line,
385 void print(raw_ostream &OS, StringRef MainFilename, StringRef GCNOFile,
386 StringRef GCDAFile, GCOVFile &file);
389 std::string getCoveragePath(StringRef Filename, StringRef MainFilename);
390 std::unique_ptr<raw_ostream> openCoveragePath(StringRef CoveragePath);