Home
last modified time | relevance | path

Searched refs:TokenBuffer (Results 1 – 25 of 51) sorted by relevance

123

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DTestTokenBuffer.java32 TokenBuffer buf; in testBasicConfig()
34 buf = new TokenBuffer(MAPPER, false); in testBasicConfig()
58 TokenBuffer buf = new TokenBuffer(null, false); // no ObjectCodec in testSimpleWrites()
91 TokenBuffer buf = new TokenBuffer(null, false); in testSimpleNumberWrites()
133 try (TokenBuffer buf = new TokenBuffer(null, false)) { in testNumberOverflowInt()
148 try (TokenBuffer buf = new TokenBuffer(null, false)) { in testNumberOverflowInt()
166 try (TokenBuffer buf = new TokenBuffer(null, false)) { in testNumberOverflowLong()
184 TokenBuffer buf = new TokenBuffer(null, false); // no ObjectCodec in testParentContext()
199 TokenBuffer buf = new TokenBuffer(null, false); // no ObjectCodec in testSimpleArray()
220 buf = new TokenBuffer(null, false); in testSimpleArray()
[all …]
DJsonParserSequenceTest.java20 TokenBuffer buf1 = new TokenBuffer(MAPPER, false); in testJsonParserSequenceOverridesSkipChildren()
27 TokenBuffer buf2 = new TokenBuffer(MAPPER, false); in testJsonParserSequenceOverridesSkipChildren()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestJacksonTypes.java8 import com.fasterxml.jackson.databind.util.TokenBuffer;
65 TokenBuffer result = MAPPER.readValue(SAMPLE_DOC_JSON_SPEC, TokenBuffer.class); in testTokenBufferWithSample()
78 TokenBuffer buf = MAPPER.readValue(jp, TokenBuffer.class); in testTokenBufferWithSequence()
87 buf = MAPPER.readValue(jp, TokenBuffer.class); in testTokenBufferWithSequence()
96 buf = MAPPER.readValue(jp, TokenBuffer.class); in testTokenBufferWithSequence()
101 buf = MAPPER.readValue(jp, TokenBuffer.class); in testTokenBufferWithSequence()
119 TokenBuffer b = new TokenBuffer(p); in testDeeplyNestedArrays()
130 TokenBuffer b = new TokenBuffer(p); in testDeeplyNestedObjects()
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DTokens.h175 class TokenBuffer {
177 TokenBuffer(const SourceManager &SourceMgr) : SourceMgr(&SourceMgr) {} in TokenBuffer() function
179 TokenBuffer(TokenBuffer &&) = default;
180 TokenBuffer(const TokenBuffer &) = delete;
181 TokenBuffer &operator=(TokenBuffer &&) = default;
182 TokenBuffer &operator=(const TokenBuffer &) = delete;
378 spelledTokensTouching(SourceLocation Loc, const syntax::TokenBuffer &Tokens);
389 const syntax::TokenBuffer &Tokens);
421 LLVM_NODISCARD TokenBuffer consume() &&;
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DTokenBufferDeserializer.java10 import com.fasterxml.jackson.databind.util.TokenBuffer;
25 public class TokenBufferDeserializer extends StdScalarDeserializer<TokenBuffer> {
28 public TokenBufferDeserializer() { super(TokenBuffer.class); } in TokenBufferDeserializer()
36 public TokenBuffer deserialize(JsonParser p, DeserializationContext ctxt) throws IOException { in deserialize()
40 protected TokenBuffer createBufferInstance(JsonParser p) { in createBufferInstance()
41 return new TokenBuffer(p); in createBufferInstance()
/external/llvm-project/clang/lib/Tooling/Syntax/
DTokens.cpp186 llvm::ArrayRef<syntax::Token> TokenBuffer::expandedTokens(SourceRange R) const { in expandedTokens()
196 std::pair<const syntax::Token *, const TokenBuffer::Mapping *>
197 TokenBuffer::spelledForExpandedToken(const syntax::Token *Expanded) const { in spelledForExpandedToken()
232 const TokenBuffer::Mapping *
233 TokenBuffer::mappingStartingBeforeSpelled(const MarkedFile &F, in mappingStartingBeforeSpelled()
249 TokenBuffer::expandedForSpelled(llvm::ArrayRef<syntax::Token> Spelled) const { in expandedForSpelled()
306 llvm::ArrayRef<syntax::Token> TokenBuffer::spelledTokens(FileID FID) const { in spelledTokens()
312 const syntax::Token *TokenBuffer::spelledTokenAt(SourceLocation Loc) const { in spelledTokenAt()
322 std::string TokenBuffer::Mapping::str() const { in str()
329 TokenBuffer::spelledForExpanded(llvm::ArrayRef<syntax::Token> Expanded) const { in spelledForExpanded()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DTokenBufferSerializer.java15 import com.fasterxml.jackson.databind.util.TokenBuffer;
26 extends StdSerializer<TokenBuffer>
28 public TokenBufferSerializer() { super(TokenBuffer.class); } in TokenBufferSerializer()
31 public void serialize(TokenBuffer value, JsonGenerator jgen, SerializerProvider provider) in serialize()
48 public final void serializeWithType(TokenBuffer value, JsonGenerator g, in serializeWithType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DExternalTypeHandler.java10 import com.fasterxml.jackson.databind.util.TokenBuffer;
34 private final TokenBuffer[] _tokens;
39 String[] typeIds, TokenBuffer[] tokens) in ExternalTypeHandler()
55 _tokens = new TokenBuffer[len]; in ExternalTypeHandler()
159 TokenBuffer tokens = new TokenBuffer(p, ctxt); in handlePropertyValue()
180 TokenBuffer tokens = new TokenBuffer(p, ctxt); in handlePropertyValue()
208 TokenBuffer tokens = _tokens[i]; in complete()
307 TokenBuffer tb = new TokenBuffer(p, ctxt); in complete()
337 TokenBuffer merged = new TokenBuffer(p, ctxt); in _deserialize()
362 TokenBuffer merged = new TokenBuffer(p, ctxt); in _deserializeAndSet()
DUnwrappedPropertyHandler.java11 import com.fasterxml.jackson.databind.util.TokenBuffer;
55 Object bean, TokenBuffer buffered) in processUnwrapped()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/
DAsPropertyTypeDeserializer.java11 import com.fasterxml.jackson.databind.util.TokenBuffer;
91 TokenBuffer tb = null; in deserializeTypedFromObject()
102 tb = new TokenBuffer(p, ctxt); in deserializeTypedFromObject()
112 TokenBuffer tb) throws IOException in _deserializeTypedForId()
118 tb = new TokenBuffer(p, ctxt); in _deserializeTypedForId()
138 DeserializationContext ctxt, TokenBuffer tb) throws IOException in _deserializeTypedUsingDefaultImpl()
DAsWrapperTypeDeserializer.java11 import com.fasterxml.jackson.databind.util.TokenBuffer;
110 TokenBuffer tb = new TokenBuffer(null, false); in _deserialize()
DAsArrayTypeDeserializer.java11 import com.fasterxml.jackson.databind.util.TokenBuffer;
106 TokenBuffer tb = new TokenBuffer(null, false); in _deserialize()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/deftyping/
DTestDefaultForObject.java11 import com.fasterxml.jackson.databind.util.TokenBuffer;
289 TokenBuffer buf = new TokenBuffer(mapper, false); in testTokenBuffer()
296 assertSame(TokenBuffer.class, holder.value.getClass()); in testTokenBuffer()
297 JsonParser jp = ((TokenBuffer) holder.value).asParser(); in testTokenBuffer()
307 buf = new TokenBuffer(mapper, false); in testTokenBuffer()
314 assertSame(TokenBuffer.class, holder.value.getClass()); in testTokenBuffer()
315 jp = ((TokenBuffer) holder.value).asParser(); in testTokenBuffer()
324 buf = new TokenBuffer(mapper, false); in testTokenBuffer()
329 assertSame(TokenBuffer.class, holder.value.getClass()); in testTokenBuffer()
330 jp = ((TokenBuffer) holder.value).asParser(); in testTokenBuffer()
/external/rust/crates/syn/src/
Dbuffer.rs24 Group(Group, TokenBuffer),
38 pub struct TokenBuffer { struct
45 impl TokenBuffer { impl
48 fn inner_new(stream: TokenStream, up: *const Entry) -> TokenBuffer { in inner_new() argument
93 TokenBuffer { data: entries } in inner_new()
105 pub fn new(stream: pm::TokenStream) -> TokenBuffer { in new() argument
111 pub fn new2(stream: TokenStream) -> TokenBuffer { in new2() argument
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DBeanDeserializer.java13 import com.fasterxml.jackson.databind.util.TokenBuffer;
429 TokenBuffer unknown = null; in _deserializeUsingPropertyBased()
512 unknown = new TokenBuffer(p, ctxt); in _deserializeUsingPropertyBased()
590 TokenBuffer tb = new TokenBuffer(p, ctxt); in deserializeFromNull()
698 TokenBuffer tokens = new TokenBuffer(p, ctxt); in deserializeWithUnwrapped()
742 TokenBuffer b2 = TokenBuffer.asCopyOfValue(p); in deserializeWithUnwrapped()
765 TokenBuffer tokens = new TokenBuffer(p, ctxt); in deserializeWithUnwrapped()
798 TokenBuffer b2 = TokenBuffer.asCopyOfValue(p); in deserializeWithUnwrapped()
825 TokenBuffer tokens = new TokenBuffer(p, ctxt); in deserializeUsingPropertyBasedWithUnwrapped()
897 TokenBuffer b2 = TokenBuffer.asCopyOfValue(p); in deserializeUsingPropertyBasedWithUnwrapped()
[all …]
DBuilderBasedDeserializer.java13 import com.fasterxml.jackson.databind.util.TokenBuffer;
370 TokenBuffer unknown = null; in _deserializeUsingPropertyBased()
428 unknown = new TokenBuffer(p, ctxt); in _deserializeUsingPropertyBased()
463 TokenBuffer tokens = new TokenBuffer(p, ctxt); in _deserialize()
594 TokenBuffer tokens = new TokenBuffer(p, ctxt); in deserializeWithUnwrapped()
649 TokenBuffer tokens = new TokenBuffer(p, ctxt); in deserializeUsingPropertyBasedWithUnwrapped()
711 DeserializationContext ctxt, Object builder, TokenBuffer tokens) in deserializeWithUnwrapped()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DTestJacksonTypes.java8 import com.fasterxml.jackson.databind.util.TokenBuffer;
39 TokenBuffer tb = new TokenBuffer(null, false); in testTokenBuffer()
/external/llvm-project/clang-tools-extra/clangd/
DSelection.h86 static bool createEach(ASTContext &AST, const syntax::TokenBuffer &Tokens,
95 const syntax::TokenBuffer &Tokens,
153 SelectionTree(ASTContext &AST, const syntax::TokenBuffer &Tokens,
DDumpAST.h38 class TokenBuffer; variable
42 ASTNode dumpAST(const DynTypedNode &, const syntax::TokenBuffer &Tokens,
DParsedAST.h103 const syntax::TokenBuffer &getTokens() const { return Tokens; } in getTokens()
116 std::unique_ptr<FrontendAction> Action, syntax::TokenBuffer Tokens,
136 syntax::TokenBuffer Tokens;
/external/llvm-project/clang/unittests/Tooling/Syntax/
DTreeTestBase.cpp72 std::unique_ptr<syntax::TokenBuffer> &TB, in buildTree()
80 TB = std::make_unique<syntax::TokenBuffer>(std::move(*Tokens).consume()); in buildTree()
89 std::unique_ptr<syntax::TokenBuffer> &TB; in buildTree()
97 std::unique_ptr<syntax::TokenBuffer> &TB, in buildTree()
112 std::unique_ptr<syntax::TokenBuffer> &TB; in buildTree()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DJDKStringLikeTypesTest.java23 import com.fasterxml.jackson.databind.util.TokenBuffer;
275 TokenBuffer buf = new TokenBuffer(null, false); in testURL()
281 buf = new TokenBuffer(null, false); in testURL()
354 try (TokenBuffer buf = new TokenBuffer(null, false)) { in testUUIDAux()
360 try (TokenBuffer buf = new TokenBuffer(null, false)) { in testUUIDAux()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/misc/
DParsingContext2525Test.java10 import com.fasterxml.jackson.databind.util.TokenBuffer;
50 try (TokenBuffer buf = _readAsTokenBuffer(MINIMAL_ARRAY_DOC)) { in testSimpleArrayWithBuffer()
57 try (TokenBuffer buf = _readAsTokenBuffer(MINIMAL_OBJECT_DOC)) { in testSimpleObjectWithBuffer()
64 try (TokenBuffer buf = _readAsTokenBuffer(FULL_DOC)) { in testFullDocWithBuffer()
69 private TokenBuffer _readAsTokenBuffer(String doc) throws IOException in _readAsTokenBuffer()
73 return TokenBuffer.asCopyOfValue(p) in _readAsTokenBuffer()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/
DTestCreatorsDelegating.java13 import com.fasterxml.jackson.databind.util.TokenBuffer;
93 public static Value592 from(TokenBuffer buffer) { in from()
213 assertEquals(TokenBuffer.class, ob.getClass()); in testDelegateWithTokenBuffer()
214 JsonParser jp = ((TokenBuffer) ob).asParser(); in testDelegateWithTokenBuffer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DTokenBuffer.java27 public class TokenBuffer class
150 public TokenBuffer(ObjectCodec codec, boolean hasNativeIds) in TokenBuffer() method in TokenBuffer
167 public TokenBuffer(JsonParser p) { in TokenBuffer() method in TokenBuffer
174 public TokenBuffer(JsonParser p, DeserializationContext ctxt) in TokenBuffer() method in TokenBuffer
200 public static TokenBuffer asCopyOfValue(JsonParser p) throws IOException { in asCopyOfValue()
201 TokenBuffer b = new TokenBuffer(p); in asCopyOfValue()
214 public TokenBuffer overrideParentContext(JsonStreamContext ctxt) { in overrideParentContext()
222 public TokenBuffer forceUseOfBigDecimal(boolean b) { in forceUseOfBigDecimal()
316 public TokenBuffer append(TokenBuffer other) throws IOException in append()
479 public TokenBuffer deserialize(JsonParser p, DeserializationContext ctxt) throws IOException in deserialize()
[all …]

123