/titanic_41/usr/src/lib/libast/common/sfio/ |
H A D | _sfopen.c | 46 int fd, oldfd, oflags, sflags; local 50 if((sflags = _sftype(mode,&oflags,NIL(int*))) == 0) 77 if(f->file >= 0 && (oflags &= (O_TEXT|O_BINARY|O_APPEND)) != 0 ) 80 ctl = (ctl & ~(O_TEXT|O_BINARY|O_APPEND)) | oflags; 97 while((fd = sysopenf((char*)file,oflags,SF_CREATMODE)) < 0 && errno == EINTR) 100 while((fd = sysopenf(file,oflags&O_ACCMODE)) < 0 && errno == EINTR) 103 { if((oflags&(O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) ) 107 if(oflags&O_TRUNC ) /* truncate file */ 115 else if(oflags&O_CREAT) 118 if((oflags&O_ACCMODE) != O_WRONLY) [all …]
|
H A D | sfset.c | 38 reg int oflags; local 46 if((oflags = (f->mode&SF_RDWR)) != (int)f->mode && _sfmode(f,oflags,0) < 0) 55 oflags = f->flags; 66 f->flags |= (oflags&SF_RDWR); 88 SFMTXRETURN(f, (oflags&SF_FLAGS));
|
/titanic_41/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 & O_APPEND) [all …]
|
/titanic_41/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_41/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_41/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 = TF_INTR; in thread() [all …]
|
/titanic_41/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_41/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()
|
/titanic_41/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_41/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, NULL)); in devctl_ap_acquire() [all …]
|
/titanic_41/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()
|
H A D | dl.c | 81 conv_arg.oflags = conv_arg.rflags = mode; in conv_dl_mode() 95 conv_arg.oflags = mode; in conv_dl_mode() 182 conv_arg.oflags = conv_arg.rflags = flags; in conv_dl_flag()
|
H A D | globals_machelf.c | 133 (void) conv_invalid_val(&inv_buf, arg->oflags, 0); in cef_cp() 242 if (arg->oflags & vdp->v_val) { in _conv_expn_field() 274 if (arg->oflags & vdp->v_val) { in _conv_expn_field2()
|
H A D | entry.c | 72 conv_arg.oflags = conv_arg.rflags = flags; in conv_ent_flags() 135 conv_arg.oflags = conv_arg.rflags = flags; in conv_ent_files_flags()
|
/titanic_41/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 = mdb_iob_getflags(mdb.m_out) & MDB_IOB_INDENT; in fmt_dotinstr() local [all …]
|
/titanic_41/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()
|
/titanic_41/usr/src/cmd/dumpadm/ |
H A D | minfree.c | 42 minfree_open(const char *dir, int oflags, const char *fmode) in minfree_open() argument 49 if ((fd = open(path, oflags, S_IRUSR | S_IWUSR)) >= 0) in minfree_open()
|