Home
last modified time | relevance | path

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

12345678910>>...21

/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/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/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/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DRecordSerialization.h44 inline Error consume(BinaryStreamReader &Reader) { return Error::success(); } in consume() function
50 Error consume(BinaryStreamReader &Reader, APSInt &Num);
56 Error consume(BinaryStreamReader &Reader, uint32_t &Item);
57 Error consume(BinaryStreamReader &Reader, int32_t &Item);
60 Error consume(BinaryStreamReader &Reader, StringRef &Item);
62 Error consume(StringRef &Data, APSInt &Num);
63 Error consume(StringRef &Data, uint32_t &Item);
67 template <typename T> Error consume(BinaryStreamReader &Reader, T *&Item) { in consume() function
77 return consume(Reader, Item); in deserialize()
107 if (auto EC = consume(Reader, Field)) in deserialize()
[all …]
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ts/
DSectionReaderTest.java57 reader.consume(new ParsableByteArray(packetPayload), FLAG_PAYLOAD_UNIT_START_INDICATOR); in singleOnePacketSection()
67 reader.consume(firstPacket, FLAG_PAYLOAD_UNIT_START_INDICATOR); in headerSplitAcrossPackets()
72 reader.consume(secondPacket, /* flags= */ 0); in headerSplitAcrossPackets()
87 reader.consume(firstPacket, FLAG_PAYLOAD_UNIT_START_INDICATOR); in fiveSectionsInTwoPackets()
92 reader.consume(secondPacket, FLAG_PAYLOAD_UNIT_START_INDICATOR); in fiveSectionsInTwoPackets()
107 reader.consume(firstPacket, FLAG_PAYLOAD_UNIT_START_INDICATOR); in longSectionAcrossFourPackets()
112 reader.consume(secondPacket, /* flags= */ 0); in longSectionAcrossFourPackets()
117 reader.consume(thirdPacket, /* flags= */ 0); in longSectionAcrossFourPackets()
122 reader.consume(fourthPacket, FLAG_PAYLOAD_UNIT_START_INDICATOR); in longSectionAcrossFourPackets()
137 reader.consume(firstPacket, FLAG_PAYLOAD_UNIT_START_INDICATOR); in seek()
[all …]
/external/antlr/runtime/Cpp/include/
Dantlr3intstream.hpp144 void consume();
225 void consume( ClassForwarder<RESOLVE_ENDIAN_AT_RUNTIME> );
243 void consume();
258 void consume();
296 void consume( ClassForwarder<BYTE_AGNOSTIC> );
306 void consume( ClassForwarder<ANTLR_LITTLE_ENDIAN> );
312 void consume( ClassForwarder<ANTLR_BIG_ENDIAN> );
322 void consume();
337 void consume( ClassForwarder<RESOLVE_ENDIAN_AT_RUNTIME> );
338 void consume( ClassForwarder<BYTE_AGNOSTIC> );
[all …]
/external/antlr/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/antlr/runtime/Python3/unittests/
Dteststreams.py32 stream.consume() # f
37 stream.consume() # o
42 stream.consume() # o
47 stream.consume() # \n
52 stream.consume() # b
57 stream.consume() # a
62 stream.consume() # r
67 stream.consume() # EOF
72 stream.consume() # EOF
83 stream.consume()
[all …]
Dtesttree.py191 stream.consume()
200 stream.consume()
223 stream.consume()
227 stream.consume() # consume 107
228 stream.consume() # consume UP
229 stream.consume() # consume UP
230 stream.consume() # consume 104
234 stream.consume()
236 stream.consume()
238 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 …]
/external/antlr/tool/src/test/java/org/antlr/test/
DTestTreeNodeStream.java187 stream.consume(); in testMarkRewindEntire()
195 stream.consume(); in testMarkRewindEntire()
217 stream.consume(); in testMarkRewindInMiddle()
221 stream.consume(); // consume 107 in testMarkRewindInMiddle()
222 stream.consume(); // consume UP in testMarkRewindInMiddle()
223 stream.consume(); // consume UP in testMarkRewindInMiddle()
224 stream.consume(); // consume 104 in testMarkRewindInMiddle()
229 stream.consume(); in testMarkRewindInMiddle()
231 stream.consume(); in testMarkRewindInMiddle()
233 stream.consume(); in testMarkRewindInMiddle()
[all …]
DTestCommonTokenStream.java130 tokens.consume(); in testCompleteBufferAfterConsuming()
133 tokens.consume(); in testCompleteBufferAfterConsuming()
135 tokens.consume(); in testCompleteBufferAfterConsuming()
159 tokens.consume(); // get x into buffer in testLookback()
163 tokens.consume(); in testLookback()
164 tokens.consume(); // consume '=' in testLookback()
207 tokens.consume(); in testOffChannel()
211 tokens.consume(); in testOffChannel()
215 tokens.consume(); in testOffChannel()
219 tokens.consume(); in testOffChannel()
DTestBufferedTreeNodeStream.java67 stream.consume(); // consume 101 in testSeek()
68 stream.consume(); // consume DN in testSeek()
69 stream.consume(); // consume 102 in testSeek()
72 stream.consume(); // consume 107 in testSeek()
73 stream.consume(); // consume UP in testSeek()
74 stream.consume(); // consume UP in testSeek()
/external/llvm/include/llvm/DebugInfo/CodeView/
DRecordSerialization.h49 inline std::error_code consume(ArrayRef<uint8_t> &Data) { in consume() function
57 std::error_code consume(ArrayRef<uint8_t> &Data, APSInt &Num);
58 std::error_code consume(StringRef &Data, APSInt &Num);
64 std::error_code consume(ArrayRef<uint8_t> &Data, uint32_t &Item);
65 std::error_code consume(StringRef &Data, uint32_t &Item);
66 std::error_code consume(ArrayRef<uint8_t> &Data, int32_t &Item);
69 std::error_code consume(ArrayRef<uint8_t> &Data, StringRef &Item);
74 std::error_code consume(ArrayRef<uint8_t> &Data, T *&Item) { in consume() function
84 return consume(Data, Item); in deserialize()
128 if (auto EC = consume(Data, Field)) in deserialize()
[all …]
/external/antlr/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/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Coroutines/
Dcoro-frame-arrayalloca.ll4 declare void @consume.double.ptr(double*)
5 declare void @consume.i32.ptr(i32*)
16 call void @consume.double.ptr(double* %prefix)
17 call void @consume.i32.ptr(i32* %data)
18 call void @consume.double.ptr(double* %suffix)
23 call void @consume.double.ptr(double* %prefix)
24 call void @consume.i32.ptr(i32* %data)
25 call void @consume.double.ptr(double* %suffix)
45 ; CHECK-NEXT: call void @consume.double.ptr(double* %prefix)
46 ; CHECK-NEXT: call void @consume.i32.ptr(i32* %data)
[all …]
/external/antlr/runtime/ObjC/Framework/
DTreePatternLexer.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/grpc-grpc-java/netty/src/jmh/java/io/grpc/netty/
DInboundHeadersBenchmark.java128 bh.consume(headers.add(requestHeaders[i], requestHeaders[i + 1])); in serverHandler()
132 bh.consume(headers.get(TE_TRAILERS)); in serverHandler()
133 bh.consume(headers.get(CONTENT_TYPE_HEADER)); in serverHandler()
134 bh.consume(headers.method()); in serverHandler()
135 bh.consume(headers.get(CONTENT_TYPE_HEADER)); in serverHandler()
136 bh.consume(headers.path()); in serverHandler()
138 bh.consume(Utils.convertHeaders(headers)); in serverHandler()
145 bh.consume(headers.add(responseHeaders[0], responseHeaders[1])); in clientHandler()
146 bh.consume(headers.add(responseHeaders[2], responseHeaders[3])); in clientHandler()
148 bh.consume(Utils.convertHeaders(headers)); in clientHandler()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DRecordSerialization.cpp37 Error llvm::codeview::consume(BinaryStreamReader &Reader, APSInt &Num) { in consume() function in llvm::codeview
105 Error llvm::codeview::consume(StringRef &Data, APSInt &Num) { in consume() function in llvm::codeview
109 auto EC = consume(SR, Num); in consume()
118 if (auto EC = consume(Reader, N)) in consume_numeric()
127 Error llvm::codeview::consume(BinaryStreamReader &Reader, uint32_t &Item) { in consume() function in llvm::codeview
131 Error llvm::codeview::consume(StringRef &Data, uint32_t &Item) { in consume() function in llvm::codeview
135 auto EC = consume(SR, Item); in consume()
140 Error llvm::codeview::consume(BinaryStreamReader &Reader, int32_t &Item) { in consume() function in llvm::codeview
144 Error llvm::codeview::consume(BinaryStreamReader &Reader, StringRef &Item) { in consume() function in llvm::codeview
/external/fastrpc/inc/
Dsbuf_parser.h216 int(*consume)(struct sbuf *buf)) in sbuf_many()
221 while(consume(buf)) {;} in sbuf_many()
228 int(*consume)(struct sbuf *buf)) in sbuf_many1()
230 if(!consume(buf)) { in sbuf_many1()
233 sbuf_many(buf, consume); in sbuf_many1()
241 int(*consume)(struct sbuf *buf), in sbuf_until()
245 if(!consume(buf)) { in sbuf_until()
/external/dexmaker/dexmaker-mockito-inline-extended-tests/src/main/java/com/android/dx/mockito/inline/extended/tests/
DVerifyStatic.java62 ConsumeClass.consume("donut"); in verifyMockedVoidMethod()
65 verify(() -> ConsumeClass.consume(yumCaptor.capture())); in verifyMockedVoidMethod()
78 ConsumeClass.consume("donut"); in verifyWithTwoMocks()
82 verify(() -> ConsumeClass.consume(yumCaptor.capture())); in verifyWithTwoMocks()
116 ConsumeClass.consume("donuts"); in verifyInOrder()
117 ConsumeClass.consume("nougat"); in verifyInOrder()
126 consumeInOrder.verify(() -> ConsumeClass.consume(eq("donuts"))); in verifyInOrder()
127 consumeInOrder.verify(() -> ConsumeClass.consume(eq("nougat"))); in verifyInOrder()
133 combinedInOrder.verify(() -> ConsumeClass.consume(eq("donuts"))); in verifyInOrder()
134 combinedInOrder.verify(() -> ConsumeClass.consume(eq("nougat"))); in verifyInOrder()
[all …]

12345678910>>...21