/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
Lexer.java | 98 catch (MismatchedRangeException re) { 99 reportError(re); 102 catch (MismatchedTokenException re) { 103 reportError(re); 106 catch (RecognitionException re) { 107 reportError(re); 108 recover(re); // throw out current char and try again 329 public void recover(RecognitionException re) { 331 //re.printStackTrace();
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
Lexer.js | 58 catch (re) { 59 if (re instanceof org.antlr.runtime.NoViableAltException) { 60 this.reportError(re); 61 this.recover(re); 62 } else if ( re instanceof org.antlr.runtime.RecognitionException ) { 63 this.reportError(re); 65 throw re; 271 recover: function(re) {
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t001lexer.py | 16 def reportError(self, re): 18 raise re
|
t002lexer.py | 16 def reportError(self, re): 18 raise re
|
t003lexer.py | 16 def reportError(self, re): 18 raise re
|
t039labels.py | 13 def recover(self, input, re): 22 def recover(self, input, re):
|
/external/chromium-trace/trace-viewer/perf_insights/perf_insights/ |
upload.py | 6 import re namespace 50 if re.match('^[a-zA-Z0-9,]+$', tags_string): # ignore non alpha-numeric tags
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/ |
dateinterval.py | 13 import re namespace 61 _timeRE = re.compile(r'[0-9]+[a-zA-Z]')
|
/external/deqp/scripts/ |
update-copyright-year.py | 4 import re namespace 32 data = re.sub(COPYRIGHT_PATTERN, COPYRIGHT_REPLACEMENT, data)
|
/external/libvpx/libvpx/test/android/ |
scrape_gtest_log.py | 19 import re namespace 43 re.findall(r'{([^}]*.?)}', blob)) + ']'
|
/external/lldb/utils/misc/ |
grep-svn-log.py | 12 import fileinput, re, sys, StringIO namespace 40 """Call this when you're finished with populating content.""" 80 regexp = re.compile(sys.argv[1])
|
/external/llvm/utils/llvm-build/llvmbuild/ |
configutil.py | 5 import re namespace 16 replacement), where the regex and replacement will be used as in 're.sub' to 35 regex = re.compile(regex_string)
|
/external/markdown/markdown/extensions/ |
abbr.py | 26 import markdown, re namespace 30 ABBR_REF_RE = re.compile(r'[*]\[(?P<abbr>[^\]]*)\][ ]?:\s*(?P<title>.*)')
|
/external/mesa3d/src/glsl/builtins/tools/ |
generate_builtins.py | 6 import re namespace 57 for c in re.sub('\s\s+', ' ', s): 87 kill_paren_whitespace = re.compile(r'[ \n]*\)', re.MULTILINE) 94 kill_globals = re.compile(r'^\(declare.*\n', re.MULTILINE) 113 for func in re.finditer(r'\(function (.+)\n', proto_ir): 279 version = re.sub(r'_(glsl|vert|frag)$', '', profile)
|
/external/protobuf/python/google/protobuf/ |
text_encoding.py | 35 import re namespace 84 _CUNESCAPE_HEX = re.compile(r'(\\+)x([0-9a-fA-F])(?![0-9a-fA-F])')
|
/external/v8/test/webkit/fast/js/ |
regexp-lastindex.js | 28 var re = new RegExp("[^\\s$]+", "g"); 31 shouldBe('while (match = re.exec(" abcdefg")) accumulate += match + "; "; accumulate', '"abcdefg; "'); 33 var re = new RegExp(/\d/g); 35 shouldBe('while (match = re.exec("123456789")) accumulate += match + "; "; accumulate', '"1; 2; 3; 4; 5; 6; 7; 8; 9; "');
|
/external/v8/tools/ |
check-name-clashes.py | 8 import re namespace 12 FUNCTION = re.compile("^RUNTIME_FUNCTION\(Runtime_(\w+)") 14 MACRO = re.compile(r"^#define ([^ ]+)\(([^)]*)\) *([^\\]*)\\?\n$") 15 FIRST_WORD = re.compile("^\s*(.*?)[\s({\[]") 58 pattern = re.compile(r"(##|\b)%s(##|\b)" % arg) 60 self.lines[i] = re.sub(pattern, "%%(%s)s" % arg, self.lines[i]) 99 MACRO_CALL = re.compile("%s\(([^)]*)\)" % first_word) 156 regexp = re.compile("^function (\w+)\s*\((.*?)\) {")
|
/external/valgrind/drd/tests/ |
tc15_laog_lockdel.stderr.exp | 4 Free 2 and re-allocate it. This gives it a new identity,
|
/external/wpa_supplicant_8/wpa_supplicant/utils/ |
log2pcap.py | 10 import sys, struct, re namespace 36 frame_re = re.compile(r'(([0-9]+.[0-9]{6}):\s*)?nl80211: MLME event frame - hexdump\(len=[0-9]*\):((\s*[0-9a-fA-F]{2})*)')
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothPan.java | 136 } catch (RemoteException re) { 137 Log.w(TAG,"Unable to register BluetoothStateChangeCallback",re); 162 } catch (RemoteException re) { 163 Log.w(TAG,"Unable to unregister BluetoothStateChangeCallback",re); 172 } catch (Exception re) { 173 Log.e(TAG,"",re); 209 } catch (Exception re) { 210 Log.e(TAG,"",re);
|
/frameworks/base/core/java/android/printservice/ |
PrintDocument.java | 84 } catch (RemoteException re) { 85 Log.e(LOG_TAG, "Error calling getting print job data!", re);
|
/prebuilts/misc/common/swig/include/2.0.11/octave/ |
octcomplex.swg | 61 double re = c.real(); 63 if ((-FLT_MAX <= re && re <= FLT_MAX) && (-FLT_MAX <= im && im <= FLT_MAX)) { 65 *val = Constructor(%numeric_cast(re, float),
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/macholib/ |
framework.py | 8 import re namespace 12 STRICT_FRAMEWORK_RE = re.compile(r"""(?x)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_array_in_pointer.py | 4 import re namespace 10 return re.sub(r"(..)", r"\1-", h)[:-1]
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
keyword.py | 54 import sys, re namespace 63 strprog = re.compile('"([^"]+)"')
|