/external/oprofile/libregex/ |
op_regex.cpp | 26 string op_regerror(int err, regex_t const & regexp) 28 size_t needed_size = regerror(err, ®exp, 0, 0); 30 regerror(err, ®exp, buffer, needed_size); 36 void op_regcomp(regex_t & regexp, string const & pattern) 38 int err = regcomp(®exp, pattern.c_str(), REG_EXTENDED); 40 throw bad_regex("regcomp error: " + op_regerror(err, regexp) 53 void op_regfree(regex_t & regexp) 55 regfree(®exp); 92 op_regfree(regex_replace[i].regexp); 108 regex_t regexp; local [all...] |
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/chromium_org/third_party/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/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/chromium_org/third_party/libxml/src/ |
testAutomata.c | 38 xmlRegexpPtr regexp = NULL; local 171 regexp = xmlAutomataCompile(am); 174 if (regexp == NULL) { 180 if (regexp == NULL) { 184 exec = xmlRegNewExecCtxt(regexp, NULL, NULL); 198 } else if (regexp != NULL) { 200 exec = xmlRegNewExecCtxt(regexp, NULL, NULL); 209 if (regexp != NULL) 210 xmlRegFreeRegexp(regexp); 225 xmlRegexpPtr regexp; local [all...] |
/external/strace/linux/ |
ioctlent.sh | 49 regexp='^[[:space:]]*#[[:space:]]*define[[:space:]]\+[A-Z][A-Z0-9_]*[[:space:]]\+0x'"$type"'..\>' 50 (cd "$dir" && for f; do grep "$regexp" "$f" "uapi/$f" 2>/dev/null; done) | 90 regexp='^[[:space:]]*#[[:space:]]*define[[:space:]]\+[A-Z][A-Z0-9_]*[[:space:]]\+_S\?\(IO\|IOW\|IOR\|IOWR\)\>' 91 (cd $dir && grep $regexp $files 2>/dev/null) | \ 115 regexp="^[[:space:]]*#[[:space:]]*define[[:space:]]\+$base" 116 line=$( (cd $dir && grep -h $regexp 2>/dev/null $files) | grep -v '\<_IO')
|
/prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.8/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/mips/mipsel-linux-android-4.8/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/mips/mips64el-linux-android-4.8/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/mips/mipsel-linux-android-4.8/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/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
regexp_adapter_re2.cc | 62 const RE2& regexp, 67 return regex_function(input, regexp, out1, out2, out3); 70 return regex_function(input, regexp, out1, out2); 73 return regex_function(input, regexp, out1); 75 return regex_function(input, regexp); 95 // Implementation of RegExp abstract class. 96 class RE2RegExp : public RegExp { 156 RegExp* RE2RegExpFactory::CreateRegExp(const string& utf8_regexp) const {
|
/external/chromium_org/v8/test/webkit/ |
regexp-many-brackets.js | 30 var regexp = ""; variable 32 regexp += "("; 33 regexp += "hello"; 35 regexp += ")"; 41 var manyBracketsRegExp = new RegExp(regexp);
|
/external/chromium_org/build/config/linux/ |
pkg-config.py | 18 # You can filter out matches using "-v <regexp>" where all results from 86 for regexp in list_of_regexps: 87 if regexp.search(flag) != None: 112 for regexp in options.strip_out: 113 strip_out.append(re.compile(regexp))
|
/external/chromium_org/third_party/re2/re2/ |
make_perl_groups.pl | 38 my $regexp = "[$class]"; 42 if ($i <= 128 && chr($i) =~ $regexp) {
|
/external/chromium_org/tools/grit/grit/gather/ |
regexp.py | 45 def _RegExpParse(self, regexp, text_to_parse): 56 regexp: re.compile('...', re.MULTILINE) 60 for match in regexp.finditer(text_to_parse):
|
/external/chromium_org/tools/security/ |
check_message_owners.py | 32 regexp = re.compile('^per-file.*_messages[^=]*=\s*(.*)@([^#]*)') 35 match = regexp.match(line)
|
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/tools/ |
list_ports.py | 36 def grep(regexp): 42 r = re.compile(regexp, re.I) 53 usage = "%prog [options] [<regexp>]", 82 parser.error('more than one regexp not supported') 83 print "Filtered list with regexp: %r" % (args[0],)
|
/external/llvm/utils/ |
DSAextract.py | 64 for regexp in regexp_list: 67 if regexp.search(buffer):
|