Home
last modified time | relevance | path

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

/external/clang/unittests/libclang/
DLibclangTest.cpp64 std::string BufStr(BufPtr, BufSize); in ~TestVFO() local
65 EXPECT_STREQ(Contents, BufStr.c_str()); in ~TestVFO()
346 std::string BufStr(BufPtr, BufSize); in TEST() local
347 EXPECT_STREQ(Contents, BufStr.c_str()); in TEST()
/external/llvm-project/clang/unittests/libclang/
DLibclangTest.cpp69 std::string BufStr(BufPtr, BufSize); in ~TestVFO() local
70 EXPECT_STREQ(Contents, BufStr.c_str()); in ~TestVFO()
351 std::string BufStr(BufPtr, BufSize); in TEST() local
352 EXPECT_STREQ(Contents, BufStr.c_str()); in TEST()
/external/llvm-project/clang/tools/clang-format/
DClangFormat.cpp370 StringRef BufStr = Code->getBuffer(); in format() local
372 const char *InvalidBOM = SrcMgr::ContentCache::getInvalidBOM(BufStr); in format()
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp79 const char *ContentCache::getInvalidBOM(StringRef BufStr) { in getInvalidBOM() argument
84 llvm::StringSwitch<const char *>(BufStr) in getInvalidBOM()
172 StringRef BufStr = Buffer->getBuffer(); in getBufferOrNone() local
173 const char *InvalidBOM = getInvalidBOM(BufStr); in getBufferOrNone()
/external/clang/lib/Basic/
DSourceManager.cpp153 StringRef BufStr = Buffer.getPointer()->getBuffer(); in getBuffer() local
154 const char *InvalidBOM = llvm::StringSwitch<const char *>(BufStr) in getBuffer()
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h261 static const char *getInvalidBOM(StringRef BufStr);