/titanic_52/usr/src/contrib/ast/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; global() 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));
|
/titanic_52/usr/src/cmd/sendmail/libsm/ |
H A D | stdio.c | 69 int oflags; local 74 oflags = O_RDWR; 77 oflags = O_RDWR | O_CREAT | O_TRUNC; 80 oflags = O_RDONLY; 83 oflags = O_WRONLY | O_CREAT | O_TRUNC; 86 oflags = O_APPEND | O_WRONLY | O_CREAT; 89 oflags = O_APPEND | O_RDWR | O_CREAT; 97 oflags |= O_BINARY; 99 fp->f_file = open(path, oflags, 104 if (oflags 412 int oflags, tmp, fdflags, fd = *((int *) info); global() local [all...] |
/titanic_52/usr/src/cmd/troff/troff.d/ |
H A D | troff.sh | 36 oflags= newargs= 46 oflags=$oflags$i ;; 47 -b|-k*|-p*|-g|-w) oflags=$i$oflags ;; 59 if [ "-b" = "$oflags" ] 64 if [ -n "$oflags" ]
|
/titanic_52/usr/src/cmd/sendmail/db/os/ |
H A D | os_oflags.c | 30 __db_oflags(oflags) in __db_oflags() argument 31 int oflags; in __db_oflags() 42 if (oflags & O_CREAT) 44 if (!(oflags & (O_RDWR | O_WRONLY)) || oflags & O_RDONLY) 46 if (oflags & O_TRUNC)
|
/titanic_52/usr/src/lib/libc/port/sys/ |
H A D | signalfd.c | 28 int oflags = O_RDONLY; in signalfd() local 36 oflags |= O_NONBLOCK; in signalfd() 39 oflags |= O_CLOEXEC; in signalfd() 41 if ((fd = open("/dev/signalfd", oflags)) < 0) in signalfd()
|
H A D | eventfd.c | 25 int oflags = O_RDWR; in eventfd() local 35 oflags |= O_NONBLOCK; in eventfd() 38 oflags |= O_CLOEXEC; in eventfd() 40 if ((fd = open("/dev/eventfd", oflags)) < 0) in eventfd()
|
H A D | timerfd.c | 25 int oflags = O_RDWR; in timerfd_create() local 34 oflags |= O_NONBLOCK; in timerfd_create() 37 oflags |= O_CLOEXEC; in timerfd_create() 39 if ((fd = open("/dev/timerfd", oflags)) < 0) in timerfd_create()
|
/titanic_52/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | thread.c | 391 uint_t oflags = 0; in thread() local 406 } else if (!(oflags & TF_MERGE)) { \ in thread() 420 'i', MDB_OPT_SETBITS, TF_INTR, &oflags, in thread() 421 'p', MDB_OPT_SETBITS, TF_PROC, &oflags, in thread() 422 'b', MDB_OPT_SETBITS, TF_BLOCK, &oflags, in thread() 423 's', MDB_OPT_SETBITS, TF_SIG, &oflags, in thread() 424 'd', MDB_OPT_SETBITS, TF_DISP, &oflags, in thread() 425 'm', MDB_OPT_SETBITS, TF_MERGE, &oflags, NULL) != argc) in thread() 431 if (!(oflags & ~TF_MERGE)) in thread() 433 oflags in thread() [all...] |
/titanic_52/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | cc_retr.c | 218 krb5_flags oflags = 0; in krb5_cc_retrieve_cred_seq() local 225 kret = krb5_cc_get_flags(context, id, &oflags); in krb5_cc_retrieve_cred_seq() 228 if (oflags & KRB5_TC_OPENCLOSE) in krb5_cc_retrieve_cred_seq() 229 (void) krb5_cc_set_flags(context, id, oflags & ~KRB5_TC_OPENCLOSE); in krb5_cc_retrieve_cred_seq() 232 if (oflags & KRB5_TC_OPENCLOSE) in krb5_cc_retrieve_cred_seq() 233 krb5_cc_set_flags(context, id, oflags); in krb5_cc_retrieve_cred_seq() 258 if (oflags & KRB5_TC_OPENCLOSE) in krb5_cc_retrieve_cred_seq() 259 krb5_cc_set_flags(context, id, oflags); in krb5_cc_retrieve_cred_seq() 270 if (oflags & KRB5_TC_OPENCLOSE) in krb5_cc_retrieve_cred_seq() 271 krb5_cc_set_flags(context, id, oflags); in krb5_cc_retrieve_cred_seq() [all...] |
/titanic_52/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | waddnstr.c | 57 short oflags; in waddnstr() local 66 oflags = w->_flags & (W_FLUSH | W_SYNC_UP); in waddnstr() 75 w->_flags |= oflags; in waddnstr()
|
H A D | waddnws.c | 56 short oflags; in waddnwstr() local 65 oflags = w->_flags & (W_FLUSH | W_SYNC_UP); in waddnwstr() 75 w->_flags |= oflags; in waddnwstr()
|
H A D | winsnstr.c | 56 short oflags; in winsnstr() local 68 oflags = w->_flags & (W_FLUSH | W_SYNC_UP); in winsnstr() 77 w->_flags |= oflags; in winsnstr()
|
H A D | wbrdr_st.c | 60 short oflags; in wborder_set() local 67 oflags = w->_flags & (W_FLUSH | W_SYNC_UP); in wborder_set() 82 w->_flags |= oflags; in wborder_set()
|
H A D | wadd_wch.c | 79 int oflags; in wadd_wch() local 81 oflags = w->_flags & (W_FLUSH | W_SYNC_UP); in wadd_wch() 129 w->_flags = oflags | (w->_flags & ~(W_FLUSH | W_SYNC_UP)); in wadd_wch()
|
/titanic_52/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | waddnstr.c | 55 short oflags; local 67 oflags = w->_flags & (W_FLUSH | W_SYNC_UP); 76 w->_flags |= oflags;
|
H A D | waddnws.c | 55 short oflags; local 67 oflags = w->_flags & (W_FLUSH | W_SYNC_UP); 76 w->_flags |= oflags;
|
H A D | winsnstr.c | 54 short oflags; local 69 oflags = w->_flags & (W_FLUSH | W_SYNC_UP); 78 w->_flags |= oflags;
|
H A D | wbrdr_st.c | 57 short oflags; local 71 oflags = w->_flags & (W_FLUSH | W_SYNC_UP); 86 w->_flags |= oflags;
|
/titanic_52/usr/src/lib/libdevice/ |
H A D | devctl.c | 108 uint_t oflags; in devctl_bus_acquire() local 119 oflags = ((flags & DC_EXCL) != 0) ? O_EXCL|O_RDWR : O_RDWR; in devctl_bus_acquire() 120 return (dc_mkhndl(DEVCTL_BUS, devfs_path, oflags, NULL)); in devctl_bus_acquire() 131 uint_t oflags; in devctl_device_acquire() local 142 oflags = ((flags & DC_EXCL) != 0) ? O_EXCL|O_RDWR : O_RDWR; in devctl_device_acquire() 143 return (dc_mkhndl(DEVCTL_DEVICE, devfs_path, oflags, NULL)); in devctl_device_acquire() 155 uint_t oflags; in devctl_ap_acquire() local 168 oflags = ((flags & DC_EXCL) != 0) ? O_EXCL : 0; in devctl_ap_acquire() 169 oflags |= ((flags & DC_RDONLY) != 0) ? O_RDONLY : O_RDWR; in devctl_ap_acquire() 171 return (dc_mkhndl(DEVCTL_AP, devfs_path, oflags, NUL in devctl_ap_acquire() 183 uint_t oflags; devctl_pm_bus_acquire() local 207 uint_t oflags; devctl_pm_dev_acquire() local 228 dc_mkhndl(dc_type_t type,char * path,uint_t oflags,devctl_hdl_t pc) dc_mkhndl() argument [all...] |
/titanic_52/usr/src/cmd/sgs/libconv/common/ |
H A D | dynamic_machelf.c | 58 arg->oflags = arg->rflags = flags; in conv_dyn_posflag1() 77 conv_arg.oflags = conv_arg.rflags = flags; in conv_dyn_flag() 100 conv_arg.oflags = conv_arg.rflags = flags; in conv_dyn_flag1() 120 conv_arg.oflags = conv_arg.rflags = flags; in conv_dyn_feature1()
|
H A D | audit.c | 69 conv_arg.oflags = conv_arg.rflags = bind; in conv_la_bind() 122 conv_arg.oflags = conv_arg.rflags = search; in conv_la_search() 198 conv_arg.oflags = conv_arg.rflags = symbind; in conv_la_symbind()
|
/titanic_52/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 69 * are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags). 149 #define FFLAGS(oflags) ((oflags) & O_EXEC ? (oflags) : (oflags) + 1) argument
|
/titanic_52/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_fmt.c | 126 uint_t oflags = mdb_iob_getflags(mdb.m_out) & MDB_IOB_INDENT; in fmt_dot() local 129 mdb_iob_clrflags(mdb.m_out, oflags); in fmt_dot() 141 mdb_iob_setflags(mdb.m_out, oflags); in fmt_dot() 223 uint_t oflags = mdb_iob_getflags(mdb.m_out) & MDB_IOB_INDENT; in fmt_rawstr() local 227 mdb_iob_clrflags(mdb.m_out, oflags); in fmt_rawstr() 245 mdb_iob_setflags(mdb.m_out, oflags); in fmt_rawstr() 252 uint_t oflags = mdb_iob_getflags(mdb.m_out) & MDB_IOB_INDENT; in fmt_escstr() local 257 mdb_iob_clrflags(mdb.m_out, oflags); in fmt_escstr() 277 mdb_iob_setflags(mdb.m_out, oflags); in fmt_escstr() 424 uint_t oflags in fmt_dotinstr() local [all...] |
/titanic_52/usr/src/cmd/mdb/common/modules/ipc/ |
H A D | ipc.c | 290 uint_t oflags = 0; in ds_print() local 292 if (mdb_getopts(argc, argv, 'l', MDB_OPT_SETBITS, 1, &oflags, in ds_print() 296 if (mdb_walk_dcmd(iv->iv_wcmd, oflags ? iv->iv_ocmd : "ipcperm", in ds_print() 599 uint_t oflags = 0; in ipcs() local 602 MDB_OPT_SETBITS, 1, &oflags, NULL) != argc) in ipcs() 606 if (mdb_walk_dcmd("msq", oflags ? "kmsqid" : "ipcperm", argc, argv) == in ipcs() 613 if (mdb_walk_dcmd("shm", oflags ? "kshmid" : "ipcperm", argc, argv) == in ipcs() 620 if (mdb_walk_dcmd("sem", oflags ? "ksemid" : "ipcperm", argc, argv) == in ipcs()
|