/third_party/skia/experimental/skrive/src/reader/ |
D | JsonReader.cpp | 19 StreamReader::BlockType block_type(const char* type_name) { in block_type() 22 StreamReader::BlockType block_type; in block_type() 24 {"artboard" , StreamReader::BlockType::kActorArtboard }, in block_type() 25 {"artboards" , StreamReader::BlockType::kArtboards }, in block_type() 26 {"colorFill" , StreamReader::BlockType::kColorFill }, in block_type() 27 {"colorStroke" , StreamReader::BlockType::kColorStroke }, in block_type() 28 {"ellipse" , StreamReader::BlockType::kActorEllipse }, in block_type() 29 {"gradientFill" , StreamReader::BlockType::kGradientFill }, in block_type() 30 {"gradientStroke" , StreamReader::BlockType::kGradientStroke }, in block_type() 31 {"node" , StreamReader::BlockType::kActorNode }, in block_type() [all …]
|
D | StreamReader.cpp | 19 extern std::unique_ptr<StreamReader> MakeJsonStreamReader(const char[], size_t); 20 extern std::unique_ptr<StreamReader> MakeBinaryStreamReader(std::unique_ptr<SkStreamAsset>); 22 std::unique_ptr<StreamReader> StreamReader::Make(const sk_sp<SkData>& data) { in Make() 34 std::unique_ptr<StreamReader> StreamReader::Make(std::unique_ptr<SkStreamAsset> stream) { in Make() 53 return StreamReader::Make(SkData::MakeFromStream(stream.get(), stream->getLength())); in Make() 56 SkV2 StreamReader::readV2(const char label[]) { in readV2() 64 SkColor4f StreamReader::readColor(const char label[]) { in readColor()
|
D | StreamReader.h | 22 class StreamReader { 24 virtual ~StreamReader() = default; 26 static std::unique_ptr<StreamReader> Make(std::unique_ptr<SkStreamAsset>); 27 static std::unique_ptr<StreamReader> Make(const sk_sp<SkData>&); 81 explicit AutoBlock(StreamReader* reader) in AutoBlock() 85 explicit AutoBlock(const std::unique_ptr<StreamReader>& reader) in AutoBlock() 98 StreamReader* fReader;
|
/third_party/skia/experimental/skrive/src/ |
D | Artboard.cpp | 21 size_t parse_node(StreamReader*, T*); 24 std::tuple<sk_sp<Component>, size_t> make_from_stream(StreamReader* sr, Args&&... args) { in make_from_stream() 32 std::tuple<sk_sp<Component>, size_t> parse_component(StreamReader* sr) { in parse_component() 33 StreamReader::AutoBlock block(sr); in parse_component() 35 case StreamReader::BlockType::kActorNode: in parse_component() 37 case StreamReader::BlockType::kActorShape: in parse_component() 39 case StreamReader::BlockType::kColorFill: in parse_component() 41 case StreamReader::BlockType::kColorStroke: in parse_component() 43 case StreamReader::BlockType::kActorEllipse: in parse_component() 45 case StreamReader::BlockType::kActorRectangle: in parse_component() [all …]
|
D | SkRive.cpp | 17 extern sk_sp<Artboard> parse_artboard(StreamReader*); 19 void parse_artboards(const sk_sp<SkRive>& skrive, StreamReader* sr) { in parse_artboards() 24 StreamReader::AutoBlock block(sr); in parse_artboards() 25 if (block.type() == StreamReader::BlockType::kEoB) { in parse_artboards() 28 if (block.type() != StreamReader::BlockType::kActorArtboard) { in parse_artboards() 37 static sk_sp<SkRive> parse_skrive(std::unique_ptr<StreamReader> sr) { in parse_skrive() 48 StreamReader::AutoBlock block(sr); in parse_skrive() 49 if (block.type() == StreamReader::BlockType::kEoB) { in parse_skrive() 54 case StreamReader::BlockType::kArtboards: in parse_skrive() 69 auto reader = internal::StreamReader::Make(std::move(stream)); in make()
|
D | Color.cpp | 17 size_t parse_node(StreamReader*, T*); 19 extern void parse_fill_stroke(StreamReader*, Paint*); 22 size_t parse_node<ColorPaint>(StreamReader* sr, ColorPaint* node) { in parse_node()
|
/third_party/skia/experimental/skrive/tests/ |
D | BinaryReader.cpp | 40 auto sr = StreamReader::Make(SkData::MakeWithoutCopy(bin, sizeof(bin))); in DEF_TEST() 45 StreamReader::AutoBlock ab(sr); in DEF_TEST() 46 REPORTER_ASSERT(reporter, ab.type() == StreamReader::BlockType::kArtboards); in DEF_TEST() 50 StreamReader::AutoBlock ab(sr); in DEF_TEST() 51 REPORTER_ASSERT(reporter, ab.type() == StreamReader::BlockType::kActorArtboard); in DEF_TEST() 65 StreamReader::AutoBlock ab(sr); in DEF_TEST() 66 REPORTER_ASSERT(reporter, ab.type() == StreamReader::BlockType::kEoB); in DEF_TEST() 70 StreamReader::AutoBlock ab(sr); in DEF_TEST() 71 REPORTER_ASSERT(reporter, ab.type() == StreamReader::BlockType::kEoB); in DEF_TEST()
|
D | JsonReader.cpp | 30 auto sr = StreamReader::Make(SkData::MakeWithoutCopy(json, strlen(json))); in DEF_TEST() 35 StreamReader::AutoBlock ab(sr); in DEF_TEST() 36 REPORTER_ASSERT(reporter, ab.type() == StreamReader::BlockType::kArtboards); in DEF_TEST() 40 StreamReader::AutoBlock ab(sr); in DEF_TEST() 41 REPORTER_ASSERT(reporter, ab.type() == StreamReader::BlockType::kActorArtboard); in DEF_TEST() 55 StreamReader::AutoBlock ab(sr); in DEF_TEST() 56 REPORTER_ASSERT(reporter, ab.type() == StreamReader::BlockType::kEoB); in DEF_TEST() 60 StreamReader::AutoBlock ab(sr); in DEF_TEST() 61 REPORTER_ASSERT(reporter, ab.type() == StreamReader::BlockType::kEoB); in DEF_TEST()
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_streams.py | 45 stream = asyncio.StreamReader() 141 stream = asyncio.StreamReader(loop=self.loop) 147 stream = asyncio.StreamReader(loop=self.loop) 154 stream = asyncio.StreamReader(loop=self.loop) 163 stream = asyncio.StreamReader(loop=self.loop) 176 stream = asyncio.StreamReader(loop=self.loop) 187 stream = asyncio.StreamReader(loop=self.loop) 200 stream = asyncio.StreamReader(loop=self.loop) 215 stream = asyncio.StreamReader(loop=self.loop) 227 asyncio.StreamReader(limit=0, loop=self.loop) [all …]
|
/third_party/python/Lib/encodings/ |
D | latin_1.py | 31 class StreamReader(Codec,codecs.StreamReader): class 34 class StreamConverter(StreamWriter,StreamReader): 48 streamreader=StreamReader,
|
D | ascii.py | 31 class StreamReader(Codec,codecs.StreamReader): class 34 class StreamConverter(StreamWriter,StreamReader): 49 streamreader=StreamReader,
|
D | charmap.py | 49 class StreamReader(Codec,codecs.StreamReader): class 52 codecs.StreamReader.__init__(self,stream,errors) 68 streamreader=StreamReader,
|
D | utf_8.py | 28 class StreamReader(codecs.StreamReader): class 40 streamreader=StreamReader,
|
D | utf_32_le.py | 23 class StreamReader(codecs.StreamReader): class 35 streamreader=StreamReader,
|
D | undefined.py | 35 class StreamReader(Codec,codecs.StreamReader): class 48 streamreader=StreamReader,
|
D | oem.py | 27 class StreamReader(codecs.StreamReader): class 39 streamreader=StreamReader,
|
D | mbcs.py | 33 class StreamReader(codecs.StreamReader): class 45 streamreader=StreamReader,
|
D | utf_16_be.py | 28 class StreamReader(codecs.StreamReader): class 40 streamreader=StreamReader,
|
D | utf_32_be.py | 23 class StreamReader(codecs.StreamReader): class 35 streamreader=StreamReader,
|
D | utf_16_le.py | 28 class StreamReader(codecs.StreamReader): class 40 streamreader=StreamReader,
|
D | utf_7.py | 24 class StreamReader(codecs.StreamReader): class 36 streamreader=StreamReader,
|
D | raw_unicode_escape.py | 31 class StreamReader(Codec,codecs.StreamReader): class 44 streamreader=StreamReader,
|
D | unicode_escape.py | 31 class StreamReader(Codec,codecs.StreamReader): class 44 streamreader=StreamReader,
|
D | euc_kr.py | 24 class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader): class 37 streamreader=StreamReader,
|
/third_party/python/Lib/test/ |
D | testcodec.py | 25 class StreamReader(Codec,codecs.StreamReader): class 32 return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
|