Home
last modified time | relevance | path

Searched refs:OStream (Results 1 – 25 of 52) sorted by relevance

123

/external/llvm-project/llvm/unittests/BinaryFormat/
DMsgPackWriterTest.cpp18 llvm::raw_string_ostream OStream; member
21 MsgPackWriter() : OStream(Buffer), MPWriter(OStream) {} in MsgPackWriter()
26 EXPECT_EQ(OStream.str(), "\xc0"); in TEST_F()
32 EXPECT_EQ(OStream.str(), "\xc3\xc2"); in TEST_F()
41 std::string Output = OStream.str(); in TEST_F()
51 EXPECT_EQ(OStream.str(), "\xcc\x80"); in TEST_F()
57 EXPECT_EQ(OStream.str(), "\xcc\xdd"); in TEST_F()
63 EXPECT_EQ(OStream.str(), "\xcc\xff"); in TEST_F()
69 EXPECT_EQ(OStream.str(), std::string("\xcd\x01\x00", 3)); in TEST_F()
75 EXPECT_EQ(OStream.str(), "\xcd\xab\xcd"); in TEST_F()
[all …]
DMsgPackDocumentTest.cpp223 raw_string_ostream OStream(Buffer); in TEST() local
224 Doc.toYAML(OStream); in TEST()
225 ASSERT_EQ(OStream.str(), "---\n- 1\n- 2\n...\n"); in TEST()
252 raw_string_ostream OStream(Buffer); in TEST() local
253 Doc.toYAML(OStream); in TEST()
254 ASSERT_EQ(OStream.str(), "---\n" in TEST()
272 raw_string_ostream OStream(Buffer); in TEST() local
273 Doc.toYAML(OStream); in TEST()
274 ASSERT_EQ(OStream.str(), "---\n" in TEST()
291 raw_string_ostream OStream(Buffer); in TEST() local
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/println/
Dmain.cpp18 template<class OStream>
21 OStream& os;
22 println_function(OStream& os) : os(os) {}
35 template<class OStream>
36 auto println(OStream& os)
37 -> println_function<OStream> {
38 return println_function<OStream>(os);
/external/llvm-project/lldb/source/Utility/
DStructuredData.cpp130 json::OStream stream(llvm::outs(), pretty_print ? 2 : 0); in DumpToStdout()
134 void StructuredData::Array::Serialize(json::OStream &s) const { in Serialize()
142 void StructuredData::Integer::Serialize(json::OStream &s) const { in Serialize()
146 void StructuredData::Float::Serialize(json::OStream &s) const { in Serialize()
150 void StructuredData::Boolean::Serialize(json::OStream &s) const { in Serialize()
154 void StructuredData::String::Serialize(json::OStream &s) const { in Serialize()
158 void StructuredData::Dictionary::Serialize(json::OStream &s) const { in Serialize()
168 void StructuredData::Null::Serialize(json::OStream &s) const { in Serialize()
172 void StructuredData::Generic::Serialize(json::OStream &s) const { in Serialize()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/
Drx-util.hpp456 template<class OStream, class Delimit>
459 OStream& os;
461 print_function(OStream& os, Delimit d) : os(os), delimit(std::move(d)) {} in print_function()
476 template<class OStream>
479 OStream& os;
480 endline(OStream& os) : os(os) {} in endline()
488 template<class OStream, class ValueType>
491 OStream& os;
493 insert_value(OStream& os, ValueType v) : os(os), value(std::move(v)) {} in insert_value()
501 template<class OStream, class Function>
[all …]
/external/jsoncpp/include/json/
Dwriter.h43 OStream* sout_; // not owned; will not delete
54 virtual int write(Value const& root, OStream* sout) = 0;
313 void write(OStream& out, const Value& root);
332 OStream* document_;
357 JSON_API OStream& operator<<(OStream&, const Value& root);
/external/llvm-project/llvm/lib/Support/
DJSON.cpp254 void abbreviate(const Value &V, OStream &JOS) { in abbreviate()
280 void abbreviateChildren(const Value &V, OStream &JOS) { in abbreviateChildren()
305 OStream JOS(OS, /*IndentSize=*/2); in printErrorContext()
739 void llvm::json::OStream::value(const Value &V) { in value()
774 void llvm::json::OStream::valueBegin() { in valueBegin()
786 void OStream::comment(llvm::StringRef Comment) { in comment()
791 void OStream::flushComment() { in flushComment()
816 void llvm::json::OStream::newline() { in newline()
823 void llvm::json::OStream::arrayBegin() { in arrayBegin()
831 void llvm::json::OStream::arrayEnd() { in arrayEnd()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Diostream_state_saver.h44 template <typename OStream>
47 using ostream_type = OStream;
193 template <typename OStream>
194 inline void write(absl::uint128 val, OStream& out) {
212 template <typename OStream>
213 inline void write(__uint128_t val, OStream& out) {
/external/abseil-cpp/absl/random/internal/
Diostream_state_saver.h44 template <typename OStream>
47 using ostream_type = OStream;
193 template <typename OStream>
194 inline void write(absl::uint128 val, OStream& out) {
212 template <typename OStream>
213 inline void write(__uint128_t val, OStream& out) {
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Diostream_state_saver.h44 template <typename OStream>
47 using ostream_type = OStream;
193 template <typename OStream>
194 inline void write(absl::uint128 val, OStream& out) {
212 template <typename OStream>
213 inline void write(__uint128_t val, OStream& out) {
/external/openscreen/third_party/abseil/src/absl/random/internal/
Diostream_state_saver.h44 template <typename OStream>
47 using ostream_type = OStream;
193 template <typename OStream>
194 inline void write(absl::uint128 val, OStream& out) {
212 template <typename OStream>
213 inline void write(__uint128_t val, OStream& out) {
/external/angle/third_party/abseil-cpp/absl/random/internal/
Diostream_state_saver.h44 template <typename OStream>
47 using ostream_type = OStream;
193 template <typename OStream>
194 inline void write(absl::uint128 val, OStream& out) {
212 template <typename OStream>
213 inline void write(__uint128_t val, OStream& out) {
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Diostream_state_saver.h44 template <typename OStream>
47 using ostream_type = OStream;
193 template <typename OStream>
194 inline void write(absl::uint128 val, OStream& out) {
212 template <typename OStream>
213 inline void write(__uint128_t val, OStream& out) {
/external/llvm-project/lldb/include/lldb/Utility/
DStructuredData.h154 virtual void Serialize(llvm::json::OStream &s) const = 0;
157 llvm::json::OStream jso(s.AsRawOstream(), pretty_print ? 2 : 0);
278 void Serialize(llvm::json::OStream &s) const override;
296 void Serialize(llvm::json::OStream &s) const override;
313 void Serialize(llvm::json::OStream &s) const override;
330 void Serialize(llvm::json::OStream &s) const override;
346 void Serialize(llvm::json::OStream &s) const override;
515 void Serialize(llvm::json::OStream &s) const override;
530 void Serialize(llvm::json::OStream &s) const override;
544 void Serialize(llvm::json::OStream &s) const override;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/
DMath.h108 template <typename OStream>
109 OStream& operator<<(OStream &OS, const Vector &V) {
246 template <typename OStream>
247 OStream& operator<<(OStream &OS, const Matrix &M) {
/external/llvm-project/llvm/include/llvm/CodeGen/PBQP/
DMath.h108 template <typename OStream>
109 OStream& operator<<(OStream &OS, const Vector &V) {
246 template <typename OStream>
247 OStream& operator<<(OStream &OS, const Matrix &M) {
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DJSON.cpp593 void llvm::json::OStream::value(const Value &V) { in value()
628 void llvm::json::OStream::valueBegin() { in valueBegin()
639 void llvm::json::OStream::newline() { in newline()
646 void llvm::json::OStream::arrayBegin() { in arrayBegin()
654 void llvm::json::OStream::arrayEnd() { in arrayEnd()
664 void llvm::json::OStream::objectBegin() { in objectBegin()
672 void llvm::json::OStream::objectEnd() { in objectEnd()
682 void llvm::json::OStream::attributeBegin(llvm::StringRef Key) { in attributeBegin()
701 void llvm::json::OStream::attributeEnd() { in attributeEnd()
716 json::OStream(OS, IndentAmount).value(E); in format()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DForwardDeclarationNamespaceCheck.cpp110 llvm::raw_string_ostream OStream(Ns); in getNameOfNamespace() local
111 NsDecl->printQualifiedName(OStream); in getNameOfNamespace()
112 OStream.flush(); in getNameOfNamespace()
/external/llvm-project/llvm/include/llvm/Object/
DSymbolicFile.h44 template <typename OStream>
45 OStream& operator<<(OStream &OS, const DataRefImpl &D) {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DSymbolicFile.h45 template <typename OStream>
46 OStream& operator<<(OStream &OS, const DataRefImpl &D) {
/external/llvm/include/llvm/Object/
DSymbolicFile.h34 template <typename OStream>
35 OStream& operator<<(OStream &OS, const DataRefImpl &D) {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
Draw_ostream.h360 template <typename OStream, typename T>
361 typename std::enable_if<!std::is_reference<OStream>::value &&
362 std::is_base_of<raw_ostream, OStream>::value,
363 OStream &&>::type
364 operator<<(OStream &&OS, const T &Value) {
/external/llvm/include/llvm/CodeGen/PBQP/
DMath.h150 template <typename OStream>
151 OStream& operator<<(OStream &OS, const Vector &V) {
388 template <typename OStream>
389 OStream& operator<<(OStream &OS, const Matrix &M) {
/external/llvm-project/libc/benchmarks/
DJSON.cpp280 static void Serialize(const BenchmarkOptions &BO, json::OStream &JOS) { in Serialize()
294 static void Serialize(const CacheInfo &CI, json::OStream &JOS) { in Serialize()
303 static void Serialize(const HostState &HS, json::OStream &JOS) { in Serialize()
314 static void Serialize(const StudyConfiguration &SC, json::OStream &JOS) { in Serialize()
331 static void Serialize(const FunctionMeasurements &FM, json::OStream &JOS) { in Serialize()
345 void SerializeToJson(const Study &S, json::OStream &JOS) { in SerializeToJson()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/RPC/
DRPCSerialization.h33 template <typename OStream>
34 OStream &operator<<(OStream &OS, const RPCTypeNameSequence<> &V) {
39 template <typename OStream, typename ArgT>
40 OStream &operator<<(OStream &OS, const RPCTypeNameSequence<ArgT> &V) {
46 template <typename OStream, typename ArgT1, typename ArgT2, typename... ArgTs>
47 OStream&
48 operator<<(OStream &OS, const RPCTypeNameSequence<ArgT1, ArgT2, ArgTs...> &V) {

123