Searched refs:mode (Results 76 - 100 of 589) sorted by relevance

1234567891011>>

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DFileCache.pm15 cacheout $mode, $path;
20 $fh = cacheout $mode, $path;
44 The 2-argument form of cacheout will use the supplied mode for the initial
70 original C<open> file mode. This could be construed to be a bug.
131 my($mode, $file, $class, $ret, $ref, $narg);
135 ($mode, $file) = @_;
136 ($file, $mode) = ($mode, $file) if $narg == 1;
137 croak "Invalid mode for cacheout" if $mode
[all...]
/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/cmd/perl/5.8.4/distrib/
H A Dperlsfio.h38 #define PerlIO_open(path,mode) sfopen(NULL,path,mode)
39 #define PerlIO_fdopen(fd,mode) _stdopen(fd,mode)
40 #define PerlIO_reopen(path,mode,f) sfopen(f,path,mode)
H A Dunixish.h54 * that a file is in "binary" mode -- that is, that no translation
127 #define Mkdir(path,mode) mkdir((path),(mode))
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfsk.c41 reg int local, mode; local
48 { if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode,0) < 0)
53 if(f->mode == SF_READ && (f->bits&SF_MMAP) && f->data)
H A Dsfread.c52 if(f->mode&SF_PEEK)
53 { if(!(f->mode&SF_READ) )
56 if(f->mode&SF_GETR)
60 f->mode &= ~SF_PEEK;
66 f->mode &= ~SF_PEEK;
67 if(f->mode&SF_PKRD)
69 f->mode &= ~SF_PKRD;
82 for(;; f->mode &= ~SF_LOCK)
83 { /* check stream mode */
H A Dsfset.c46 if((oflags = (f->mode&SF_RDWR)) != (int)f->mode)
81 /* turn to appropriate mode as necessary */
88 if((flags == SF_WRITE && !(f->mode&SF_WRITE)) ||
89 (flags == SF_READ && !(f->mode&(SF_READ|SF_SYNCED))) )
/osnet-11/usr/src/grub/grub2/grub-core/net/drivers/efi/
H A Definet.c185 if ((net->mode->receive_filter_setting & EFINET_FILTERS) !=
186 (EFINET_FILTERS & net->mode->receive_filter_mask))
194 net->mode->receive_filter_setting) |
195 (EFINET_FILTERS & net->mode->receive_filter_mask);
198 net->mode->receive_filter_setting & ~(newfilters),
205 (net->mode->receive_filter_setting & EFINET_FILTERS) !=
206 (EFINET_FILTERS & net->mode->receive_filter_mask))
249 pxe_mode = pxe->mode;
254 if (net->mode->state == GRUB_EFI_NETWORK_STOPPED
258 if (net->mode
[all...]
/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/libcmd/common/
H A Dchmod.c35 "according to mode, which can be either a symbolic representation "
38 "[+?Symbolic mode strings consist of one or more comma separated list "
39 "of operations that can be perfomed on the mode. Each operation is of "
73 "[+?A numeric mode is from one to four octal digits (0-7), "
84 "[+?For symbolic links, by default, \bchmod\b changes the mode on the file "
86 "The \b-h\b options can be specified to change the mode of the link. "
95 "\b%s: mode changed to %0.4o (%s)\b, with arguments of the "
96 "pathname, the numeric mode, and the resulting permission bits as "
100 "symbolic mode specification, \bchmod\b treats this as a mode "
153 register int mode; local
[all...]
H A Dwc.h49 int mode; member in struct:__anon1500
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/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/
H A Dmbimbf.t60 ok ($@ =~ /^Unknown round mode 'huhmbi' at/);
64 ok ($@ =~ /^Unknown round mode 'huhmbf' at/);
69 ok ($@ =~ /^Unknown round mode 'huhmbi' at/);
72 ok ($@ =~ /^Unknown round mode 'huhmbf' at/);
/osnet-11/usr/src/lib/libc/i386/fp/
H A D_base_il.c83 * Returns IEEE mode/status and
92 b->mode = cw;
105 * Restores previous IEEE mode/status
111 _putcw(b->mode);
/osnet-11/usr/src/lib/libc/i386/sys/
H A Dxstat.c73 _xmknod(int version, const char *path, mode_t mode, dev_t dev) argument
79 return (mknod(path, mode, dev));
/osnet-11/usr/src/lib/libc/port/rt/
H A Dshm.c35 shm_open(const char *path, int oflag, mode_t mode) argument
48 fd = __pos4obj_open(path, SHM_DATA_TYPE, oflag, mode, &crflag);
/osnet-11/usr/src/lib/libnsctl/common/
H A Dllib-lnsctl34 nsc_fd_t *nsc_open(char *path, int flag, int mode);
35 nsc_fd_t *nsc_fdopen(int id, char *path, int mode);
/osnet-11/usr/src/lib/libgen/common/
H A Dmkdirp.c52 mkdirp(const char *d, mode_t mode) argument
65 if (mkdir(str, mode) == 0) {
96 if (mkdir(str, mode) != 0 && errno != EEXIST) {
109 if (mkdir(str, mode) != 0 && errno != EEXIST) {
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dshm.c111 ** SM_SHMSETOWNER -- set owner/group/mode of shared memory segment.
117 ** mode -- mode to use
125 sm_shmsetowner(shmid, uid, gid, mode)
129 mode_t mode;
139 shmid_ds.shm_perm.mode = mode;
H A Dstdio.c213 ** SM_STDSETMODE -- set the access mode for the file
219 ** mode -- new mode to set the file access to
227 sm_stdsetmode(fp, mode)
229 const int *mode;
233 switch (SM_IO_MODE(*mode))
255 ** SM_STDGETMODE -- for getinfo determine open mode
260 ** fp -- the file mode being determined
261 ** mode -- internal mode t
482 MODE_T mode; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/
H A DFile.pm80 the open mode, optionally followed by a file permission value.
82 If C<IO::File::open> receives a Perl mode string ("E<gt>", "+E<lt>", etc.)
83 or an ANSI C fopen() mode string ("w", "r+", etc.), it uses the basic
86 If C<IO::File::open> is given a numeric mode, it passes that mode
90 If C<IO::File::open> is given a mode that includes the C<:> character,
161 my ($mode, $perms) = @_[2, 3];
162 if ($mode =~ /^\d+$/) {
164 return sysopen($fh, $file, $mode, $perms);
165 } elsif ($mode
[all...]
/osnet-11/usr/src/lib/libast/common/vmalloc/
H A Dvmclose.c49 if(!(vd->mode&VM_TRUST) && ISLOCK(vd,0))
57 vd->mode &= ~VM_TRUST;
60 if((vd->mode&VM_MTPROFILE) && _Vmpfclose)
/osnet-11/usr/src/grub/grub2/build-aux/
H A Dinstall-sh73 # Desired mode of installed file.
74 mode=0755
129 -m) mode=$2
132 case $mode in
135 echo "$0: invalid mode: $mode" >&2
201 case $mode in
212 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
219 cp_umask=$mode$u_plus_rw;;
304 # Create intermediate dirs using mode 75
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/
H A DIO.xs75 int mode = RETVAL;
87 if ((mode & O_NDELAY) || ((block == 0) && !(mode & O_NONBLOCK))) {
89 mode = (mode & ~O_NDELAY) | O_NONBLOCK;
90 ret = fcntl(PerlIO_fileno(f),F_SETFL,mode);
95 if ((mode & O_NDELAY) || ((block > 0) && (mode & O_NONBLOCK))) {
97 mode &= ~(O_NONBLOCK | O_NDELAY);
98 ret = fcntl(PerlIO_fileno(f),F_SETFL,mode);
[all...]
/osnet-11/usr/src/lib/libcrypt/common/
H A Ddes.c96 * CBC mode encryption
99 cbc_crypt(char *key, char *buf, size_t len, unsigned int mode, char *ivec) argument
108 err = common_crypt(key, buf, len, mode, &dp);
116 * ECB mode encryption
119 ecb_crypt(char *key, char *buf, size_t len, unsigned int mode) argument
127 ret = common_crypt(key, buf, len, mode, &dp);
139 unsigned mode, struct desparams *desp)
149 ((mode & DES_DIRMASK) == DES_ENCRYPT) ? ENCRYPT : DECRYPT;
151 desdev = mode & DES_DEVMASK;
138 common_crypt(char *key, char *buf, unsigned len, unsigned mode, struct desparams *desp) argument

Completed in 45 milliseconds

1234567891011>>