Home
last modified time | relevance | path

Searched refs:STRICT_DUPLICATE_DETECTION (Results 1 – 13 of 13) sorted by relevance

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DParserDupHandlingTest.java26 assertFalse(f.isEnabled(JsonParser.Feature.STRICT_DUPLICATE_DETECTION)); in testSimpleDupCheckDisabled()
39 .enable(StreamReadFeature.STRICT_DUPLICATE_DETECTION) in testSimpleDupsBytes()
56 .enable(StreamReadFeature.STRICT_DUPLICATE_DETECTION) in testSimpleDupsDataInput()
68 dupF.enable(JsonParser.Feature.STRICT_DUPLICATE_DETECTION); in testSimpleDupsChars()
109 p.enable(JsonParser.Feature.STRICT_DUPLICATE_DETECTION); in _testSimpleDupsFail()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DGeneratorDupHandlingTest.java21 assertFalse(f.isEnabled(JsonGenerator.Feature.STRICT_DUPLICATE_DETECTION)); in testSimpleDupsLazilyBytes()
45 g1.enable(JsonGenerator.Feature.STRICT_DUPLICATE_DETECTION); in _testSimpleDups()
47 f.enable(JsonGenerator.Feature.STRICT_DUPLICATE_DETECTION); in _testSimpleDups()
60 g2.enable(JsonGenerator.Feature.STRICT_DUPLICATE_DETECTION); in _testSimpleDups()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/base/
DGeneratorBase.java35 | Feature.STRICT_DUPLICATE_DETECTION.getMask()
109 DupDetector dups = Feature.STRICT_DUPLICATE_DETECTION.enabledIn(features) in GeneratorBase()
169 } else if (f == Feature.STRICT_DUPLICATE_DETECTION) { in enable()
188 } else if (f == Feature.STRICT_DUPLICATE_DETECTION) { in disable()
241 if (Feature.STRICT_DUPLICATE_DETECTION.enabledIn(changedFeatures)) { in _checkStdFeatureChanges()
242 if (Feature.STRICT_DUPLICATE_DETECTION.enabledIn(newFeatureFlags)) { // enabling in _checkStdFeatureChanges()
DParserBase.java242 DupDetector dups = Feature.STRICT_DUPLICATE_DETECTION.enabledIn(features) in ParserBase()
268 if (f == Feature.STRICT_DUPLICATE_DETECTION) { // enabling dup detection? in enable()
279 if (f == Feature.STRICT_DUPLICATE_DETECTION) { in disable()
319 int f = Feature.STRICT_DUPLICATE_DETECTION.getMask(); in _checkStdFeatureChanges()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DStreamReadFeature.java49 STRICT_DUPLICATE_DETECTION(JsonParser.Feature.STRICT_DUPLICATE_DETECTION), enumConstant
DStreamWriteFeature.java92 STRICT_DUPLICATE_DETECTION(JsonGenerator.Feature.STRICT_DUPLICATE_DETECTION), enumConstant
DJsonParser.java279 STRICT_DUPLICATE_DETECTION(false), enumConstant
DJsonGenerator.java220 STRICT_DUPLICATE_DETECTION(false), enumConstant
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DObjectReaderTest.java213 assertFalse(r.isEnabled(JsonParser.Feature.STRICT_DUPLICATE_DETECTION)); in testFeatureSettingsDeprecated()
215 JsonParser.Feature.STRICT_DUPLICATE_DETECTION); in testFeatureSettingsDeprecated()
216 assertTrue(r2.isEnabled(JsonParser.Feature.STRICT_DUPLICATE_DETECTION)); in testFeatureSettingsDeprecated()
220 JsonParser.Feature.STRICT_DUPLICATE_DETECTION); in testFeatureSettingsDeprecated()
221 assertFalse(r3.isEnabled(JsonParser.Feature.STRICT_DUPLICATE_DETECTION)); in testFeatureSettingsDeprecated()
292 .with(StreamReadFeature.STRICT_DUPLICATE_DETECTION) in testParserConfigViaReader()
294 assertTrue(p.isEnabled(StreamReadFeature.STRICT_DUPLICATE_DETECTION)); in testParserConfigViaReader()
DObjectWriterTest.java236 assertFalse(w.isEnabled(JsonGenerator.Feature.STRICT_DUPLICATE_DETECTION)); in testFeatureSettings()
237 assertFalse(w.isEnabled(StreamWriteFeature.STRICT_DUPLICATE_DETECTION)); in testFeatureSettings()
273 assertFalse(w.isEnabled(StreamWriteFeature.STRICT_DUPLICATE_DETECTION)); in testGeneratorFeatures()
274 assertNotSame(w, w.with(StreamWriteFeature.STRICT_DUPLICATE_DETECTION)); in testGeneratorFeatures()
DObjectMapperTest.java104 JsonParser.Feature.STRICT_DUPLICATE_DETECTION); in testParserFeatures()
/external/oss-fuzz/projects/jackson-core/
DJsonFuzzer.java37 mapper.enable(JsonParser.Feature.STRICT_DUPLICATE_DETECTION); in fuzzerTestOneInput()
/external/jackson-core/release-notes/
DVERSION-2.x560 #106: Add `JsonGenerator.Feature.STRICT_DUPLICATE_DETECTION` for preventing dup names