/frameworks/base/services/print/java/com/android/server/print/ |
RemotePrintSpooler.java | 161 } catch (RemoteException re) { 162 Slog.e(LOG_TAG, "Error getting print jobs.", re); 185 } catch (RemoteException re) { 186 Slog.e(LOG_TAG, "Error creating print job.", re); 208 } catch (RemoteException re) { 209 Slog.e(LOG_TAG, "Error writing print job data.", re); 235 } catch (RemoteException re) { 236 Slog.e(LOG_TAG, "Error getting print job info.", re); 260 } catch (RemoteException re) { 261 Slog.e(LOG_TAG, "Error setting print job state.", re); [all...] |
/external/clang/tools/clang-format/ |
clang-format-diff.py | 27 import re namespace 69 match = re.search('^\+\+\+\ (.*?/){%s}(\S*)' % args.p, line) 76 if not re.match('^%s$' % args.regex, filename): 79 if not re.match('^%s$' % args.iregex, filename, re.IGNORECASE): 82 match = re.search('^@@.*\+(\d+)(,(\d+))?', line)
|
/external/google-breakpad/src/testing/gtest/test/ |
gtest_help_test.py | 43 import re namespace 56 INCORRECT_FLAG_VARIANTS = [re.sub('^--', '-', LIST_TESTS_FLAG), 57 re.sub('^--', '/', LIST_TESTS_FLAG), 58 re.sub('_', '-', LIST_TESTS_FLAG)] 65 HELP_REGEX = re.compile( 78 re.DOTALL)
|
/external/gtest/test/ |
gtest_help_test.py | 43 import re namespace 56 INCORRECT_FLAG_VARIANTS = [re.sub('^--', '-', LIST_TESTS_FLAG), 57 re.sub('^--', '/', LIST_TESTS_FLAG), 58 re.sub('_', '-', LIST_TESTS_FLAG)] 65 HELP_REGEX = re.compile( 78 re.DOTALL)
|
/external/protobuf/gtest/test/ |
gtest_help_test.py | 43 import re namespace 55 INCORRECT_FLAG_VARIANTS = [re.sub('^--', '-', LIST_TESTS_FLAG), 56 re.sub('^--', '/', LIST_TESTS_FLAG), 57 re.sub('_', '-', LIST_TESTS_FLAG)] 64 HELP_REGEX = re.compile( 76 re.DOTALL)
|
run_tests_util.py | 34 import re namespace 135 PYTHON_TEST_REGEX = re.compile(r'_(unit)?test\.py$', re.IGNORECASE) 136 BINARY_TEST_REGEX = re.compile(r'_(unit)?test(\.exe)?$', re.IGNORECASE) 137 BINARY_TEST_SEARCH_REGEX = re.compile(r'_(unit)?test\.exe$', re.IGNORECASE) 139 PYTHON_TEST_REGEX = re.compile(r'_(unit)?test\.py$') 140 BINARY_TEST_REGEX = re.compile(r'_(unit)?test$') 158 m = re.match(r'.*[\\/]([^\\/]+)[\\/][^\\/]+[\\/]scons[\\/]?$', build_dir [all...] |
/external/v8/test/mjsunit/ |
debug-stepin-builtin-callback-opt.js | 28 var re = /x/g; variable 30 for (var i = 0; i < 10000; i++) "x".replace(re, replaceCallback); 34 var result = "x".replace(re, replaceCallback); // Break 1.
|
/external/v8/tools/release/ |
check_clusterfuzz.py | 21 import re namespace 33 V8_COMMIT_RE = re.compile( 40 V8_INTERNAL_RE = re.compile(r"^v8::internal.*") 41 ANY_RE = re.compile(r".*") 124 match = re.match(V8_COMMIT_RE, commit["message"]) 190 # Use incremented revision as we're interested in all revision greater than 199 if re.match(spec["crash_state"], issue["crash_state"]):
|
releases.py | 18 import re namespace 29 PUSH_MSG_SVN_RE = re.compile(r".* \(based on bleeding_edge revision r(\d+)\)$") 30 PUSH_MSG_GIT_RE = re.compile(r".* \(based on ([a-fA-F0-9]+)\)$") 34 MERGE_MESSAGE_RE = re.compile(r"^.*[M|m]erged (.+)(\)| into).*$", re.M) 36 CHERRY_PICK_TITLE_GIT_RE = re.compile(r"^.* \(cherry\-pick\)\.?$") 39 MERGE_MESSAGE_GIT_RE = re.compile(r"^Merged ([a-fA-F0-9]+)\.?$") 43 ROLLBACK_MESSAGE_RE = re.compile(r"^.*[R|r]ollback of (.+)(\)| in).*$", re.M) 46 ROLLBACK_MESSAGE_GIT_RE = re.compile(r"^Rollback of ([a-fA-F0-9]+)\.?$" [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest_help_test.py | 43 import re namespace 56 INCORRECT_FLAG_VARIANTS = [re.sub('^--', '-', LIST_TESTS_FLAG), 57 re.sub('^--', '/', LIST_TESTS_FLAG), 58 re.sub('_', '-', LIST_TESTS_FLAG)] 65 HELP_REGEX = re.compile( 78 re.DOTALL)
|
/ndk/sources/third_party/googletest/googletest/test/ |
gtest_help_test.py | 43 import re namespace 56 INCORRECT_FLAG_VARIANTS = [re.sub('^--', '-', LIST_TESTS_FLAG), 57 re.sub('^--', '/', LIST_TESTS_FLAG), 58 re.sub('_', '-', LIST_TESTS_FLAG)] 65 HELP_REGEX = re.compile( 78 re.DOTALL)
|
/external/regex-re2/re2/testing/ |
re2_test.cc | 344 RE2 re("((\\w+):([0-9]+))"); // extracts host and port 349 CHECK(!re.Match(s, 0, s.size(), RE2::UNANCHORED, 354 CHECK(re.Match(s, 0, s.size(), RE2::UNANCHORED, 363 CHECK(RE2::PartialMatch("a chrisr:9000 here", re, &all, &host, &port)); 378 RE2 re("([a-zA-Z0-9]|-)+(\\.([a-zA-Z0-9]|-)+)*(\\.)?", RE2::Quiet); 379 RE2::FullMatch(domain, re); 387 RE2 re(quoted, options); 388 EXPECT_TRUE_M(RE2::FullMatch(unquoted, re), 397 RE2 re(quoted, options); 398 EXPECT_FALSE_M(RE2::FullMatch(should_not_match, re), [all...] |
/external/autotest/client/site_tests/kernel_fs_Punybench/ |
kernel_fs_Punybench.py | 9 import os, re namespace 97 r1 = re.search(tag + ".*\n(\d.*sec\n)+", text) 98 r2 = re.findall(r"\d+\. (" + re_float + r") M.*\n", r1.group(0)) 136 r1 = re.search(tag + ".*\n.*\n.*", text) 137 r2 = re.search(r"[^\s]+ MiB/s$", r1.group(0)) 138 r3 = re.search(re_float, r2.group(0)) 182 r1 = re.search(r"timer avg= *([^\s]*).*$", result) 203 r1 = re.search(r"[^\s]+ MiB/s.*$", result) 204 r2 = re.search(re_float, r1.group(0)) 221 r1 = re.search(r"([^\s]+ IOPs/sec).*$", result [all...] |
/external/autotest/client/bin/ |
package.py | 9 import os, re namespace 140 not_inst_pattern = re.compile('not-installed', re.IGNORECASE) 141 dpkg_not_installed = re.search(not_inst_pattern, package_status) 201 package_pattern = re.compile('RPM', re.IGNORECASE) 203 package_pattern = re.compile('Debian', re.IGNORECASE) 205 result = re.search(package_pattern, file_result) 271 deb_pattern = re.compile('[A-Za-z0-9_.-]*[.][d][e][b]' [all...] |
/external/clang/docs/tools/ |
dump_format_style.py | 7 import re namespace 17 return re.sub(pattern, '%s', text, flags=re.S) % replacement 20 text = re.sub(r'([^/\*])\*', r'\1\\*', text) 21 text = re.sub(r'<tt>\s*(.*?)\s*<\/tt>', r'``\1``', text) 22 text = re.sub(r'\\c ([^ ,;\.]+)', r'``\1``', text) 23 text = re.sub(r'\\\w+ ', '', text) 28 s = re.sub(r'\n([^\n])', '\n' + indent + '\\1', text, flags=re.S) 85 re.sub('.*_', '', self.name) [all...] |
/external/v8/tools/ |
gen-postmortem-metadata.py | 49 import re namespace 242 # for which we're going to emit descriptive constants. 301 # Construct a dictionary for the classes we're sure should be present. 322 line = re.sub('//.*', '', line.strip()); 328 match = re.match('class (\w[^:]*)(: public (\w[^{]*))?\s*{\s*', 343 types[re.sub('\s*=.*', '', entry).lstrip()] = True; 356 usetype = re.sub('SYMBOL_', 'STRING_', type); 361 usetype = re.sub('_REGEXP_', '_REG_EXP_', usetype); 407 # representation and encoding and add them if they're not 416 cctype = re.sub('OneByteString$' [all...] |
/frameworks/base/core/java/android/print/ |
PrintManager.java | 311 } catch (RemoteException re) { 312 throw re.rethrowFromSystemServer(); 336 } catch (RemoteException re) { 337 throw re.rethrowFromSystemServer(); 366 } catch (RemoteException re) { 367 throw re.rethrowFromSystemServer(); 389 } catch (RemoteException re) { 390 throw re.rethrowFromSystemServer(); 412 } catch (RemoteException re) { 413 throw re.rethrowFromSystemServer() [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/LL-star/ |
SimpleCParser.m | 400 @catch (ANTLRRecognitionException *re) { 401 [self reportError:re]; 402 [self recover:input Exception:re]; 495 @catch (ANTLRRecognitionException *re) { 496 [self reportError:re]; 497 [self recover:input Exception:re]; 545 @catch (ANTLRRecognitionException *re) { 546 [self reportError:re]; 547 [self recover:input Exception:re]; 579 @catch (ANTLRRecognitionException *re) { [all...] |
/cts/suite/audio_quality/test_description/conf/ |
detect_usb_audio.py | 20 import os, re, sys namespace 37 m = re.search("card(\d+)$", sound_dev)
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t034tokenLabelPropertyRef.py | 13 def recover(self, input, re): 22 def recover(self, input, re):
|
t035ruleLabelPropertyRef.py | 13 def recover(self, input, re): 22 def recover(self, input, re):
|
t036multipleReturnValues.py | 13 def recover(self, input, re): 22 def recover(self, input, re):
|
t037rulePropertyRef.py | 13 def recover(self, input, re): 22 def recover(self, input, re):
|
t041parameters.py | 13 def recover(self, input, re): 22 def recover(self, input, re):
|
t043synpred.py | 13 def recover(self, input, re): 22 def recover(self, input, re):
|