Home
last modified time | relevance | path

Searched refs:greedy (Results 1 – 25 of 360) sorted by relevance

12345678910>>...15

/external/antlr/runtime/ObjC/Framework/examples/fuzzy/
DFuzzy.g10 : 'return' (options {greedy=false;}:.)* ';'
38 : '/*' (options {greedy=false;} : . )* '*/'
43 : '//' (options {greedy=false;} : . )* '\n'
48 : '"' (options {greedy=false;}: ESC | .)* '"'
52 : '\'' (options {greedy=false;}: ESC | .)* '\''
/external/antlr/runtime/JavaScript/tests/functional/
Dt019lexer.g13 : 'return' (options {greedy=false;}:.)* ';'
22 : '/*' (options {greedy=false;} : . )* '*/'
26 : '"' (options {greedy=false;}: ESC | .)* '"'
30 : '\'' (options {greedy=false;}: ESC | .)* '\''
Dt020fuzzy.g20 : 'return' (options {greedy=false;}:.)* ';'
48 : '/*' (options {greedy=false;} : . )* '*/'
53 : '//' (options {greedy=false;} : . )* '\n'
58 : '"' (options {greedy=false;}: ESC | .)* '"'
62 : '\'' (options {greedy=false;}: ESC | .)* '\''
Dt012lexerXML.g39 fragment INTERNAL_DTD : '[' (options {greedy=false;} : .)* ']' ;
93 : '<!--' (options {greedy=false;} : .)* '-->'
97 : '<![CDATA[' (options {greedy=false;} : .)* ']]>'
110 ( options {greedy=true;} : LETTER | '0'..'9' | '.' | '-' | '_' | ':' )*
DPython.g100 : defparameter (options {greedy=true;}:COMMA defparameter)*
120 : fpdef (options {greedy=true;}:COMMA fpdef)* (COMMA)?
129 : small_stmt (options {greedy=true;}:SEMI small_stmt)* (SEMI)? NEWLINE
311 : atom (trailer)* (options {greedy=true;}:DOUBLESTAR factor)?
326 listmaker: test ( list_for | (options {greedy=true;}:COMMA test)* ) (COMMA)?
338 : subscript (options {greedy=true;}:COMMA subscript)* (COMMA)?
512 /** Match various string types. Note that greedy=false implies '''
517 ( '\'\'\'' (options {greedy=false;}:.)* '\'\'\''
518 | '"""' (options {greedy=false;}:.)* '"""'
/external/antlr/runtime/Python3/tests/
Dt019lexer.g13 : 'return' (options {greedy=false;}:.)* ';'
22 : '/*' (options {greedy=false;} : . )* '*/'
26 : '"' (options {greedy=false;}: ESC | .)* '"'
30 : '\'' (options {greedy=false;}: ESC | .)* '\''
Dt020fuzzyLexer.g21 : 'return' (options {greedy=false;}:.)* ';'
49 : '/*' (options {greedy=false;} : . )* '*/'
54 : '//' (options {greedy=false;} : . )* '\n'
59 : '"' (options {greedy=false;}: ESC | .)* '"'
63 : '\'' (options {greedy=false;}: ESC | .)* '\''
Dt012lexerXMLLexer.g44 fragment INTERNAL_DTD : '[' (options {greedy=false;} : .)* ']' ;
98 : '<!--' (options {greedy=false;} : .)* '-->'
102 : '<![CDATA[' (options {greedy=false;} : .)* ']]>'
115 ( options {greedy=true;} : LETTER | '0'..'9' | '.' | '-' | '_' | ':' )*
/external/antlr/runtime/Python/tests/
Dt019lexer.g13 : 'return' (options {greedy=false;}:.)* ';'
22 : '/*' (options {greedy=false;} : . )* '*/'
26 : '"' (options {greedy=false;}: ESC | .)* '"'
30 : '\'' (options {greedy=false;}: ESC | .)* '\''
Dt020fuzzyLexer.g21 : 'return' (options {greedy=false;}:.)* ';'
49 : '/*' (options {greedy=false;} : . )* '*/'
54 : '//' (options {greedy=false;} : . )* '\n'
59 : '"' (options {greedy=false;}: ESC | .)* '"'
63 : '\'' (options {greedy=false;}: ESC | .)* '\''
Dt012lexerXMLLexer.g44 fragment INTERNAL_DTD : '[' (options {greedy=false;} : .)* ']' ;
98 : '<!--' (options {greedy=false;} : .)* '-->'
102 : '<![CDATA[' (options {greedy=false;} : .)* ']]>'
115 ( options {greedy=true;} : LETTER | '0'..'9' | '.' | '-' | '_' | ':' )*
/external/antlr/runtime/Cpp/tests/
Dt020fuzzyLexer.g28 : 'return' (options {greedy=false;}:.)* ';'
56 : '/*' (options {greedy=false;} : . )* '*/'
61 : '//' (options {greedy=false;} : . )* '\n'
66 : '"' (options {greedy=false;}: ESC | .)* '"'
70 : '\'' (options {greedy=false;}: ESC | .)* '\''
Dt019lexer.g20 : 'return' (options {greedy=false;}:.)* ';'
29 : '/*' (options {greedy=false;} : . )* '*/'
33 : '"' (options {greedy=false;}: ESC | .)* '"'
37 : '\'' (options {greedy=false;}: ESC | .)* '\''
Dt012lexerXMLLexer.g68 fragment INTERNAL_DTD : '[' (options {greedy=false;} : .)* ']' ;
122 : '<!--' (options {greedy=false;} : .)* '-->'
126 : '<![CDATA[' (options {greedy=false;} : .)* ']]>'
139 ( options {greedy=true;} : LETTER | '0'..'9' | '.' | '-' | '_' | ':' )*
/external/rust/crates/regex/src/
Dcompile.rs391 greedy: false, in c_dotstar()
398 greedy: false, in c_dotstar()
553 ZeroOrOne => self.c_repeat_zero_or_one(&rep.hir, rep.greedy), in c_repeat()
554 ZeroOrMore => self.c_repeat_zero_or_more(&rep.hir, rep.greedy), in c_repeat()
555 OneOrMore => self.c_repeat_one_or_more(&rep.hir, rep.greedy), in c_repeat()
557 self.c_repeat_range(&rep.hir, rep.greedy, min_max, min_max) in c_repeat()
560 self.c_repeat_range_min_or_more(&rep.hir, rep.greedy, min) in c_repeat()
563 self.c_repeat_range(&rep.hir, rep.greedy, min, max) in c_repeat()
571 greedy: bool, in c_repeat_zero_or_one()
579 let split_hole = if greedy { in c_repeat_zero_or_one()
[all …]
/external/rust/crates/regex-automata/src/nfa/
Dcompiler.rs477 self.c_zero_or_one(&rep.hir, rep.greedy) in c_repetition()
480 self.c_at_least(&rep.hir, rep.greedy, 0) in c_repetition()
483 self.c_at_least(&rep.hir, rep.greedy, 1) in c_repetition()
490 self.c_at_least(&rep.hir, rep.greedy, m) in c_repetition()
493 self.c_bounded(&rep.hir, rep.greedy, min, max) in c_repetition()
502 greedy: bool, in c_bounded()
543 let union = if greedy { in c_bounded()
561 greedy: bool, in c_at_least()
565 let union = if greedy { in c_at_least()
576 let union = if greedy { in c_at_least()
[all …]
/external/icu/icu4c/source/i18n/
Dnumparse_impl.h58 …void parse(const UnicodeString& input, bool greedy, ParsedNumber& result, UErrorCode& status) cons…
60 void parse(const UnicodeString& input, int32_t start, bool greedy, ParsedNumber& result,
Dnumparse_impl.cpp231 void NumberParserImpl::parse(const UnicodeString& input, bool greedy, ParsedNumber& result, in parse() argument
233 return parse(input, 0, greedy, result, status); in parse()
236 void NumberParserImpl::parse(const UnicodeString& input, int32_t start, bool greedy, ParsedNumber& … in parse() argument
245 if (greedy) { in parse()
/external/icu/libicu/cts_headers/
Dnumparse_impl.h58 …void parse(const UnicodeString& input, bool greedy, ParsedNumber& result, UErrorCode& status) cons…
60 void parse(const UnicodeString& input, int32_t start, bool greedy, ParsedNumber& result,
/external/antlr/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/
DStGUnit.g140 ( options {greedy=false;}
152 ( options {greedy=false;}
166 ( options {greedy=false; k=3;}
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DNumberParserImpl.java305 public void parse(String input, boolean greedy, ParsedNumber result) { in parse() argument
306 parse(input, 0, greedy, result); in parse()
322 public void parse(String input, int start, boolean greedy, ParsedNumber result) { in parse() argument
328 if (greedy) { in parse()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DNumberParserImpl.java303 public void parse(String input, boolean greedy, ParsedNumber result) { in parse() argument
304 parse(input, 0, greedy, result); in parse()
320 public void parse(String input, int start, boolean greedy, ParsedNumber result) { in parse() argument
326 if (greedy) { in parse()
/external/llvm-project/llvm/test/CodeGen/X86/
Dlate-remat-update-2.mir18 # regallocbasic instead of greedy because greedy can update the live interval
Dregalloc-spill-at-ehpad.ll1 ; RUN: llc -regalloc=greedy -mtriple=x86_64-pc-windows-msvc < %s -o - | FileCheck %s
3 ; This test checks for proper handling of a condition where the greedy register
/external/llvm-project/llvm/test/CodeGen/AArch64/
Doverlapping-copy-bundle-cycle.mir1 # RUN: not llc -mtriple=aarch64-apple-ios -run-pass=greedy -run-pass=virtregrewriter %s -o /dev/nul…

12345678910>>...15