/external/protobuf/gtest/include/gtest/internal/ |
gtest-port.h | 128 // RE - a simple regular expression class using the POSIX 618 // Defines RE. 622 class RE { 624 // Constructs an RE from a string. 626 RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT 630 RE(const ::string& regex) { Init(regex.c_str()); } // NOLINT 633 RE(const char* regex) { Init(regex); } // NOLINT 634 ~RE(); 639 // FullMatch(str, re) returns true iff regular expression re matche [all...] |
/external/chromium/testing/gtest/test/ |
gtest-port_test.cc | 348 // Defines StringTypes as the list of all string types that class RE 359 // Tests RE's implicit constructors. 361 const RE empty(TypeParam("")); 364 const RE simple(TypeParam("hello")); 367 const RE normal(TypeParam(".*(\\w+)")); 371 // Tests that RE's constructors reject invalid regular expressions. 374 const RE invalid(TypeParam("?")); 378 // Tests RE::FullMatch(). 380 const RE empty(TypeParam("")); 381 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/external/gtest/test/ |
gtest-port_test.cc | 368 // Defines StringTypes as the list of all string types that class RE 379 // Tests RE's implicit constructors. 381 const RE empty(TypeParam("")); 384 const RE simple(TypeParam("hello")); 387 const RE normal(TypeParam(".*(\\w+)")); 391 // Tests that RE's constructors reject invalid regular expressions. 394 const RE invalid(TypeParam("?")); 398 // Tests RE::FullMatch(). 400 const RE empty(TypeParam("")); 401 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/external/libvpx/libvpx/third_party/googletest/src/test/ |
gtest-port_test.cc | 368 // Defines StringTypes as the list of all string types that class RE 379 // Tests RE's implicit constructors. 381 const RE empty(TypeParam("")); 384 const RE simple(TypeParam("hello")); 387 const RE normal(TypeParam(".*(\\w+)")); 391 // Tests that RE's constructors reject invalid regular expressions. 394 const RE invalid(TypeParam("?")); 398 // Tests RE::FullMatch(). 400 const RE empty(TypeParam("")); 401 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/external/chromium/build/util/ |
lastchange.py | 10 import re namespace 137 match = re.search(r'^\w+://.*$', output, re.M) 160 match = re.search(r'\S+$', output) 175 git_re = re.compile(r'^\s*git-svn-id:\s+(\S+)@(\d+)')
|
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
gtest-port.h | 96 // RE - a simple regular expression class using the POSIX 331 // Defines RE. Currently only needed for death tests. 335 class RE { 337 // Constructs an RE from a string. 339 RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT 343 RE(const ::string& regex) { Init(regex.c_str()); } // NOLINT 346 RE(const char* regex) { Init(regex); } // NOLINT 347 ~RE(); 352 // Returns true iff str contains regular expression re. 357 static bool PartialMatch(const ::std::string& str, const RE& re) [all...] |
/external/eigen/debug/gdb/ |
printers.py | 30 import re namespace 49 regex = re.compile('\<.*\>') 175 pretty_printers_dict[re.compile('^Eigen::Quaternion<.*>$')] = lambda val: EigenQuaternionPrinter(val) 176 pretty_printers_dict[re.compile('^Eigen::Matrix<.*>$')] = lambda val: EigenMatrixPrinter("Matrix", val) 177 pretty_printers_dict[re.compile('^Eigen::Array<.*>$')] = lambda val: EigenMatrixPrinter("Array", val)
|
/external/icu4c/i18n/ |
uregex.cpp | 85 static UBool validateRE(const RegularExpression *re, UBool requiresText, UErrorCode *status) { 89 if (re == NULL || re->fMagic != REXP_MAGIC) { 93 // !!! Not sure how to update this with the new UText backing, which is stored in re->fMatcher anyway 94 if (requiresText && re->fText == NULL && !re->fOwnsText) { 125 RegularExpression *re = new RegularExpression; local 128 if (re == NULL || refC == NULL || patBuf == NULL) { 130 delete re; 135 re->fPatRefCount = refC 205 RegularExpression *re = new RegularExpression; local 269 RegularExpression *re = (RegularExpression*)re2; local [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternUtils.java | 253 } catch (RemoteException re) { 261 } catch (RemoteException re) { 291 } catch (RemoteException re) { 311 } catch (RemoteException re) { 350 } catch (RemoteException re) { 362 } catch (RemoteException re) { 528 } catch (RemoteException re) { 529 Log.e(TAG, "Couldn't save lock pattern " + re); 721 } catch (RemoteException re) { 723 Log.e(TAG, "Unable to save lock password " + re); [all...] |
/build/tools/ |
event_log_tags.py | 17 import re namespace 68 parts = re.split(r"\s+", line, 2) 97 if not re.match(r"\(.*\)\s*$", description):
|
generate-notice-files.py | 29 import re namespace 96 SRC_DIR_STRIP_RE = re.compile(input_dir + "(/.*).txt") 154 SRC_DIR_STRIP_RE = re.compile(input_dir + "(/.*).txt")
|
/cts/suite/audio_quality/lib/include/task/ |
TaskCase.h | 50 std::list<BufferPair>* findAllBuffers(const android::String8& re); 111 std::list<ValuePair>* findAllValues(const android::String8& re); 118 std::list<IndexPair>* findAllIndices(const android::String8& re);
|
/external/chromium/testing/gtest/scripts/ |
fuse_gtest_files.py | 62 import re namespace 71 INCLUDE_GTEST_FILE_REGEX = re.compile(r'^\s*#\s*include\s*"(gtest/.+)"') 74 INCLUDE_SRC_FILE_REGEX = re.compile(r'^\s*#\s*include\s*"(src/.+)"')
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/ |
draft75.py | 41 import re namespace 59 _FIRST_FIVE_LINES = map(re.compile, [ 67 _SIXTH_AND_LATER = re.compile(
|
/external/gtest/scripts/ |
fuse_gtest_files.py | 62 import re namespace 71 INCLUDE_GTEST_FILE_REGEX = re.compile(r'^\s*#\s*include\s*"(gtest/.+)"') 74 INCLUDE_SRC_FILE_REGEX = re.compile(r'^\s*#\s*include\s*"(src/.+)"')
|
/external/harfbuzz_ng/test/shaping/ |
hb_test_tools.py | 3 import sys, os, re, difflib, unicodedata, errno, cgi namespace 69 diff_regex = re.compile ('([a-za-z0-9_]*)([^a-za-z0-9_]?)') 412 s = re.sub (r"0[xX]", " ", s) 413 s = re.sub (r"[<+>,;&#\\xXuU\n ]", " ", s) 440 s = re.sub (".* LETTER ", "", s) 441 s = re.sub (".* VOWEL SIGN (.*)", r"\1-MATRA", s) 442 s = re.sub (".* SIGN ", "", s) 443 s = re.sub (".* COMBINING ", "", s) 444 if re.match (".* VIRAMA", s): 452 s = re.sub (r"[<+>\\uU]", " ", s [all...] |
/external/libvpx/libvpx/third_party/googletest/src/scripts/ |
fuse_gtest_files.py | 62 import re namespace 71 INCLUDE_GTEST_FILE_REGEX = re.compile(r'^\s*#\s*include\s*"(gtest/.+)"') 74 INCLUDE_SRC_FILE_REGEX = re.compile(r'^\s*#\s*include\s*"(src/.+)"')
|
/external/llvm/utils/release/ |
findRegressions-simple.py | 2 import re, string, sys, os, time, math namespace 13 d = re.sub(r',\d+:\d', '', d) 15 r = re.findall(r'TEST-(PASS|FAIL|RESULT.*?):\s+(.*?)\s+(.*?)\r*\n', d)
|
/external/markdown/markdown/extensions/ |
codehilite.py | 143 import re namespace 150 c = re.compile(r''' 154 ''', re.VERBOSE)
|
/external/protobuf/gtest/scripts/ |
fuse_gtest_files.py | 62 import re namespace 71 INCLUDE_GTEST_FILE_REGEX = re.compile(r'^\s*#\s*include\s*<(gtest/.+)>') 74 INCLUDE_SRC_FILE_REGEX = re.compile(r'^\s*#\s*include\s*"(src/.+)"')
|
/external/webkit/Tools/Scripts/ |
check-inspector-strings | 33 import re namespace 69 line_strings = re.findall(pattern, line) 84 match = re.match(r"localizedStrings\[\"((?:[^\"\\]|\\.)*?)\"", line)
|
/external/webkit/Tools/Scripts/webkitpy/common/net/ |
credentials.py | 34 import re namespace 74 match = re.search("%s\"(?P<value>.+)\"" % label, 76 re.MULTILINE)
|
testoutput.py | 26 import re namespace 66 filename = re.sub('-expected\..*$', '', filename) 67 filename = re.sub('-actual\..*$', '', filename)
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/ |
deduplicate_tests.py | 38 import re namespace 88 match = re.match(r'^(platform/.*?/)?(.*)', path) 139 match = re.match(r'^platform/(.*?)/', path) 179 filename: The test file we're trying to get a relative path to. 180 relative_to: The absolute path we're relative to.
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
KeyguardMultiUserSelectorView.java | 73 } catch (RemoteException re) { 161 } catch (RemoteException re) { 162 Log.e(TAG, "Couldn't switch user " + re);
|