Searched defs:mode (Results 101 - 125 of 288) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libshell/common/sh/
H A Dmain.c434 buff.mode = SH_JMPEXIT;
547 if(buff.mode == SH_JMPEXIT)
549 buff.mode = SH_JMPERREXIT;
551 errormsg(SH_DICT,ERROR_warn(0),"%d: mode changed to JMP_EXIT",getpid());
730 * mode is 0 for initialization
732 static void fixargs(char **argv, int mode) argument
743 if(mode==0)
755 if(mode==0)
H A Dsuid_exec.c38 * may pass file descriptor FDIN as an open file with mode SPECIAL if
102 int mode; local
125 * by root and is mode SPECIAL, then this is proof that it was
207 mode = 0;
216 mode = S_ISGID;
219 if(mode)
222 mode |= S_ISUID;
227 mode = S_ISUID;
230 if(mode)
231 setids(mode, effui
293 eaccess(register const char *name, register int mode) argument
344 setids(int mode,int owner,int group) argument
364 setids(int mode,uid_t owner,gid_t group) argument
[all...]
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_file.c143 int error, mode, open_disp, req_acc, share_acc; local
202 mode = (oflag & 3) + 1;
211 if (mode & FREAD) {
218 if (mode & FWRITE) {
/osnet-11/usr/src/lib/libnetcfg/common/
H A Dlibnetcfg_zio.c209 mode_t mode; local
214 * If the caller just wants to open() the file, the oflags and mode
216 * modestr that is used to set oflags and mode. In the latter case,
222 mode = zfarg->zfarg_openarg.zopen_mode;
226 mode = (modestr[0] == 'r') ?
251 fd = open(filename, oflags, mode);
354 netcfg_zopen(const char *filename, int oflag, mode_t mode, zoneid_t zoneid, argument
360 zfoparg.zfop_openarg.zopen_mode = mode;
/osnet-11/usr/src/lib/libnsl/des/
H A Ddes_soft.c167 unsigned mode; local
172 mode = (unsigned)desp->des_mode;
176 switch (mode) {
/osnet-11/usr/src/lib/libpkg/common/
H A Dgpkgmap.c80 * These determine how gpkgmap() deals with mode, owner and group defaults.
85 attrpreset(int mode, char *owner, char *group) argument
87 d_mode = mode;
102 * mode, owner and group. Path is evaluated at a higher level based upon
106 setmapmode(int mode) argument
108 if (mode >= 0 || mode <= 3) {
109 mapmode = mode;
110 if (mode == MAPBUILD)
112 else if (mode
[all...]
H A Druncmd.c222 epopen(char *cmd, char *mode) argument
267 pp = popen(buffer, mode);
/osnet-11/usr/src/lib/libcmd/common/
H A Dcat.c402 char* mode; local
410 mode = "r";
426 mode = opt_info.num ? "rt" : "r";
523 sfopen(fp, NiL, mode);
525 else if (!(fp = sfopen(NiL, cp, mode)))
H A Dcksum.c52 "[b:binary?Read files in binary mode. This is the default.]"
61 " then the file mode, user and group are also checked. Empty lines,"
74 " mode, user and group between the checksum and path. User and group"
76 " specified then the mode, user and group for each path in \afile\a"
88 "[T:text?Read files in text mode (i.e., treat \b\\r\\n\b as \b\\n\b).]"
128 int permissions; /* include mode,uer,group */
145 * open path for read mode
149 openfile(const char* path, const char* mode) argument
156 sfopen(sp, NiL, mode);
158 else if (!(sp = sfopen(NiL, path, mode)))
264 int mode; local
[all...]
H A Dwclib.c60 Wc_t* wc_init(int mode) argument
71 else if (!(mode & WC_NOUTF8) && (lcinfo(LC_CTYPE)->lc->flags & LC_utf8))
76 w = mode & WC_WORDS;
80 if ((mode & (WC_MBYTE|WC_WORDS)) && wp->mb > 0)
101 wp->mode = mode;
188 if (wp->mb < 0 && (wp->mode & (WC_MBYTE|WC_WORDS)))
233 if (x == -1 && eline != nlines && !(wp->mode & WC_QUIET))
255 if (!(wp->mode & WC_MBYTE))
258 else if (!wp->mb && !(wp->mode
[all...]
/osnet-11/usr/src/lib/libcrypt/common/
H A Ddes_soft.c131 unsigned mode; local
136 mode = (unsigned)desp->des_mode;
140 switch (mode) {
/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dconfig_parsing.c106 parse_fips_mode(char *buf, boolean_t *mode) argument
114 *mode = B_FALSE;
116 *mode = B_TRUE;
602 get_fips_mode(int *mode) argument
615 *mode = CRYPTO_FIPS_MODE_DISABLED;
645 *mode = CRYPTO_FIPS_MODE_ENABLED;
647 *mode = CRYPTO_FIPS_MODE_DISABLED;
656 *mode = CRYPTO_FIPS_MODE_DISABLED;
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dinuse_fs.c157 mode_t mode = S_IRUSR | S_IWUSR; local
164 (void) open("/dev/null", O_WRONLY, mode);
165 (void) open("/dev/null", O_WRONLY, mode);
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg_local.c227 localcf_seekblk(cfp_t *cfp, int off, int mode) argument
232 rc = lseek(cfp->cf_fd, off, mode);
263 localcf_seek(cfp_t *cfp, int off, int mode) argument
270 if ((mode == SEEK_SET) && (cfp->cf_flag & CFG_NOWRVTOC)) {
275 rc = lseek(cfp->cf_fd, offset, mode);
/osnet-11/usr/src/lib/libipmi/common/
H A Dipmi_sunoem.c46 uint8_t ic_sls_mode; /* LED mode */
138 uint8_t mode)
150 cmd.ic_sls_mode = mode;
159 uint8_t *mode)
174 return (ipmi_send_sunoem_led_get(ihp, &cmd, mode));
137 ipmi_sunoem_led_set(ipmi_handle_t *ihp, ipmi_sdr_generic_locator_t *dev, uint8_t mode) argument
158 ipmi_sunoem_led_get(ipmi_handle_t *ihp, ipmi_sdr_generic_locator_t *dev, uint8_t *mode) argument
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay_fac.c116 bay_led_ctl(topo_mod_t *mod, tnode_t *tn, char *name, uint32_t mode, int op) argument
145 (mode == DCL_STATE_OFF ? "OFF" :
146 mode == DCL_STATE_ON ? "ON" : "BLINK"), mode);
192 led.led_state = mode;
225 uint32_t mode = 0; local
239 "%s: invalid arguments to 'mode' method\n", f);
249 &mode) != 0) {
251 "%s: no indicator mode prop\n", f);
259 if (mode !
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_ldap.c1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
315 int mode)
494 status = krb5_ldap_read_server_params(context, conf_section, mode & 0x0300);
314 krb5_ldap_open(krb5_context context, char *conf_section, char **db_args, int mode) argument
/osnet-11/usr/src/lib/libadr/common/
H A Dadr_stream.c189 adr_ssl_locking_function(int mode, int n, const char *file, int line) argument
191 if (mode & CRYPTO_LOCK)
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dhdparm.c36 {"power", 'C', 0, N_("Check power mode."), 0, ARG_TYPE_NONE},
46 {"standby", 'y', 0, N_("Set drive to standby mode."), 0, ARG_TYPE_NONE},
47 {"sleep", 'Y', 0, N_("Set drive to sleep mode."), 0, ARG_TYPE_NONE},
357 /* The IDLE cmd sets disk to idle mode and configures standby timer. */
391 /* Check power mode. */
394 grub_printf ("Disk power mode is: ");
395 int mode = grub_hdparm_do_check_powermode_cmd (ata); local
396 if (mode < 0)
400 (mode == 0xff ? "active/idle" :
401 mode
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dluks.c84 grub_cryptodisk_mode_t mode; local
149 /* Configure the cipher mode. */
152 mode = GRUB_CRYPTODISK_MODE_ECB;
158 mode = GRUB_CRYPTODISK_MODE_CBC;
164 mode = GRUB_CRYPTODISK_MODE_CBC;
169 mode = GRUB_CRYPTODISK_MODE_PCBC;
174 mode = GRUB_CRYPTODISK_MODE_XTS;
199 mode = GRUB_CRYPTODISK_MODE_LRW;
212 grub_error (GRUB_ERR_BAD_ARGUMENT, "Unknown cipher mode: %s",
260 grub_error (GRUB_ERR_BAD_ARGUMENT, "Unknown IV mode
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/ieee1275/
H A Dopenfw.c218 grub_uint32_t mode)
224 grub_ieee1275_cell_t mode; member in struct:map_args
249 args.mode = mode; /* Format is WIMG0PP. */
217 grub_ieee1275_map(grub_addr_t phys, grub_addr_t virt, grub_size_t size, grub_uint32_t mode) argument
/osnet-11/usr/src/grub/grub2/grub-core/term/
H A Dat_keyboard.c275 write_mode (int mode) argument
284 grub_outb (mode, KEYBOARD_REG_DATA);
313 /* QEMU translates the set even in no-translate mode. */
/osnet-11/usr/src/grub/grub2/grub-core/video/
H A Defi_gop.c132 grub_video_gop_fill_mode_info (unsigned mode, argument
136 out->mode_number = mode;
144 return grub_error (GRUB_ERR_IO, "unsupported video mode");
183 return grub_error (GRUB_ERR_IO, "unsupported video mode");
193 unsigned mode; local
195 for (mode = 0; mode < gop->mode->max_mode; mode++)
203 status = efi_call_4 (gop->query_mode, gop, mode,
256 unsigned mode; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/video/i386/pc/
H A Dvga.c52 grub_vga_set_mode (unsigned char mode) argument
56 /* get current mode */
63 regs.eax = mode;
126 return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "no matching mode found");
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dcryptodisk.h72 grub_cryptodisk_mode_t mode; member in struct:grub_cryptodisk

Completed in 60 milliseconds

1234567891011>>