Home
last modified time | relevance | path

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

/llvm-project/libc/test/src/__support/CPP/
H A Dstringstream_test.cpp14 using LIBC_NAMESPACE::cpp::StringStream;
19 StringStream ss1(buf); in TEST()
20 ss1 << "Hello, Stream - " << int(123) << StringStream::ENDS; in TEST()
24 StringStream ss2(buf); in TEST()
25 ss2 << 'a' << 'b' << 'c' << StringStream::ENDS; in TEST()
34 StringStream ss1(buf); in TEST()
35 ss1 << "Hello, Stream - " << int(123) << StringStream::ENDS; in TEST()
39 StringStream ss2(buf); in TEST()
46 ss2 << StringStream::ENDS; in TEST()
/llvm-project/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()
164 auto *ss = reinterpret_cast<StringStream *>(mallo in TEST()
[all...]
/llvm-project/libc/src/__support/CPP/
H A Dstringstream.h25 class StringStream {
45 constexpr StringStream(const span<char> &buf) : data(buf) {}
54 StringStream &operator<<(string_view str) {
61 StringStream &operator<<(T val) {
67 StringStream &operator<<(T) {
77 StringStream &operator<<(const char *str) {
82 StringStream &operator<<(char a) {
44 constexpr StringStream(const span<char> &buf) : data(buf) {} StringStream() function
/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp74 raw_string_ostream StringStream; member in __anon8fa81b2e0111::SubSectionWriter
77 SubSectionWriter(raw_ostream &OS) : OS(OS), StringStream(OutString) {} in SubSectionWriter()
80 StringStream.flush(); in done()
86 raw_ostream &getStream() { return StringStream; } in getStream()
524 raw_string_ostream StringStream(OutString); in writeSectionContent() local
531 encodeULEB128(Func.Locals.size(), StringStream); in writeSectionContent()
533 encodeULEB128(LocalDecl.Count, StringStream); in writeSectionContent()
534 writeUint8(StringStream, LocalDecl.Type); in writeSectionContent()
537 Func.Body.writeAsBinary(StringStream); in writeSectionContent()
540 StringStream in writeSectionContent()
612 raw_string_ostream StringStream(OutString); writeWasm() local
674 raw_string_ostream StringStream(OutString); writeWasm() local
[all...]
/llvm-project/clang-tools-extra/clang-tidy/altera/
H A DIdDependentBackwardBranchCheck.cpp148 llvm::raw_string_ostream StringStream(Message); in saveIdDepVarFromReference()
149 StringStream << "inferred assignment of ID-dependent value from " in saveIdDepVarFromReference()
155 StringStream << "variable " << RefVar->getNameAsString();
161 StringStream << "member " << RefField->getNameAsString(); in saveIdDepFieldFromReference()
174 llvm::raw_string_ostream StringStream(Message); in saveIdDepFieldFromReference()
175 StringStream << "inferred assignment of ID-dependent member from " in saveIdDepFieldFromReference()
181 StringStream << "variable " << RefVar->getNameAsString();
186 StringStream << "member " << RefField->getNameAsString(); in getLoopType()
137 llvm::raw_string_ostream StringStream(Message); saveIdDepVarFromReference() local
163 llvm::raw_string_ostream StringStream(Message); saveIdDepFieldFromReference() local
/llvm-project/libc/src/__support/threads/linux/
H A Dthread.cpp394 static void construct_thread_name_file_path(cpp::StringStream &stream, in construct_thread_name_file_path()
397 << cpp::StringStream::ENDS; in construct_thread_name_file_path()
416 cpp::StringStream path_stream(path_name_buffer); in set_name()
440 int Thread::get_name(cpp::StringStream &name) const { in get_name()
453 name << name_buffer << cpp::StringStream::ENDS; in get_name()
458 cpp::StringStream path_stream(path_name_buffer); in get_name()
481 name << name_buffer << cpp::StringStream::ENDS; in get_name()
/llvm-project/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()
/llvm-project/libc/src/pthread/
H A Dpthread_getname_np.cpp29 cpp::StringStream name_stream(name_buf);
/llvm-project/libc/src/__support/StringUtil/
H A Derror_to_string.cpp60 cpp::StringStream buffer_stream( in build_error_string()
H A Dsignal_to_string.cpp60 cpp::StringStream buffer_stream( in build_signal_string()
/llvm-project/libc/src/__support/threads/
H A Dthread.h231 int get_name(cpp::StringStream &name) const;
/llvm-project/libc/utils/MPFRWrapper/
H A DMPFRUtils.cpp198 cpp::StringStream msg(msg_buf); in asin()