/aosp_15_r20/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
H A D | ITreeNodeStreamFixture.cs | 211 { // consume til end in testMarkRewindEntire() 213 stream.Consume(); in testMarkRewindEntire() 219 // consume til end again :) in testMarkRewindEntire() 221 { // consume til end in testMarkRewindEntire() 223 stream.Consume(); in testMarkRewindEntire() 247 { // consume til middle in testMarkRewindInMiddle() 249 stream.Consume(); in testMarkRewindInMiddle() 253 stream.Consume(); // consume 107 in testMarkRewindInMiddle() 254 stream.Consume(); // consume Up in testMarkRewindInMiddle() 255 stream.Consume(); // consume Up in testMarkRewindInMiddle() [all …]
|
H A D | ANTLRxxxxStreamFixture.cs | 103 inputStream.Consume(); in TestConsumeAndIndexOnANTLRInputStream() 106 inputStream.Consume(); in TestConsumeAndIndexOnANTLRInputStream() 111 inputStream.Consume(); in TestConsumeAndIndexOnANTLRInputStream() 127 inputStream.Consume(); in TestConsumeAllCharactersInAnANTLRInputStream() 144 inputStream.Consume(); // O in TestConsumeOnANTLRInputStream() 149 inputStream.Consume(); // n in TestConsumeOnANTLRInputStream() 154 inputStream.Consume(); // e in TestConsumeOnANTLRInputStream() 159 inputStream.Consume(); // \r in TestConsumeOnANTLRInputStream() 164 inputStream.Consume(); // \n in TestConsumeOnANTLRInputStream() 169 inputStream.Consume(); // T in TestConsumeOnANTLRInputStream() [all …]
|
/aosp_15_r20/external/ow2-asm/benchmarks/src/jmh/java/org/objectweb/asm/benchmarks/ |
H A D | AdapterBenchmark.java | 105 blackhole.consume(asm4dot0.getClassInfo(classFile)); in getClassInfo_asm4_0() 112 blackhole.consume(asm5dot0.getClassInfo(classFile)); in getClassInfo_asm5_0() 119 blackhole.consume(asm6dot0.getClassInfo(classFile)); in getClassInfo_asm6_0() 126 blackhole.consume(asm7dot0.getClassInfo(classFile)); in getClassInfo_asm7_0() 133 blackhole.consume(asm8dot0.getClassInfo(classFile)); in getClassInfo_asm8_0() 140 blackhole.consume(asm9dot0.getClassInfo(classFile)); in getClassInfo_asm9_0() 147 blackhole.consume(asmCurrent.getClassInfo(classFile)); in getClassInfo_asmCurrent() 154 blackhole.consume(asm4dot0.getClassObjectModel(classFile)); in getClassObjectModel_asm4_0() 161 blackhole.consume(asm5dot0.getClassObjectModel(classFile)); in getClassObjectModel_asm5_0() 168 blackhole.consume(asm6dot0.getClassObjectModel(classFile)); in getClassObjectModel_asm6_0() [all …]
|
H A D | AdapterBenchmarkJava8.java | 94 blackhole.consume(asm5dot0.getClassInfo(classFile)); in getClassInfo_asm5_0() 101 blackhole.consume(asm6dot0.getClassInfo(classFile)); in getClassInfo_asm6_0() 108 blackhole.consume(asm7dot0.getClassInfo(classFile)); in getClassInfo_asm7_0() 115 blackhole.consume(asm8dot0.getClassInfo(classFile)); in getClassInfo_asm8_0() 122 blackhole.consume(asm9dot0.getClassInfo(classFile)); in getClassInfo_asm9_0() 129 blackhole.consume(asmCurrent.getClassInfo(classFile)); in getClassInfo_asmCurrent() 136 blackhole.consume(asm5dot0.read(classFile)); in read_asm5_0() 143 blackhole.consume(asm6dot0.read(classFile)); in read_asm6_0() 150 blackhole.consume(asm7dot0.read(classFile)); in read_asm7_0() 157 blackhole.consume(asm8dot0.read(classFile)); in read_asm8_0() [all …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/asio/test/ |
D | read_until.cpp | 119 sb1.consume(sb1.size()); in test_dynamic_string_read_until_char() 125 sb1.consume(sb1.size()); in test_dynamic_string_read_until_char() 131 sb1.consume(sb1.size()); in test_dynamic_string_read_until_char() 136 sb1.consume(sb1.size()); in test_dynamic_string_read_until_char() 143 sb1.consume(sb1.size()); in test_dynamic_string_read_until_char() 150 sb1.consume(sb1.size()); in test_dynamic_string_read_until_char() 156 sb2.consume(sb2.size()); in test_dynamic_string_read_until_char() 163 sb2.consume(sb2.size()); in test_dynamic_string_read_until_char() 170 sb2.consume(sb2.size()); in test_dynamic_string_read_until_char() 176 sb2.consume(sb2.size()); in test_dynamic_string_read_until_char() [all …]
|
D | read.cpp | 225 sb.consume(sb.size()); in test_2_arg_dynamic_string_read() 233 sb.consume(sb.size()); in test_2_arg_dynamic_string_read() 241 sb.consume(sb.size()); in test_2_arg_dynamic_string_read() 256 sb.consume(sb.size()); in test_2_arg_streambuf_read() 264 sb.consume(sb.size()); in test_2_arg_streambuf_read() 272 sb.consume(sb.size()); in test_2_arg_streambuf_read() 370 sb.consume(sb.size()); in test_3_arg_nothrow_dynamic_string_read() 380 sb.consume(sb.size()); in test_3_arg_nothrow_dynamic_string_read() 389 sb.consume(sb.size()); in test_3_arg_nothrow_dynamic_string_read() 405 sb.consume(sb.size()); in test_3_arg_nothrow_streambuf_read() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/rayon/src/iter/collect/ |
D | test.rs | 25 folder = folder.consume(22); in produce_too_many_items() 26 folder = folder.consume(23); in produce_too_many_items() 27 folder = folder.consume(24); in produce_too_many_items() 40 folder = folder.consume(22); in produce_fewer_items() 41 folder = folder.consume(23); in produce_fewer_items() 55 left_folder = left_folder.consume(0).consume(1); in left_produces_items_with_no_complete() 56 right_folder = right_folder.consume(2).consume(3); in left_produces_items_with_no_complete() 71 left_folder = left_folder.consume(0).consume(1); in right_produces_items_with_no_complete() 72 right_folder = right_folder.consume(2).consume(3); in right_produces_items_with_no_complete() 86 folder = folder.consume(counter.element()); in produces_items_with_no_complete() [all …]
|
/aosp_15_r20/external/antlr/runtime/Python3/unittests/ |
H A D | testtree.py | 189 for _ in range(13): # consume til end 191 stream.consume() 197 # consume til end again :) 198 for _ in range(13): # consume til end 200 stream.consume() 221 for _ in range(7): # consume til middle 223 stream.consume() 227 stream.consume() # consume 107 228 stream.consume() # consume UP 229 stream.consume() # consume UP [all …]
|
H A D | teststreams.py | 28 """StringStream.consume()""" 32 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 [all …]
|
/aosp_15_r20/external/antlr/runtime/Python/unittests/ |
H A D | 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 UP 232 stream.consume() # consume UP [all …]
|
H A D | 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() # EOF [all …]
|
/aosp_15_r20/external/jsoup/src/test/java/org/jsoup/parser/ |
H A D | CharacterReaderTest.java | 21 @Test public void consume() { in consume() method in CharacterReaderTest 25 assertEquals('o', r.consume()); in consume() 29 assertEquals('n', r.consume()); in consume() 30 assertEquals('e', r.consume()); in consume() 32 assertEquals(CharacterReader.EOF, r.consume()); in consume() 34 assertEquals(CharacterReader.EOF, r.consume()); in consume() 39 assertEquals('o', r.consume()); in unconsume() 44 assertEquals('o', r.consume()); in unconsume() 45 assertEquals('n', r.consume()); in unconsume() 46 assertEquals('e', r.consume()); in unconsume() [all …]
|
/aosp_15_r20/external/antlr/tool/src/test/java/org/antlr/test/ |
H A D | TestTreeNodeStream.java | 185 for (int k=1; k<=13; k++) { // consume til end in testMarkRewindEntire() 187 stream.consume(); in testMarkRewindEntire() 192 // consume til end again :) in testMarkRewindEntire() 193 for (int k=1; k<=13; k++) { // consume til end in testMarkRewindEntire() 195 stream.consume(); in testMarkRewindEntire() 215 for (int k=1; k<=7; k++) { // consume til middle in testMarkRewindInMiddle() 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() [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/format/format.range/format.range.fmtmap/ |
H A D | format.functions.tests.h | 50 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:-}"), inp… in test_char() 51 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:+}"), inp… in test_char() 52 …check_exception("The format specifier should consume the input or end with a '}'", SV("{: }"), inp… in test_char() 55 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:#}"), inp… in test_char() 61 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:.}"), inp… in test_char() 64 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:L}"), inp… in test_char() 75 check_exception("The format specifier should consume the input or end with a '}'", fmt, input); in test_char() 93 …check_exception("The format specifier should consume the input or end with a '}'", SV("{::-}"), in… in test_char() 94 …check_exception("The format specifier should consume the input or end with a '}'", SV("{::+}"), in… in test_char() 95 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:: }"), in… in test_char() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/syn/src/ |
D | data.rs | 229 let consume = |delimiter: Delimiter| { in scan_lenient_discriminant() localVariable 236 macro_rules! consume { in scan_lenient_discriminant() macro 246 if consume![&] { in scan_lenient_discriminant() 248 } else if consume![if] || consume![match] || consume![while] { in scan_lenient_discriminant() 251 || (consume(Brace) || consume(Bracket) || consume(Parenthesis)) in scan_lenient_discriminant() 252 || (consume![async] || consume![const] || consume![loop] || consume![unsafe]) in scan_lenient_discriminant() 253 && (consume(Brace) || break) in scan_lenient_discriminant() 256 } else if consume![let] { in scan_lenient_discriminant() 257 while !consume![=] { in scan_lenient_discriminant() 258 if !((consume![|] || consume![ref] || consume![mut] || consume![@]) in scan_lenient_discriminant() [all …]
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-2.0.55/src/ |
H A D | data.rs | 229 let consume = |delimiter: Delimiter| { in scan_lenient_discriminant() localVariable 236 macro_rules! consume { in scan_lenient_discriminant() macro 246 if consume![&] { in scan_lenient_discriminant() 248 } else if consume![if] || consume![match] || consume![while] { in scan_lenient_discriminant() 251 || (consume(Brace) || consume(Bracket) || consume(Parenthesis)) in scan_lenient_discriminant() 252 || (consume![async] || consume![const] || consume![loop] || consume![unsafe]) in scan_lenient_discriminant() 253 && (consume(Brace) || break) in scan_lenient_discriminant() 256 } else if consume![let] { in scan_lenient_discriminant() 257 while !consume![=] { in scan_lenient_discriminant() 258 if !((consume![|] || consume![ref] || consume![mut] || consume![@]) in scan_lenient_discriminant() [all …]
|
/aosp_15_r20/external/antlr/tool/src/main/java/org/antlr/tool/ |
H A D | GrammarSpelunker.java | 65 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 …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/format/format.range/format.range.fmtset/ |
H A D | format.functions.tests.h | 59 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:-}"), inp… in test_char_default() 60 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:+}"), inp… in test_char_default() 61 …check_exception("The format specifier should consume the input or end with a '}'", SV("{: }"), inp… in test_char_default() 64 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:#}"), inp… in test_char_default() 70 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:.}"), inp… in test_char_default() 73 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:L}"), inp… in test_char_default() 115 …check_exception("The format specifier should consume the input or end with a '}'", SV("{::.}"), in… in test_char_default() 162 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:-s}"), in… in test_char_string() 163 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:+s}"), in… in test_char_string() 164 …check_exception("The format specifier should consume the input or end with a '}'", SV("{: s}"), in… in test_char_string() [all …]
|
/aosp_15_r20/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime.Tests/ |
H A D | Antlr.Runtime.Tree.Tests.pas | 724 /// Use Consume() to advance N nodes into lookahead. Then use LT() 747 // consume N 750 Stream.Consume; 862 // consume til end 864 Stream.Consume; 872 // consume til end 874 Stream.Consume; 902 // consume til middle 903 Stream.Consume; 907 Stream.Consume; // consume 107 [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/format/format.range/format.range.formatter/ |
H A D | format.functions.tests.h | 64 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:-}"), inp… in test_char_default() 65 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:+}"), inp… in test_char_default() 66 …check_exception("The format specifier should consume the input or end with a '}'", SV("{: }"), inp… in test_char_default() 69 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:#}"), inp… in test_char_default() 75 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:.}"), inp… in test_char_default() 78 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:L}"), inp… in test_char_default() 86 check_exception("The format specifier should consume the input or end with a '}'", fmt, input); in test_char_default() 122 …check_exception("The format specifier should consume the input or end with a '}'", SV("{::.}"), in… in test_char_default() 163 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:-s}"), in… in test_char_string() 164 …check_exception("The format specifier should consume the input or end with a '}'", SV("{:+s}"), in… in test_char_string() [all …]
|
/aosp_15_r20/external/owasp/sanitizer/lib/htmlparser-1.3/doc/ |
D | tokenization.txt | 16 states consume a single character, which may have various side-effects, 18 same character, or switches it to a new state (to consume the next 19 character), or repeats the same state (to consume the next character). 20 Some states have more complicated behavior and can consume several 78 Consume the next input character: 128 Attempt to consume a character reference, with no additional allowed 142 Consume the next input character. If it is a U+002F SOLIDUS (/) 148 Consume the next input character: 205 the next few characters do match that tag name, consume the next input 234 Consume the next input character: [all …]
|
/aosp_15_r20/external/clang/test/SemaCXX/ |
H A D | string-plus-int.cpp | 4 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 31 …consume("foo" + 5); // expected-warning {{adding 'int' to a string does not append to the string}… in f() 32 …consume("foo" + index); // expected-warning {{adding 'int' to a string does not append to the str… in f() 33 …consume("foo" + kMyEnum); // expected-warning {{adding 'MyEnum' to a string does not append to th… in f() 35 …consume(5 + "foo"); // expected-warning {{adding 'int' to a string does not append to the string}… in f() 36 …consume(index + "foo"); // expected-warning {{adding 'int' to a string does not append to the str… in f() 37 …consume(kMyEnum + "foo"); // expected-warning {{adding 'MyEnum' to a string does not append to th… in f() 43 …consume(L"foo" + 5); // expected-warning {{adding 'int' to a string does not append to the string… in f() [all …]
|
/aosp_15_r20/external/antlr/runtime/Ruby/test/unit/ |
H A D | test-streams.rb | 25 @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 …]
|
/aosp_15_r20/external/golang-protobuf/internal/cmd/generate-types/ |
H A D | impl.go | 71 {{- define "Consume" -}} 85 v, n := protowire.Consume{{.WireType}}(b) 108 // consume{{.Name}} wire decodes a {{.GoType}} pointer as a {{.Name}}. 109 func consume{{.Name}}(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOp… 113 {{template "Consume" .}} 125 unmarshal: consume{{.Name}}, 141 // consume{{.Name}}ValidateUTF8 wire decodes a {{.GoType}} pointer as a {{.Name}}. 142 func consume{{.Name}}ValidateUTF8(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts… 146 {{template "Consume" .}} 161 unmarshal: consume{{.Name}}ValidateUTF8, [all …]
|
/aosp_15_r20/external/starlark-go/syntax/ |
H A D | parse.go | 54 // ParseCompoundStmt does not consume any following input. 76 // Require but don't consume newline, to avoid blocking again. 159 defpos := p.nextToken() // consume DEF 161 p.consume(LPAREN) 163 p.consume(RPAREN) 164 p.consume(COLON) 175 ifpos := p.nextToken() // consume IF 177 p.consume(COLON) 186 elifpos := p.nextToken() // consume ELIF 188 p.consume(COLON) [all …]
|