/external/v8/test/mjsunit/ |
debug-liveedit-literals.js | 81 // No literals -> regexp. 84 // Array literal -> regexp. 87 // Regexp -> object literal. 90 // No literals -> regexp. 93 // Regexp -> no literals.
|
regexp-indexof.js | 48 assertEquals(lastExpected, RegExp.lastMatch, "lastMatch"); 49 assertEquals(str.substr(0, lastFrom), RegExp.leftContext, "leftContext"); 51 str.substr(lastFrom + lastLength), RegExp.rightContext, "rightContext"); 64 CheckMatch(new RegExp(""), "xxx", [[0, 0]]); 70 assertEquals("-a-b-c-d-e-f-", "abcdef".replace(new RegExp("", "g"), "-"));
|
/external/regex-re2/re2/ |
compile.cc | 8 // This file's external interface is just Regexp::CompileToProg. 13 #include "re2/regexp.h" 22 // See http://swtch.com/~rsc/regexp/regexp1.html for inspiration. 122 class Compiler : public Regexp::Walker<Frag> { 127 // Compiles Regexp to a new Prog. 131 static Prog *Compile(Regexp* re, bool reversed, int64 max_mem); 136 Regexp* re); 138 // Interface for Regexp::Walker, which helps traverse the Regexp. 142 // The Compiler traverses the Regexp parse tree, visitin [all...] |
prefilter.h | 18 class Regexp; 71 static Prefilter* FromRegexp(Regexp* a); 77 static Info* BuildInfo(Regexp* re);
|
/external/v8/test/mjsunit/regress/ |
regress-1200351.js | 68 eval("for (-1==continue.toJSONProtocol, GetFunctionFor(break.call(NaN)), (!new RegExp).prototype.new Object()<<void) { debugger.__defineSetter__(null,function(){continue})>>>=GetFunctionFor(-1) }") 80 eval("unescape(break.toObject()).prototype.new RegExp.continue.__lookupGetter__(x.slice(1, NaN)) = typeof(null.push(0.2))") 88 eval("function X(x) { return new RegExp.shift().concat({debugger,continue}) }; X(return goto 0)") 108 eval("String(new RegExp.call(1)).prototype.unescape(parseFloat(-1)) = false<<true.x.lastIndexOf(1)") 116 eval("new RegExp>>0.2.superConstructor.prototype.eval(void).className() = false.join().prototype.name") 148 eval("new Date(0<<'a'>>>=new RegExp['a'])") 152 eval("native {unescape(true),new RegExp.isNull}") 196 eval("for (new RegExp.join().className() in new Object().length()>>true.toObject()) { parseFloat(escape(debugger)) }") 204 eval("SetValueOf(1.indexOf('a')<<break.__lookupGetter__('a'), new Object().null.prototype.new RegExp.charCodeAt(-1))") 216 eval("native parseFloat(false.charAt(new RegExp))") [all...] |
regress-regexp-codeflush.js | 30 // Regression test for regexp that has multiple matches and which 32 // ensuring that the regexp is compiled. 36 var re = new RegExp('(s)', "g");
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8/share/gdb/python/gdb/command/ |
pretty_printers.py | 29 [object-regexp [name-regexp]]. 35 the resulting compiled subprinter regexp is None if not provided. 61 raise SyntaxError("invalid object regexp: %s" % object_regexp) 65 raise SyntaxError("invalid name regexp: %s" % name_regexp) 70 raise SyntaxError("invalid subname regexp: %s" % subname_regexp) 87 Usage: info pretty-printer [object-regexp [name-regexp]] 89 OBJECT-REGEXP is a regular expression matching the objects to list. 93 NAME-REGEXP matches the name of the pretty-printer [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/share/gdb/python/gdb/command/ |
pretty_printers.py | 29 [object-regexp [name-regexp]]. 35 the resulting compiled subprinter regexp is None if not provided. 61 raise SyntaxError("invalid object regexp: %s" % object_regexp) 65 raise SyntaxError("invalid name regexp: %s" % name_regexp) 70 raise SyntaxError("invalid subname regexp: %s" % subname_regexp) 87 Usage: info pretty-printer [object-regexp [name-regexp]] 89 OBJECT-REGEXP is a regular expression matching the objects to list. 93 NAME-REGEXP matches the name of the pretty-printer [all...] |
/prebuilts/gdb/darwin-x86/share/gdb/python/gdb/command/ |
pretty_printers.py | 29 [object-regexp [name-regexp]]. 35 the resulting compiled subprinter regexp is None if not provided. 61 raise SyntaxError("invalid object regexp: %s" % object_regexp) 65 raise SyntaxError("invalid name regexp: %s" % name_regexp) 70 raise SyntaxError("invalid subname regexp: %s" % subname_regexp) 87 Usage: info pretty-printer [object-regexp [name-regexp]] 89 OBJECT-REGEXP is a regular expression matching the objects to list. 93 NAME-REGEXP matches the name of the pretty-printer [all...] |
/prebuilts/gdb/linux-x86/share/gdb/python/gdb/command/ |
pretty_printers.py | 29 [object-regexp [name-regexp]]. 35 the resulting compiled subprinter regexp is None if not provided. 61 raise SyntaxError("invalid object regexp: %s" % object_regexp) 65 raise SyntaxError("invalid name regexp: %s" % name_regexp) 70 raise SyntaxError("invalid subname regexp: %s" % subname_regexp) 87 Usage: info pretty-printer [object-regexp [name-regexp]] 89 OBJECT-REGEXP is a regular expression matching the objects to list. 93 NAME-REGEXP matches the name of the pretty-printer [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/resolver/ |
Resolver.java | 76 public void addImplicitResolver(Tag tag, Pattern regexp, String first) { 83 curr.add(new ResolverTuple(tag, regexp)); 97 curr.add(new ResolverTuple(tag, regexp)); 113 Pattern regexp = v.getRegexp(); local 114 if (regexp.matcher(value).matches()) { 122 Pattern regexp = v.getRegexp(); local 123 if (regexp.matcher(value).matches()) {
|
/prebuilts/go/darwin-x86/src/runtime/ |
runtime-gdb_test.go | 10 "regexp" 29 re := regexp.MustCompile(`([0-9]+)\.([0-9]+)`) 133 partRe := regexp.MustCompile(`(?ms)^BEGIN ([^\n]*)\n(.*?)\nEND`) 139 infoGoroutinesRe := regexp.MustCompile(`\*\s+\d+\s+running\s+`) 144 printMapvarRe := regexp.MustCompile(`\Q = map[string]string = {["abc"] = "def", ["ghi"] = "jkl"}\E$`) 149 strVarRe := regexp.MustCompile(`\Q = "abc"\E$`) 158 btGoroutineRe := regexp.MustCompile(`^#0\s+runtime.+at`)
|
/prebuilts/go/linux-x86/src/runtime/ |
runtime-gdb_test.go | 10 "regexp" 29 re := regexp.MustCompile(`([0-9]+)\.([0-9]+)`) 133 partRe := regexp.MustCompile(`(?ms)^BEGIN ([^\n]*)\n(.*?)\nEND`) 139 infoGoroutinesRe := regexp.MustCompile(`\*\s+\d+\s+running\s+`) 144 printMapvarRe := regexp.MustCompile(`\Q = map[string]string = {["abc"] = "def", ["ghi"] = "jkl"}\E$`) 149 strVarRe := regexp.MustCompile(`\Q = "abc"\E$`) 158 btGoroutineRe := regexp.MustCompile(`^#0\s+runtime.+at`)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
test_main.py | 24 def assertNotRegex(self, text, regexp, msg=None): 26 if not hasattr(regexp, 'search'): 27 regexp = re.compile(regexp) 28 if regexp.search(text): 29 self.fail("regexp %s MATCHED text %r" % (regexp.pattern, text))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
test_main.py | 24 def assertNotRegex(self, text, regexp, msg=None): 26 if not hasattr(regexp, 'search'): 27 regexp = re.compile(regexp) 28 if regexp.search(text): 29 self.fail("regexp %s MATCHED text %r" % (regexp.pattern, text))
|
/external/autotest/server/hosts/ |
ssh_host.py | 218 Run a command on the remote host and look for regexp 230 @param stdout_ok_regexp: regexp that should be in stdout 232 @param stdout_err_regexp: regexp that should be in stdout 234 @param stderr_ok_regexp: regexp that should be in stderr 236 @param stderr_err_regexp: regexp that should be in stderr 258 for (regexp, stream) in ((stderr_err_regexp, result.stderr), 260 if regexp and stream: 261 err_re = re.compile (regexp) 265 regexp), result) 267 for (regexp, stream) in ((stderr_ok_regexp, result.stderr) [all...] |
/external/libxml2/include/libxml/ |
xmlautomata.h | 2 * Summary: API to build regexp automata 3 * Description: the API to build regexp automata 27 * A libxml automata description, It can be compiled into a regexp
|
/external/parameter-framework/upstream/tools/xmlGenerator/analyse/ |
replaceAmixerByPfwParameters.sh | 38 # a perl regexp that matches only alsa mixer lines 39 regexp='^[^\s/]' 62 if echo "$line" | grep -qP "$regexp" && parameter="$(find_pfw_equivalent "$line" $1)"
|
/external/v8/tools/sodium/ |
sodium.js | 41 var nameFinder = new RegExp("^name = (.+)$"); 42 var kindFinder = new RegExp("^kind = (.+)$"); 43 var firstPositionFinder = new RegExp("^source_position = (\\d+)$"); 44 var separatorFilter = new RegExp("^--- (.)+ ---$"); 45 var rawSourceFilter = new RegExp("^--- Raw source ---$"); 46 var codeEndFinder = new RegExp("^--- End code ---$"); 47 var whiteSpaceLineFinder = new RegExp("^\\W*$"); 49 new RegExp("^Instructions\\W+\\(size = \\d+\\)"); 51 new RegExp("^\(" + addressRegEx + "\)\(\\W+\\d+\\W+.+\)"); 53 new RegExp("^(" + addressRegEx + ")\\W+position\\W+\\((\\d+)\\)") [all...] |
/prebuilts/gdb/darwin-x86/share/gdb/python/gdb/ |
printing.py | 171 def __init__(self, name, regexp, gen_printer): 173 self.regexp = regexp 175 self.compiled_re = re.compile(regexp) 180 def add_printer(self, name, regexp, gen_printer): 187 regexp: The regular expression, as a string. 195 # NOTE: A previous version made the name of each printer the regexp. 197 # cumbersome to make a regexp of a regexp). So now the name is a 200 self.subprinters.append(self.RegexpSubprinter(name, regexp, [all...] |
/prebuilts/gdb/linux-x86/share/gdb/python/gdb/ |
printing.py | 171 def __init__(self, name, regexp, gen_printer): 173 self.regexp = regexp 175 self.compiled_re = re.compile(regexp) 180 def add_printer(self, name, regexp, gen_printer): 187 regexp: The regular expression, as a string. 195 # NOTE: A previous version made the name of each printer the regexp. 197 # cumbersome to make a regexp of a regexp). So now the name is a 200 self.subprinters.append(self.RegexpSubprinter(name, regexp, [all...] |
/prebuilts/go/darwin-x86/src/regexp/syntax/ |
prog_test.go | 10 Regexp string 96 re, _ := Parse(tt.Regexp, Perl) 100 t.Errorf("compiled %#q:\n--- have\n%s---\n--- want\n%s---", tt.Regexp, s, tt.Prog)
|
/prebuilts/go/linux-x86/src/regexp/syntax/ |
prog_test.go | 10 Regexp string 96 re, _ := Parse(tt.Regexp, Perl) 100 t.Errorf("compiled %#q:\n--- have\n%s---\n--- want\n%s---", tt.Regexp, s, tt.Prog)
|
/toolchain/binutils/binutils-2.25/binutils/testsuite/binutils-all/arm/ |
objdump.exp | 48 if [regexp $want $got] then { 58 if [regexp $want $got] then { 84 if [regexp $want $got] then {
|
/toolchain/binutils/binutils-2.25/binutils/testsuite/binutils-all/ |
dlltool.exp | 86 if [regexp $want $got] then { 95 if [regexp $want $got] then { 116 if [regexp $want $got] then { 125 if [regexp $want $got] then { 163 if [regexp $want $got] then { 172 if [regexp $want $got] then { 193 if [regexp $want $got] then { 202 if [regexp $want $got] then { 239 if [regexp $want $got] then { 248 if [regexp $want $got] then [all...] |