/sdk/monkeyrunner/scripts/ |
monkey_playback.py | 31 'TOUCH': lambda dev, arg: dev.touch(**arg), 32 'DRAG': lambda dev, arg: dev.drag(**arg), 33 'PRESS': lambda dev, arg: dev.press(**arg), 34 'TYPE': lambda dev, arg: dev.type(**arg), 35 'WAIT': lambda dev, arg: MonkeyRunner.sleep(**arg)
|
/external/llvm/utils/emacs/ |
emacs.el | 25 (lambda nil 34 (lambda nil
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_bundle.h | 34 Solve for update dx such that diagmult(1+lambda,transpose(J)%J)%dx= -Jtf 38 inline void db_Compute_dx(double *dx,double **JtJ,double *min_Jtf,double lambda,double *d,int n) 43 opl=1.0+lambda; 51 Solve for update dx such that diagmult(1+lambda,transpose(J)%J)%dx= -Jtf 54 inline void db_Compute_dx_3x3(double dx[3],double JtJ[9],const double min_Jtf[3],double lambda) 58 opl=1.0+lambda;
|
db_framestitching.cpp | 30 double N[16],q[4],lambda[4],lambda_max; local 50 db_RealEigenvalues4x4(lambda,&nr_roots,N,1); 53 lambda_max=lambda[0]; 56 if(lambda[1]>lambda_max) lambda_max=lambda[1]; 59 if(lambda[2]>lambda_max) lambda_max=lambda[2]; 61 if(nr_roots>=4) if(lambda[3]>lambda_max) lambda_max=lambda[3];
|
/external/libgsm/src/ |
long_term.c | 59 register int k, lambda; local 97 for (lambda = 40; lambda <= 120; lambda++) { 98 L_result = (longword)wt_k * dp[best_k - lambda]; 100 Nc = lambda; 163 register int k, lambda; local 203 for (lambda = 40; lambda <= 120; lambda++) 301 register int k, lambda; local 478 register int k, lambda; local 646 register int k, lambda; local 719 register int k, lambda; local [all...] |
/external/webkit/Tools/Scripts/webkitpy/common/net/ |
networktransaction_unittest.py | 41 self.assertEqual(transaction.run(lambda: 42), 42) 51 transaction.run(lambda: self._raise_exception()) 71 self.assertEqual(transaction.run(lambda: self._raise_500_error()), 42) 80 self.assertEqual(transaction.run(lambda: self._raise_404_error()), None) 88 transaction.run(lambda: self._raise_500_error())
|
failuremap_unittest.py | 61 failure_map.filter_out_old_failures(lambda revision: False) 66 failure_map.filter_out_old_failures(lambda revision: revision == 1234) 71 failure_map.filter_out_old_failures(lambda revision: revision == 1235)
|
/external/webkit/Tools/Scripts/webkitpy/tool/steps/ |
abstractstep.py | 43 "bug_title": lambda self, state: self._tool.bugs.fetch_bug(state["bug_id"]).title(), 44 "changed_files": lambda self, state: self._tool.scm().changed_files(self._options.git_commit), 45 "diff": lambda self, state: self._tool.scm().create_patch(self._options.git_commit, changed_files=self._changed_files(state)), 47 "changelogs": lambda self, state: self._tool.checkout().modified_changelogs(self._options.git_commit, changed_files=self._changed_files(state)),
|
steps_unittest.py | 66 tool.user.prompt = lambda message: 42 74 mock_port.name = lambda: "Mac" 76 tool.port = lambda: mock_port
|
ensurebuildersaregreen.py | 47 red_builders_names = map(lambda name: "\"%s\"" % name, red_builders_names) # Add quotes around the names.
|
/external/webkit/Tools/Scripts/webkitpy/tool/bot/ |
sheriff_unittest.py | 58 commit_info.bug_id = lambda: None 59 commit_info.revision = lambda: 4321 64 commit_info.bug_id = lambda: 1234
|
feeders_unittest.py | 55 attachment.is_rollout = lambda: is_rollout 56 attachment.attach_date = lambda: attach_date 76 self.review = lambda: review
|
/external/webkit/Tools/Scripts/webkitpy/common/checkout/ |
api_unittest.py | 118 checkout.modified_changelogs = lambda git_commit, changed_files=None: ["ChangeLog1", "ChangeLog2"] 148 scm.changed_files_for_revision = lambda revision: ['foo/ChangeLog', 'bar/ChangeLog'] 165 scm.committer_email_for_revision = lambda revision: "committer@example.com" 167 checkout.changelog_entries_for_revision = lambda revision: [ChangeLogEntry(_changelog1entry1)] 177 checkout.changelog_entries_for_revision = lambda revision: [] 182 scm.committer_email_for_revision = lambda revision: "committer@example.com" 184 checkout.changelog_entries_for_revision = lambda revision: [ChangeLogEntry(_changelog1entry1)] 190 checkout.commit_message_for_this_commit = lambda git_commit, changed_files=None: CommitMessage(ChangeLogEntry(_changelog1entry1).contents().splitlines()) 196 scm.changed_files = lambda git_commit: ["file1", "ChangeLog", "relative/path/ChangeLog"] 214 scm.changed_files = lambda git_commit: ["file1", "file2", "relative/path/ChangeLog" [all...] |
diff_parser.py | 59 conversion_patterns = (("^diff --git \w/(.+) \w/(?P<FilePath>.+)", lambda matched: "Index: " + matched.group('FilePath') + "\n"), 60 ("^new file.*", lambda matched: "\n"), 61 ("^index [0-9a-f]{7}\.\.[0-9a-f]{7} [0-9]{6}", lambda matched: "===================================================================\n"), 62 ("^--- \w/(?P<FilePath>.+)", lambda matched: "--- " + matched.group('FilePath') + "\n"), 63 ("^\+\+\+ \w/(?P<FilePath>.+)", lambda matched: "+++ " + matched.group('FilePath') + "\n")) 83 return lambda input: input
|
/external/webkit/Tools/Scripts/ |
run-qtwebkit-tests | 229 filtered_path = filter(lambda w: w.startswith('tst_') and os.access(os.path.join(root, w), os.X_OK), files) 230 filtered_path = map(lambda w: os.path.join(root, w), filtered_path) 242 package = map(lambda w: [w, self._options.tests_options, not self._options.developer, self._options.timeout], files) 272 txt = "\n\n".join(map(lambda w: w.output(), results)) 275 totals = reduce(lambda x, y: (int(x[0]) + int(y[0]), int(x[1]) + int(y[1]), int(x[2]) + int(y[2])), totals) 287 txt = "\n\n".join(map(lambda w: w.output(), results)) 291 lambda w: r"", 294 lambda w: "<case class='good'><br><br><b>" + w.group(0) + r"</b></case>", 297 lambda w: "\n<case class='good'><br><i>" + w.group(0) + r"</i> ", 300 lambda w: "</case>\n<case class='good'><br><status class='pass'>" + w.group(1) + r"</status>" + w.group(2 (…) [all...] |
validate-committer-lists | 89 return filter(lambda email: not email_to_committer_map.get(email), emails) 175 authors_missing_email = filter(lambda author: author.find('@') == -1, self._last_commit_time_by_author_cache) 176 authors_with_email = filter(lambda author: author.find('@') != -1, self._last_commit_time_by_author_cache) 177 prefixes_of_authors_with_email = map(lambda author: author.split('@')[0], authors_with_email) 213 authors_and_last_commits.sort(lambda a,b: cmp(a[1], b[1]), reverse=True)
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/ |
deduplicate_tests_unittest.py | 99 lambda path: True)), 104 lambda path: True)), 109 lambda path: False)), 115 lambda path: path == 'LayoutTests/platform/chromium/fast/foo-expected.txt')), 121 lambda path: path == 'LayoutTests/platform/chromium/fast/foo-expected.txt')), 127 lambda path: path == 'LayoutTests/platform/chromium-win/fast/foo-expected.txt')),
|
/external/webkit/Tools/Scripts/webkitpy/common/net/bugzilla/ |
bug.py | 86 attachments = filter(lambda attachment: 103 return filter(lambda patch: patch.reviewer(), patches) 112 return filter(lambda patch: patch.committer(), patches)
|
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/clients/ |
imap.py | 40 lambda x: oauth2.build_xoauth_string(url, consumer, token))
|
/external/webkit/Tools/Scripts/webkitpy/tool/ |
mocktool_unittest.py | 50 self.assertRaises(AttributeError, lambda: options.foo)
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
chromium_linux_unittest.py | 47 filesystem.exists = lambda x: 'DumpRenderTree' in x 89 filesystem.exists = lambda x: True 97 filesystem.exists = lambda x: True
|
chromium_unittest.py | 50 mock_port.get_option = lambda option_name: '' 98 self.driver._proc.poll = lambda: None 109 self.driver._proc.poll = lambda: 2 178 port.test_expectations = lambda: """BUG_TEST SKIP : fast/js/not-good.js = TEXT 180 port.test_expectations_overrides = lambda: '' 181 port.tests = lambda paths: set() 182 port.path_exists = lambda test: True
|
/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/ |
Tnaf.java | 75 * Computes the norm of an element <code>λ</code> of 78 * @param lambda The element <code>λ</code> of 80 * @return The norm of <code>λ</code>. 82 public static BigInteger norm(final byte mu, ZTauElement lambda) 87 BigInteger s1 = lambda.u.multiply(lambda.u); 90 BigInteger s2 = lambda.u.multiply(lambda.v); 93 BigInteger s3 = lambda.v.multiply(lambda.v).shiftLeft(1) [all...] |
/external/v8/tools/ |
gc-nvp-trace-processor.py | 265 return reduce(lambda t,r: f(t, r[field]), trace, init) 268 return freduce(lambda t,v: t + v, field, trace, 0) 271 return freduce(lambda t,r: max(t, r), field, trace, 0) 274 return freduce(lambda t,r: t if r == 0 else t + 1, field, trace, 0) 280 marksweeps = filter(lambda r: r['gc'] == 'ms', trace) 281 markcompacts = filter(lambda r: r['gc'] == 'mc', trace) 282 scavenges = filter(lambda r: r['gc'] == 's', trace) 295 dev = math.sqrt(freduce(lambda t,r: (r - avg) ** 2, field, trace, 0) / 314 stats(out, 'Mark', filter(lambda r: r['mark'] != 0, trace), 'mark') 315 stats(out, 'Sweep', filter(lambda r: r['sweep'] != 0, trace), 'sweep' [all...] |
/build/tools/ |
compare_fileslist.py | 40 lines = map(lambda (x,y): (y,int(x)), lines) 55 rows = sorted(rows, key=lambda x: x[0])
|