/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
Lexer.cs | 135 } catch (RecognitionException re) { 136 ReportError(re); 337 public virtual void Recover(RecognitionException re) { 339 //re.printStackTrace();
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/ |
SlimLexer.cs | 167 catch ( RecognitionException re ) 169 ReportError( re ); 426 public virtual void Recover( RecognitionException re ) 429 //re.printStackTrace();
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-port.cc | 50 // Implements RE. Currently only needed for death tests. 52 RE::~RE() { 57 // Returns true iff str contains regular expression re. 58 bool RE::PartialMatch(const char* str, const RE& re) { 59 if (!re.is_valid_) return false; 62 return regexec(&re.regex_, str, 1, &match, 0) == 0; 65 // Initializes an RE from its string representation [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/ |
hybi00.py | 47 import re namespace 177 key_number = int(re.sub("\\D", "", key_value)) 182 spaces = re.subn(" ", "", key_value)[1]
|
/external/icu4c/stubdata/ |
icu_dat_generator.py | 28 import re namespace 157 language = re.sub(r"(_.*)", "", locale) 244 icu_version = re.sub(r"([^0-9])", "", source_dat)
|
/external/libvpx/libvpx/tools/ |
intersect-diffs.py | 19 import re namespace 80 """Walk a file-like object, yielding DiffHunks as they're parsed.""" 82 file_regex = re.compile(r"(\+\+\+|---) (\S+)") 83 range_regex = re.compile(r"@@ -(\d+)(,(\d+))? \+(\d+)(,(\d+))?") 137 """Re-serialize a list of DiffHunks."""
|
/external/markdown/markdown/extensions/ |
footnotes.py | 26 import re, markdown namespace 31 DEF_RE = re.compile(r'(\ ?\ ?\ ?)\[\^([^\]]*)\]:\s*(.*)') 32 TABBED_RE = re.compile(r'((\t)|( ))(.*)')
|
/external/markdown/markdown/ |
preprocessors.py | 10 import re namespace 194 RE = re.compile(r'^(\ ?\ ?\ ?)\[([^\]]*)\]:\s*([^ ]*)(.*)$', re.DOTALL) 199 m = self.RE.match(line)
|
/external/v8/test/mjsunit/ |
cyrillic.js | 189 var re = new RegExp(mixed, flag); 192 assertEquals(expected, re.test("A" + suffix), 58 + flag + f); 193 assertTrue(re.test("a" + suffix), 59 + flag + f); 194 assertTrue(re.test("~" + suffix), 60 + flag + f); 195 assertTrue(re.test(cyrillic.MIDDLE), 61 + flag + f); 196 assertEquals(ignore_case || full, re.test(cyrillic.middle), 62 + flag + f);
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
apache_http_server.py | 39 import re namespace 145 drive_regexp = re.compile(r'([a-z]):[/\\]', re.IGNORECASE)
|
/external/webkit/Tools/wx/build/ |
build_utils.py | 30 import re namespace 161 match = re.search('^\* (.*)', branches, re.MULTILINE)
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleHeap.java | 50 * Register for the messages we're interested in. 173 } catch (RuntimeException re) { 202 } catch (RuntimeException re) { 203 failMsg = "Exception: " + re.getMessage();
|
/frameworks/base/services/java/com/android/server/ |
BluetoothManagerService.java | 462 } catch (RemoteException re) { 463 Log.e(TAG, "Unable to unregister BluetoothCallback",re); 692 } catch (RemoteException re) { 693 Log.e(TAG,"",re); [all...] |
/external/webkit/Tools/Scripts/webkitpy/common/checkout/ |
scm.py | 34 import re namespace 96 if re.match("^\s*$", line): 118 line = re.sub("^(\s*)<.+> ", "\1", line) 131 if re.search("resource out of date", error.output): 204 match = re.search(status_regexp, line) 213 match = re.match("^r(?P<svn_revision>\d+)", unicode(svn_revision)) 219 match = re.search(self.commit_success_regexp(), commit_text, re.MULTILINE) 364 match = re.search("^%s: (?P<value>.+)$" % field_name, info_output, re.MULTILINE [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
testbase.py | 7 import re namespace 200 m = re.match(r'\s*((lexer|parser|tree)\s+|)grammar\s+(\S+);', grammar, re.MULTILINE) 366 m = re.match(r'\s*((lexer|parser|tree)\s+|)grammar\s+(\S+);', grammar, re.MULTILINE)
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
Interpreter.java | 95 catch (RecognitionException re) { 97 reportScanError(re); 202 catch (RecognitionException re) { 440 public void reportScanError(RecognitionException re) { 446 cs.getLine()+":"+cs.getCharPositionInLine()+" "+re);
|
/external/iproute2/tc/ |
tc_util.c | 516 struct gnet_stats_rate_est re = {0}; local 517 memcpy(&re, RTA_DATA(tbs[TCA_STATS_RATE_EST]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_RATE_EST]), sizeof(re))); 519 prefix, sprint_rate(re.bps, b1), re.pps);
|
/external/stlport/src/ |
complex.cpp | 168 _Tp re = z._M_re; local 170 _Tp mag = ::hypot(re, im); 175 } else if (re > 0.f) { 176 result._M_re = ::sqrt(0.5f * (mag + re)); 179 result._M_im = ::sqrt(0.5f * (mag - re));
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
filesystem_mock.py | 31 import re namespace 164 return re.sub(re.escape(os.path.sep), self.sep, os.path.join(*comps)) 237 return re.sub(re.escape(os.path.sep), self.sep, os.path.normpath(path))
|
/ndk/sources/cxx-stl/stlport/src/ |
complex.cpp | 168 _Tp re = z._M_re; local 170 _Tp mag = ::hypot(re, im); 175 } else if (re > 0.f) { 176 result._M_re = ::sqrt(0.5f * (mag + re)); 179 result._M_im = ::sqrt(0.5f * (mag - re));
|
/frameworks/base/services/java/com/android/server/accessibility/ |
AccessibilityManagerService.java | 474 } catch (RemoteException re) { 476 + service.mService, re); 586 } catch (RemoteException re) { 588 + " UiTestAutomationService!", re); 637 } catch (RemoteException re) { [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/gtest/include/gtest/internal/ |
gtest-port.h | 150 // RE - a simple regular expression class using the POSIX 823 // Defines RE. 827 class GTEST_API_ RE { 831 RE(const RE& other) { Init(other.pattern()); } 833 // Constructs an RE from a string. 834 RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT 838 RE(const ::string& regex) { Init(regex.c_str()); } // NOLINT 842 RE(const char* regex) { Init(regex); } // NOLINT 843 ~RE(); [all...] |
/external/libvpx/libvpx/third_party/googletest/src/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...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-port.h | 151 // RE - a simple regular expression class using the POSIX 810 // Defines RE. 814 class GTEST_API_ RE { 818 RE(const RE& other) { Init(other.pattern()); } 820 // Constructs an RE from a string. 821 RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT 825 RE(const ::string& regex) { Init(regex.c_str()); } // NOLINT 829 RE(const char* regex) { Init(regex); } // NOLINT 830 ~RE(); [all...] |