/external/v8/test/mjsunit/regress/ |
regress-475705.js | 7 // regexp optimization, which can happen on pages that create a lot of regexps. 10 // Should not crash with a stack overflow in the regexp compiler, even when the 14 // The "+ depth" is to avoid the regexp compilation cache. 43 var re = new RegExp(regexp_src);
|
regress-crbug-178790.js | 28 // Create a regexp in the form of a?a?...a? so that fully 35 "test".match(RegExp(r1)); 41 "test".match(RegExp(r2)); 43 // Create a regexp in the form of ((..(a)a..)a. 51 "test".match(RegExp(r3));
|
/external/v8/test/webkit/ |
toString-recursion-expected.txt | 30 PASS var regexp = /a/; regexp.source = regexp; regexp + '' is '/a/'
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/IN/ |
NAPTR.py | 40 @ivar regexp: regular expression 41 @type regexp: string 46 __slots__ = ['order', 'preference', 'flags', 'service', 'regexp', 50 regexp, replacement): 56 self.regexp = regexp 65 dns.rdata._escapify(self.regexp), 73 regexp = tok.get_string() 78 regexp, replacement) 87 _write_string(file, self.regexp) [all...] |
/external/llvm/utils/emacs/ |
llvm-mode.el | 29 `(,(regexp-opt '("void" "i1" "i8" "i16" "i32" "i64" "i128" "float" "double" "type" "label" "opaque") 'symbols) . font-lock-type-face) 37 `(,(regexp-opt '("begin" "end" "true" "false" "zeroinitializer" "declare" 43 `(,(regexp-opt '("add" "sub" "mul" "sdiv" "udiv" "urem" "srem" "and" "or" "xor" 46 `(,(regexp-opt '("fadd" "fsub" "fmul" "fdiv" "frem") 'symbols) . font-lock-keyword-face) 48 `(,(regexp-opt '("phi" "tail" "call" "select" "to" "shl" "lshr" "ashr" "fcmp" "icmp" "va_arg" "landingpad") 'symbols) . font-lock-keyword-face) 50 `(,(regexp-opt '("ret" "br" "switch" "invoke" "resume" "unwind" "unreachable" "indirectbr") 'symbols) . font-lock-keyword-face) 52 `(,(regexp-opt '("malloc" "alloca" "free" "load" "store" "getelementptr" "fence" "cmpxchg" "atomicrmw") 'symbols) . font-lock-keyword-face) 54 `(,(regexp-opt '("bitcast" "inttoptr" "ptrtoint" "trunc" "zext" "sext" "fptrunc" "fpext" "fptoui" "fptosi" "uitofp" "sitofp" "addrspacecast") 'symbols) . font-lock-keyword-face) 56 `(,(regexp-opt '("extractelement" "insertelement" "shufflevector") 'symbols) . font-lock-keyword-face) 58 `(,(regexp-opt '("extractvalue" "insertvalue") 'symbols) . font-lock-keyword-face [all...] |
/external/ltrace/testsuite/ltrace.main/ |
signals.exp | 22 if [regexp {ELF from incompatible architecture} $exec_output] { 25 } elseif [ regexp {Couldn't get .hash data} $exec_output ] { 33 regexp {define LOOP.*([0-9]+)} $line match count
|
/external/ltrace/testsuite/ltrace.minor/ |
trace-clone.exp | 19 if [regexp {ELF from incompatible architecture} $exec_output] { 22 } elseif [ regexp {Operation not permitted} $exec_output ] { 25 } elseif [ regexp {killed by SIGKILL} $exec_output ] {
|
time-record-T.exp | 21 if [regexp {ELF from incompatible architecture} $exec_output] { 24 } elseif [ regexp {Couldn't get .hash data} $exec_output ] { 32 if [ regexp {define NANOSLEEP_COUNT ([0-9]+)} $line match nanosleep_usec] then { 44 if [ regexp {sleep\(([0-9]+).*<([0-9]+\.[0-9]+)>} $line match sleep_sec sec ] then { 67 if [ regexp {nanosleep.*<([0-9]+\.[0-9]+)>} $line match usec] then {
|
/external/ltrace/testsuite/ltrace.torture/ |
signals.exp | 22 if [regexp {ELF from incompatible architecture} $exec_output] { 25 } elseif [ regexp {Couldn't get .hash data} $exec_output ] { 33 regexp {define LOOP.*([0-9]+)} $line match count
|
/external/regex-re2/re2/ |
parse.cc | 9 // of the ParseState class. The Regexp::Parse function is 17 // See regexp.h for rationale. 20 #include "re2/regexp.h" 29 // Regexp pointers called the stack. Left parenthesis and vertical 40 // form LeftParen regexp VerticalBar regexp VerticalBar ... regexp VerticalBar. 44 class Regexp::ParseState { 60 bool PushRegexp(Regexp* re); 65 // Pushes a regexp with the given op (and no args) onto the stack [all...] |
tostring.cc | 9 #include "re2/regexp.h" 31 class ToStringWalker : public Regexp::Walker<int> { 35 virtual int PreVisit(Regexp* re, int parent_arg, bool* stop); 36 virtual int PostVisit(Regexp* re, int parent_arg, int pre_arg, 38 virtual int ShortVisit(Regexp* re, int parent_arg) { 48 string Regexp::ToString() { 61 int ToStringWalker::PreVisit(Regexp* re, int parent_arg, bool* stop) { 139 int ToStringWalker::PostVisit(Regexp* re, int parent_arg, int pre_arg, 157 AppendLiteral(t_, re->rune(), re->parse_flags() & Regexp::FoldCase); 162 AppendLiteral(t_, re->runes()[i], re->parse_flags() & Regexp::FoldCase) [all...] |
/prebuilts/go/darwin-x86/pkg/darwin_amd64/cmd/pprof/internal/ |
driver.a | 20 import regexp "regexp" 42 import syntax "regexp/syntax" // indirect 43 type @"regexp/syntax".InstOp uint8 44 func (@"regexp/syntax".i·2 @"regexp/syntax".InstOp) String () (? string) { if uint(@"regexp/syntax".i·2) >= uint(len(@"regexp/syntax".instOpNames)) { return "" }; return @"regexp/syntax".instOpNames[@"regexp/syntax".i·2] [all...] |
profile.a | 15 import regexp "regexp" 39 import syntax "regexp/syntax" // indirect 40 type @"regexp/syntax".InstOp uint8 41 func (@"regexp/syntax".i·2 @"regexp/syntax".InstOp) String () (? string) { if uint(@"regexp/syntax".i·2) >= uint(len(@"regexp/syntax".instOpNames)) { return "" }; return @"regexp/syntax".instOpNames[@"regexp/syntax".i·2] [all...] |
report.a | 18 import regexp "regexp" 39 import syntax "regexp/syntax" // indirect 40 type @"regexp/syntax".InstOp uint8 41 func (@"regexp/syntax".i·2 @"regexp/syntax".InstOp) String () (? string) { if uint(@"regexp/syntax".i·2) >= uint(len(@"regexp/syntax".instOpNames)) { return "" }; return @"regexp/syntax".instOpNames[@"regexp/syntax".i·2] [all...] |
/prebuilts/go/linux-x86/pkg/linux_amd64/cmd/pprof/internal/ |
driver.a | 20 import regexp "regexp" 42 import syntax "regexp/syntax" // indirect 43 type @"regexp/syntax".InstOp uint8 44 func (@"regexp/syntax".i·2 @"regexp/syntax".InstOp) String () (? string) { if uint(@"regexp/syntax".i·2) >= uint(len(@"regexp/syntax".instOpNames)) { return "" }; return @"regexp/syntax".instOpNames[@"regexp/syntax".i·2] [all...] |
profile.a | 15 import regexp "regexp" 39 import syntax "regexp/syntax" // indirect 40 type @"regexp/syntax".InstOp uint8 41 func (@"regexp/syntax".i·2 @"regexp/syntax".InstOp) String () (? string) { if uint(@"regexp/syntax".i·2) >= uint(len(@"regexp/syntax".instOpNames)) { return "" }; return @"regexp/syntax".instOpNames[@"regexp/syntax".i·2] [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
uregex.h | 205 * @param regexp The regular expression to be closed. 209 uregex_close(URegularExpression *regexp); 243 * @param regexp The compiled regular expression to be cloned. 249 uregex_clone(const URegularExpression *regexp, UErrorCode *status); 255 * @param regexp The compiled regular expression. 269 uregex_pattern(const URegularExpression *regexp, 277 * @param regexp The compiled regular expression. 285 uregex_patternUText(const URegularExpression *regexp, 291 * @param regexp The compiled regular expression. 297 uregex_flags(const URegularExpression *regexp, [all...] |
/external/v8/src/js/ |
harmony-regexp.js | 14 var GlobalRegExp = global.RegExp; 30 kRegExpNonObject, "RegExp.prototype.flags", TO_STRING(this)); 44 // Compat fix: RegExp.prototype.sticky == undefined; UseCounter tracks it 50 throw MakeTypeError(kRegExpNonRegExp, "RegExp.prototype.sticky"); 54 %FunctionSetName(RegExpGetSticky, "RegExp.prototype.sticky");
|
/external/v8/test/mjsunit/ |
cyrillic.js | 60 return new RegExp("[" + from + "-" + to + "]", flags); 143 assertFalse(new RegExp(regex).test(sigma), 31 + name); 144 assertFalse(new RegExp(regex).test(alternative_sigma), 32 + name); 145 assertTrue(new RegExp(regex).test(SIGMA), 33 + name); 147 assertTrue(new RegExp(regex, "i").test(sigma), 34 + name); 149 assertTrue(new RegExp(regex, "i").test(alternative_sigma), 35 + name); 150 assertTrue(new RegExp(regex, "i").test(SIGMA), 36 + name); 154 assertTrue(new RegExp(regex).test(sigma), 41 + name); 155 assertFalse(new RegExp(regex).test(alternative_sigma), 42 + name); 156 assertFalse(new RegExp(regex).test(SIGMA), 43 + name) [all...] |
/external/regex-re2/re2/testing/ |
dump.cc | 5 // Dump the regexp into a string showing structure. 8 // This function traverses the regexp recursively, 9 // meaning that on inputs like Regexp::Simplify of 23 #include "re2/regexp.h" 55 // Create string representation of regexp with explicit structure. 57 static void DumpRegexpAppending(Regexp* re, string* s) { 68 if (re->parse_flags() & Regexp::NonGreedy) 73 if (re->op() == kRegexpLiteral && (re->parse_flags() & Regexp::FoldCase)) { 78 if (re->op() == kRegexpLiteralString && (re->parse_flags() & Regexp::FoldCase)) { 93 if (!(re->parse_flags() & Regexp::WasDollar)) [all...] |
exhaustive_tester.cc | 74 // Processes a single generated regexp. 75 // Compiles it using Regexp interface and PCRE, and then 79 string regexp = const_regexp; local 81 regexp = StringPrintf(topwrapper_.c_str(), regexp.c_str()); 84 printf("\r%s", regexp.c_str()); 90 // other implementations, such as Go's regexp package. 100 printf("%s\n", escape(regexp)); 102 RE2 re(regexp); 105 RE2 relongest(regexp, longest) [all...] |
/prebuilts/go/darwin-x86/test/ |
errchk | 12 # be a comment of the form // ERROR "regexp". If the compiler generates 16 # <regexp>. The <regexp> syntax is Perl but its best to stick to egrep. 84 my $regexp; 93 print STDERR "$file:$line: malformed regexp\n"; 103 foreach my $regexp ($all =~ /"([^"]*)"/g) { 105 if($regexp =~ /LINE(([+-])([0-9]+))?/) { 114 $regexp = "$`$file:$n$'"; 117 @match = grep { /$regexp/ } @errmsg; 120 print STDERR "errchk: $file:$line: error messages do not match '$regexp'\n" [all...] |
/prebuilts/go/linux-x86/test/ |
errchk | 12 # be a comment of the form // ERROR "regexp". If the compiler generates 16 # <regexp>. The <regexp> syntax is Perl but its best to stick to egrep. 84 my $regexp; 93 print STDERR "$file:$line: malformed regexp\n"; 103 foreach my $regexp ($all =~ /"([^"]*)"/g) { 105 if($regexp =~ /LINE(([+-])([0-9]+))?/) { 114 $regexp = "$`$file:$n$'"; 117 @match = grep { /$regexp/ } @errmsg; 120 print STDERR "errchk: $file:$line: error messages do not match '$regexp'\n" [all...] |
/prebuilts/go/darwin-x86/pkg/darwin_amd64/cmd/internal/ |
objfile.a | 16 import regexp "regexp" 71 import syntax "regexp/syntax" // indirect 72 type @"regexp/syntax".InstOp uint8 73 func (@"regexp/syntax".i·2 @"regexp/syntax".InstOp) String () (? string) { if uint(@"regexp/syntax".i·2) >= uint(len(@"regexp/syntax".instOpNames)) { return "" }; return @"regexp/syntax".instOpNames[@"regexp/syntax".i·2] [all...] |
/prebuilts/go/linux-x86/pkg/linux_amd64/cmd/internal/ |
objfile.a | 16 import regexp "regexp" 71 import syntax "regexp/syntax" // indirect 72 type @"regexp/syntax".InstOp uint8 73 func (@"regexp/syntax".i·2 @"regexp/syntax".InstOp) String () (? string) { if uint(@"regexp/syntax".i·2) >= uint(len(@"regexp/syntax".instOpNames)) { return "" }; return @"regexp/syntax".instOpNames[@"regexp/syntax".i·2] [all...] |