/osnet-11/usr/src/lib/libcmd/common/ |
H A D | mkdir.c | 34 "default, the mode of created directories is \ba=rwx\b minus the " 36 "[m:mode]:[mode?Set the mode of created directories to \amode\a. " 37 "\amode\a is symbolic or octal mode as in \bchmod\b(1). Relative " 38 "modes assume an initial mode of \ba=rwx\b.]" 42 "\vmkdir -p -m $(umask -S),u+wx $(dirname dir) && mkdir [-m mode]] " 43 "dir\v where the \b-m\b mode option represents that option supplied to " 69 register mode_t mode = DIRMODE; local 86 mode [all...] |
H A D | wc.c | 74 static void printout(register Wc_t *wp, register char *name,register int mode) argument 76 if (mode&WC_LINES) 78 if (mode&WC_WORDS) 80 if (mode&WC_CHARS) 82 if (mode&WC_LONGEST) 93 register int mode=0, n; local 105 mode |= WC_CHARS; 108 mode |= WC_LINES; 111 mode |= WC_LONGEST; 115 mode | [all...] |
H A D | wc.h | 49 int mode; member in struct:__anon1500
|
H A D | comm.c | 66 static int comm(Sfio_t *in1, Sfio_t *in2, register Sfio_t *out,register int mode) argument 79 if(mode&C_COMMON) 81 if(mode!=C_COMMON) 84 if(mode==C_ALL) 97 if(mode&C_FILE2) 99 if(mode&C_FILE1) 109 if((mode&C_FILE1) && sfwrite(out,cp1,n1) < 0) 121 if(mode&C_FILE1) 123 mode &= C_FILE2; 126 mode 150 register int mode = C_FILE1|C_FILE2|C_COMMON; local [all...] |
H A D | pathchk.c | 103 static int pathchk(char* path, int mode) argument 112 if (mode & PATH) 116 if(mode & COMPONENTS) 199 if((mode & PATH) && *cp == '-') 205 if((mode & COMPONENTS) && !isport(c)) 233 register int mode = 0; local 242 mode |= COMPONENTS|PATH; 245 mode |= COMPONENTS; 248 mode |= PATH; 263 pathchk(s, mode); [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/ |
H A D | loadcore_common.c | 1 /* Load runtime image of EFIemu. Functions common to 32/64-bit mode */ 27 /* Are we in 32 or 64-bit mode?*/ 35 /* equivalent to sizeof (grub_efi_uintn_t) but taking the mode into account*/ 46 /* Check the header and set mode */ 49 grub_efiemu_mode_t *mode) 52 if ((*mode == GRUB_EFIEMU_NOTLOADED || *mode == GRUB_EFIEMU32) 55 *mode = GRUB_EFIEMU32; 58 if ((*mode == GRUB_EFIEMU_NOTLOADED || *mode 48 grub_efiemu_check_header(void *ehdr, grub_size_t size, grub_efiemu_mode_t *mode) argument [all...] |
/osnet-11/usr/src/cmd/sendmail/db/db/ |
H A D | db_am.c | 76 db_lockmode_t mode; local 152 mode = (op == DB_WRITELOCK) ? DB_LOCK_WRITE : 155 &dbc->lock_dbt, mode, &dbc->mylock)) != 0) {
|
/osnet-11/usr/src/lib/libast/common/path/ |
H A D | pathexists.c | 44 int mode; member in struct:Tree_s 49 pathexists(char* path, int mode) argument 103 t->mode = PATH_READ|PATH_EXECUTE; 120 t->mode |= PATH_READ; 122 t->mode |= PATH_WRITE; 124 t->mode |= PATH_EXECUTE; 126 t->mode |= PATH_REGULAR; 129 if (!t->mode || c && (t->mode & PATH_REGULAR)) 132 mode [all...] |
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfpool.c | 48 p->mode = SF_AVAIL; 54 static Sfpool_t* newpool(reg int mode) argument 56 static Sfpool_t* newpool(mode) 57 reg int mode; 64 { if(p->mode == SF_AVAIL ) 65 { p->mode = 0; 80 p->mode = 0; 90 p->mode = mode&SF_SHARE; 123 if(!(p->mode 246 sfpool(reg Sfio_t* f, reg Sfio_t* pf, reg int mode) argument [all...] |
H A D | sfstrtod.c | 77 reg int mode, fexp, sign, expsign; local 95 mode = IPART; 111 if(mode == IPART) 117 else if(mode == FPART) 137 if(mode != IPART) 139 mode = FPART; 143 { if(mode == EPART) 145 mode = EPART;
|
H A D | sfpopen.c | 134 Sfio_t* sfpopen(Sfio_t* f, const char* command, const char* mode) argument 136 Sfio_t* sfpopen(f,command,mode) 139 char* mode; /* mode of the stream */ 149 if (!command || !command[0] || !mode) 151 sflags = _sftype(mode, NiL, NiL); 154 { /* stdio compatibility mode */ 197 if(!command || !command[0] || !mode) 199 sflags = _sftype(mode,NIL(int*),NIL(int*)); 218 { /* stdio compatibility mode */ [all...] |
/osnet-11/usr/src/lib/libast/common/tm/ |
H A D | tvtouch.c | 91 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/libast/common/vmalloc/ |
H A D | vmopen.c | 48 Vmalloc_t* vmopen(Vmdisc_t* disc, Vmethod_t* meth, int mode) argument 50 Vmalloc_t* vmopen(disc, meth, mode) 53 int mode; /* type of region */ 91 if((vd->mode&meth->meth) != 0) 120 vd->mode = (mode&VM_FLAGS) | meth->meth; 125 if(vd->mode&(VM_TRACE|VM_MTDEBUG)) 126 vd->mode &= ~VM_TRUST; 128 if(vd->mode&(VM_MTBEST|VM_MTDEBUG|VM_MTPROFILE)) 163 if(vd->mode [all...] |
/osnet-11/usr/src/lib/libpp/common/ |
H A D | pptrace.c | 170 * return string given pp.mode 174 ppmodestr(register long mode) argument 176 return(ppflagstr(ppmodemap, elementsof(ppmodemap), mode));
|
/osnet-11/usr/src/lib/librdc/common/ |
H A D | librdc.h | 56 char mode[NSC_MAXPATH]; member in struct:rdcconfig_s 79 const char *mode, const char *group, const char *ctag, const char *options,
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | ulimit.c | 71 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/libsmedia/library/common/ |
H A D | l_defines.h | 52 uint32_t mode; member in struct:format_flags
|
/osnet-11/usr/src/lib/libcrypt/common/ |
H A D | des.c | 96 * 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
|
/osnet-11/usr/src/lib/libdevinfo/ |
H A D | devinfo_dli.c | 93 int mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; local 108 fd = open(dlipath, oflag, mode); 112 if (fchmod(fd, mode) < 0) {
|
/osnet-11/usr/src/lib/libgen/common/ |
H A D | pathfind.c | 34 * mode and type. Return a pointer to the path. If the 100 pathfind(const char *path, const char *name, const char *mode) argument 114 if (mode == ((char *)0)) 115 mode = ""; 116 for (cp = (char *)mode; *cp; cp++) { 184 fullck(char *name, mode_t mode, int nzflag) argument 189 if ((mode & 0177000) == 0 && nzflag == 0) /* no special info wanted */ 193 xor = (sbuf.st_mode ^ mode) & 077000; /* see mknod(2) */ 194 if ((mode & 0170000) == 0) 196 if ((mode [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/boot/i386/pc/ |
H A D | boot.S | 36 in real mode. */ 64 mode: label 184 /* set the mode to non-zero */ 239 /* set the mode to zero */ 394 * Use BIOS "int 10H Function 0Eh" to write character in teletype mode
|
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | videotest.c | 46 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/cmd/sendmail/libsm/ |
H A D | stdio.c | 213 ** 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/lib/libc/port/stdio/ |
H A D | mse.c | 87 _setorientation(FILE *iop, _IOP_orientation_t mode) argument 89 switch (mode) {
|
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | open.c | 50 __openat(int dfd, const char *path, int oflag, mode_t mode) argument 52 int fd = syscall(SYS_openat, dfd, path, oflag, mode); 57 __open(const char *path, int oflag, mode_t mode) argument 59 return (__openat(AT_FDCWD, path, oflag, mode)); 65 __openat64(int dfd, const char *path, int oflag, mode_t mode) argument 67 int fd = syscall(SYS_openat64, dfd, path, oflag, mode); 72 __open64(const char *path, int oflag, mode_t mode) argument 74 return (__openat64(AT_FDCWD, path, oflag, mode));
|