Home
last modified time | relevance | path

Searched refs:StreamReader (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/reader/
DReaderStringTest.java25 StreamReader reader = new StreamReader("test"); in testCheckPrintable()
27 Matcher matcher = StreamReader.NON_PRINTABLE.matcher("test"); in testCheckPrintable()
39 Matcher matcher = StreamReader.NON_PRINTABLE.matcher("test\u0005 fail"); in testCheckNonPrintable()
42 new StreamReader("test\u0005 fail"); in testCheckNonPrintable()
55 StreamReader streamReader = new StreamReader(""); in testCheckAll()
60 Matcher matcher = StreamReader.NON_PRINTABLE.matcher(str); in testCheckAll()
79 StreamReader reader = new StreamReader("test"); in testForward()
83 reader = new StreamReader("test"); in testForward()
96 StreamReader reader = new StreamReader("test"); in testPeekInt()
DReaderBomTest.java33 StreamReader reader = new StreamReader(input); in testReader()
49 StreamReader reader = new StreamReader(r); in testNoBom()
67 StreamReader reader = new StreamReader(new UnicodeReader(input)); in testUtf8Bom()
85 StreamReader reader = new StreamReader(new UnicodeReader(input)); in testUnicodeLeBom()
103 StreamReader reader = new StreamReader(new UnicodeReader(input)); in testUnicodeBeBom()
/external/skia/experimental/skrive/src/reader/
DJsonReader.cpp19 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 …]
DStreamReader.cpp19 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()
DStreamReader.h22 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;
/external/skia/experimental/skrive/src/
DArtboard.cpp21 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 …]
DSkRive.cpp17 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()
DColor.cpp17 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()
/external/skia/experimental/skrive/tests/
DBinaryReader.cpp40 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()
DJsonReader.cpp30 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()
/external/llvm/lib/DebugInfo/CodeView/
DStreamReader.cpp18 StreamReader::StreamReader(StreamRef S) : Stream(S), Offset(0) {} in StreamReader() function in StreamReader
20 Error StreamReader::readLongestContiguousChunk(ArrayRef<uint8_t> &Buffer) { in readLongestContiguousChunk()
27 Error StreamReader::readBytes(ArrayRef<uint8_t> &Buffer, uint32_t Size) { in readBytes()
34 Error StreamReader::readInteger(uint16_t &Dest) { in readInteger()
42 Error StreamReader::readInteger(uint32_t &Dest) { in readInteger()
50 Error StreamReader::readZeroString(StringRef &Dest) { in readZeroString()
75 Error StreamReader::readFixedString(StringRef &Dest, uint32_t Length) { in readFixedString()
83 Error StreamReader::readStreamRef(StreamRef &Ref) { in readStreamRef()
87 Error StreamReader::readStreamRef(StreamRef &Ref, uint32_t Length) { in readStreamRef()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DANTLRInputStream.cs36 using StreamReader = System.IO.StreamReader; typedef
65 private static StreamReader GetStreamReader(Stream input, Encoding encoding) { in GetStreamReader()
67 return new StreamReader(input, encoding); in GetStreamReader()
68 return new StreamReader(input); in GetStreamReader()
DANTLRFileStream.cs38 using StreamReader = System.IO.StreamReader; typedef
106 StreamReader fr = null; in Load()
113 fr = new StreamReader(fileName, encoding); in Load()
115 fr = new StreamReader(fileName, Encoding.Default); in Load()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DANTLRInputStream.cs37 using StreamReader = System.IO.StreamReader; typedef
72 private static StreamReader GetStreamReader(Stream input, Encoding encoding) in GetStreamReader()
75 return new StreamReader(input, encoding); in GetStreamReader()
76 return new StreamReader(input); in GetStreamReader()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_streams.py45 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 …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/
DYaml.java42 import org.yaml.snakeyaml.reader.StreamReader;
369 return loadFromReader(new StreamReader(yaml), Object.class); in load()
381 return loadFromReader(new StreamReader(new UnicodeReader(io)), Object.class); in load()
393 return loadFromReader(new StreamReader(io), Object.class); in load()
410 return (T) loadFromReader(new StreamReader(io), type); in loadAs()
427 return (T) loadFromReader(new StreamReader(yaml), type); in loadAs()
444 return (T) loadFromReader(new StreamReader(new UnicodeReader(input)), type); in loadAs()
447 private Object loadFromReader(StreamReader sreader, Class<?> type) { in loadFromReader()
463 Composer composer = new Composer(new ParserImpl(new StreamReader(yaml)), resolver); in loadAll()
531 Composer composer = new Composer(new ParserImpl(new StreamReader(yaml)), resolver); in compose()
[all …]
/external/python/cpython2/Lib/encodings/
Dlatin_1.py31 class StreamReader(Codec,codecs.StreamReader): class
34 class StreamConverter(StreamWriter,StreamReader):
48 streamreader=StreamReader,
Dascii.py31 class StreamReader(Codec,codecs.StreamReader): class
34 class StreamConverter(StreamWriter,StreamReader):
49 streamreader=StreamReader,
Dcharmap.py49 class StreamReader(Codec,codecs.StreamReader): class
52 codecs.StreamReader.__init__(self,stream,errors)
68 streamreader=StreamReader,
/external/python/cpython3/Lib/encodings/
Dlatin_1.py31 class StreamReader(Codec,codecs.StreamReader): class
34 class StreamConverter(StreamWriter,StreamReader):
48 streamreader=StreamReader,
Dascii.py31 class StreamReader(Codec,codecs.StreamReader): class
34 class StreamConverter(StreamWriter,StreamReader):
49 streamreader=StreamReader,
Dcharmap.py49 class StreamReader(Codec,codecs.StreamReader): class
52 codecs.StreamReader.__init__(self,stream,errors)
68 streamreader=StreamReader,
/external/llvm/unittests/DebugInfo/PDB/
DMappedBlockStreamTest.cpp96 StreamReader R(S); in TEST()
110 StreamReader R(S); in TEST()
123 StreamReader R(S); in TEST()
141 StreamReader R(S); in TEST()
153 StreamReader R(S); in TEST()
166 StreamReader R(S); in TEST()
179 StreamReader R(S); in TEST()
191 StreamReader R(S); in TEST()
204 StreamReader R(S); in TEST()
224 StreamReader R(S); in TEST()
[all …]
/external/python/cpython3/Lib/test/
Dtestcodec.py25 class StreamReader(Codec,codecs.StreamReader): class
32 return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
/external/python/cpython2/Lib/test/
Dtestcodec.py25 class StreamReader(Codec,codecs.StreamReader): class
32 return (Codec().encode,Codec().decode,StreamReader,StreamWriter)

12345678910>>...15