/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/regex-automata-0.4.6/src/util/ |
H A D | look.rs | 2 Types and routines for working with look-around assertions. 6 * [`Look`] enumerates all of the assertions supported by this crate. 7 * [`LookSet`] provides a way to efficiently store a set of [`Look`] values. 8 * [`LookMatcher`] provides routines for checking whether a `Look` or a 12 // LAMENTATION: Sadly, a lot of the API of `Look` and `LookSet` were basically 15 // in this crate) as free functions, except the `Look` and `LookSet` types 25 /// A look-around assertion. 43 /// Assertions are also called "look-around," "look-behind" and "look-ahead." 44 /// Specifically, some assertions are look-behind (like `^`), other assertions 45 /// are look-ahead (like `$`) and yet other assertions are both look-ahead and [all …]
|
/aosp_15_r20/external/antlr/runtime/Ruby/test/functional/debugging/ |
H A D | debug-mode.rb | 100 lt_events, found = listener.events.partition { |event| event.start_with?( "(look): " ) } 128 [ 'look', '1', '0', '4', 'default', '1', '0', '"a"' ], 129 [ 'look', '1', '0', '4', 'default', '1', '0', '"a"' ], 132 [ 'look', '1', '-1', '-1', 'default', '0', '-1', 'nil' ], 133 [ 'look', '1', '-1', '-1', 'default', '0', '-1', 'nil' ], 159 [ "look", "1", "0", "4", "default", "1", "0", "\"a\"" ], 160 [ "look", "1", "0", "4", "default", "1", "0", "\"a\"" ], 164 [ "look", "1", "2", "4", "default", "1", "2", "\"b\"" ], 165 [ "look", "1", "2", "4", "default", "1", "2", "\"b\"" ], 166 [ "look", "2", "-1", "-1", "default", "0", "-1", "nil" ], [all …]
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/regex-automata-0.4.6/src/util/determinize/ |
H A D | mod.rs | 14 the look-behind assertions that are satisfied by each starting state 48 look::{Look, LookSet}, 62 /// also includes any look-behind assertions satisfied by `unit`, in addition 107 // The look-around matcher that our NFA is configured with. We don't in next() 108 // actually use it to match look-around assertions, but we do need its in next() 116 // kind of look-around is used in the DFA. Some ad hoc experiments in next() 125 // Compute look-ahead assertions originating from the current state. Based in next() 129 // we don't enable any look-ahead assertions because we don't know whether in next() 132 // Add look-ahead assertions that are now true based on the current in next() 138 look_have = look_have.insert(Look::EndCRLF); in next() [all …]
|
/aosp_15_r20/external/curl/tests/data/ |
H A D | test1309 | 76 Tree look: 128 Tree look: 179 Tree look: 229 Tree look: 278 Tree look: 326 Tree look: 373 Tree look: 419 Tree look: 464 Tree look: 508 Tree look: [all …]
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/regex-syntax-0.8.3/src/hir/ |
H A D | mod.rs | 16 equivalent regex pattern string, it is unlikely to look like the original due 146 /// a repetition, a look-around assertion, etc.), where as a `Properties` 199 /// look very different. (And potentially not practically readable by a human.) 369 /// Creates a look-around assertion HIR expression. 371 pub fn look(look: Look) -> Hir { in look() method 372 let props = Properties::look(look); in look() 373 Hir { kind: HirKind::Look(look), props } in look() 593 // Now that it's completely flattened, look for the special case of in alternation() 595 // we look for 'char' first and then bytes. The issue here is that if in alternation() 600 // invalid UTF-8.) So we look for all chars and then all bytes, and in alternation() [all …]
|
H A D | print.rs | 174 HirKind::Look(ref look) => match *look { in visit_pre() 175 hir::Look::Start => { in visit_pre() 178 hir::Look::End => { in visit_pre() 181 hir::Look::StartLF => { in visit_pre() 184 hir::Look::EndLF => { in visit_pre() 187 hir::Look::StartCRLF => { in visit_pre() 190 hir::Look::EndCRLF => { in visit_pre() 193 hir::Look::WordAscii => { in visit_pre() 196 hir::Look::WordAsciiNegate => { in visit_pre() 199 hir::Look::WordUnicode => { in visit_pre() [all …]
|
H A D | translate.rs | 89 /// Note also that this *doesn't* impact the look-around assertions 928 ast::AssertionKind::StartLine => Hir::look(if multi_line { in hir_assertion() 930 hir::Look::StartCRLF in hir_assertion() 932 hir::Look::StartLF in hir_assertion() 935 hir::Look::Start in hir_assertion() 937 ast::AssertionKind::EndLine => Hir::look(if multi_line { in hir_assertion() 939 hir::Look::EndCRLF in hir_assertion() 941 hir::Look::EndLF in hir_assertion() 944 hir::Look::End in hir_assertion() 946 ast::AssertionKind::StartText => Hir::look(hir::Look::Start), in hir_assertion() [all …]
|
/aosp_15_r20/external/antlr/runtime/Ruby/test/unit/ |
H A D | test-trees.rb | 156 stream.look(index + 1).type.should == type 158 stream.look(100).type.should == EOF 175 13.times { stream.look(1); stream.consume } # consume until end 177 stream.look(1).type.should == EOF 178 stream.look(-1).type.should == UP 181 13.times { stream.look(1); stream.consume } # consume until end 183 stream.look(1).type.should == EOF 184 stream.look(-1).type.should == UP 202 stream.look(1).type.should == 107 208 stream.look(1).type.should == val [all …]
|
H A D | test-streams.rb | 86 @stream.look(1).should == 'o' 87 @stream.look(2).should == 'h' 88 @stream.look(3).should == "\n" 94 @stream.look(1).should == '!' 95 @stream.look(2).should == "\n" 96 @stream.look(3).should be_nil 223 @stream.look(1).should == 'a' 279 @stream.look.should == ANTLR3::EOF_TOKEN 286 @stream.look(1).type.should == 12 295 @stream.look(1).type.should == 13 [all …]
|
/aosp_15_r20/external/libcxxabi/src/demangle/ |
H A D | ItaniumDemangle.h | 2226 char look(unsigned Lookahead = 0) { 2335 if (look() == 'N') in parseName() 2337 if (look() == 'Z') in parseName() 2341 if (look() == 'S' && look(1) != 't') { in parseName() 2345 if (look() != 'I') in parseName() 2358 if (look() == 'I') { in parseName() 2431 if (look() == 'U') in parseUnqualifiedName() 2433 else if (look() >= '1' && look() <= '9') in parseUnqualifiedName() 2556 switch (look()) { in parseOperatorName() 2558 switch (look(1)) { in parseOperatorName() [all …]
|
/aosp_15_r20/external/antlr/runtime/Ruby/lib/antlr3/ |
H A D | streams.rb | 90 === consume / look / peek 96 to a recognizer at look-ahead position specified by <tt>k</tt>. For 102 <tt>stream.look(k = 1)</tt> is used to retrieve the full object of interest at 103 look-ahead position specified by <tt>k</tt>. While <tt>peek</tt> provides the 105 <tt>look</tt> provides the <i>full object of concern</i> in the stream. For 112 implemented by some method with a name like <tt>LA(k)</tt> and <tt>look</tt> is 115 un-Ruby-like. Thus, I chose <tt>peek</tt> and <tt>look</tt> to represent a 116 quick-look (peek) and a full-fledged look-ahead operation (look). If this causes 183 # :method: look( k = 1 ) 186 abstract :look [all …]
|
H A D | debug.rb | 346 def look( steps = 1 ) method 349 @debug_listener.look( steps, token ) 354 look( steps ).type 417 # so that a GUI can easily track what look/consume events are 446 # triggered by both peek and look calls. The debugger will want to know 448 # what token was seen at that depth. A remote debugger cannot look 449 # ahead into a file it doesn't have so look events must pass the token 452 def look( i, tree ) method 456 # The parser is going to look arbitrarily ahead; mark this location, 463 # After an arbitrairly long look as with a cyclic DFA (or with [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/ |
H A D | ItaniumDemangle.h | 2406 char look(unsigned Lookahead = 0) { 2517 if (look() == 'N') in parseName() 2519 if (look() == 'Z') in parseName() 2523 if (look() == 'S' && look(1) != 't') { in parseName() 2527 if (look() != 'I') in parseName() 2540 if (look() == 'I') { in parseName() 2613 if (look() == 'U') in parseUnqualifiedName() 2615 else if (look() >= '1' && look() <= '9') in parseUnqualifiedName() 2659 while (look() == 'T' && in parseUnnamedTypeName() 2660 StringView("yptn").find(look(1)) != StringView::npos) { in parseUnnamedTypeName() [all …]
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/regex-automata-0.4.6/src/nfa/thompson/ |
H A D | compiler.rs | 21 look::{Look, LookMatcher}, 155 /// sub-expressions in the original pattern, recursively. (Look around 415 /// Sets the look-around matcher that should be used with this NFA. 417 /// A look-around matcher determines how to match look-around assertions. 429 /// util::look::LookMatcher, 501 /// Return the look-around matcher for this NFA. 966 props.look_set_suffix().contains(hir::Look::End) in compile() 968 props.look_set_prefix().contains(hir::Look::Start) in compile() 1005 Look(ref look) => self.c_look(look), in c() 1463 // use it, some of the tests in this module will fail because they look in c_unicode_class() [all …]
|
H A D | nfa.rs | 15 look::{Look, LookMatcher, LookSet}, 55 /// Groups refer to parenthesized expressions inside a regex pattern. They look 783 /// // If a regex is just made of a look-around assertion, even if the 786 /// // Namely, if a match occurs of just a look-around assertion, then the 968 /// Returns the look-around matcher associated with this NFA. 970 /// A look-around matcher determines how to match look-around assertions. 987 /// util::look::LookMatcher, 1017 /// Returns the union of all look-around assertions used throughout this 1019 /// look-around assertions and thus zero conditional epsilon transitions. 1026 /// This isn't only helpful for optimizations either. Sometimes look-around [all …]
|
/aosp_15_r20/external/antlr/tool/src/main/java/org/antlr/analysis/ |
H A D | LL1Analyzer.java | 58 /** Used during LOOK to detect computation cycles */ 126 public LookaheadSet LOOK(Rule r) { 153 LookaheadSet look = _FIRST(s, false); in FIRST() local 154 …//System.out.println("< FIRST("+s.enclosingRule.name+") in rule "+s.enclosingRule+"="+look.toStrin… in FIRST() 155 return look; in FIRST() 170 public LookaheadSet LOOK(NFAState s) { in LOOK() method in LL1Analyzer 172 System.out.println("> LOOK("+s+")"); in LOOK() 175 LookaheadSet look = _FIRST(s, true); in LOOK() local 177 if ( grammar.type!=Grammar.LEXER && look.member(Label.EOR_TOKEN_TYPE) ) { in LOOK() 180 f.orInPlace(look); in LOOK() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Demangle/ |
H A D | ItaniumDemangle.h | 2496 char look(unsigned Lookahead = 0) const { 2669 if (look() == 'N') in parseName() 2671 if (look() == 'Z') in parseName() 2681 if (look() == 'I') { in parseName() 2753 if (look() == 'S') { in parseUnscopedName() 2789 if (look() >= '1' && look() <= '9') { in parseUnqualifiedName() 2791 } else if (look() == 'U') { in parseUnqualifiedName() 2803 } else if (look() == 'C' || look() == 'D') { in parseUnqualifiedName() 2869 while (look() == 'T' && in parseUnnamedTypeName() 2870 StringView("yptn").find(look(1)) != StringView::npos) { in parseUnnamedTypeName() [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/Demangle/ |
D | ItaniumDemangle.h | 2745 char look(unsigned Lookahead = 0) const { 2766 return look() == 'T' && in isTemplateParamDecl() 2767 std::string_view("yptnk").find(look(1)) != std::string_view::npos; in isTemplateParamDecl() 2927 if (look() == 'N') in parseName() 2929 if (look() == 'Z') in parseName() 2939 if (look() == 'I') { in parseName() 3015 if (look() == 'S') { in parseUnscopedName() 3053 if (look() >= '1' && look() <= '9') { in parseUnqualifiedName() 3055 } else if (look() == 'U') { in parseUnqualifiedName() 3067 } else if (look() == 'C' || look() == 'D') { in parseUnqualifiedName() [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/Demangle/ |
D | ItaniumDemangle.h | 2744 char look(unsigned Lookahead = 0) const { 2765 return look() == 'T' && in isTemplateParamDecl() 2766 std::string_view("yptnk").find(look(1)) != std::string_view::npos; in isTemplateParamDecl() 2926 if (look() == 'N') in parseName() 2928 if (look() == 'Z') in parseName() 2938 if (look() == 'I') { in parseName() 3014 if (look() == 'S') { in parseUnscopedName() 3052 if (look() >= '1' && look() <= '9') { in parseUnqualifiedName() 3054 } else if (look() == 'U') { in parseUnqualifiedName() 3066 } else if (look() == 'C' || look() == 'D') { in parseUnqualifiedName() [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++abi/src/src/demangle/ |
H A D | ItaniumDemangle.h | 2745 char look(unsigned Lookahead = 0) const { 2766 return look() == 'T' && in isTemplateParamDecl() 2767 std::string_view("yptnk").find(look(1)) != std::string_view::npos; in isTemplateParamDecl() 2927 if (look() == 'N') in parseName() 2929 if (look() == 'Z') in parseName() 2939 if (look() == 'I') { in parseName() 3015 if (look() == 'S') { in parseUnscopedName() 3053 if (look() >= '1' && look() <= '9') { in parseUnqualifiedName() 3055 } else if (look() == 'U') { in parseUnqualifiedName() 3067 } else if (look() == 'C' || look() == 'D') { in parseUnqualifiedName() [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/Demangle/ |
D | ItaniumDemangle.h | 2744 char look(unsigned Lookahead = 0) const { 2765 return look() == 'T' && in isTemplateParamDecl() 2766 std::string_view("yptnk").find(look(1)) != std::string_view::npos; in isTemplateParamDecl() 2926 if (look() == 'N') in parseName() 2928 if (look() == 'Z') in parseName() 2938 if (look() == 'I') { in parseName() 3014 if (look() == 'S') { in parseUnscopedName() 3052 if (look() >= '1' && look() <= '9') { in parseUnqualifiedName() 3054 } else if (look() == 'U') { in parseUnqualifiedName() 3066 } else if (look() == 'C' || look() == 'D') { in parseUnqualifiedName() [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/Demangle/ |
D | ItaniumDemangle.h | 2744 char look(unsigned Lookahead = 0) const { 2765 return look() == 'T' && in isTemplateParamDecl() 2766 std::string_view("yptnk").find(look(1)) != std::string_view::npos; in isTemplateParamDecl() 2926 if (look() == 'N') in parseName() 2928 if (look() == 'Z') in parseName() 2938 if (look() == 'I') { in parseName() 3014 if (look() == 'S') { in parseUnscopedName() 3052 if (look() >= '1' && look() <= '9') { in parseUnqualifiedName() 3054 } else if (look() == 'U') { in parseUnqualifiedName() 3066 } else if (look() == 'C' || look() == 'D') { in parseUnqualifiedName() [all …]
|
/aosp_15_r20/packages/modules/IPsec/src/java/com/android/internal/net/utils/ |
D | IkeDeviceConfigUtils.java | 26 * Look up the value of a property for a particular namespace from {@link DeviceConfig}. 28 * @param namespace The namespace containing the property to look up. 29 * @param name The name of the property to look up. 44 * Look up the value of a property for a particular namespace from {@link DeviceConfig}. 50 * @param namespace The namespace containing the property to look up. 51 * @param name The name of the property to look up. 69 * Look up the value of a property for a particular namespace from {@link DeviceConfig}. 71 * @param namespace The namespace containing the property to look up. 72 * @param name The name of the property to look up. 83 * Look up the value of a property for a particular namespace from {@link DeviceConfig}. [all …]
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ |
D | DeviceConfigUtils.java | 99 * Look up the value of a property for a particular namespace from {@link DeviceConfig}. 100 * @param namespace The namespace containing the property to look up. 101 * @param name The name of the property to look up. 113 * Look up the value of a property for a particular namespace from {@link DeviceConfig}. 114 * @param namespace The namespace containing the property to look up. 115 * @param name The name of the property to look up. 130 * Look up the value of a property for a particular namespace from {@link DeviceConfig}. 135 * @param namespace The namespace containing the property to look up. 136 * @param name The name of the property to look up. 151 * Look up the value of a property for a particular namespace from {@link DeviceConfig}. [all …]
|
/aosp_15_r20/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
H A D | ASTTreeParser.stg | 29 _save_last_<treeLevel> = _last = @input.look 64 _last = @input.look 69 _last = @input.look 95 _last = @input.look 115 _last = @input.look 130 _last = @input.look 155 _last = @input.look 175 _last = @input.look 192 _last = @input.look 207 _last = @input.look [all …]
|