Home
last modified time | relevance | path

Searched refs:consume (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/external/clang/test/SemaCXX/
Dstring-plus-int.cpp4 void consume(const char* c) {} in consume() function
5 void consume(const unsigned char* c) {} in consume() function
6 void consume(const wchar_t* c) {} in consume() function
31consume("foo" + 5); // expected-warning {{adding 'int' to a string does not append to the string}… in f()
32consume("foo" + index); // expected-warning {{adding 'int' to a string does not append to the str… in f()
33consume("foo" + kMyEnum); // expected-warning {{adding 'MyEnum' to a string does not append to th… in f()
35consume(5 + "foo"); // expected-warning {{adding 'int' to a string does not append to the string}… in f()
36consume(index + "foo"); // expected-warning {{adding 'int' to a string does not append to the str… in f()
37consume(kMyEnum + "foo"); // expected-warning {{adding 'MyEnum' to a string does not append to th… in f()
43consume(L"foo" + 5); // expected-warning {{adding 'int' to a string does not append to the string… in f()
[all …]
Daddress-of-temporary.cpp26 template<typename T> void consume(T);
35 void h0() { consume(Y().a); } in h0()
36 void h1() { consume(Y{}.a); } in h1()
37 void h2() { consume(A{}); } in h2()
38 void h3() { consume((A){}); } in h3()
39 void h4() { consume(AZ{}); } in h4()
51 void k0() { consume(S { Y().a }); } in k0()
52 void k1() { consume(S { Y{}.a }); } in k1()
53 void k2() { consume(S { A{} }); } in k2()
54 void k3() { consume(S { (A){} }); } in k3()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammarSpelunker.java65 void consume() throws IOException { token = scanner.nextToken(); } in consume() method in GrammarSpelunker
69 if ( token.equals(expecting) ) consume(); in match()
79 consume(); in parse()
85 consume(); in parse()
92 consume(); in parse()
106 consume(); in grammarHeader()
110 consume(); // move beyond name in grammarHeader()
119 consume(); in options()
121 consume(); in options()
135 consume(); in imports()
[all …]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTreePatternLexer.java60 consume(); in TreePatternLexer()
67 consume(); in nextToken()
72 consume(); in nextToken()
77 consume(); in nextToken()
82 consume(); in nextToken()
86 consume(); in nextToken()
90 consume(); in nextToken()
94 consume(); in nextToken()
98 consume(); in nextToken()
102 consume(); in nextToken()
[all …]
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
Dtest-streams.rb25 @stream.consume # o
30 @stream.consume # h
35 @stream.consume # \n
40 @stream.consume # h
45 @stream.consume # e
50 @stream.consume # y
55 @stream.consume # !
60 @stream.consume # \n
65 @stream.consume # EOF
70 @stream.consume # EOF
[all …]
Dtest-trees.rb175 13.times { stream.look(1); stream.consume } # consume until end
181 13.times { stream.look(1); stream.consume } # consume until end
200 7.times { stream.consume }
204 4.times { stream.consume }
209 stream.consume
214 stream.consume
234 2.times { stream.consume }
236 4.times { stream.consume }
239 stream.consume
241 stream.consume
[all …]
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dteststreams.py33 stream.consume() # f
38 stream.consume() # o
43 stream.consume() # o
48 stream.consume() # \n
53 stream.consume() # b
58 stream.consume() # a
63 stream.consume() # r
68 stream.consume() # EOF
73 stream.consume() # EOF
84 stream.consume()
[all …]
Dtesttree.py194 stream.consume()
203 stream.consume()
226 stream.consume()
230 stream.consume() # consume 107
231 stream.consume() # consume UP
232 stream.consume() # consume UP
233 stream.consume() # consume 104
237 stream.consume()
239 stream.consume()
241 stream.consume()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DURLParser.java118 lexer.consume(1); in unreserved()
143 lexer.consume(1); in paramNameOrValue()
145 lexer.consume(3); in paramNameOrValue()
161 lexer.consume(1); in uriParam()
197 lexer.consume(1); in reserved()
224 lexer.consume(3); in escaped()
243 lexer.consume(1); in mark()
260 lexer.consume(1); in uric()
263 lexer.consume(1); in uric()
267 lexer.consume(3); in uric()
[all …]
DViaParser.java94 this.lexer.consume(1); in parseVia()
113 lexer.consume(1); in parseVia()
118 lexer.consume(1); in parseVia()
124 lexer.consume(1); in parseVia()
127 lexer.consume(1); in parseVia()
132 lexer.consume(1); in parseVia()
160 lexer.consume(1); in nameValue()
214 this.lexer.consume(1); // Consume the comma in parse()
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestTreeNodeStream.java185 stream.consume(); in testMarkRewindEntire()
193 stream.consume(); in testMarkRewindEntire()
215 stream.consume(); in testMarkRewindInMiddle()
219 stream.consume(); // consume 107 in testMarkRewindInMiddle()
220 stream.consume(); // consume UP in testMarkRewindInMiddle()
221 stream.consume(); // consume UP in testMarkRewindInMiddle()
222 stream.consume(); // consume 104 in testMarkRewindInMiddle()
227 stream.consume(); in testMarkRewindInMiddle()
229 stream.consume(); in testMarkRewindInMiddle()
231 stream.consume(); in testMarkRewindInMiddle()
[all …]
DTestCommonTokenStream.java128 tokens.consume(); in testCompleteBufferAfterConsuming()
131 tokens.consume(); in testCompleteBufferAfterConsuming()
133 tokens.consume(); in testCompleteBufferAfterConsuming()
157 tokens.consume(); // get x into buffer in testLookback()
161 tokens.consume(); in testLookback()
162 tokens.consume(); // consume '=' in testLookback()
203 tokens.consume(); in testOffChannel()
207 tokens.consume(); in testOffChannel()
211 tokens.consume(); in testOffChannel()
215 tokens.consume(); in testOffChannel()
DTestBufferedTreeNodeStream.java63 stream.consume(); // consume 101 in testSeek()
64 stream.consume(); // consume DN in testSeek()
65 stream.consume(); // consume 102 in testSeek()
68 stream.consume(); // consume 107 in testSeek()
69 stream.consume(); // consume UP in testSeek()
70 stream.consume(); // consume UP in testSeek()
/external/nist-sip/java/gov/nist/core/
DLexerCore.java246 consume(1); in match()
255 consume(1); in match()
268 consume(1); in match()
281 consume(1); in SPorHT()
378 consume(1); in ttoken()
436 consume(1); in ttokenSafe()
468 consume(1); in ttokenSafe()
510 consume(1); in consumeValidChars()
529 consume(1); in quotedString()
540 consume(1); in quotedString()
[all …]
DHostNameParser.java110 lexer.consume(1); in ipv6Reference()
113 lexer.consume(1); in ipv6Reference()
118 lexer.consume(1); in ipv6Reference()
136 lexer.consume(stripLen+1); in ipv6Reference()
151 lexer.consume(1); in ipv6Reference()
154 lexer.consume(1); in ipv6Reference()
275 lexer.consume(1); in hostPort()
/external/antlr/antlr-3.4/runtime/ActionScript/project/test/org/antlr/runtime/test/
DTestANTLRStringStream.as22 stream.consume();
30 // now consume past EOF for a few ticks, nothing should change
32 stream.consume();
51 // now consume() one byte and run some more tests.
52 stream.consume();
68 stream.consume();
69 stream.consume();
90 stream.consume();
91 stream.consume();
93 stream.consume();
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRTreePatternLexer.m60 [self consume];
75 [self consume];
95 [self consume];
100 [self consume];
105 [self consume];
110 [self consume];
114 [self consume];
118 [self consume];
122 [self consume];
126 [self consume];
[all …]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Ddfa.rb183 input.consume
201 input.consume
209 input.consume
215 input.consume()
249 input.consume
267 input.consume
275 input.consume()
280 input.consume()
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dtreewizard.py85 self.consume()
97 self.consume()
102 self.consume()
105 self.consume()
110 self.consume()
114 self.consume()
118 self.consume()
122 self.consume()
126 self.consume()
130 self.consume()
[all …]
/external/llvm/test/Transforms/RewriteStatepointsForGC/deopt-bundles/
Dpreprocess.ll6 declare void @consume(...) "gc-leaf-function"
18 ; CHECK-NEXT: @consume(i64 addrspace(1)* %obj.relocated.casted)
19 ; CHECK-NEXT: @consume(i64 addrspace(1)* %obj.relocated.casted)
23 call void (...) @consume(i64 addrspace(1)* %obj2)
24 call void (...) @consume(i64 addrspace(1)* %obj)
38 call void (...) @consume(i64 addrspace(1)* %obj)
/external/llvm/test/Transforms/RewriteStatepointsForGC/
Dpreprocess.ll3 declare void @consume(...)
17 ; CHECK-NEXT: @consume(i64 addrspace(1)* %obj.relocated.casted)
18 ; CHECK-NEXT: @consume(i64 addrspace(1)* %obj.relocated.casted)
21 call void (...) @consume(i64 addrspace(1)* %obj2)
22 call void (...) @consume(i64 addrspace(1)* %obj)
37 call void (...) @consume(i64 addrspace(1)* %obj)
/external/clang/test/SemaTemplate/
Dinstantiate-exception-spec-cxx11.cpp152 template<typename ...T> void consume(T...);
156 consume((p(),0)...); in f()
159 consume((p(),0)...); in g()
163 consume([]() throw(T) {} ...); in i()
164 consume([]() noexcept(sizeof(T) == 4) {} ...); in i()
167 consume([](void (*p)() noexcept(B)) { in j()
/external/clang/test/CodeGenCXX/
Dblocks.cpp103 extern void consume(void(^)()); in test()
104 consume(^{ (void) b; }); in test()
118 extern void consume(void(^)()); in test()
119 consume(^{ return foo(A()); }); in test()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DCatchStructs.java234 boolean consume = (annotateTo != null); in annotateEntries()
235 int amt1 = consume ? 6 : 0; in annotateEntries()
236 int amt2 = consume ? 2 : 0; in annotateEntries()
240 if (consume) { in annotateEntries()
253 if (consume) { in annotateEntries()
262 if (! consume) { in annotateEntries()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DDFA.js36 input.consume();
60 input.consume();
72 input.consume();
77 input.consume();

12345678910>>...13