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

Side by Side Diff: nspr/pr/include/md/_unixos.h

Issue 1843333003: Update NSPR to 4.12 and NSS to 3.23 on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@master
Patch Set: 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
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 #ifndef prunixos_h___ 6 #ifndef prunixos_h___
7 #define prunixos_h___ 7 #define prunixos_h___
8 8
9 /* 9 /*
10 * If FD_SETSIZE is not defined on the command line, set the default value 10 * If FD_SETSIZE is not defined on the command line, set the default value
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 /************************************************************************/ 295 /************************************************************************/
296 296
297 #ifdef _MD_INTERVAL_USE_GTOD 297 #ifdef _MD_INTERVAL_USE_GTOD
298 extern PRIntervalTime _PR_UNIX_GetInterval(void); 298 extern PRIntervalTime _PR_UNIX_GetInterval(void);
299 extern PRIntervalTime _PR_UNIX_TicksPerSecond(void); 299 extern PRIntervalTime _PR_UNIX_TicksPerSecond(void);
300 #define _MD_INTERVAL_INIT() 300 #define _MD_INTERVAL_INIT()
301 #define _MD_GET_INTERVAL _PR_UNIX_GetInterval 301 #define _MD_GET_INTERVAL _PR_UNIX_GetInterval
302 #define _MD_INTERVAL_PER_SEC _PR_UNIX_TicksPerSecond 302 #define _MD_INTERVAL_PER_SEC _PR_UNIX_TicksPerSecond
303 #endif 303 #endif
304 304
305 #ifdef HAVE_CLOCK_MONOTONIC 305 #ifdef _PR_HAVE_CLOCK_MONOTONIC
306 extern PRIntervalTime _PR_UNIX_GetInterval2(void); 306 extern PRIntervalTime _PR_UNIX_GetInterval2(void);
307 extern PRIntervalTime _PR_UNIX_TicksPerSecond2(void); 307 extern PRIntervalTime _PR_UNIX_TicksPerSecond2(void);
308 #define _MD_INTERVAL_INIT() 308 #define _MD_INTERVAL_INIT()
309 #define _MD_GET_INTERVAL _PR_UNIX_GetInterval2 309 #define _MD_GET_INTERVAL _PR_UNIX_GetInterval2
310 #define _MD_INTERVAL_PER_SEC _PR_UNIX_TicksPerSecond2 310 #define _MD_INTERVAL_PER_SEC _PR_UNIX_TicksPerSecond2
311 #endif 311 #endif
312 312
313 #define _MD_INTERVAL_PER_MILLISEC() (_PR_MD_INTERVAL_PER_SEC() / 1000) 313 #define _MD_INTERVAL_PER_MILLISEC() (_PR_MD_INTERVAL_PER_SEC() / 1000)
314 #define _MD_INTERVAL_PER_MICROSEC() (_PR_MD_INTERVAL_PER_SEC() / 1000000) 314 #define _MD_INTERVAL_PER_MICROSEC() (_PR_MD_INTERVAL_PER_SEC() / 1000000)
315 315
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 { 615 {
616 _MD_Open64 _open64; 616 _MD_Open64 _open64;
617 _MD_Mmap64 _mmap64; 617 _MD_Mmap64 _mmap64;
618 _MD_Stat64 _stat64; 618 _MD_Stat64 _stat64;
619 _MD_Fstat64 _fstat64; 619 _MD_Fstat64 _fstat64;
620 _MD_Lseek64 _lseek64; 620 _MD_Lseek64 _lseek64;
621 }; 621 };
622 extern struct _MD_IOVector _md_iovector; 622 extern struct _MD_IOVector _md_iovector;
623 623
624 #endif /* prunixos_h___ */ 624 #endif /* prunixos_h___ */
OLDNEW
« no previous file with comments | « nspr/pr/include/md/_linux.h ('k') | nspr/pr/include/prenv.h » ('j') | nss/lib/util/secoid.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698