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

Side by Side Diff: nspr/pr/src/io/prmmap.c

Issue 170823003: Update to NSS 3.15.5 and NSPR 4.10.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « nspr/pr/include/private/primpl.h ('k') | nspr/pr/src/md/unix/unix.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 /* 6 /*
7 ********************************************************************* 7 *********************************************************************
8 * 8 *
9 * Memory-mapped files 9 * Memory-mapped files
10 * 10 *
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 PR_IMPLEMENT(PRStatus) PR_MemUnmap(void *addr, PRUint32 len) 53 PR_IMPLEMENT(PRStatus) PR_MemUnmap(void *addr, PRUint32 len)
54 { 54 {
55 return _PR_MD_MEM_UNMAP(addr, len); 55 return _PR_MD_MEM_UNMAP(addr, len);
56 } 56 }
57 57
58 PR_IMPLEMENT(PRStatus) PR_CloseFileMap(PRFileMap *fmap) 58 PR_IMPLEMENT(PRStatus) PR_CloseFileMap(PRFileMap *fmap)
59 { 59 {
60 return _PR_MD_CLOSE_FILE_MAP(fmap); 60 return _PR_MD_CLOSE_FILE_MAP(fmap);
61 } 61 }
62
63 PR_IMPLEMENT(PRStatus) PR_SyncMemMap(
64 PRFileDesc *fd,
65 void *addr,
66 PRUint32 len)
67 {
68 return _PR_MD_SYNC_MEM_MAP(fd, addr, len);
69 }
OLDNEW
« no previous file with comments | « nspr/pr/include/private/primpl.h ('k') | nspr/pr/src/md/unix/unix.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698