Home
last modified time | relevance | path

Searched refs:useStream (Results 1 – 14 of 14) sorted by relevance

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DGeneratorDupHandlingTest.java31 protected void _testSimpleDups(boolean useStream, boolean lazySetting, JsonFactory f) in _testSimpleDups() argument
36 _writeSimple0(_generator(f, useStream), "a"); in _testSimpleDups()
37 _writeSimple1(_generator(f, useStream), "b"); in _testSimpleDups()
44 g1 = _generator(f, useStream); in _testSimpleDups()
48 g1 = _generator(f, useStream); in _testSimpleDups()
59 g2 = _generator(f, useStream); in _testSimpleDups()
62 g2 = _generator(f, useStream); in _testSimpleDups()
72 protected JsonGenerator _generator(JsonFactory f, boolean useStream) throws IOException in _generator() argument
74 return useStream ? in _generator()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DParserWithObjectsTest.java71 private void _testNextValueBasic(boolean useStream) throws IOException in _testNextValueBasic() argument
74 JsonParser jp = _getParser("[ 1, 2, 3, 4 ]", useStream); in _testNextValueBasic()
85 jp = _getParser("{ \"3\" :3, \"4\": 4, \"5\" : 5 }", useStream); in _testNextValueBasic()
97 jp = _getParser("[ true, [ ], { \"a\" : 3 } ]", useStream); in _testNextValueBasic()
115 private void _testNextValueNested(boolean useStream) throws IOException in _testNextValueNested() argument
121 jp = _getParser("{\"a\": { \"b\" : true, \"c\": false }, \"d\": 3 }", useStream); in _testNextValueNested()
143 jp = _getParser("{\"a\": [ false ] }", useStream); in _testNextValueNested()
160 private JsonParser _getParser(String doc, boolean useStream) in _getParser() argument
164 if (useStream) { in _getParser()
DParserFeaturesTest.java69 private void _testQuotesRequired(boolean useStream) throws Exception in _testQuotesRequired() argument
74 JsonParser p = useStream ? in _testQuotesRequired()
91 private void _testTabsDefault(boolean useStream) throws Exception in _testTabsDefault() argument
96 …JsonParser p = useStream ? createParserUsingStream(f, JSON, "UTF-8") : createParserUsingReader(f, … in _testTabsDefault()
109 private void _testTabsEnabled(boolean useStream) throws Exception in _testTabsEnabled() argument
118 …JsonParser p = useStream ? createParserUsingStream(f, JSON, "UTF-8") : createParserUsingReader(f, … in _testTabsEnabled()
DArrayParsingTest.java109 private void _testMissingValueByEnablingFeature(boolean useStream) throws Exception { in _testMissingValueByEnablingFeature() argument
115 JsonParser jp = useStream ? createParserUsingStream(f, DOC, "UTF-8") in _testMissingValueByEnablingFeature()
134 jp = useStream ? createParserUsingStream(f, DOC, "UTF-8") in _testMissingValueByEnablingFeature()
146 private void _testMissingValueNotEnablingFeature(boolean useStream) throws Exception { in _testMissingValueNotEnablingFeature() argument
151 JsonParser jp = useStream ? createParserUsingStream(f, DOC, "UTF-8") in _testMissingValueNotEnablingFeature()
167 private void _testNotMissingValueByEnablingFeature(boolean useStream) throws Exception { in _testNotMissingValueByEnablingFeature() argument
173 JsonParser jp = useStream ? createParserUsingStream(f, DOC, "UTF-8") in _testNotMissingValueByEnablingFeature()
DParserLinefeedsTest.java39 private void _testLinefeeds(String lf, boolean useStream) in _testLinefeeds() argument
45 JsonParser jp = useStream ? in _testLinefeeds()
DSimpleParserTest.java60 …private void _testIntern(boolean useStream, boolean enableIntern, String expName) throws IOExcepti… in _testIntern() argument
67 JsonParser p = useStream ? in _testIntern()
675 private void _testHandlingOfInvalidSpaceFromResource(boolean useStream) throws Exception in _testHandlingOfInvalidSpaceFromResource() argument
678 JsonParser p = useStream in _testHandlingOfInvalidSpaceFromResource()
DNumberParsingTest.java577 private void _testLongNumbers(JsonFactory f, String num, boolean useStream) throws Exception in _testLongNumbers() argument
580 JsonParser p = useStream in _testLongNumbers()
604 …private void _testIssue160LongNumbers(JsonFactory f, String doc, boolean useStream) throws Excepti… in _testIssue160LongNumbers() argument
606 JsonParser p = useStream in _testIssue160LongNumbers()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/
DTestCustomEscaping.java118 private void _testJsonpEscapes(boolean useStream, boolean stringAsChars) throws Exception in _testJsonpEscapes() argument
126 if (useStream) { in _testJsonpEscapes()
152 private void _testEscapeAboveAscii(boolean useStream, boolean stringAsChars) throws Exception in _testEscapeAboveAscii() argument
161 if (useStream) { in _testEscapeAboveAscii()
177 if (useStream) { in _testEscapeAboveAscii()
192 if (useStream) { in _testEscapeAboveAscii()
208 private void _testEscapeCustom(boolean useStream, boolean stringAsChars, in _testEscapeCustom() argument
218 if (useStream) { in _testEscapeCustom()
DTestParserOverrides.java42 public void _testTokenAccess(JsonFactory jf, boolean useStream) throws Exception in _testTokenAccess() argument
45 JsonParser jp = useStream ? in _testTokenAccess()
66 private void _testCurrentName(JsonFactory jf, boolean useStream) throws Exception in _testCurrentName() argument
69 JsonParser jp = useStream ? in _testCurrentName()
DTestWithTonsaSymbols.java36 private void _testWith(boolean useStream) in _testWith() argument
46 JsonParser p = useStream ? in _testWith()
DTestRootValues.java180 private void _testSimpleWrites(boolean useStream) throws Exception in _testSimpleWrites() argument
186 if (useStream) { in _testSimpleWrites()
200 String json = useStream ? out.toString("UTF-8") : w.toString(); in _testSimpleWrites()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DLister.java43 boolean useStream = false; field in Lister.CommandLine
56 if (cl.useStream) { in main()
127 cl.useStream = true; in parse()
131 cl.useStream = false; in parse()
/external/oboe/samples/hello-oboe/src/main/cpp/
DLatencyTuningCallback.h57 void useStream(std::shared_ptr<oboe::AudioStream> stream);
/external/lzma/C/
DXzEnc.c817 BoolInt useStream = (fp || inStream); in Xz_CompressBlock() local
820 if (!useStream) in Xz_CompressBlock()
837 useStream ? in Xz_CompressBlock()
846 useStream ? NULL : inBuf, in Xz_CompressBlock()
847 useStream ? 0 : inBufSize, in Xz_CompressBlock()