Home
last modified time | relevance | path

Searched refs:expToken (Results 1 – 5 of 5) sorted by relevance

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/
DAsyncRootValuesTest.java30 private void _testTokenRootTokens(JsonToken expToken, String doc) throws Exception in _testTokenRootTokens() argument
34 _testTokenRootTokens(expToken, f, input, 0, 90); in _testTokenRootTokens()
35 _testTokenRootTokens(expToken, f, input, 0, 3); in _testTokenRootTokens()
36 _testTokenRootTokens(expToken, f, input, 0, 2); in _testTokenRootTokens()
37 _testTokenRootTokens(expToken, f, input, 0, 1); in _testTokenRootTokens()
39 _testTokenRootTokens(expToken, f, input, 1, 90); in _testTokenRootTokens()
40 _testTokenRootTokens(expToken, f, input, 1, 3); in _testTokenRootTokens()
41 _testTokenRootTokens(expToken, f, input, 1, 1); in _testTokenRootTokens()
44 private void _testTokenRootTokens(JsonToken expToken, JsonFactory f, in _testTokenRootTokens() argument
50 assertToken(expToken, r.nextToken()); in _testTokenRootTokens()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DBaseTest.java319 protected void assertToken(JsonToken expToken, JsonToken actToken) in assertToken() argument
321 if (actToken != expToken) { in assertToken()
322 fail("Expected token "+expToken+", current token "+actToken); in assertToken()
326 protected void assertToken(JsonToken expToken, JsonParser jp) in assertToken() argument
328 assertToken(expToken, jp.currentToken()); in assertToken()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DDeserializationContext.java1513 JsonToken expToken, String msg, Object... msgArgs) in reportWrongTokenException() argument
1517 throw wrongTokenException(getParser(), deser.handledType(), expToken, msg); in reportWrongTokenException() local
1531 JsonToken expToken, String msg, Object... msgArgs) in reportWrongTokenException() argument
1535 throw wrongTokenException(getParser(), targetType, expToken, msg); in reportWrongTokenException() local
1549 JsonToken expToken, String msg, Object... msgArgs) in reportWrongTokenException() argument
1553 throw wrongTokenException(getParser(), targetType, expToken, msg); in reportWrongTokenException() local
1668 JsonToken expToken, String msg, Object... msgArgs) in reportWrongTokenException() argument
1672 throw wrongTokenException(p, expToken, msg); in reportWrongTokenException()
1780 JsonToken expToken, String extra) in wrongTokenException() argument
1783 p.currentToken(), expToken); in wrongTokenException()
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/
DBaseTest.java471 protected void assertToken(JsonToken expToken, JsonToken actToken) in assertToken() argument
473 if (actToken != expToken) { in assertToken()
474 fail("Expected token "+expToken+", current token "+actToken); in assertToken()
478 protected void assertToken(JsonToken expToken, JsonParser p) in assertToken() argument
480 assertToken(expToken, p.currentToken()); in assertToken()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/async/
DNonBlockingJsonParser.java1181 protected JsonToken _finishKeywordToken(String expToken, int matched, in _finishKeywordToken() argument
1184 final int end = expToken.length(); in _finishKeywordToken()
1198 if (ch != expToken.charAt(matched)) { in _finishKeywordToken()
1205 _textBuffer.resetWithCopy(expToken, 0, matched); in _finishKeywordToken()
1209 protected JsonToken _finishKeywordTokenWithEOF(String expToken, int matched, in _finishKeywordTokenWithEOF() argument
1212 if (matched == expToken.length()) { in _finishKeywordTokenWithEOF()
1215 _textBuffer.resetWithCopy(expToken, 0, matched); in _finishKeywordTokenWithEOF()
1221 final String expToken = _nonStdToken(type); in _finishNonStdToken() local
1222 final int end = expToken.length(); in _finishNonStdToken()
1238 if (ch != expToken.charAt(matched)) { in _finishNonStdToken()
[all …]