/external/selinux/policycoreutils/sepolicy/sepolicy/ |
__init__.py | 165 import os, re, sys namespace 170 pat = re.compile(r"%s$" % reg) 188 pat = re.compile(r"%s$" % reg) 456 import re namespace 461 m = re.findall("(.*)%s" % "_exec_t$", i) 463 if len(re.findall("(.*)%s" % "_initrc$", m[0])) == 0 and m[0] not in all_domains: 802 import re namespace 810 desc = re.sub("\n", " ", desc) 814 desc = re.sub("\n", " ", desc) 818 desc = re.sub("\n", " ", desc [all...] |
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/ |
exc.py | 168 import re namespace 184 tag_re = re.compile(r'<.*?>', re.S) 185 br_re = re.compile(r'<br.*?>', re.I|re.S) 186 comment_re = re.compile(r'<!--|-->') [all...] |
/external/compiler-rt/lib/asan/scripts/ |
asan_symbolize.py | 14 import re namespace 32 file_name = re.sub('.*' + path_to_cut, '', file_name) 33 file_name = re.sub('.*asan_[a-z_]*.cc:[0-9]*', '_asan_rtl_', file_name) 34 file_name = re.sub('.*crtstuff.c:0', '???:0', file_name) 41 # Guess which arch we're running. 10 = len('0x') + 8 hex digits. 178 # We're the child. Transfer control to command. 222 match = re.match('^(.*) \(in (.*)\) \((.*:\d*)\)$', atos_line) 227 function_name = re.sub('\(.*?\)', '', function_name) 430 match = re.match(stack_trace_line_format, line)
|
/external/libedit/src/ |
search.c | 117 regex_t re; local 131 if (regcomp(&re, ct_encode_string(pat, &conv), 0) == 0) { 132 rv = regexec(&re, ct_encode_string(str, &conv), (size_t)0, NULL, 134 regfree(&re); 140 if ((re = regcomp(ct_encode_string(pat, &conv))) != NULL) { 141 rv = regexec(re, ct_encode_string(str, &conv)); 142 el_free(re);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
cookielib.py | 32 import re, urlparse, copy, time, urllib namespace 122 TIMEZONE_RE = re.compile(r"^([-+])?(\d\d?):?(\d\d)?$") 190 STRICT_DATE_RE = re.compile( 193 WEEKDAY_RE = re.compile( 194 r"^(?:Sun|Mon|Tue|Wed|Thu|Fri|Sat)[a-z]*,?\s*", re.I) 195 LOOSE_HTTP_DATE_RE = re.compile( 211 \s*$""", re.X) 268 ISO_DATE_RE = re.compile( 283 \s*$""", re.X) 318 """Return unmatched part of re.Match object."" [all...] |
platform.py | 68 # detection RE 78 # 0.3.1 - fixed syscmd_ver() RE to support Windows NT 116 import sys,string,os,re namespace 135 _libc_search = re.compile(r'(__libc_init)' 244 _release_filename = re.compile(r'(\w+)[-_](release|version)') 245 _lsb_release_version = re.compile(r'(.+)' 249 _release_version = re.compile(r'([^0-9]+)' 469 _ver_output = re.compile(r'(?:([\w ]+) ([\w.]+) ' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
cookielib.py | 32 import re, urlparse, copy, time, urllib namespace 122 TIMEZONE_RE = re.compile(r"^([-+])?(\d\d?):?(\d\d)?$") 190 STRICT_DATE_RE = re.compile( 193 WEEKDAY_RE = re.compile( 194 r"^(?:Sun|Mon|Tue|Wed|Thu|Fri|Sat)[a-z]*,?\s*", re.I) 195 LOOSE_HTTP_DATE_RE = re.compile( 211 \s*$""", re.X) 268 ISO_DATE_RE = re.compile( 283 \s*$""", re.X) 318 """Return unmatched part of re.Match object."" [all...] |
platform.py | 68 # detection RE 78 # 0.3.1 - fixed syscmd_ver() RE to support Windows NT 116 import sys,string,os,re namespace 135 _libc_search = re.compile(r'(__libc_init)' 244 _release_filename = re.compile(r'(\w+)[-_](release|version)') 245 _lsb_release_version = re.compile(r'(.+)' 249 _release_version = re.compile(r'([^0-9]+)' 469 _ver_output = re.compile(r'(?:([\w ]+) ([\w.]+) ' [all...] |
/external/pcre/dist/ |
pcre_exec.c | 323 #define RMATCH(ra,rb,rc,rd,re,rw) \ 326 rrc = match(ra,rb,mstart,rc,rd,re,rdepth+1); \ 335 #define RMATCH(ra,rb,rc,rd,re,rw) \ 336 rrc = match(ra,rb,mstart,rc,rd,re,rdepth+1) 349 #define RMATCH(ra,rb,rc,rd,re,rw)\ 364 newframe->Xeptrb = re;\ 813 not a matching mark, we have to re-run the match, ignoring the SKIP_ARG 816 SKIP_ARG gets to top level, the match is re-run with md->ignore_skip_arg 6374 const REAL_PCRE *re = (const REAL_PCRE *)argument_re; local [all...] |
pcre_dfa_exec.c | 3191 REAL_PCRE *re = (REAL_PCRE *)argument_re; local [all...] |
/art/tools/ |
checker.py | 77 import re namespace 195 return CheckElement(CheckElement.Variant.Text, None, re.escape(text)) 261 matchWhitespace = re.search(r"\s+", line) 262 matchPattern = re.search(CheckElement.regexPattern, line) 263 matchVariable = re.search(CheckElement.regexVariable, line) 281 # If we're not currently looking at a special marker, this is a plain 297 return re.escape(varState[linePart.name]) 329 match = re.search(pattern, outputLine[matchStart:]) 560 match = re.match(regexPrefix, line) 648 if re.match("name\s+\"[^\"]+\"", line) [all...] |
/external/clang/tools/scan-view/ |
ScanView.py | 8 import re namespace 21 kReportFileRE = re.compile('(.*/)?report-(.*)\\.html') 23 kBugKeyValueRE = re.compile('<!-- BUG([^ ]*) (.*) -->') 27 kReportCrashEntryRE = re.compile('<!-- REPORTPROBLEM (.*?)-->') 28 kReportCrashEntryKeyValueRE = re.compile(' ?([^=]+)="(.*?)"') 33 kReportReplacements.append((re.compile('<!-- SUMMARYENDHEAD -->'), """\ 49 kReportReplacements.append((re.compile('<!-- REPORTBUGCOL -->'), 53 kReportReplacements.append((re.compile('<!-- REPORTBUG id="report-(.*)\\.html" -->'), 57 kReportReplacements.append((re.compile('<!-- REPORTHEADER -->'), 60 kReportReplacements.append((re.compile('<!-- REPORTSUMMARYEXTRA -->') [all...] |
/external/google-breakpad/src/testing/gtest/include/gtest/internal/ |
gtest-port.h | 152 // RE - a simple regular expression class using the POSIX 829 // Defines RE. 833 class GTEST_API_ RE { 837 RE(const RE& other) { Init(other.pattern()); } 839 // Constructs an RE from a string. 840 RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT 844 RE(const ::string& regex) { Init(regex.c_str()); } // NOLINT 848 RE(const char* regex) { Init(regex); } // NOLINT 849 ~RE(); [all...] |
/external/gtest/include/gtest/internal/ |
gtest-port.h | 160 // RE - a simple regular expression class using the POSIX [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-port.h | 152 // RE - a simple regular expression class using the POSIX 815 // Defines RE. 819 class GTEST_API_ RE { 823 RE(const RE& other) { Init(other.pattern()); } 825 // Constructs an RE from a string. 826 RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT 830 RE(const ::string& regex) { Init(regex.c_str()); } // NOLINT 834 RE(const char* regex) { Init(regex); } // NOLINT 835 ~RE(); [all...] |
/external/mesa3d/src/gtest/include/gtest/internal/ |
gtest-port.h | 150 // RE - a simple regular expression class using the POSIX 805 // Defines RE. 809 class GTEST_API_ RE { 813 RE(const RE& other) { Init(other.pattern()); } 815 // Constructs an RE from a string. 816 RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT 820 RE(const ::string& regex) { Init(regex.c_str()); } // NOLINT 824 RE(const char* regex) { Init(regex); } // NOLINT 825 ~RE(); [all...] |
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/ |
gtest-port.h | 160 // RE - a simple regular expression class using the POSIX [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarEventModel.java | 151 ReminderEntry re = (ReminderEntry) obj; local 153 if (re.mMinutes != mMinutes) { 160 return re.mMethod == mMethod || 161 (re.mMethod == Reminders.METHOD_DEFAULT && mMethod == Reminders.METHOD_ALERT) || 162 (re.mMethod == Reminders.METHOD_ALERT && mMethod == Reminders.METHOD_DEFAULT); 175 public int compareTo(ReminderEntry re) { 176 if (re.mMinutes != mMinutes) { 177 return re.mMinutes - mMinutes; 179 if (re.mMethod != mMethod) { 180 return mMethod - re.mMethod [all...] |
/prebuilts/misc/darwin-x86/analyzer/tools/scan-view/ |
ScanView.py | 8 import re namespace 21 kReportFileRE = re.compile('(.*/)?report-(.*)\\.html') 23 kBugKeyValueRE = re.compile('<!-- BUG([^ ]*) (.*) -->') 27 kReportCrashEntryRE = re.compile('<!-- REPORTPROBLEM (.*?)-->') 28 kReportCrashEntryKeyValueRE = re.compile(' ?([^=]+)="(.*?)"') 33 kReportReplacements.append((re.compile('<!-- SUMMARYENDHEAD -->'), """\ 49 kReportReplacements.append((re.compile('<!-- REPORTBUGCOL -->'), 53 kReportReplacements.append((re.compile('<!-- REPORTBUG id="report-(.*)\\.html" -->'), 57 kReportReplacements.append((re.compile('<!-- REPORTHEADER -->'), 60 kReportReplacements.append((re.compile('<!-- REPORTSUMMARYEXTRA -->') [all...] |
/prebuilts/misc/linux-x86/analyzer/tools/scan-view/ |
ScanView.py | 8 import re namespace 21 kReportFileRE = re.compile('(.*/)?report-(.*)\\.html') 23 kBugKeyValueRE = re.compile('<!-- BUG([^ ]*) (.*) -->') 27 kReportCrashEntryRE = re.compile('<!-- REPORTPROBLEM (.*?)-->') 28 kReportCrashEntryKeyValueRE = re.compile(' ?([^=]+)="(.*?)"') 33 kReportReplacements.append((re.compile('<!-- SUMMARYENDHEAD -->'), """\ 49 kReportReplacements.append((re.compile('<!-- REPORTBUGCOL -->'), 53 kReportReplacements.append((re.compile('<!-- REPORTBUG id="report-(.*)\\.html" -->'), 57 kReportReplacements.append((re.compile('<!-- REPORTHEADER -->'), 60 kReportReplacements.append((re.compile('<!-- REPORTSUMMARYEXTRA -->') [all...] |
/external/v8/src/ |
jsregexp.cc | 84 Handle<JSRegExp> re, 88 Isolate* isolate = re->GetIsolate(); 156 MaybeHandle<Object> RegExpImpl::Compile(Handle<JSRegExp> re, 159 Isolate* isolate = re->GetIsolate(); 167 LOG(isolate, RegExpCompileEvent(re, in_cache)); 171 re->set_data(*cached); 172 return re; 181 return ThrowRegExpException(re, 194 AtomCompile(re, pattern, flags, pattern); 208 AtomCompile(re, pattern, flags, atom_string) [all...] |
/external/chromium-trace/trace-viewer/third_party/Paste/paste/exceptions/ |
formatter.py | 12 import re namespace 471 whitespace_re = re.compile(r' +') 472 pre_re = re.compile(r'</?pre.*?>') 473 error_re = re.compile(r'<h3>ERROR: .*?</h3>') 497 src = re.sub(r'^[\n\r]{0,1}', '', src) 498 src = re.sub(r'[\n\r]{0,1}$', '', src)
|
/external/clang/test/SemaCXX/ |
constant-expression-cxx11.cpp | 173 // cast functions cannot be called, even if they're constexpr. 835 // expected-note-re@-1 {{{{^}}use of 'this' pointer}} [all...] |
/external/deqp/scripts/opengl/ |
gen_call_log_wrapper.py | 24 import re namespace 355 return re.sub(r'\bGL', 'glw::GL', string) 367 if re.match(r'^const +GLchar *\*$', type): 369 elif re.match(r'(GLubyte|GLbyte|GLenum|GLushort|GLbitfield|\*)$', type): 373 elif re.match(r'^(const +)?.+ *\*$', type) and not re.match(r'^(const +)?void *\*$', type):
|
/external/v8/test/mjsunit/harmony/ |
regexp-sticky.js | 30 var re = /foo.bar/; variable 32 assertTrue(!!"foo*bar".match(re)); 33 assertTrue(!!"..foo*bar".match(re));
|