Searched defs:mode (Results 76 - 100 of 288) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dgetopts.c57 register int flag, mode; local
105 if(mode= (*options==':'))
117 pp->mode = SH_JMPERREXIT;
124 if(mode==0)
132 if(mode)
158 if(!mode && strchr(options,' '))
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_print.c203 int mode = MODE_GRAPHICS; /* treat as raw data */ local
207 pfd = smbfs_open_printer(ctx, title, setup_len, mode);
244 int setuplen, int mode)
273 ioc.ioc_prmode = mode;
243 smbfs_open_printer(struct smb_ctx *ctx, const char *title, int setuplen, int mode) argument
/osnet-11/usr/src/lib/libsmedia/library/common/
H A Dl_generic.c113 smedia_format(smedia_handle_t handle, uint32_t flavor, uint32_t mode) argument
119 ffl.mode = mode;
/osnet-11/usr/src/lib/libnsl/des/
H A Ddes_crypt.c95 * CBC mode encryption
98 cbc_crypt(char *key, char *buf, size_t len, unsigned int mode, char *ivec) argument
106 err = common_crypt(key, buf, len, mode, &dp);
119 * ECB mode encryption
122 ecb_crypt(char *key, char *buf, size_t len, unsigned int mode) argument
128 return (common_crypt(key, buf, len, mode, &dp));
144 common_crypt(char *key, char *buf, unsigned len, unsigned mode, argument
153 ((mode & DES_DIRMASK) == DES_ENCRYPT) ? ENCRYPT : DECRYPT;
155 desdev = mode & DES_DEVMASK;
193 unsigned int mode, cha
192 desN_crypt(des_block keys[], int keynum, char *buf, unsigned int len, unsigned int mode, char *ivec) argument
231 __cbc_triple_crypt(des_block keys[], char *buf, uint_t len, uint_t mode, char *ivec) argument
[all...]
/osnet-11/usr/src/lib/libcmd/common/
H A Duniq.c85 static int uniq(Sfio_t *fdin, Sfio_t *fdout, int fields, int chars, int width, int mode, int* all, Compare_f compare) argument
91 if(mode&C_FLAG)
161 if(((mode&D_FLAG)&&count==0) || ((mode&U_FLAG)&&count))
248 register int n, mode=0; local
262 mode |= C_FLAG;
265 mode |= D_FLAG;
268 mode |= D_FLAG;
287 mode |= U_FLAG;
311 if(all && (mode
[all...]
/osnet-11/usr/src/lib/libdhcpsvc/private/
H A Dconfopt.c252 * specified by the mode argument (and modified by the umask). Caller is
256 write_dsvc_conf(dhcp_confopt_t *ddp, mode_t mode) argument
289 if ((tdd = open(tmpconf, O_CREAT | O_EXCL | O_WRONLY, mode)) < 0)
/osnet-11/usr/src/lib/libipsecutil/common/
H A Dipsec_libssl_setup.c268 solaris_locking_callback(int mode, int type, char *file, int line) argument
270 if (mode & CRYPTO_LOCK) {
/osnet-11/usr/src/lib/fm/libfmd_agent/common/
H A Dfmd_agent.c160 fmd_agent_open_dev(int ver, int mode) argument
166 if ((fd = open("/dev/fm", mode)) < 0)
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/
H A Dadb_openclose.c1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
288 osa_adb_get_lock(osa_adb_db_t db, int mode) argument
292 if (db->lock->lockmode >= mode) {
299 switch (mode) {
318 } else if (ret == EBADF && mode == KRB5_DB_LOCKMODE_EXCLUSIVE)
368 db->lock->lockmode = mode;
/osnet-11/usr/src/grub/grub2/include/grub/efi/
H A Dgraphics_output.h56 grub_efi_uint32_t mode; member in struct:grub_efi_gop_mode
93 struct grub_efi_gop_mode *mode; member in struct:grub_efi_gop
/osnet-11/usr/src/cmd/sendmail/db/db/
H A Ddb_appinit.c41 * mode to be used for write cursors.
80 int mode, ret; local
192 mode = __db_omode("rwrw--");
202 mode, dbenv, &dbenv->lk_info)) != 0)
207 mode, dbenv, &dbenv->lk_info)) != 0)
211 mode, dbenv, &dbenv->lg_info)) != 0)
215 mode, dbenv, &dbenv->mp_info)) != 0)
219 mode, dbenv, &dbenv->tx_info)) != 0)
650 int mode, isdir, ret; local
693 /* Set up open flags and mode
[all...]
/osnet-11/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c33 ** mode -- mode bits that must match.
38 ** 0 if fn exists, is owned by uid, and matches mode.
46 safefile(fn, uid, gid, user, flags, mode, st)
52 int mode;
64 sm_dprintf("safefile(%s, uid=%d, gid=%d, flags=%lx, mode=%o):\n",
65 fn, (int) uid, (int) gid, flags, mode);
246 sm_dprintf("\t[final dir %s uid %d mode %lo] %s\n",
260 sm_dprintf("\t[slink mode %lo]\tE_SM_NOSLINK\n",
268 sm_dprintf("\t[non-reg mode
404 int mode = S_IWOTH; local
[all...]
/osnet-11/usr/src/cmd/ldap/common/
H A Dfileurl.c365 char mode[20] = "r+b"; local
367 char mode[20] = "r"; local
371 if (( fp = fopen( path, mode )) == NULL ) {
373 if (( fp = ldaptool_open_file( path, mode )) == NULL ) {
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathtemp.c88 mode_t mode; member in struct:__anon1176
142 tmp.mode = S_IRUSR|S_IWUSR;
147 tmp.mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH;
325 if ((n = open(b, O_CREAT|O_RDWR|O_EXCL|O_TEMPORARY, tmp.mode)) >= 0)
/osnet-11/usr/src/lib/libc/port/stdio/
H A Dpopen.c51 #define tst(a, b) (*mode == 'r'? (b) : (a))
92 popen(const char *cmd, const char *mode) argument
114 switch (*mode) {
229 if ((iop = fdopen(myside, mode)) == NULL) {
/osnet-11/usr/src/lib/pam_modules/authtok_check/
H A Dpacklib.c32 PWOpen(char *path, char *mode) argument
71 if (!(pdesc->dfp = fdopen(fd_d, mode))) {
76 if (!(pdesc->ifp = fdopen(fd_i, mode))) {
82 if (pdesc->wfp = fdopen(fd_w, mode)) {
90 if (mode[0] == 'w') {
/osnet-11/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_enclosure_ctl.c48 uint64_t mode; local
60 &mode) != 0)
100 uip->sucpi_dl_ucode_mode = mode;
/osnet-11/usr/src/lib/libresolv2/common/dst/
H A Dhmac_link.c80 * mode SIG_MODE_INIT, SIG_MODE_UPDATE and/or SIG_MODE_FINAL.
94 dst_hmac_md5_sign(const int mode, DST_KEY *d_key, void **context, argument
105 if (mode & SIG_MODE_INIT)
114 if (mode & SIG_MODE_INIT) {
119 if ((mode & SIG_MODE_UPDATE) && (data && len > 0))
122 if (mode & SIG_MODE_FINAL) {
151 * mode SIG_MODE_INIT, SIG_MODE_UPDATE and/or SIG_MODE_FINAL.
163 dst_hmac_md5_verify(const int mode, DST_KEY *d_key, void **context, argument
173 if (mode & SIG_MODE_INIT)
181 if (mode
[all...]
H A Dsupport.c297 * mode Mode to open the file (passed directly to fopen)
304 dst_s_fopen(const char *filename, const char *mode, int perm) argument
318 fp = fopen(pathname, mode);
325 dst_s_dump(const int mode, const u_char *data, const int size, argument
335 printf("%s: %x %d %s\n", msg, mode, n, scratch);
337 printf("%s,%x %d\n", msg, mode, size);
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dev_connects.c68 int mode; local
72 OKFREE(mode = fcntl(fd, F_GETFL, NULL), new); /*%< side effect: validate fd. */
80 if ((mode & PORT_NONBLOCK) == 0) {
85 OKFREE(fcntl(fd, F_SETFL, mode | PORT_NONBLOCK), new);
120 /* Do the select() first to get the socket into nonblocking mode. */
160 int mode; local
165 mode = fcntl(this->fd, F_GETFL, NULL);
166 if (mode == -1) {
174 OK(fcntl(this->fd, F_SETFL, mode & ~PORT_NONBLOCK));
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dcompletion.c102 int mode=*type; local
128 if(mode!='*' && (isaletter(c) || c=='{'))
159 *type = mode;
202 * mode is '*' for inline expansion,
203 * mode is '\' for filename completion
204 * mode is '=' cause files to be listed in select format
207 int ed_expand(Edit_t *ep, char outbuff[],int *cur,int *eol,int mode, int count) argument
218 if(mode=='=' && count>0)
222 mode = '?';
257 var = mode;
[all...]
/osnet-11/usr/src/lib/libshell/common/include/
H A Dfault.h99 int mode; member in struct:checkpt
108 #define sh_pushcontext(shp,bp,n)( (bp)->mode=(n) , (bp)->olist=0, \
/osnet-11/usr/src/lib/libshell/common/sh/
H A Darith.c477 * if mode>0, an error will be fatal with value <mode>
480 Sfdouble_t sh_strnum(register const char *str, char** ptr, int mode) argument
496 d = strval(shp,str,&last,arith,mode);
497 if(!ptr && *last && mode>0)
H A Dbash.c47 "compatibility mode. In ksh mode, brace group expansion is always on.]"
49 "instead. Only available in bash compatibility mode.]";
66 "POSIX mode is not the same as \bksh\b.]"
81 "[q?Suppress output (quiet mode). The return status indicates whether the "
105 "[+histreedit?If set and an edit mode is selected, the user "
108 "[+histverify?If set and an edit mode is selected, the result "
304 /* mode = 0: init, called two times
307 mode > 1: re-init
308 mode <
311 bash_init(Shell_t *shp,int mode) argument
[all...]
H A Dfault.c138 if(pp->mode != SH_JMPSUB)
140 if(pp->mode < SH_JMPSUB)
141 pp->mode = shp->subshell?SH_JMPSUB:SH_JMPFUN;
143 pp->mode = SH_JMPEXIT;
171 if(pp->mode==SH_JMPCMD)
190 if(pp->mode==SH_JMPCMD && sh_isstate(SH_STOPOK))
213 if(pp->mode==SH_JMPCMD && sh_isstate(SH_STOPOK))
319 * Free the trap strings if mode is non-zero
320 * If mode>1 then ignored traps cause signal to be ignored
322 void sh_sigreset(register int mode) argument
446 sh_trap(const char *trap, int mode) argument
[all...]

Completed in 80 milliseconds

1234567891011>>