Home
last modified time | relevance | path

Searched refs:StringStream (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/libc/test/src/__support/CPP/
H A Dstringstream_test.cpp14 using __llvm_libc::cpp::StringStream;
20 StringStream ss1(bufref); in TEST()
21 ss1 << "Hello, Stream - " << int(123) << StringStream::ENDS; in TEST()
25 StringStream ss2(bufref); in TEST()
26 ss2 << 'a' << 'b' << 'c' << StringStream::ENDS; in TEST()
36 StringStream ss1(bufref); in TEST()
37 ss1 << "Hello, Stream - " << int(123) << StringStream::ENDS; in TEST()
41 StringStream ss2(bufref); in TEST()
48 ss2 << StringStream::ENDS; in TEST()
/llvm-project-15.0.7/libc/src/__support/CPP/
H A Dstringstream.h24 class StringStream {
44 constexpr StringStream(const MutableArrayRef<char> &buf) : data(buf) {} in StringStream() function
53 StringStream &operator<<(StringView str) {
60 StringStream &operator<<(T val) {
66 StringStream &operator<<(T val) {
76 StringStream &operator<<(const char *str) {
81 StringStream &operator<<(char a) {
/llvm-project-15.0.7/libc/test/src/stdio/
H A Dfopencookie_test.cpp27 struct StringStream { struct
35 auto *ss = reinterpret_cast<StringStream *>(cookie); in write_ss() argument
47 auto *ss = reinterpret_cast<StringStream *>(cookie); in read_ss()
61 auto *ss = reinterpret_cast<StringStream *>(cookie); in seek_ss()
81 auto *ss = reinterpret_cast<StringStream *>(cookie); in close_ss()
93 auto *ss = reinterpret_cast<StringStream *>(malloc(sizeof(StringStream))); in TEST()
129 auto *ss = reinterpret_cast<StringStream *>(malloc(sizeof(StringStream))); in TEST()
163 auto *ss = reinterpret_cast<StringStream *>(malloc(sizeof(StringStream))); in TEST()
196 auto *ss = reinterpret_cast<StringStream *>(malloc(sizeof(StringStream))); in TEST()
227 auto *ss = reinterpret_cast<StringStream *>(malloc(sizeof(StringStream))); in TEST()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp74 raw_string_ostream StringStream; member in __anon01611deb0111::SubSectionWriter
80 StringStream.flush(); in done()
537 Func.Body.writeAsBinary(StringStream); in writeSectionContent()
540 StringStream.flush(); in writeSectionContent()
614 writeSectionContent(StringStream, *S); in writeWasm()
616 writeSectionContent(StringStream, *S); in writeWasm()
618 writeSectionContent(StringStream, *S); in writeWasm()
620 writeSectionContent(StringStream, *S); in writeWasm()
622 writeSectionContent(StringStream, *S); in writeWasm()
647 StringStream.flush(); in writeWasm()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/
H A DIdDependentBackwardBranchCheck.cpp139 llvm::raw_string_ostream StringStream(Message); in saveIdDepVarFromReference() local
140 StringStream << "inferred assignment of ID-dependent value from " in saveIdDepVarFromReference()
146 StringStream << "variable " << RefVar->getNameAsString(); in saveIdDepVarFromReference()
152 StringStream << "member " << RefField->getNameAsString(); in saveIdDepVarFromReference()
165 llvm::raw_string_ostream StringStream(Message); in saveIdDepFieldFromReference() local
166 StringStream << "inferred assignment of ID-dependent member from " in saveIdDepFieldFromReference()
172 StringStream << "variable " << RefVar->getNameAsString(); in saveIdDepFieldFromReference()
177 StringStream << "member " << RefField->getNameAsString(); in saveIdDepFieldFromReference()
/llvm-project-15.0.7/libcxx/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/
H A Dostream.pass.cpp23 typedef std::basic_ostringstream<char, MyTraits> StringStream; typedef
36 StringStream outf; in main()
H A Dostream_delim.pass.cpp24 typedef std::basic_ostringstream<char, MyTraits> StringStream; typedef
44 StringStream outf; in main()