/external/regex-re2/re2/testing/ |
compile_test.cc | 10 #include "re2/regexp.h" 18 // the regexp compiles to the expected code. 24 const char* regexp; member in struct:re2::Test 108 Regexp* re = Regexp::Parse(t.regexp, Regexp::PerlX|Regexp::Latin1, NULL); 110 LOG(ERROR) << "Cannot parse: " << t.regexp; 116 LOG(ERROR) << "Cannot compile: " << t.regexp; [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...] |
tester.h | 13 #include "re2/regexp.h" 19 class Regexp; 21 // All the supported regexp engines. 47 // A TestInstance caches per-regexp state for a given 54 TestInstance(const StringPiece& regexp, Prog::MatchKind kind, 55 Regexp::ParseFlags flags); 57 Regexp::ParseFlags flags() { return flags_; } 75 const StringPiece& regexp_str_; // regexp being tested 77 Regexp::ParseFlags flags_; // flags for parsing regexp_str_ 80 Regexp* regexp_; // parsed regex [all...] |
parse_test.cc | 10 #include "re2/regexp.h" 14 static const Regexp::ParseFlags TestZeroFlags = Regexp::ParseFlags(1<<30); 17 const char* regexp; member in struct:re2::Test 19 Regexp::ParseFlags flags; 22 static Regexp::ParseFlags kTestFlags = Regexp::MatchNL | 23 Regexp::PerlX | 24 Regexp::PerlClasses | 25 Regexp::UnicodeGroups [all...] |
/external/strace/linux/ |
ioctlent.sh | 53 regexp='^[[:space:]]*#[[:space:]]*define[[:space:]]\+[A-Z][A-Z0-9_]*[[:space:]]\+0x'"$type"'..\>' 54 (cd "$dir" && grep "$regexp" "$@" /dev/null 2>/dev/null) | 95 regexp='^[[:space:]]*#[[:space:]]*define[[:space:]]\+[A-Z][A-Z0-9_]*[[:space:]]\+_S\?\(IO\|IOW\|IOR\|IOWR\)\>' 96 (cd $dir && grep $regexp $files 2>/dev/null) | \ 118 regexp="^[[:space:]]*#[[:space:]]*define[[:space:]]\+$base" 119 line=$( (cd $dir && grep -h $regexp 2>/dev/null $files) | grep -v '\<_IO')
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/share/gdb/python/gdb/ |
printing.py | 160 def __init__(self, name, regexp, gen_printer): 162 self.regexp = regexp 164 self.compiled_re = re.compile(regexp) 169 def add_printer(self, name, regexp, gen_printer): 176 regexp: The regular expression, as a string. 184 # NOTE: A previous version made the name of each printer the regexp. 186 # cumbersome to make a regexp of a regexp). So now the name is a 189 self.subprinters.append(self.RegexpSubprinter(name, regexp, [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/share/gdb/python/gdb/ |
printing.py | 160 def __init__(self, name, regexp, gen_printer): 162 self.regexp = regexp 164 self.compiled_re = re.compile(regexp) 169 def add_printer(self, name, regexp, gen_printer): 176 regexp: The regular expression, as a string. 184 # NOTE: A previous version made the name of each printer the regexp. 186 # cumbersome to make a regexp of a regexp). So now the name is a 189 self.subprinters.append(self.RegexpSubprinter(name, regexp, [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/share/gdb/python/gdb/ |
printing.py | 160 def __init__(self, name, regexp, gen_printer): 162 self.regexp = regexp 164 self.compiled_re = re.compile(regexp) 169 def add_printer(self, name, regexp, gen_printer): 176 regexp: The regular expression, as a string. 184 # NOTE: A previous version made the name of each printer the regexp. 186 # cumbersome to make a regexp of a regexp). So now the name is a 189 self.subprinters.append(self.RegexpSubprinter(name, regexp, [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/share/gdb/python/gdb/ |
printing.py | 160 def __init__(self, name, regexp, gen_printer): 162 self.regexp = regexp 164 self.compiled_re = re.compile(regexp) 169 def add_printer(self, name, regexp, gen_printer): 176 regexp: The regular expression, as a string. 184 # NOTE: A previous version made the name of each printer the regexp. 186 # cumbersome to make a regexp of a regexp). So now the name is a 189 self.subprinters.append(self.RegexpSubprinter(name, regexp, [all...] |
/ndk/sources/host-tools/sed-4.2.1/sed/ |
Makefile.am | 6 sed_SOURCES = sed.c compile.c execute.c regexp.c fmt.c mbcs.c utils.c
|
/external/skia/gm/tests/ |
run.sh | 72 grep --regexp=^reading --regexp=^writing --regexp=^drawing \ 73 --regexp=^FAILED --regexp=^Ran $ACTUAL_OUTPUT_DIR/stdout \
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/ |
15.9.5.7.js | 53 var regexp = ''; variable 57 var cnERR ='OOPS! FATAL ERROR: no regexp match in extractLocaleTimeString()'; 147 * So first, use a regexp of the form /date.toDateString()(.*)$/ 154 regexp = new RegExp(date.toDateString() + '(.*)' + '$'); 157 TimeString = date.toString().match(regexp)[1]; 169 regexp= /([^G]*)GMT.*/; 172 hopeThisIsLocaleTimeString = TimeString.match(regexp)[1];
|
/external/v8/src/ |
regexp.js | 31 var $RegExp = global.RegExp; 36 // RegExp : Called as constructor; see ECMA-262, section 15.10.4. 90 // RegExp : Called as function; see ECMA-262, section 15.10.3.1. 94 return new $RegExp(pattern, flags); 98 // Deprecated RegExp.prototype.compile method. We behave like the constructor 99 // were called again. In SpiderMonkey, this method returns the regexp object. 107 // RegExp.prototype.compile and in the constructor, where they are 110 if (this == $RegExp.prototype) { 111 // We don't allow recompiling RegExp.prototype [all...] |
/external/llvm/utils/ |
DSAextract.py | 64 for regexp in regexp_list: 67 if regexp.search(buffer):
|
/external/oprofile/libregex/ |
op_regex.h | 86 // when this regexp is matched 87 regex_t regexp; member in struct:regular_expression_replace::replace_t 93 bool do_execute(std::string & str, replace_t const & regexp) const;
|
/external/regex-re2/re2/ |
make_perl_groups.pl | 38 my $regexp = "[$class]"; 42 if ($i <= 128 && chr($i) =~ $regexp) {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
15.10.3.1-1.js | 23 * SUMMARY: Passing (RegExp object, flag) to RegExp() function. 26 * 15.10.3 The RegExp Constructor Called as a Function 28 * 15.10.3.1 RegExp(pattern, flags) 30 * If pattern is an object R whose [[Class]] property is "RegExp" 32 * call the RegExp constructor (section 15.10.4.1), passing it the 39 * "pattern" is itself a RegExp object R 43 * provided. We check that RegExp(R) returns R - 47 var summary = 'Passing (RegExp object,flag) to RegExp() function' [all...] |
15.10.3.1-2.js | 23 * SUMMARY: Passing (RegExp object, flag) to RegExp() function. 26 * 15.10.3 The RegExp Constructor Called as a Function 28 * 15.10.3.1 RegExp(pattern, flags) 30 * If pattern is an object R whose [[Class]] property is "RegExp" 32 * call the RegExp constructor (section 15.10.4.1), passing it the 39 * "pattern" is itself a RegExp object R 44 * RegExp(R, undefined); 48 * RegExp(R); 51 * We check that RegExp(R, undefined) returns R [all...] |
15.10.4.1-1.js | 23 *SUMMARY: Passing a RegExp object to a RegExp() constructor. 26 * 15.10.4.1 new RegExp(pattern, flags) 28 * If pattern is an object R whose [[Class]] property is "RegExp" and 31 * whose [[Class]] property is "RegExp" and flags is not undefined, 39 * "pattern" is itself a RegExp object R 42 * We check that a new RegExp object obj2 defined from these parameters 43 * is morally the same as the original RegExp object obj1. Of course, they 46 * In this test, the initial RegExp object obj1 will not include a flag. The flags 51 var summary = 'Passing a RegExp object to a RegExp() constructor' [all...] |
15.10.4.1-2.js | 23 *SUMMARY: Passing a RegExp object to a RegExp() constructor. 26 * 15.10.4.1 new RegExp(pattern, flags) 28 * If pattern is an object R whose [[Class]] property is "RegExp" and 31 * whose [[Class]] property is "RegExp" and flags is not undefined, 39 * "pattern" is itself a RegExp object R 42 * We check that a new RegExp object obj2 defined from these parameters 43 * is morally the same as the original RegExp object obj1. Of course, they 46 * In this test, the initial RegExp object obj1 will not include a flag. This test is 49 * obj2 = new RegExp(obj1, undefined) [all...] |
15.10.4.1-3.js | 23 *SUMMARY: Passing a RegExp object to a RegExp() constructor. 26 * 15.10.4.1 new RegExp(pattern, flags) 28 * If pattern is an object R whose [[Class]] property is "RegExp" and 31 * whose [[Class]] property is "RegExp" and flags is not undefined, 39 * "pattern" is itself a RegExp object R 42 * We check that a new RegExp object obj2 defined from these parameters 43 * is morally the same as the original RegExp object obj1. Of course, they 46 * In this test, the initial RegExp obj1 will include a flag. The flags 51 var summary = 'Passing a RegExp object to a RegExp() constructor' [all...] |
15.10.4.1-4.js | 23 *SUMMARY: Passing a RegExp object to a RegExp() constructor. 26 * 15.10.4.1 new RegExp(pattern, flags) 28 * If pattern is an object R whose [[Class]] property is "RegExp" and 31 * whose [[Class]] property is "RegExp" and flags is not undefined, 39 * "pattern" is itself a RegExp object R 42 * We check that a new RegExp object obj2 defined from these parameters 43 * is morally the same as the original RegExp object obj1. Of course, they 46 * In this test, the initial RegExp object obj1 will include a flag. This test is 49 * obj2 = new RegExp(obj1, undefined) [all...] |
15.10.4.1-5-n.js | 23 *SUMMARY: Passing a RegExp object to a RegExp() constructor. 26 * 15.10.4.1 new RegExp(pattern, flags) 28 * If pattern is an object R whose [[Class]] property is "RegExp" and 31 * whose [[Class]] property is "RegExp" and flags is not undefined, 39 * "pattern" is itself a RegExp object R 47 var summary = 'Negative test: Passing (RegExp object, flag) to RegExp() constructor'; 48 var statprefix = 'Passing RegExp object on pattern '; 92 obj1 = new RegExp(s, f); [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
ScriptFormatterWorker.js | 54 var regexp = /(^|[^\\])\b((?=\D)[\$\.\w]+)\b/g; 56 var match = regexp.exec(formattedSource);
|
/ndk/sources/host-tools/sed-4.2.1/doc/ |
sed.x | 7 [-r] [--regexp-extended] 164 .RI s/ regexp / replacement / 166 .I regexp 178 .IR regexp . 217 .IR regexp , 253 .RI / regexp / 255 .IR regexp . 257 .BI \fR\e\fPc regexp c 259 .IR regexp .
|