/packages/apps/Browser/tools/ |
get_search_engines.py | 29 import re namespace 89 str = re.sub(r'\\x([a-fA-F0-9]{1,4})', r'&#x\1;', str) 107 search_obj = re.search(re_exp, self.chrome_data) 128 engine_data_str = re.sub('\"\s+\"', '', engine_data_str) 129 engine_data_str = re.sub('\"\s+L\"', '', engine_data_str) 164 engines_str = re.sub('\/\*.+\*\/', '', engines_str) 165 engines_str = re.sub('\s+', '', engines_str)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
SearchEngine.py | 1 import re namespace 53 pat = re.escape(pat) 66 flags = flags | re.IGNORECASE 68 prog = re.compile(pat, flags) 69 except re.error, what: 91 pat = re.escape(pat)
|
FormatParagraph.py | 17 import re namespace 53 # re-split and re-insert the comment header. 123 words = re.split("(\s+)", lines[i]) 142 return re.match(r"^\s*$", line) is not None 145 return re.match(r"^(\s*)", line).group() 148 m = re.match(r"^(\s*#*)", line)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
SearchEngine.py | 1 import re namespace 53 pat = re.escape(pat) 66 flags = flags | re.IGNORECASE 68 prog = re.compile(pat, flags) 69 except re.error, what: 91 pat = re.escape(pat)
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/ |
SimpleCParser.m | [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/ |
SimpleCParser.m | [all...] |
/external/libopus/src/ |
opus_compare.c | 125 float re; local 129 re=im=0; 131 re+=c[ti]*x[ci*_window_sz+xk]; 136 re*=_downsample; 138 _ps[(xi*ps_sz+xj)*_nchannels+ci]=re*re+im*im+100000; 346 float re; local 348 re=Y[(xi*yfreqs+xj)*nchannels+ci]/X[(xi*NFREQS+xj)*nchannels+ci]; 349 im=re-log(re)-1 [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
LauncherAppsService.java | 380 } catch (RemoteException re) { 381 Slog.d(TAG, "Callback failed ", re); 399 } catch (RemoteException re) { 400 Slog.d(TAG, "Callback failed ", re); 418 } catch (RemoteException re) { 419 Slog.d(TAG, "Callback failed ", re); 437 } catch (RemoteException re) { 438 Slog.d(TAG, "Callback failed ", re); 456 } catch (RemoteException re) { 457 Slog.d(TAG, "Callback failed ", re); [all...] |
/external/google-breakpad/src/testing/gtest/test/ |
gtest-port_test.cc | 373 // Defines StringTypes as the list of all string types that class RE 384 // Tests RE's implicit constructors. 386 const RE empty(TypeParam("")); 389 const RE simple(TypeParam("hello")); 392 const RE normal(TypeParam(".*(\\w+)")); 396 // Tests that RE's constructors reject invalid regular expressions. 399 const RE invalid(TypeParam("?")); 403 // Tests RE::FullMatch(). 405 const RE empty(TypeParam("")); 406 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/external/gtest/test/ |
gtest-port_test.cc | 410 // Defines StringTypes as the list of all string types that class RE 421 // Tests RE's implicit constructors. 423 const RE empty(TypeParam("")); 426 const RE simple(TypeParam("hello")); 429 const RE normal(TypeParam(".*(\\w+)")); 433 // Tests that RE's constructors reject invalid regular expressions. 436 const RE invalid(TypeParam("?")); 440 // Tests RE::FullMatch(). 442 const RE empty(TypeParam("")); 443 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/external/protobuf/gtest/test/ |
gtest-port_test.cc | 180 // Defines StringTypes as the list of all string types that class RE 191 // Tests RE's implicit constructors. 193 const RE empty(TypeParam("")); 196 const RE simple(TypeParam("hello")); 199 const RE normal(TypeParam(".*(\\w+)")); 203 // Tests that RE's constructors reject invalid regular expressions. 206 const RE invalid(TypeParam("?")); 210 // Tests RE::FullMatch(). 212 const RE empty(TypeParam("")); 213 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternUtils.java | 265 } catch (RemoteException re) { 289 } catch (RemoteException re) { 316 } catch (RemoteException re) { 338 } catch (RemoteException re) { 351 } catch (RemoteException re) { 391 } catch (RemoteException re) { 403 } catch (RemoteException re) { 527 } catch (RemoteException re) { 528 Log.e(TAG, "Couldn't save lock pattern " + re); 778 } catch (RemoteException re) { [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
gtest-port_test.cc | 410 // Defines StringTypes as the list of all string types that class RE 421 // Tests RE's implicit constructors. 423 const RE empty(TypeParam("")); 426 const RE simple(TypeParam("hello")); 429 const RE normal(TypeParam(".*(\\w+)")); 433 // Tests that RE's constructors reject invalid regular expressions. 436 const RE invalid(TypeParam("?")); 440 // Tests RE::FullMatch(). 442 const RE empty(TypeParam("")); 443 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/external/pcre/dist/ |
pcrecpp.h | 36 // C++ interface to the pcre regular-expression library. RE supports 64 // pcrecpp::RE re("h.*o"); 65 // re.FullMatch("hello"); 68 // pcrecpp::RE re("e"); 69 // !re.FullMatch("hello"); 71 // Example: creating a temporary RE object: 72 // pcrecpp::RE("h.*o").FullMatch("hello"); 77 // You can, as in the different examples above, store the RE objec [all...] |
/external/v8/tools/push-to-trunk/ |
git_recipes.py | 29 import re namespace 31 SHA1_RE = re.compile('^[a-fA-F0-9]{40}$') 32 ROLL_DEPS_GIT_SVN_ID_RE = re.compile('^git-svn-id: .*@([0-9]+) .*$') 35 COMMIT_FOOTER_ENTRY_RE = re.compile(r'([^:]+):\s+(.+)') 41 COMMIT_POSITION_RE = re.compile(r'(.+)@\{#(\d+)\}') 48 GIT_SVN_ID_RE = re.compile(r'((?:\w+)://[^@]+)@(\d+)\s+(?:[a-zA-Z0-9\-]+)') 155 match = re.match(r"^## (.+)", line)
|
/frameworks/base/core/java/android/accessibilityservice/ |
AccessibilityService.java | 535 } catch (RemoteException re) { 536 Log.w(LOG_TAG, "Error while calling performGlobalAction", re); 583 } catch (RemoteException re) { 584 Log.w(LOG_TAG, "Error while getting AccessibilityServiceInfo", re); 616 } catch (RemoteException re) { 617 Log.w(LOG_TAG, "Error while setting AccessibilityServiceInfo", re); [all...] |
/frameworks/base/core/java/android/app/ |
UiAutomationConnection.java | 140 } catch (RemoteException re) { 339 } catch (RemoteException re) { 340 throw new IllegalStateException("Error while registering UiTestAutomationService.", re); 352 } catch (RemoteException re) { 354 re); 365 } catch (RemoteException re) { 381 } catch (RemoteException re) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_compare.py | 5 import sys, os, re namespace 222 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S) 240 re.compile('(^TypeError:.* return an int.*){2}', re.M|re.S) 405 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_compare.py | 5 import sys, os, re namespace 222 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S) 240 re.compile('(^TypeError:.* return an int.*){2}', re.M|re.S) 405 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
warnings.py | 57 import re namespace 67 item = (action, re.compile(message, re.I), category, 68 re.compile(module), lineno) 112 import re namespace 121 message = re.escape(message) 123 module = re.escape(module) 149 import re namespace 152 if re.match("^[a-zA-Z0-9_]+$", category):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
warnings.py | 57 import re namespace 67 item = (action, re.compile(message, re.I), category, 68 re.compile(module), lineno) 112 import re namespace 121 message = re.escape(message) 123 module = re.escape(module) 149 import re namespace 152 if re.match("^[a-zA-Z0-9_]+$", category):
|
/external/chromium-trace/trace-viewer/perf_insights/third_party/cloudstorage/ |
common.py | 48 import re namespace 57 _GCS_BUCKET_REGEX = re.compile(_GCS_BUCKET_REGEX_BASE + r'$') 58 _GCS_BUCKET_PATH_REGEX = re.compile(r'/' + _GCS_BUCKET_REGEX_BASE + r'$') 59 _GCS_PATH_PREFIX_REGEX = re.compile(r'/' + _GCS_BUCKET_REGEX_BASE + r'.*') 60 _GCS_FULLPATH_REGEX = re.compile(r'/' + _GCS_BUCKET_REGEX_BASE + r'/.*')
|
/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/v8/test/mjsunit/ |
string-replace.js | 212 var re = /sh/g; variable 214 str.replace(re,"$$" + 'sch')) 238 function testIndices99(re) { 242 subject.replace(re, "$" + i)); 248 subject.replace(re, "$0" + i)); 251 assertEquals("$0", subject.replace(re, "$0")); 252 assertEquals("$00", subject.replace(re, "$00")); 254 subject.replace(re, "$100")); 263 function testIndices59(re) { 270 subject.replace(re, "$" + i)) [all...] |
/external/v8/test/webkit/ |
testcfg.py | 30 import re namespace 35 FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)") 36 FILES_PATTERN = re.compile(r"//\s+Files:(.*)") 37 SELF_SCRIPT_PATTERN = re.compile(r"//\s+Env: TEST_FILE_NAME") 66 flags_match = re.findall(FLAGS_PATTERN, source)
|