Home
last modified time | relevance | path

Searched refs:wstream (Results 1 – 25 of 33) sorted by relevance

12

/third_party/boost/libs/spirit/test/karma/
Dwstream.cpp51 BOOST_TEST(test(L"x", wstream, L'x')); in main()
52 BOOST_TEST(test(L"xyz", wstream, L"xyz")); in main()
53 BOOST_TEST(test(L"xyz", wstream, std::basic_string<wchar_t>(L"xyz"))); in main()
54 BOOST_TEST(test(L"1", wstream, 1)); in main()
55 BOOST_TEST(test(L"1.1", wstream, 1.1)); in main()
56 BOOST_TEST(test(L"{1.2,2.4}", wstream, complex(1.2, 2.4))); in main()
60 BOOST_TEST(test(L"x", wstream(L'x'))); in main()
61 BOOST_TEST(test(L"xyz", wstream(L"xyz"))); in main()
62 BOOST_TEST(test(L"xyz", wstream(std::basic_string<wchar_t>(L"xyz")))); in main()
63 BOOST_TEST(test(L"1", wstream(1))); in main()
[all …]
DJamfile125 run wstream.cpp ;
/third_party/flutter/skia/src/utils/
DSkWhitelistTypefaces.cpp86 static void serialize_sub(const char* fontName, SkFontStyle style, SkWStream* wstream) { in serialize_sub() argument
93 desc.serialize(wstream); in serialize_sub()
114 static void serialize_full(const SkTypeface* tf, SkWStream* wstream) { in serialize_full() argument
123 desc.serialize(wstream); in serialize_full()
126 static void serialize_name_only(const SkTypeface* tf, SkWStream* wstream) { in serialize_name_only() argument
152 desc.serialize(wstream); in serialize_name_only()
155 void WhitelistSerializeTypeface(const SkTypeface* tf, SkWStream* wstream) { in WhitelistSerializeTypeface() argument
157 serialize_name_only(tf, wstream); in WhitelistSerializeTypeface()
162 serialize_full(tf, wstream); in WhitelistSerializeTypeface()
170 serialize_full(tf, wstream); in WhitelistSerializeTypeface()
[all …]
DSkJSON.cpp897 SkDynamicMemoryWStream wstream; in toString() local
898 Write(*this, &wstream); in toString()
899 const auto data = wstream.detachAsData(); in toString()
/third_party/skia/tests/
DCodecRecommendedTypeTest.cpp32 SkDynamicMemoryWStream wstream; in DEF_TEST() local
33 REPORTER_ASSERT(r, SkEncodeImage(&wstream, bm, SkEncodedImageFormat::kPNG, 100)); in DEF_TEST()
34 auto data = wstream.detachAsData(); in DEF_TEST()
DStreamTest.cpp159 SkDynamicMemoryWStream wstream; in TestPackedUInt() local
162 bool success = wstream.writePackedUInt(sizes[i]); in TestPackedUInt()
166 std::unique_ptr<SkStreamAsset> rstream(wstream.detachAsStream()); in TestPackedUInt()
DPictureTest.cpp717 SkDynamicMemoryWStream wstream; in DEF_TEST() local
718 picture->serialize(&wstream); in DEF_TEST()
720 std::unique_ptr<SkStream> rstream(wstream.detachAsStream()); in DEF_TEST()
/third_party/flutter/skia/tests/
DCodecRecommendedTypeTest.cpp32 SkDynamicMemoryWStream wstream; in DEF_TEST() local
33 REPORTER_ASSERT(r, SkEncodeImage(&wstream, bm, SkEncodedImageFormat::kPNG, 100)); in DEF_TEST()
34 auto data = wstream.detachAsData(); in DEF_TEST()
DStreamTest.cpp154 SkDynamicMemoryWStream wstream; in TestPackedUInt() local
157 bool success = wstream.writePackedUInt(sizes[i]); in TestPackedUInt()
161 std::unique_ptr<SkStreamAsset> rstream(wstream.detachAsStream()); in TestPackedUInt()
DSerializationTest.cpp652 SkDynamicMemoryWStream wstream; in copy_picture_via_serialization() local
653 src->serialize(&wstream); in copy_picture_via_serialization()
654 std::unique_ptr<SkStreamAsset> rstream(wstream.detachAsStream()); in copy_picture_via_serialization()
DPictureTest.cpp778 SkDynamicMemoryWStream wstream; in DEF_TEST() local
779 picture->serialize(&wstream); in DEF_TEST()
781 std::unique_ptr<SkStream> rstream(wstream.detachAsStream()); in DEF_TEST()
/third_party/skia/src/utils/
DSkCustomTypeface.cpp319 SkDynamicMemoryWStream wstream; in onOpenStream() local
321 wstream.write(gHeaderString, kHeaderSize); in onOpenStream()
323 wstream.write(&fMetrics, sizeof(fMetrics)); in onOpenStream()
326 wstream.write(&style, sizeof(style)); in onOpenStream()
331 wstream.write32(this->glyphCount()); in onOpenStream()
335 write_scaled_float_to_16(&wstream, a, 2048); in onOpenStream()
338 wstream.write(fAdvances.data(), this->glyphCount() * sizeof(float)); in onOpenStream()
343 compress_write(&wstream, p, 2048); in onOpenStream()
347 wstream.write(data->data(), data->size()); in onOpenStream()
352 return wstream.detachAsStream(); in onOpenStream()
DSkJSON.cpp905 SkDynamicMemoryWStream wstream; in toString() local
906 Write(*this, &wstream); in toString()
907 const auto data = wstream.detachAsData(); in toString()
/third_party/flutter/skia/fuzz/oss_fuzz/
DFuzzJSON.cpp14 SkDynamicMemoryWStream wstream; in FuzzJSON() local
15 dom.write(&wstream); in FuzzJSON()
/third_party/skia/fuzz/oss_fuzz/
DFuzzJSON.cpp14 SkDynamicMemoryWStream wstream; in FuzzJSON() local
15 dom.write(&wstream); in FuzzJSON()
/third_party/flutter/engine/flutter/flow/layers/
Dperformance_overlay_layer_unittests.cc81 SkFILEWStream wstream(new_golden_file_path.c_str()); in TEST() local
82 wstream.write(snapshot_data->data(), snapshot_data->size()); in TEST()
83 wstream.flush(); in TEST()
/third_party/boost/boost/spirit/home/qi/stream/
Dstream.hpp31 struct use_terminal<qi::domain, tag::wstream> // enables wstream
40 using spirit::wstream;
137 struct make_primitive<tag::wstream, Modifiers> : make_stream<wchar_t> {};
/third_party/boost/boost/spirit/home/karma/stream/
Dstream.hpp64 struct use_terminal<karma::domain, tag::wstream> // enables wstream
74 , terminal_ex<tag::wstream, fusion::vector1<A0> >
84 karma::domain, tag::wstream, 1 /*arity*/
109 using spirit::wstream;
338 struct make_primitive<tag::wstream, Modifiers>
380 terminal_ex<tag::wstream, fusion::vector1<A0> >, Modifiers>
/third_party/boost/libs/spirit/doc/qi/
Dstream.qbk22 [section:stream Stream Parsers (`stream`, `wstream`, etc.)]
47 [[`boost::spirit::wstream // alias: boost::spirit::qi::wstream`]]
92 [[`wstream`] [Call the streaming `operator>>()` for the type
95 `wstream` parser. This parser never fails
151 [[`wstream`] [`spirit::whold_any`]]
/third_party/boost/libs/spirit/doc/karma/
Dstream.qbk22 [section:stream Stream Generators (`stream`, `wstream`, etc.)]
47 [[`boost::spirit::wstream // alias: boost::spirit::karma::wstream`]]
97 [[`wstream`] [Call the streaming `operator<<()` for the type
104 [[`wstream(s)`] [Call the streaming `operator<<()` for the type
176 [[`wstream`] [`whold_any`, attribute is mandatory (otherwise compilation will fail)]]
177 [[`wstream(s)`] [__unused__]]
/third_party/boost/libs/dynamic_bitset/test/
Ddyn_bitset_unit_tests4.cpp305 std::wistringstream wstream(wstr); in run_test_cases() local
306 wstream.width(w); in run_test_cases()
307 wstream.exceptions(masks[mi]); in run_test_cases()
308 Tests::stream_extractor(b, wstream, wstr); in run_test_cases()
/third_party/flutter/skia/src/core/
DSkTypeface.cpp176 void SkTypeface::serialize(SkWStream* wstream, SerializeBehavior behavior) const { in serialize() argument
178 (*gSerializeTypefaceDelegate)(this, wstream); in serialize()
199 desc.serialize(wstream); in serialize()
/third_party/boost/libs/convert/test/
Dstream_converter.cpp85 boost::cnv::wstream wcnv; in test_numbase()
148 boost::cnv::wstream wcnv; in test_skipws_wchar()
201 boost::cnv::wstream wcnv; in test_manipulators()
/third_party/boost/libs/convert/example/
Dstream.cpp46 boost::cnv::wstream wcnv; in example2()
/third_party/skia/src/core/
DSkTypeface.cpp173 void SkTypeface::serialize(SkWStream* wstream, SerializeBehavior behavior) const { in serialize() argument
200 desc.serialize(wstream); in serialize()

12