/external/protobuf/gtest/src/ |
gtest-port.cc | 109 // Implements RE. Currently only needed for death tests. 111 RE::~RE() { 117 // Returns true iff regular expression re matches the entire str. 118 bool RE::FullMatch(const char* str, const RE& re) { 119 if (!re.is_valid_) return false; 122 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 125 // Returns true iff regular expression re matches a substring of st [all...] |
/external/qemu/ |
offset_layout.py | 3 import re namespace 9 _RE_LINE = re.compile("^\s*(?P<keyword>[\w-]+)\s+{\s*$") 10 _RE_XY = re.compile("^(?P<start>\s*)(?P<xy>[x|y]\s+)(?P<num>\d+)(?P<end>\s*)$")
|
/external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/ |
scanner.py | 6 from re import VERBOSE, MULTILINE, DOTALL 7 import re namespace 61 fn.regex = re.compile(pattern, flags)
|
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityInteractionClient.java | 214 } catch (RemoteException re) { 217 + " findAccessibilityNodeInfoByAccessibilityId", re); 261 } catch (RemoteException re) { 264 + " findAccessibilityNodeInfoByViewIdInActiveWindow", re); 308 } catch (RemoteException re) { 311 + " findAccessibilityNodeInfosByViewText", re); 354 } catch (RemoteException re) { 356 Log.w(LOG_TAG, "Error while calling remote findAccessibilityFocus", re); 399 } catch (RemoteException re) { 401 Log.w(LOG_TAG, "Error while calling remote accessibilityFocusSearch", re); [all...] |
/external/chromium/testing/gtest/scripts/ |
pump.py | 68 import re namespace 73 (re.compile(r'\$var\s+'), '$var'), 74 (re.compile(r'\$elif\s+'), '$elif'), 75 (re.compile(r'\$else\s+'), '$else'), 76 (re.compile(r'\$for\s+'), '$for'), 77 (re.compile(r'\$if\s+'), '$if'), 78 (re.compile(r'\$range\s+'), '$range'), 79 (re.compile(r'\$[_A-Za-z]\w*'), '$id'), 80 (re.compile(r'\$\(\$\)'), '$($)'), 81 (re.compile(r'\$'), '$') [all...] |
/external/gtest/scripts/ |
pump.py | 68 import re namespace 73 (re.compile(r'\$var\s+'), '$var'), 74 (re.compile(r'\$elif\s+'), '$elif'), 75 (re.compile(r'\$else\s+'), '$else'), 76 (re.compile(r'\$for\s+'), '$for'), 77 (re.compile(r'\$if\s+'), '$if'), 78 (re.compile(r'\$range\s+'), '$range'), 79 (re.compile(r'\$[_A-Za-z]\w*'), '$id'), 80 (re.compile(r'\$\(\$\)'), '$($)'), 81 (re.compile(r'\$'), '$') [all...] |
/external/doclava/src/com/google/doclava/parser/ |
JavaParser.java | 123 * type and then move on to decide whether we're dealing with a field 631 catch (RecognitionException re) { 632 reportError(re); 633 recover(input,re); [all...] |
/bionic/libc/kernel/tools/ |
find_users.py | 8 import sys, cpp, glob, os, re, getopt namespace
|
/cts/tools/utils/ |
buildCts.py | 21 import re namespace 43 pattern = re.compile(r'^\s*([^:#=\s]+)\s*:=\s*(.*?[^\\])$', re.MULTILINE + re.DOTALL)
|
/external/aac/libFDK/include/ |
cplx_mul.h | 132 cplxMultDiv2(c_Re, c_Im, a_Re, a_Im, w.v.re, w.v.im); 190 cplxMultDiv2(c_Re, c_Im, a_Re, a_Im, w.v.re, w.v.im); 235 cplxMult(c_Re, c_Im, a_Re, a_Im, w.v.re, w.v.im); 262 cplxMult(c_Re, c_Im, a_Re, a_Im, w.v.re, w.v.im);
|
/external/aac/libFDK/src/mips/ |
fft_rad2_mips.cpp | 127 x[2*i] = dout[i].re<<1;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/ |
TreeRewriteParser.m | 301 @catch (ANTLRRecognitionException *re) { 302 [self reportError:re]; 303 [self recover:input Exception:re]; 305 retval.tree = (ANTLRCommonTree *)[treeAdaptor errorNode:input From:retval.start To:[input LT:-1] Exception:re]; 366 @catch (ANTLRRecognitionException *re) { 367 [self reportError:re]; 368 [self recover:input Exception:re]; 370 retval.tree = (ANTLRCommonTree *)[treeAdaptor errorNode:input From:retval.start To:[input LT:-1] Exception:re];
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t032subrulePredict.py | 13 def recover(self, input, re):
|
t004lexer.py | 16 def reportError(self, re): 18 raise re
|
t006lexer.py | 16 def reportError(self, re): 18 raise re
|
t007lexer.py | 16 def reportError(self, re): 18 raise re
|
/external/chromium/testing/gtest/test/ |
gtest_xml_test_utils.py | 36 import re namespace 165 time.value = re.sub(r"^\d+(\.\d+)?$", "*", time.value) 173 cdata = re.sub(r"^.*[/\\](.*:)\d+\n", "\\1*\n", child.nodeValue) 175 child.nodeValue = re.sub(r"\nStack trace:\n(.|\n)*",
|
/external/compiler-rt/lib/asan/scripts/ |
asan_symbolize.py | 11 import re namespace 38 file_name = re.sub(".*" + path_to_cut, "", file_name) 39 file_name = re.sub(".*asan_[a-z_]*.cc:[0-9]*", "_asan_rtl_", file_name) 40 file_name = re.sub(".*crtstuff.c:0", "???:0", file_name) 47 match = re.match('^( *#([0-9]+) *0x[0-9a-f]+) *\((.*)\+(0x[0-9a-f]+)\)', line) 85 match = re.match('^( *#([0-9]+) *)(0x[0-9a-f]+) *\((.*)\+(0x[0-9a-f]+)\)', line) 98 # Guess which arch we're running. 10 = len("0x") + 8 hex digits. 120 match = re.match('^(.*) \(in (.*)\) \((.*:\d*)\)$', atos_line) 124 function_name = re.sub("\(.*?\)", "", function_name)
|
/external/gtest/test/ |
gtest_xml_test_utils.py | 36 import re namespace 165 time.value = re.sub(r"^\d+(\.\d+)?$", "*", time.value) 173 cdata = re.sub(r"^.*[/\\](.*:)\d+\n", "\\1*\n", child.nodeValue) 175 child.nodeValue = re.sub(r"\nStack trace:\n(.|\n)*",
|
/external/markdown/markdown/extensions/ |
toc.py | 13 import re namespace 35 header_rgx = re.compile("[Hh][123456]") 127 value = unicode(re.sub('[^\w\s-]', '', value).strip().lower()) 128 return re.sub('[-\s]+','-',value)
|
/external/protobuf/gtest/test/ |
gtest_xml_test_utils.py | 36 import re namespace 161 time.value = re.sub(r"^\d+(\.\d+)?$", "*", time.value) 166 cdata = re.sub(r"^.*[/\\](.*:)\d+\n", "\\1*\n", child.nodeValue) 168 child.nodeValue = re.sub(r"\nStack trace:\n(.|\n)*",
|
/external/v8/test/message/ |
testcfg.py | 31 import re namespace 33 FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)") 60 pattern = re.escape(line.rstrip() % env) 70 if not re.match(patterns[i], outlines[i]):
|
/external/webkit/Source/WebCore/platform/text/ |
RegularExpression.cpp | 79 RegularExpression::RegularExpression(const RegularExpression& re) 80 : d(re.d) 88 RegularExpression& RegularExpression::operator=(const RegularExpression& re) 90 d = re.d;
|
/dalvik/dx/src/ |
Android.mk | 5 # This tool is prebuilt if we're doing an app-only build.
|
/device/samsung/crespo4g/ |
releasetools.py | 15 import re namespace 34 m = re.match(r"^RADIO/(" + basename + "[.](.+[.])?img)$", name)
|