Searched refs:toNullTerminatedStringRef (Results 1 - 7 of 7) sorted by relevance

/external/llvm/unittests/ADT/
H A DTwineTest.cpp77 TEST(TwineTest, toNullTerminatedStringRef) {
79 EXPECT_EQ(0, *Twine("hello").toNullTerminatedStringRef(storage).end());
81 *Twine(StringRef("hello")).toNullTerminatedStringRef(storage).end());
/external/llvm/lib/Support/Unix/
H A DPath.inc265 StringRef p = path.toNullTerminatedStringRef(path_storage);
294 StringRef f = from.toNullTerminatedStringRef(from_storage);
295 StringRef t = to.toNullTerminatedStringRef(to_storage);
305 StringRef p = path.toNullTerminatedStringRef(path_storage);
334 StringRef f = from.toNullTerminatedStringRef(from_storage);
335 StringRef t = to.toNullTerminatedStringRef(to_storage);
345 StringRef p = path.toNullTerminatedStringRef(path_storage);
355 StringRef p = path.toNullTerminatedStringRef(path_storage);
369 StringRef P = Path.toNullTerminatedStringRef(PathStorage);
375 StringRef P = Path.toNullTerminatedStringRef(PathStorag
[all...]
/external/clang/lib/Tooling/
H A DTooling.cpp128 StringRef FileNameRef = FileName.toNullTerminatedStringRef(FileNameStorage);
136 Code.toNullTerminatedStringRef(CodeStorage));
409 StringRef FileNameRef = FileName.toNullTerminatedStringRef(FileNameStorage);
418 Code.toNullTerminatedStringRef(CodeStorage));
/external/llvm/lib/Support/
H A DTwine.cpp38 StringRef Twine::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const { function in class:Twine
H A DMemoryBuffer.cpp238 StringRef NullTerminatedName = Filename.toNullTerminatedStringRef(PathBuf);
H A DPath.cpp735 StringRef P = Model.toNullTerminatedStringRef(Storage);
/external/llvm/include/llvm/ADT/
H A DTwine.h446 /// toNullTerminatedStringRef - This returns the twine as a single null
452 StringRef toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const;

Completed in 180 milliseconds