/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/ |
D | ParserWithObjectsTest.java | 89 assertEquals(String.valueOf(i), jp.getCurrentName()); in _testNextValueBasic() 106 assertEquals("a", jp.getCurrentName()); in _testNextValueBasic() 124 assertNull(jp.getCurrentName()); in _testNextValueNested() 126 assertEquals("a", jp.getCurrentName()); in _testNextValueNested() 128 assertEquals("b", jp.getCurrentName()); in _testNextValueNested() 130 assertEquals("c", jp.getCurrentName()); in _testNextValueNested() 133 assertEquals("a", jp.getCurrentName()); in _testNextValueNested() 136 assertEquals("d", jp.getCurrentName()); in _testNextValueNested() 138 assertNull(jp.getCurrentName()); in _testNextValueNested() 146 assertNull(jp.getCurrentName()); in _testNextValueNested() [all …]
|
D | NextXxxAccessTest.java | 136 assertEquals(NAME.getValue(), p.getCurrentName()); in _testIsNextTokenName1() 144 assertEquals("name2", p.getCurrentName()); in _testIsNextTokenName1() 150 assertEquals("x", p.getCurrentName()); in _testIsNextTokenName1() 169 assertEquals(NAME.getValue(), p.getCurrentName()); in _testIsNextTokenName1() 177 assertEquals("name2", p.getCurrentName()); in _testIsNextTokenName1() 182 assertEquals("x", p.getCurrentName()); in _testIsNextTokenName1() 205 assertEquals(NAME.getValue(), p.getCurrentName()); in _testIsNextTokenName2() 213 assertEquals("name2", p.getCurrentName()); in _testIsNextTokenName2() 218 assertEquals("x", p.getCurrentName()); in _testIsNextTokenName2() 240 assertEquals("name", p.getCurrentName()); in _testIsNextTokenName3() [all …]
|
D | SimpleParserTest.java | 73 String actName = p.getCurrentName(); in _testIntern() 177 assertEquals("key1", ctxt.getCurrentName()); in _testKeywords() 180 assertEquals("key1", ctxt.getCurrentName()); in _testKeywords() 191 assertEquals("key2", ctxt.getCurrentName()); in _testKeywords() 194 assertEquals("key2", ctxt.getCurrentName()); in _testKeywords() 206 assertNull(ctxt.getCurrentName()); in _testKeywords() 207 assertEquals("key4", ctxt.getParent().getCurrentName()); in _testKeywords() 222 assertNull(ctxt.getCurrentName()); in _testKeywords() 319 String act = p.getCurrentName(); in _testNameEscaping() 398 assertEquals("doc", p.getCurrentName()); in _testLongText() [all …]
|
D | NonStandardUnquotedNamesTest.java | 132 assertEquals("abc"+(i&127), p.getCurrentName()); in _testLargeUnquoted() 147 assertEquals("a", p.getCurrentName()); in _testSimpleUnquoted() 150 assertEquals("_foo", p.getCurrentName()); in _testSimpleUnquoted() 153 assertEquals("$", p.getCurrentName()); in _testSimpleUnquoted() 159 assertEquals(" ", p.getCurrentName()); in _testSimpleUnquoted() 173 assertEquals("123", p.getCurrentName()); in _testSimpleUnquoted() 177 assertEquals("4", p.getCurrentName()); in _testSimpleUnquoted()
|
D | NonStandardAposQuotedNamesTest.java | 122 assertEquals("b", p.getCurrentName()); in _testSingleQuotesEnabled() 128 assertEquals("b", p.getCurrentName()); in _testSingleQuotesEnabled() 138 assertEquals("b", p.getCurrentName()); in _testSingleQuotesEnabled() 142 assertEquals("x", p.getCurrentName()); in _testSingleQuotesEnabled() 146 assertEquals("y", p.getCurrentName()); in _testSingleQuotesEnabled() 150 assertEquals("a", p.getCurrentName()); in _testSingleQuotesEnabled()
|
D | UTF8NamesParseTest.java | 53 assertEquals("", p.getCurrentName()); in _testEmptyName() 82 assertEquals(NAME, p.getCurrentName()); in _testUtf8Name2Bytes() 88 assertEquals(NAME, p.getCurrentName()); in _testUtf8Name2Bytes() 114 assertEquals(NAME, p.getCurrentName()); in _testUtf8Name3Bytes() 116 assertEquals(NAME, p.getCurrentName()); in _testUtf8Name3Bytes()
|
D | ParserSymbolHandlingTest.java | 32 String currName = parser.getCurrentName(); in _testSymbolsWithNull() 40 currName = parser.getCurrentName(); in _testSymbolsWithNull()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/ |
D | TestParserOverrides.java | 75 assertEquals("first", jp.getCurrentName()); in _testCurrentName() 77 assertEquals("first", jp.getCurrentName()); // still the same... in _testCurrentName() 79 assertEquals("foobar", jp.getCurrentName()); // but not any more! in _testCurrentName() 82 assertEquals("second", jp.getCurrentName()); in _testCurrentName() 84 assertEquals("second", jp.getCurrentName()); in _testCurrentName() 87 assertEquals("third", jp.getCurrentName()); in _testCurrentName() 89 assertEquals("third", jp.getCurrentName()); in _testCurrentName() 93 assertEquals("foobar", jp.getCurrentName()); in _testCurrentName()
|
D | JsonReadContextTest.java | 33 assertEquals("asd / \" € < - _", jsonReadContext.getCurrentName()); in testSetCurrentName() 37 assertNull(jsonReadContext.getCurrentName()); in testSetCurrentName()
|
D | TestWithTonsaSymbols.java | 52 assertEquals(fieldNameFor(i), p.getCurrentName()); in _testWith()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/ |
D | JsonStreamContext.java | 176 public abstract String getCurrentName(); in getCurrentName() method in JsonStreamContext 181 public boolean hasCurrentName() { return getCurrentName() != null; } in hasCurrentName() 274 String currentName = getCurrentName(); in toString()
|
D | JsonParser.java | 880 return (nextToken() == JsonToken.FIELD_NAME) && str.getValue().equals(getCurrentName()); in nextFieldName() 891 return (nextToken() == JsonToken.FIELD_NAME) ? getCurrentName() : null; in nextFieldName() 1200 public abstract String getCurrentName() throws IOException; in getCurrentName() method in JsonParser 1205 return getCurrentName(); in currentName()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/ |
D | TokenBufferReadContext.java | 36 _currentName = base.getCurrentName(); in TokenBufferReadContext() 49 _currentName = base.getCurrentName(); in TokenBufferReadContext() 129 @Override public String getCurrentName() { return _currentName; } in getCurrentName() method in TokenBufferReadContext
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/async/ |
D | NonBlockingJsonParserBase.java | 390 return _parsingContext.getCurrentName(); in _getText2() 409 String n = _parsingContext.getCurrentName(); in getText() 437 return getCurrentName(); in getValueAsString() 450 return getCurrentName(); in getValueAsString() 463 String name = _parsingContext.getCurrentName(); in getTextCharacters() 495 return _parsingContext.getCurrentName().length(); in getTextLength()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/sym/ |
D | TestSymbolsWithMediaItem.java | 49 String name = p.getCurrentName(); in testSmallSymbolSetWithBytes() 79 String name = p.getCurrentName(); in testSmallSymbolSetWithChars()
|
D | SymbolsViaParserTest.java | 52 syms.add(p.getCurrentName()); in _test17Chars() 87 assertEquals(field, parser.getCurrentName()); in _testSymbolTableExpansion()
|
D | TestByteBasedSymbols.java | 61 assertEquals(FIELD_NAMES[i], jp1.getCurrentName()); in testSharedSymbols() 62 assertEquals(FIELD_NAMES[len-(i+1)], jp2.getCurrentName()); in testSharedSymbols()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/ |
D | GeneratorBasicTest.java | 218 assertEquals("a", gen.getOutputContext().getCurrentName()); in testOutputContext() 228 assertEquals("b", ctxt.getCurrentName()); in testOutputContext() 230 assertEquals("b", ctxt.getCurrentName()); in testOutputContext() 233 assertEquals("c", gen.getOutputContext().getCurrentName()); in testOutputContext() 238 assertEquals("d", gen.getOutputContext().getCurrentName()); in testOutputContext()
|
D | ObjectWriteTest.java | 239 assertEquals("str", jp.getCurrentName()); in testConvenienceMethodsWithNulls() 252 assertEquals("obj", jp.getCurrentName()); in testConvenienceMethodsWithNulls() 256 assertEquals("bin", jp.getCurrentName()); in testConvenienceMethodsWithNulls()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/ |
D | TreeTraversingParser.java | 155 @Override public String getCurrentName() { in getCurrentName() method in TreeTraversingParser 160 return (crsr == null) ? null : crsr.getCurrentName(); in getCurrentName() 203 return _nodeCursor.getCurrentName(); in getText()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/filter/ |
D | FilteringParserDelegate.java | 185 public String getCurrentName() throws IOException { in getCurrentName() method in FilteringParserDelegate 189 return (parent == null) ? null : parent.getCurrentName(); in getCurrentName() 191 return ctxt.getCurrentName(); in getCurrentName() 389 final String name = delegate.getCurrentName(); in nextToken() 563 final String name = delegate.getCurrentName(); in _nextToken2() 704 final String name = delegate.getCurrentName(); in _nextTokenWithBuffering()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/filter/ |
D | ProblemHandlerLocation1440Test.java | 71 if (streamContext != null && streamContext.getCurrentName() != null) { in addParent() 72 pathList.add(streamContext.getCurrentName()); in addParent()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/filter/ |
D | BasicParserFilteringTest.java | 375 assertEquals("ob", p.getCurrentName()); in testTokensSingleMatchWithPath() 379 assertEquals("ob", p.getCurrentName()); in testTokensSingleMatchWithPath() 384 assertEquals("value", p.getCurrentName()); in testTokensSingleMatchWithPath()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/ |
D | JsonParserDelegate.java | 125 … @Override public String getCurrentName() throws IOException { return delegate.getCurrentName(); } in getCurrentName() method in JsonParserDelegate
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/testsupport/ |
D | AsyncReaderWrapper.java | 50 return _streamReader.getCurrentName(); in currentName()
|