Searched defs:osflags (Results 1 - 8 of 8) sorted by relevance
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/ |
H A D | w95sock.c | 206 int osflags; local 209 osflags = 0; 212 osflags = MSG_PEEK; 214 while ((rv = recv( osfd, buf, amount, osflags)) == -1)
|
H A D | w16io.c | 92 _PR_MD_OPEN(const char *name, PRIntn osflags, int mode) argument 102 if (osflags & PR_RDONLY ) 104 if (osflags & PR_WRONLY ) 106 if (osflags & PR_RDWR ) 108 if (osflags & PR_CREATE_FILE ) 113 if (osflags & PR_TRUNCATE) 115 if (osflags & PR_APPEND)
|
H A D | w95io.c | 186 * The NSPR open flags (osflags) are translated into flags for Win95 193 _PR_MD_OPEN(const char *name, PRIntn osflags, int mode) argument 200 if (osflags & PR_SYNC) flag6 = FILE_FLAG_WRITE_THROUGH; 202 if (osflags & PR_RDONLY || osflags & PR_RDWR) 204 if (osflags & PR_WRONLY || osflags & PR_RDWR) 207 if ( osflags & PR_CREATE_FILE && osflags & PR_EXCL ) 209 else if (osflags 237 _PR_MD_OPEN_FILE(const char *name, PRIntn osflags, int mode) argument 1153 _PR_MD_OPEN_FILE_UTF16(const PRUnichar *name, PRIntn osflags, int mode) argument [all...] |
H A D | ntio.c | 2086 _PR_MD_OPEN(const char *name, PRIntn osflags, PRIntn mode) argument 2093 if (osflags & PR_SYNC) flag6 = FILE_FLAG_WRITE_THROUGH; 2095 if (osflags & PR_RDONLY || osflags & PR_RDWR) access |= GENERIC_READ; 2096 if (osflags & PR_WRONLY || osflags & PR_RDWR) access |= GENERIC_WRITE; 2098 if ( osflags & PR_CREATE_FILE && osflags & PR_EXCL ) 2100 else if (osflags & PR_CREATE_FILE) 2101 flags = (0 != (osflags 2132 _PR_MD_OPEN_FILE(const char *name, PRIntn osflags, PRIntn mode) argument 3913 int osflags; local [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/ |
H A D | os2io.c | 139 * The NSPR open flags (osflags) are translated into flags for OS/2 146 _PR_MD_OPEN(const char *name, PRIntn osflags, int mode) argument 156 if (osflags & PR_SYNC) access |= OPEN_FLAGS_WRITE_THROUGH; 161 if (osflags & PR_RDONLY) 163 else if (osflags & PR_WRONLY) 165 else if(osflags & PR_RDWR) 168 if ( osflags & PR_CREATE_FILE && osflags & PR_EXCL ) 172 else if (osflags & PR_CREATE_FILE) 174 if (osflags [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/ |
H A D | bfile.c | 165 PRInt32 osflags; local 169 osflags = O_RDWR; 171 osflags = O_WRONLY; 173 osflags = O_RDONLY; 177 osflags |= O_APPEND; 179 osflags |= O_TRUNC; 193 osflags |= O_CREAT ; 198 rv = open(name, osflags, mode);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/ |
H A D | unix.c | 2217 PRInt32 osflags; local 2221 osflags = O_RDWR; 2223 osflags = O_WRONLY; 2225 osflags = O_RDONLY; 2229 osflags |= O_EXCL; 2231 osflags |= O_APPEND; 2233 osflags |= O_TRUNC; 2236 osflags |= O_SYNC; 2238 osflags |= O_FSYNC; 2250 osflags | [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ |
H A D | ptio.c | 1839 PRIntn osflags; local 1842 osflags = 0; 1844 osflags = MSG_PEEK; 1855 if (0 == osflags) 1858 bytes = recv(fd->secret->md.osfd, buf, amount, osflags); 1860 bytes = recv(fd->secret->md.osfd, buf, amount, osflags); 1874 op.arg4.flags = osflags; 3523 PRIntn syserrno, osfd = -1, osflags = 0;; local 3529 if (flags & PR_RDONLY) osflags |= O_RDONLY; 3530 if (flags & PR_WRONLY) osflags | [all...] |
Completed in 506 milliseconds