/macosx-10.10.1/BerkeleyDB-21/db/common/ |
H A D | openflags.c | 20 __db_openflags(oflags) 21 int oflags; 27 if (oflags & O_CREAT) 30 if (oflags & O_TRUNC) 42 switch (oflags & O_ACCMODE) {
|
/macosx-10.10.1/bash-94.1.2/bash-3.2/support/ |
H A D | bashversion.c | 64 int opt, oflags; local 72 oflags = 0; 81 oflags |= RFLAG; /* release */ 84 oflags |= VFLAG; /* version */ 87 oflags |= MFLAG; /* machtype */ 90 oflags |= PFLAG; /* patchlevel */ 93 oflags |= SFLAG; 96 oflags |= LFLAG; 99 oflags |= XFLAG; 117 if (oflags [all...] |
/macosx-10.10.1/BerkeleyDB-21/db/os_brew/ |
H A D | os_open.c | 25 OpenFileMode oflags; local 37 oflags = 0; 39 oflags |= _OFM_CREATE; 42 oflags |= _OFM_READ; 44 oflags |= _OFM_READWRITE; 46 if ((ret = __os_openhandle(env, name, oflags, mode, fhpp)) != 0)
|
/macosx-10.10.1/BerkeleyDB-21/db/os/ |
H A D | os_open.c | 30 int oflags, ret; local 36 oflags = 0; 56 oflags |= O_BINARY; 65 oflags |= O_CREAT; 68 oflags |= O_EXCL; 72 oflags |= O_DIRECT; 76 oflags |= O_DSYNC; 80 oflags |= O_RDONLY; 82 oflags |= O_RDWR; 85 oflags | [all...] |
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/sfio/ |
H A D | _sfopen.c | 46 int fd, oldfd, oflags, fflags, sflags; local 50 if((sflags = _sftype(mode,&oflags,&fflags,NIL(int*))) == 0) 78 { if ((oflags &= (O_TEXT|O_BINARY|O_APPEND)) != 0 ) 81 ctl = (ctl & ~(O_TEXT|O_BINARY|O_APPEND)) | oflags; 103 while((fd = sysopenf((char*)file,oflags,SF_CREATMODE)) < 0 && errno == EINTR) 106 while((fd = sysopenf(file,oflags&O_ACCMODE)) < 0 && errno == EINTR) 109 { if((oflags&(O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) ) 113 if(oflags&O_TRUNC ) /* truncate file */ 121 else if(oflags&O_CREAT) 124 if((oflags 155 reg int sflags, oflags, fflags, uflag; local [all...] |
H A D | sfset.c | 38 reg int oflags, tflags, rv; local 46 if((oflags = (f->mode&SF_RDWR)) != (int)f->mode) 53 rv = _sfmode(f,oflags,0); 65 oflags = f->flags; 76 f->flags |= (oflags&SF_RDWR); 98 SFMTXRETURN(f, (oflags&SF_FLAGS));
|
/macosx-10.10.1/Libc-1044.1.2/util/ |
H A D | opendev.c | 51 opendev(path, oflags, dflags, realpath) 53 int oflags; 79 fd = open(path, oflags); 86 fd = open(namebuf, oflags); 95 fd = open(namebuf, oflags);
|
/macosx-10.10.1/diskdev_cmds-576/fdisk.tproj/ |
H A D | opendev.c | 65 opendev(path, oflags, dflags, realpath) 67 int oflags; 87 fd = open(path, oflags); 95 fd = open(namebuf, oflags); 104 fd = open(namebuf, oflags);
|
/macosx-10.10.1/Libc-1044.1.2/stdio/FreeBSD/ |
H A D | fdopen.c | 64 int flags, oflags, fdflags, tmp; local 78 if ((flags = __sflags(mode, &oflags)) == 0) 85 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) { 98 if ((oflags & O_APPEND) && !(fdflags & O_APPEND))
|
H A D | fopen.c | 67 int flags, oflags; local 69 if ((flags = __sflags(mode, &oflags)) == 0) 73 if ((f = _open(file, oflags, DEFFILEMODE)) < 0) { 105 if (oflags & O_APPEND)
|
H A D | freopen.c | 64 int dflags, flags, isopen, oflags, sverrno, wantfd; local 66 if ((flags = __sflags(mode, &oflags)) == 0) { 97 (oflags & O_ACCMODE)) { 105 if ((oflags ^ dflags) & O_APPEND) { 107 dflags |= oflags & O_APPEND; 116 if (oflags & O_TRUNC) 118 if (!(oflags & O_APPEND)) 160 f = _open(file, oflags, DEFFILEMODE); 166 f = _open(file, oflags, DEFFILEMODE); 244 if (oflags [all...] |
/macosx-10.10.1/BerkeleyDB-21/db/os_qnx/ |
H A D | os_qnx_open.c | 23 __os_qnx_region_open(env, name, oflags, mode, fhpp) 26 int oflags, mode; 56 if ((fhp->fd = shm_open(name, oflags, mode)) == -1) {
|
/macosx-10.10.1/BerkeleyDB-21/db/build_vxworks/test_micro/ |
H A D | b_txn_write.c | 43 u_int32_t flags, oflags; local 48 oflags = flags = 0; 98 oflags |= DB_INIT_REP; 101 oflags |= DB_CREATE | DB_INIT_LOCK | 105 dbenv->open(dbenv, TESTDIR, NULL, flags | oflags, 0666) == 0); 109 dbenv->open(dbenv, TESTDIR, flags | oflags, 0666) == 0); 114 DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR, oflags, 0666) == 0);
|
/macosx-10.10.1/BerkeleyDB-21/db/test_micro/source/ |
H A D | b_txn_write.c | 43 u_int32_t flags, oflags; local 48 oflags = flags = 0; 97 oflags |= DB_INIT_REP; 100 oflags |= DB_CREATE | DB_INIT_LOCK | 104 dbenv->open(dbenv, TESTDIR, NULL, flags | oflags, 0666) == 0); 108 dbenv->open(dbenv, TESTDIR, flags | oflags, 0666) == 0); 113 DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR, oflags, 0666) == 0);
|
/macosx-10.10.1/apr-32/apr/apr/file_io/unix/ |
H A D | open.c | 97 int oflags = 0; local 104 oflags = O_RDWR; 107 oflags = O_RDONLY; 110 oflags = O_WRONLY; 117 oflags |= O_CREAT; 119 oflags |= O_EXCL; 127 oflags |= O_APPEND; 130 oflags |= O_TRUNC; 134 oflags |= O_BINARY; 142 oflags | [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/security/audit/ |
H A D | audit_bsm_klib.c | 265 audit_flags_and_error_to_openevent(int oflags, int error) argument 272 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONLY); 278 switch (oflags) { 362 audit_flags_and_error_to_openextendedevent(int oflags, int error) argument 369 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONLY); 375 switch (oflags) { 459 audit_flags_and_error_to_openatevent(int oflags, int error) argument 466 oflags 556 audit_flags_and_error_to_openbyidevent(int oflags, int error) argument 759 audit_fcntl_command_event(int cmd, int oflags, int error) argument [all...] |
/macosx-10.10.1/BerkeleyDB-21/db/test/ |
H A D | recd001.tcl | 77 set oflags "-create $omethod -mode 0644 \ 79 set db [eval {berkdb_open} $oflags] 97 set oflags "-create $omethod -mode 0644 \ 99 set db [eval {berkdb_open} $oflags] 103 set oflags "-create $omethod -mode 0644 \ 105 set db [eval {berkdb_open} $oflags] 234 set oflags "-create $omethod -mode 0644 \ 236 set db [eval {berkdb_open} $oflags] 238 set oflags "-create $omethod -mode 0644 \ 240 set db2 [eval {berkdb_open} $oflags] [all...] |
H A D | recd017.tcl | 59 set oflags "-create $omethod -mode 0644 \ 61 set db [eval {berkdb_open} $oflags] 80 set oflags "-create $omethod -mode 0644 \ 82 set db [eval {berkdb_open} $oflags] 86 set oflags "-create $omethod -mode 0644 \ 88 set db [eval {berkdb_open} $oflags]
|
H A D | recd002.tcl | 53 set oflags "-create $args $omethod -mode 0644 -env $dbenv\ 55 set db [eval {berkdb_open} $oflags] 59 set oflags "-create $args $omethod -mode 0644 -env $dbenv\ 61 set db [eval {berkdb_open} $oflags]
|
H A D | recd004.tcl | 47 set oflags "-create -mode 0644 \ 49 set db [eval {berkdb_open} $oflags] 53 set oflags "-create -mode 0644 \ 55 set db [eval {berkdb_open} $oflags]
|
H A D | rep033.tcl | 112 set oflags " -env $masterenv $method -create -auto_commit " 113 set dbw [eval {berkdb_open_noerr} $oflags $largs w.db] 114 set dbx [eval {berkdb_open_noerr} $oflags $largs x.db] 115 set dby [eval {berkdb_open_noerr} $oflags $largs y.db] 116 set dbz [eval {berkdb_open_noerr} $oflags $largs z.db] 140 set dba [eval {berkdb_open_noerr} $oflags $largs a.db] 141 set dbb [eval {berkdb_open_noerr} $oflags $largs b.db]
|
H A D | recd007.tcl | 47 set oflags "-create $omethod -mode 0644 -env $env $opts $testfile" 48 set db [eval {berkdb_open} $oflags] 207 set oflags "-create $method -auto_commit -mode 0644 \ 211 set oflags "-create $method -auto_commit -mode 0644 \ 219 set oflags "-create $method -auto_commit -mode 0644 \ 221 set db [eval {berkdb_open} $oflags] 226 set oflags "-create $method -auto_commit -mode 0644 \ 243 set ret [catch {eval {berkdb_open} $oflags} db] 429 # For dbtruncate, we want oflags to have "$env" in it, 431 # the '$' is protected below. Later on we use oflags [all...] |
H A D | recd003.tcl | 48 set oflags \ 50 set db [eval {berkdb_open} $oflags] 54 set oflags \ 56 set db [eval {berkdb_open} $oflags]
|
H A D | recd019.tcl | 44 set oflags "-create $omethod -mode 0644 \ 46 set db [eval {berkdb_open} $oflags] 64 set oflags "-create $omethod -mode 0644 \ 66 set db [eval {berkdb_open} $oflags]
|
/macosx-10.10.1/apr-32/apr/apr/file_io/os2/ |
H A D | open.c | 35 int oflags = 0; local 71 oflags |= OPEN_ACTION_CREATE_IF_NEW; 74 oflags |= OPEN_ACTION_OPEN_IF_EXISTS; 82 oflags |= OPEN_ACTION_REPLACE_IF_EXISTS; 83 } else if ((oflags & 0xFF) == 0) { 84 oflags |= OPEN_ACTION_OPEN_IF_EXISTS; 87 rv = DosOpen(fname, &(dafile->filedes), &action, 0, 0, oflags, mflags, NULL);
|