/external/clang/test/SemaCXX/ |
string-plus-int.cpp | 4 void consume(const char* c) {} function 5 void consume(const unsigned char* c) {} function 6 void consume(const wchar_t* c) {} function 31 consume("foo" + 5); // expected-warning {{adding 'int' to a string does not append to the string}} expected-note {{use array indexing to silence this warning}} 32 consume("foo" + index); // expected-warning {{adding 'int' to a string does not append to the string}} expected-note {{use array indexing to silence this warning}} 33 consume("foo" + kMyEnum); // expected-warning {{adding 'MyEnum' to a string does not append to the string}} expected-note {{use array indexing to silence this warning}} 35 consume(5 + "foo"); // expected-warning {{adding 'int' to a string does not append to the string}} expected-note {{use array indexing to silence this warning}} 36 consume(index + "foo"); // expected-warning {{adding 'int' to a string does not append to the string}} expected-note {{use array indexing to silence this warning}} 37 consume(kMyEnum + "foo"); // expected-warning {{adding 'MyEnum' to a string does not append to the string}} expected-note {{use array indexing to silence this warning}} 43 consume(L"foo" + 5); // expected-warning {{adding 'int' to a string does not append to the string}} expec (…) [all...] |
address-of-temporary.cpp | 26 template<typename T> void consume(T); 35 void h0() { consume(Y().a); } 36 void h1() { consume(Y{}.a); } 37 void h2() { consume(A{}); } 38 void h3() { consume((A){}); } 39 void h4() { consume(AZ{}); } 51 void k0() { consume(S { Y().a }); } 52 void k1() { consume(S { Y{}.a }); } 53 void k2() { consume(S { A{} }); } 54 void k3() { consume(S { (A){} }); [all...] |
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/ |
Antlr.Runtime.Tests.pas | 54 Stream.Consume; // O 59 Stream.Consume; // n 64 Stream.Consume; // e 69 Stream.Consume; // #13 74 Stream.Consume; // #10 79 Stream.Consume; // T 84 Stream.Consume; // w 89 Stream.Consume; // o 94 Stream.Consume; // EOF 99 Stream.Consume; // EO [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
IntStream.pm | 5 requires 'consume';
|
Stream.pm | 5 requires 'consume';
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
ITreeNodeStreamFixture.cs | 211 { // consume til end 213 stream.Consume(); 219 // consume til end again :) 221 { // consume til end 223 stream.Consume(); 247 { // consume til middle 249 stream.Consume(); 253 stream.Consume(); // consume 107 254 stream.Consume(); // consume U [all...] |
ANTLRxxxxStreamFixture.cs | 103 inputStream.Consume(); 106 inputStream.Consume(); 111 inputStream.Consume(); 127 inputStream.Consume(); 144 inputStream.Consume(); // O 149 inputStream.Consume(); // n 154 inputStream.Consume(); // e 159 inputStream.Consume(); // \r 164 inputStream.Consume(); // \n 169 inputStream.Consume(); // [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
TreePatternLexer.cs | 66 Consume(); 73 Consume(); 78 Consume(); 82 Consume(); 87 Consume(); 91 Consume(); 95 Consume(); 99 Consume(); 103 Consume(); 107 Consume(); [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
TreePatternLexer.cs | 68 Consume(); 78 Consume(); 84 Consume(); 89 Consume(); 95 Consume(); 100 Consume(); 105 Consume(); 110 Consume(); 115 Consume(); 121 Consume(); [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
TreePatternLexer.java | 60 consume(); method 67 consume(); method 72 consume(); method 77 consume(); method 82 consume(); method 86 consume(); method 90 consume(); method 94 consume(); method 98 consume(); method 102 consume(); method 105 consume(); method 114 consume(); method 116 consume(); method 119 consume(); method 126 protected void consume() { method in class:TreePatternLexer [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarSpelunker.java | 65 void consume() throws IOException { token = scanner.nextToken(); } method in class:GrammarSpelunker 69 if ( token.equals(expecting) ) consume(); method 79 consume(); method 85 consume(); method 92 consume(); method 106 consume(); method 110 consume(); // move beyond name method 119 consume(); method 121 consume(); method 135 consume(); method 161 consume(); method 168 void consume() throws IOException { c = input.read(); } method in class:GrammarSpelunker.Scanner 174 case ';' : consume(); return ";"; method 175 case '{' : consume(); return "{"; method 176 case '}' : consume(); return "}"; method 177 case ':' : consume(); return ":"; method 178 case '@' : consume(); return "@"; method 184 consume(); \/\/ ignore anything else method 193 while ( c!=EOF && isID_LETTER() ) { buf.append((char)c); consume(); } method 199 while ( c!=EOF && isDIGIT() ) { buf.append((char)c); consume(); } method 205 consume(); method 209 consume(); method 212 consume(); method 214 consume(); \/\/ scan past ' method 220 consume(); method 222 consume(); method 226 consume(); method 227 if ( c=='\/' ) { consume(); break scarf; } method 230 while ( c!=EOF && c!='*' ) consume(); method 235 while ( c!=EOF && c!='\\n' ) consume(); method [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/test/org/antlr/runtime/test/ |
TestANTLRStringStream.as | 22 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/tool/src/test/java/org/antlr/test/ |
TestBufferedTreeNodeStream.java | 63 stream.consume(); // consume 101 64 stream.consume(); // consume DN 65 stream.consume(); // consume 102 68 stream.consume(); // consume 107 69 stream.consume(); // consume U [all...] |
TestTreeNodeStream.java | 183 for (int k=1; k<=13; k++) { // consume til end 185 stream.consume(); 190 // consume til end again :) 191 for (int k=1; k<=13; k++) { // consume til end 193 stream.consume(); 213 for (int k=1; k<=7; k++) { // consume til middle 215 stream.consume(); 219 stream.consume(); // consume 107 220 stream.consume(); // consume U [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
Consumer.java | 22 * @param <A> The type of data to consume. 29 * @param value The value to consume. 32 boolean consume(A value); method in interface:Consumer
|
Consumers.java | 32 accepted = consumer.consume(value); 41 consumer.consume(value); 45 consumer.consume(value); 67 public boolean consume(A value) { 77 public boolean consume(A value) {
|
/dalvik/dx/tests/095-dex-const-string-jumbo/ |
expected.txt | 5 0004: invoke-static {v1}, Blort.consume:(Ljava/lang/String;)V
|
Blort.java | 18 static public void consume(String s) { method in class:Blort 23 consume("zorch");
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRTreePatternLexer.m | 60 [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/chromium_org/net/base/ |
test_data_stream.cc | 20 Consume(bytes_to_copy); 31 Consume(bytes_to_compare); 58 // Consume data from the spill buffer. 59 void TestDataStream::Consume(int bytes) {
|
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
teststreams.py | 29 """StringStream.consume()""" 33 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() # EO [all...] |
testtree.py | 192 for _ in range(13): # consume til end 194 stream.consume() 200 # consume til end again :) 201 for _ in range(13): # consume til end 203 stream.consume() 224 for _ in range(7): # consume til middle 226 stream.consume() 230 stream.consume() # consume 107 231 stream.consume() # consume U [all...] |
/external/chromium_org/net/spdy/ |
spdy_buffer_unittest.cc | 66 // Construct a SpdyBuffer and call Consume() on it, which should 68 // as calling the consume callbacks. 69 TEST_F(SpdyBufferTest, Consume) { 75 base::Bind(&IncrementBy, &x1, SpdyBuffer::CONSUME)); 77 base::Bind(&IncrementBy, &x2, SpdyBuffer::CONSUME)); 81 buffer.Consume(5); 86 buffer.Consume(kDataSize - 5); 108 // Consume(). 112 buffer.Consume(5); 118 buffer.Consume(kDataSize - 5) [all...] |
spdy_buffer.h | 24 // ref-counted and will include a way to get notified when Consume() 34 // Called via a call to Consume(). 35 CONSUME, 42 // consume. May be called any number of times with CONSUME as the 57 // any consume callbacks with a DISCARD source. 72 // Consume the given number of bytes, which must be positive but not 74 void Consume(size_t consume_size); 78 // updated when Consume() is called. However, it may still be used
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
regexp_adapter.h | 37 // Consume() method of RegExp which may differ depending on its various 48 // phonenumberutil.cc. Consume(), Match() and Replace() methods must be 62 virtual bool Consume(RegExpInput* input_string, 68 // Helper methods calling the Consume method that assume the match must start 70 inline bool Consume(RegExpInput* input_string, 74 return Consume(input_string, true, matched_string1, matched_string2, 78 inline bool Consume(RegExpInput* input_string, 81 return Consume(input_string, true, matched_string1, matched_string2, NULL); 84 inline bool Consume(RegExpInput* input_string, string* matched_string) const { 85 return Consume(input_string, true, matched_string, NULL, NULL) [all...] |