Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: src/core/SkMD5.cpp

Issue 1891873002: SkPDF: PDF/A runtime switch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-04-21 (Thursday) 16:21:36 EDT Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/core/SkMD5.h ('k') | src/pdf/SkPDFDevice.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 * 6 *
7 * The following code is based on the description in RFC 1321. 7 * The following code is based on the description in RFC 1321.
8 * http://www.ietf.org/rfc/rfc1321.txt 8 * http://www.ietf.org/rfc/rfc1321.txt
9 */ 9 */
10 10
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 #endif 243 #endif
244 for (size_t i = 0, j = 0; j < 64; i++, j += 4) { 244 for (size_t i = 0, j = 0; j < 64; i++, j += 4) {
245 storage[i] = ((uint32_t)input[j ]) | 245 storage[i] = ((uint32_t)input[j ]) |
246 (((uint32_t)input[j+1]) << 8) | 246 (((uint32_t)input[j+1]) << 8) |
247 (((uint32_t)input[j+2]) << 16) | 247 (((uint32_t)input[j+2]) << 16) |
248 (((uint32_t)input[j+3]) << 24); 248 (((uint32_t)input[j+3]) << 24);
249 } 249 }
250 return storage; 250 return storage;
251 #endif 251 #endif
252 } 252 }
OLDNEW
« no previous file with comments | « src/core/SkMD5.h ('k') | src/pdf/SkPDFDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698