Home
last modified time | relevance | path

Searched refs:AUTO_CLOSE_SOURCE (Results 1 – 9 of 9) sorted by relevance

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DParserClosingTest.java28 assertTrue(sharedStreamFactory().isEnabled(StreamReadFeature.AUTO_CLOSE_SOURCE)); in testNoAutoCloseReader()
31 .disable(StreamReadFeature.AUTO_CLOSE_SOURCE) in testNoAutoCloseReader()
33 assertFalse(f.isEnabled(StreamReadFeature.AUTO_CLOSE_SOURCE)); in testNoAutoCloseReader()
35 assertFalse(f.isEnabled(JsonParser.Feature.AUTO_CLOSE_SOURCE)); in testNoAutoCloseReader()
60 .enable(StreamReadFeature.AUTO_CLOSE_SOURCE) in testAutoCloseReader()
86 .disable(StreamReadFeature.AUTO_CLOSE_SOURCE) in testNoAutoCloseInputStream()
DSimpleParserTest.java24 p.enable(JsonParser.Feature.AUTO_CLOSE_SOURCE); in testConfig()
25 assertTrue(p.isEnabled(JsonParser.Feature.AUTO_CLOSE_SOURCE)); in testConfig()
26 p.disable(JsonParser.Feature.AUTO_CLOSE_SOURCE); in testConfig()
27 assertFalse(p.isEnabled(JsonParser.Feature.AUTO_CLOSE_SOURCE)); in testConfig()
29 p.configure(JsonParser.Feature.AUTO_CLOSE_SOURCE, true); in testConfig()
30 assertTrue(p.isEnabled(JsonParser.Feature.AUTO_CLOSE_SOURCE)); in testConfig()
31 p.configure(JsonParser.Feature.AUTO_CLOSE_SOURCE, false); in testConfig()
32 assertFalse(p.isEnabled(JsonParser.Feature.AUTO_CLOSE_SOURCE)); in testConfig()
DParserFeaturesTest.java17 assertTrue(JSON_F.isEnabled(StreamReadFeature.AUTO_CLOSE_SOURCE)); in testDefaultSettings()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DStreamReadFeature.java31 AUTO_CLOSE_SOURCE(JsonParser.Feature.AUTO_CLOSE_SOURCE), enumConstant
DJsonParser.java72 AUTO_CLOSE_SOURCE(true), enumConstant
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DObjectMapperTest.java99 assertTrue(mapper.isEnabled(JsonParser.Feature.AUTO_CLOSE_SOURCE)); in testParserFeatures()
100 assertTrue(mapper.isEnabled(StreamReadFeature.AUTO_CLOSE_SOURCE)); in testParserFeatures()
103 mapper.disable(JsonParser.Feature.AUTO_CLOSE_SOURCE, in testParserFeatures()
105 assertFalse(mapper.isEnabled(JsonParser.Feature.AUTO_CLOSE_SOURCE)); in testParserFeatures()
106 assertFalse(mapper.isEnabled(StreamReadFeature.AUTO_CLOSE_SOURCE)); in testParserFeatures()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DObjectReader.java2178 p.enable(JsonParser.Feature.AUTO_CLOSE_SOURCE); in _detectBindAndClose()
2195 p.enable(JsonParser.Feature.AUTO_CLOSE_SOURCE); in _detectBindAndReadValues()
2209 p.enable(JsonParser.Feature.AUTO_CLOSE_SOURCE); in _detectBindAndCloseAsTree()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/
DReaderBasedJsonParser.java213 if (_ioContext.isResourceManaged() || isEnabled(Feature.AUTO_CLOSE_SOURCE)) { in _closeInput()
DUTF8StreamJsonParser.java258 if (_ioContext.isResourceManaged() || isEnabled(Feature.AUTO_CLOSE_SOURCE)) { in _closeInput()