Home
last modified time | relevance | path

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

/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/antlr/antlr-3.4/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/antlr-3.4/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/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/snakeyaml/src/test/java/org/yaml/snakeyaml/partialconstruct/
DFragmentComposerTest.java23 import org.yaml.snakeyaml.reader.StreamReader;
33 StreamReader reader = new StreamReader(document); in testFragment()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/parser/
DParserImplTest.java34 import org.yaml.snakeyaml.reader.StreamReader;
51 StreamReader reader = new StreamReader(data); in testGetEvent()
71 StreamReader reader = new StreamReader(data); in testGetEvent2()
/external/snakeyaml/src/test/java/org/pyyaml/
DPyImportTest.java33 import org.yaml.snakeyaml.reader.StreamReader;
89 StreamReader reader = new StreamReader(new UnicodeReader(input2)); in canonicalParse()
105 StreamReader reader = new StreamReader(new UnicodeReader(input)); in parse()
DPyReaderTest.java25 import org.yaml.snakeyaml.reader.StreamReader;
37 StreamReader stream = new StreamReader(new UnicodeReader(input)); in testReaderUnicodeErrors()
DPyEmitterTest.java39 import org.yaml.snakeyaml.reader.StreamReader;
80 StreamReader reader = new StreamReader(data); in _testEmitter()
132 StreamReader reader = new StreamReader(new UnicodeReader(input)); in testEmitterStyles()
212 ParserImpl parser = new ParserImpl(new StreamReader(data)); in parse()
241 StreamReader reader = new StreamReader(data); in testEmitterEvents()
DPyTokensTest.java28 import org.yaml.snakeyaml.reader.StreamReader;
95 StreamReader reader = new StreamReader(new UnicodeReader(new FileInputStream( in testTokens()
127 StreamReader reader = new StreamReader(new UnicodeReader(input)); in testScanner()
DPyStructureTest.java40 import org.yaml.snakeyaml.reader.StreamReader;
186 Composer composer = new Composer(new ParserImpl(new StreamReader(new UnicodeReader(file))), in compose_all()
196 StreamReader reader = new StreamReader(new UnicodeReader(file)); in canonical_compose_all()
218 StreamReader reader = new StreamReader(yaml); in loadAll()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DConstructorMappingTest.java27 import org.yaml.snakeyaml.reader.StreamReader;
53 StreamReader reader = new StreamReader(data); in construct()
DConstructorSequenceTest.java27 import org.yaml.snakeyaml.reader.StreamReader;
70 StreamReader reader = new StreamReader(data); in construct()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/scanner/
DScannerImplTest.java24 import org.yaml.snakeyaml.reader.StreamReader;
38 StreamReader reader = new StreamReader(data); in testGetToken()
/external/jdiff/src/jdiff/
DStreamReader.java12 class StreamReader extends Thread { class
17 StreamReader(InputStream is) { in StreamReader() method in StreamReader
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/reader/
DStreamReader.java31 public class StreamReader { class
44 public StreamReader(String stream) { in StreamReader() method in StreamReader
54 public StreamReader(Reader reader) { in StreamReader() method in StreamReader
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DImageHeaderParser.java64 private final StreamReader streamReader;
77 streamReader = new StreamReader(is); in ImageHeaderParser()
319 private static class StreamReader { class in ImageHeaderParser
323 public StreamReader(InputStream is) { in StreamReader() method in ImageHeaderParser.StreamReader
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DStreamService.java163 new StreamReader("stderr", in doStart()
167 new StreamReader("stdout", in doStart()
356 private final class StreamReader implements Callable<Void> {
360 StreamReader(String streamName, Reader reader) {
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/
DSafeRepresenterTest.java31 import org.yaml.snakeyaml.reader.StreamReader;
36 Pattern pattern = StreamReader.NON_PRINTABLE; in testBinaryPattern()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
DSafeRepresenter.java38 import org.yaml.snakeyaml.reader.StreamReader;
115 if (StreamReader.NON_PRINTABLE.matcher(value).find()) { in representData()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/parser/
DParserImpl.java38 import org.yaml.snakeyaml.reader.StreamReader;
130 public ParserImpl(StreamReader reader) { in ParserImpl()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/scanner/
DScannerImpl.java30 import org.yaml.snakeyaml.reader.StreamReader;
157 private final StreamReader reader;
212 public ScannerImpl(StreamReader reader) { in ScannerImpl()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/emitter/
DEmitter.java48 import org.yaml.snakeyaml.reader.StreamReader;
1234 } else if (!this.allowUnicode || !StreamReader.isPrintable(ch)) { in writeDoubleQuoted()