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

Side by Side Diff: nspr/pr/src/misc/prlong.c

Issue 68173008: Update to NSPR 4.10.2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Update README.chromium Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « nspr/pr/src/md/windows/w95sock.c ('k') | nspr/pr/src/misc/prnetdb.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public 2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 5
6 #include "primpl.h" 6 #include "prlong.h"
7 7
8 static PRInt64 ll_zero = LL_INIT( 0x00000000,0x00000000 ); 8 static PRInt64 ll_zero = LL_INIT( 0x00000000,0x00000000 );
9 static PRInt64 ll_maxint = LL_INIT( 0x7fffffff, 0xffffffff ); 9 static PRInt64 ll_maxint = LL_INIT( 0x7fffffff, 0xffffffff );
10 static PRInt64 ll_minint = LL_INIT( 0x80000000, 0x00000000 ); 10 static PRInt64 ll_minint = LL_INIT( 0x80000000, 0x00000000 );
11 static PRUint64 ll_maxuint = LL_INIT( 0xffffffff, 0xffffffff ); 11 static PRUint64 ll_maxuint = LL_INIT( 0xffffffff, 0xffffffff );
12 12
13 PR_IMPLEMENT(PRInt64) LL_Zero(void) { return ll_zero; } 13 PR_IMPLEMENT(PRInt64) LL_Zero(void) { return ll_zero; }
14 PR_IMPLEMENT(PRInt64) LL_MaxInt(void) { return ll_maxint; } 14 PR_IMPLEMENT(PRInt64) LL_MaxInt(void) { return ll_maxint; }
15 PR_IMPLEMENT(PRInt64) LL_MinInt(void) { return ll_minint; } 15 PR_IMPLEMENT(PRInt64) LL_MinInt(void) { return ll_minint; }
16 PR_IMPLEMENT(PRUint64) LL_MaxUint(void) { return ll_maxuint; } 16 PR_IMPLEMENT(PRUint64) LL_MaxUint(void) { return ll_maxuint; }
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 } 230 }
231 } 231 }
232 } 232 }
233 233
234 if (qp) { 234 if (qp) {
235 qp->lo = q0; 235 qp->lo = q0;
236 qp->hi = q1; 236 qp->hi = q1;
237 } 237 }
238 } 238 }
239 #endif /* !HAVE_LONG_LONG */ 239 #endif /* !HAVE_LONG_LONG */
OLDNEW
« no previous file with comments | « nspr/pr/src/md/windows/w95sock.c ('k') | nspr/pr/src/misc/prnetdb.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698