Searched refs:mode (Results 101 - 125 of 589) sorted by relevance

1234567891011>>

/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Diso9660.h63 typedef int int8_t __attribute__((mode(QI)));
64 typedef unsigned int u_int8_t __attribute__((mode(QI)));
65 typedef int int16_t __attribute__((mode(HI)));
66 typedef unsigned int u_int16_t __attribute__((mode(HI)));
67 typedef int int32_t __attribute__((mode(SI)));
68 typedef unsigned int u_int32_t __attribute__((mode(SI)));
172 iso_32bit_t mode; member in struct:rock_ridge::__anon314::PX
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfwrite.c51 if(f->mode&SF_PEEK)
52 { if(!(f->mode&SF_WRITE) && (f->flags&SF_RDWR) != SF_RDWR)
59 f->mode &= ~SF_PEEK;
61 if(f->mode&SF_PKRD)
76 f->mode &= ~SF_PKRD;
81 if((f->mode&SF_READ) && f->proc)
86 for(;; f->mode &= ~SF_LOCK)
87 { /* check stream mode */
H A Dsfrd.c46 (f->mode&SF_WRITE) && f->extent < 0 )
55 (f->mode&SF_WRITE) && f->extent < 0 )
78 if((rcrv = f->mode & (SF_RC|SF_RV)) )
79 f->mode &= ~(SF_RC|SF_RV);
82 if(f->mode&SF_PKRD)
86 { if(f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0)
91 if((f->mode&(SF_SYNCED|SF_READ)) == (SF_SYNCED|SF_READ) )
93 f->mode &= ~SF_SYNCED;
249 f->mode |= rcrv;
257 f->mode
[all...]
H A Dsfclose.c44 if(!(f->mode&SF_INIT) &&
45 SFMODE(f,local) != (f->mode&SF_RDWR) &&
46 SFMODE(f,local) != (f->mode&(SF_READ|SF_SYNCED)) &&
95 { f->mode &= ~SF_LOCK; /**/ASSERT(_Sfpmove);
100 f->mode |= SF_LOCK;
162 f->mode = SF_AVAIL;
H A Dsfseek.c44 f->endb = (f->mode&SF_WRITE) ? f->data+f->size : f->data;
61 int mode, local, hardseek, mustsync; local
70 if(hardseek && f->mode == (SF_READ|SF_SYNCED) )
72 f->mode = SF_READ;
75 /* set and initialize the stream to a definite mode */
76 if((int)SFMODE(f,local) != (mode = f->mode&SF_RDWR))
81 mode = _sfmode(f,mode,local);
85 if(mode <
[all...]
H A Dsfpoll.c52 #define RDREADY(f) (((f->mode&SF_READ) && f->next < f->endb) || \
53 ((f->mode&SF_WRITE) && f->proc && f->proc->ndata > 0) )
56 #define WRREADY(f) (!(f->mode&SF_WRITE) || f->next == f->data)
65 m = f->mode&SF_RDWR;
66 if((int)f->mode != m && _sfmode(f,m,0) < 0)
123 if((f->mode&SF_WRITE) && HASAUXFD(f))
150 { if((f->mode&SF_WRITE) && HASAUXFD(f))
179 { if((f->mode&SF_WRITE) && HASAUXFD(f))
212 { if((f->mode&SF_WRITE) && HASAUXFD(f) )
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/io/
H A Dfs.t86 my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,
95 ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,
106 skip "no mode checks", 1 if $skip_mode_checks;
109 # is($mode & 0777, 0777, "mode of triply-linked file");
111 is($mode & 0777, 0666, "mode of triply-linked file");
123 ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,
127 skip "no mode checks", 1 if $skip_mode_checks;
129 is($mode
[all...]
/osnet-11/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c112 s10_openat(sysret_t *rval, int fd, const char *path, int oflag, mode_t mode) argument
115 fd, path, oflag, mode));
119 s10_open(sysret_t *rval, char *path, int oflag, mode_t mode) argument
122 AT_FDCWD, path, oflag, mode));
126 s10_creat(sysret_t *rval, char *path, mode_t mode) argument
129 AT_FDCWD, path, O_WRONLY | O_CREAT | O_TRUNC, mode));
135 s10_openat64(sysret_t *rval, int fd, const char *path, int oflag, mode_t mode) argument
138 fd, path, oflag, mode));
142 s10_open64(sysret_t *rval, char *path, int oflag, mode_t mode) argument
145 AT_FDCWD, path, oflag, mode));
149 s10_creat64(sysret_t *rval, char *path, mode_t mode) argument
208 s10_chmod(sysret_t *rval, const char *name, mode_t mode) argument
215 s10_fchmod(sysret_t *rval, int filedes, mode_t mode) argument
471 s10_xmknod(sysret_t *rval, int version, const char *path, mode_t mode, dev_t dev) argument
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dperlio.c108 perlsio_binmode(FILE *fp, int iotype, int mode) argument
116 if (mode & O_BINARY)
126 if (PerlLIO_setmode(fp, mode) != -1) {
128 if (PerlLIO_setmode(fileno(fp), mode) != -1) {
132 * The translation mode of the stream is maintained independent of
133 * the translation mode of the fd in the Borland RTL (heavy
135 * the mode explicitly for the stream (though they don't document
139 if (mode & O_BINARY)
152 if (my_binmode(fp, iotype, mode) != FALSE)
167 PerlIO_intmode2str(int rawmode, char *mode, in argument
213 PerlIO_apply_layers(pTHX_ PerlIO *f, const char *mode, const char *names) argument
235 PerlIO_binmode(pTHX_ PerlIO *fp, int iotype, int mode, const char *names) argument
285 PerlIO_openn(pTHX_ const char *layers, const char *mode, int fd, int imode, int perm, PerlIO *old, int narg, SV **args) argument
396 PerlIO_importFILE(FILE *stdio, const char *mode) argument
1031 PerlIOPop_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
1145 PerlIO_push(pTHX_ PerlIO *f, PerlIO_funcs *tab, const char *mode, SV *arg) argument
1203 PerlIORaw_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
1241 PerlIO_apply_layera(pTHX_ PerlIO *f, const char *mode, PerlIO_list_t *layers, IV n, IV max) argument
1259 PerlIO_apply_layers(pTHX_ PerlIO *f, const char *mode, const char *names) argument
1280 PerlIO_binmode(pTHX_ PerlIO *f, int iotype, int mode, const char *names) argument
1367 PerlIO_context_layers(pTHX_ const char *mode) argument
1418 PerlIO_resolve_layers(pTHX_ const char *layers, const char *mode, int narg, SV **args) argument
1476 PerlIO_openn(pTHX_ const char *layers, const char *mode, int fd, int imode, int perm, PerlIO *f, int narg, SV **args) argument
1799 PerlIOUtf8_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
1870 PerlIORaw_open(pTHX_ PerlIO_funcs *self, PerlIO_list_t *layers, IV n, const char *mode, int fd, int imode, int perm, PerlIO *old, int narg, SV **args) argument
1956 PerlIOBase_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
2281 PerlIOUnix_oflags(const char *mode) argument
2364 PerlIOUnix_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
2406 PerlIOUnix_open(pTHX_ PerlIO_funcs *self, PerlIO_list_t *layers, IV n, const char *mode, int fd, int imode, int perm, PerlIO *f, int narg, SV **args) argument
2613 PerlIOStdio_mode(const char *mode, char *tmode) argument
2629 PerlIOStdio_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
2658 PerlIO_importFILE(FILE *stdio, const char *mode) argument
2696 PerlIOStdio_open(pTHX_ PerlIO_funcs *self, PerlIO_list_t *layers, IV n, const char *mode, int fd, int imode, int perm, PerlIO *f, int narg, SV **args) argument
2800 char mode[8]; local
3315 PerlIO_exportFILE(PerlIO * f, const char *mode) argument
3387 PerlIOBuf_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
3404 PerlIOBuf_open(pTHX_ PerlIO_funcs *self, PerlIO_list_t *layers, IV n, const char *mode, int fd, int imode, int perm, PerlIO *f, int narg, SV **args) argument
3944 PerlIOPending_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
4023 PerlIOCrlf_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
4717 PerlIO_fdopen(int fd, const char *mode) argument
4725 PerlIO_open(const char *path, const char *mode) argument
4734 PerlIO_reopen(const char *path, const char *mode, PerlIO *f) argument
[all...]
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dvi.c177 #define CONTROL -20 /* control mode */
180 #define INPUT -30 /* input mode */
181 #define INSERT -35 /* insert mode */
347 /*** Set raw mode ***/
508 /* so set raw mode */
635 /*{ APPEND( char, mode )
638 * mode = APPEND, shift chars right before appending
643 static void append(Vi_t *vp,int c, int mode) argument
649 if( mode==APPEND || (cur_virt==last_virt && last_virt>=0))
742 /* return to APPEND/REPLACE mode */
1104 cdelete(Vi_t *vp,register int nchars, int mode) argument
1151 del_line(register Vi_t *vp, int mode) argument
1191 delmotion(Vi_t *vp,int motion, int mode) argument
1364 getline(register Vi_t* vp,register int mode) argument
1866 refresh(register Vi_t* vp, int mode) argument
2212 search(register Vi_t* vp,register int mode) argument
2383 textmod(register Vi_t *vp,register int c, int mode) argument
[all...]
/osnet-11/usr/src/lib/libpp/common/
H A Dppexpr.c208 if ((pp.state & STRICT) && !(pp.mode & HOSTED)) switch (index)
226 pp.mode |= HOSTED;
248 if (warn && !(pp.mode & HOSTED) && (sym = ppsymref(pp.symtab, pred)) && (sym->flags & SYM_PREDICATE))
288 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "more tokens expected";
319 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "too many )'s";
328 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "closing ) expected";
334 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "operator expected";
348 x = pp.mode;
349 pp.mode |= INACTIVE;
351 pp.mode
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dvideotest.c46 const char *mode = NULL; local
53 mode = grub_env_get ("gfxmode");
55 mode = args[0];
56 if (!mode)
57 mode = "auto";
59 err = grub_video_set_mode (mode, GRUB_VIDEO_MODE_TYPE_PURE_TEXT, 0);
212 N_("Test video subsystem in mode WxH."));
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dcpio.c41 char mode[6]; member in struct:head
58 char mode[8]; member in struct:head
84 grub_uint16_t mode[1]; member in struct:head
99 char mode[8]; member in struct:head
198 grub_uint32_t *mode)
217 modeval = read_number (hd.mode, ARRAY_SIZE (hd.mode));
220 if (mode)
221 *mode = modeval;
326 if (mode)
196 grub_cpio_find_file(struct grub_cpio_data *data, char **name, grub_int32_t *mtime, grub_disk_addr_t *ofs, grub_uint32_t *mode) argument
401 handle_symlink(struct grub_cpio_data *data, const char *fn, char **name, grub_uint32_t mode, int *restart) argument
519 grub_uint32_t mode; local
617 grub_uint32_t mode; local
[all...]
/osnet-11/usr/src/lib/libmail/common/
H A Dpopenvp.c53 #define tst(a, b) (*mode == 'r'? (b) : (a))
63 popenvp(char *file, char **argv, char *mode, int resetid) argument
97 return (fdopen(myside, mode));
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcrypto.c89 * If the mode is encrypt we will use the following pattern if the number
105 unsigned int mode, char *ivec)
108 unsigned int m = mode & (DES_ENCRYPT | DES_DECRYPT);
109 /* Get the remaining flags from mode */
110 unsigned int flags = mode & ~(DES_ENCRYPT | DES_DECRYPT);
123 j = (mode & DES_DECRYPT) ? keynum - 1 - i : i;
125 if (mode & DES_DECRYPT && i == 0)
133 if ((mode & DES_DECRYPT) || i != keynum - 1 || i%2)
142 stat = cbc_crypt(keys[0].c, buf, len, mode, ivec);
145 if (mode
104 __desN_crypt(des_block keys[], int keynum, char *buf, unsigned int len, unsigned int mode, char *ivec) argument
163 unsigned mode = (encrypt_flag ? DES_ENCRYPT : DES_DECRYPT) | DES_HW; local
199 unsigned mode = (encrypt_flag ? DES_ENCRYPT : DES_DECRYPT) | DES_HW; local
[all...]
/osnet-11/usr/src/lib/libast/common/vmalloc/
H A Dvmclear.c49 if(!(vd->mode&VM_TRUST) )
60 if(vd->mode&(VM_MTBEST|VM_MTDEBUG|VM_MTPROFILE) )
76 if((vd->mode&(VM_MTLAST|VM_MTPOOL)) )
/osnet-11/usr/src/lib/libresolv2/common/dst/
H A Ddst_internal.h80 int (*sign)(const int mode, DST_KEY *key, void **context,
83 int (*verify)(const int mode, DST_KEY *key, void **context,
130 FILE *dst_s_fopen (const char *filename, const char *mode, int perm);
149 dst_s_dump(const int mode, const u_char *data, const int size,
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dev_files.c54 int mode; local
65 OK(mode = fcntl(fd, F_GETFL, NULL)); /*%< side effect: validate fd. */
68 * if the application already had it in O_NONBLOCK mode and if so, all
79 if (mode & PORT_NONBLOCK)
86 OK(fcntl(fd, F_SETFL, mode | PORT_NONBLOCK));
160 int mode, eventmask; local
171 /* Get the mode. Unless the file has been closed, errors are bad. */
172 mode = fcntl(del->fd, F_GETFL, NULL);
173 if (mode == -1 && errno != EBADF)
194 * and if !EV_WASNONBLOCK, and if we got no EBADF when we got the mode
[all...]
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dulimit.c71 register int mode=0, n; local
90 mode |= HARD;
93 mode |= SOFT;
125 if(mode==0)
126 mode = (HARD|SOFT);
153 if(mode&HARD)
155 if(mode&SOFT)
172 if(mode&HARD)
174 if(mode&SOFT)
/osnet-11/usr/src/lib/libnisdb/
H A Ddb_pickle.h53 pickle_mode mode; member in class:pickle_file
59 /* Constructor. Creates pickle_file with given name and mode. */
65 * Opens pickle_file with mode specified with constructor.
75 * dump/load is determined by 'mode' with which pickle_file was created.
76 * Returns 0 if successful; 1 if file cannot be opened in mode
/osnet-11/usr/src/lib/libcmd/common/
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 Dllib-lcrypt44 int cbc_crypt(char *key, char *buf, size_t len, unsigned int mode, char *ivec);
45 int ecb_crypt(char *key, char *buf, size_t len, unsigned int mode);
/osnet-11/usr/src/lib/libast/common/stdio/
H A Dvswscanf.c41 f.mode = SF_READ;
/osnet-11/usr/src/lib/libast/common/tm/
H A Dtvtouch.c91 int mode; local
148 umask(mode = umask(0));
149 mode = (~mode) & (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
150 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, mode)) < 0)
272 umask(mode = umask(0));
273 mode = (~mode) & (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
274 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, mode)) < 0)
/osnet-11/usr/src/lib/nsswitch/pynss/common/
H A Dmessages.py84 """Set Quiet mode."""
116 def sendMsg(string, mode, log_fd=-1):
119 if not Msgs.mQuiet and mode == msgOut:
121 if not Msgs.mQuiet and mode == msgErr:
123 if log_fd != -1 or mode == msgLog:

Completed in 1912 milliseconds

1234567891011>>