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

1234567891011>>

/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dhwf_obj.c296 hwf_object_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
303 if (mode == MODE_CREATE) {
308 return (template_check_required_base_attributes(tmpl, mode));
312 clock_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
317 if (mode == MODE_CREATE) {
324 return (hwf_object_check_required_attributes(tmpl, mode));
328 counter_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
333 if (mode == MODE_CREATE) {
350 return (hwf_object_check_required_attributes(tmpl, mode));
357 hwf_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
373 clock_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
384 counter_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
[all...]
H A Ddata_obj.c297 data_object_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
299 return (template_check_required_base_attributes(tmpl, mode));
312 data_object_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
318 if (mode)
355 CK_ULONG mode)
366 return (template_validate_base_attribute(tmpl, attr, mode));
354 data_object_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
/illumos-gate/usr/src/lib/libdll/common/
H A Ddllopen.c40 dllopen(const char* name, int mode)
73 dll = dlopen(path, mode);
88 dllopen(const char* name, int mode) argument
90 return dlopen(name, mode);
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dfdopen.c35 * The mode has to be repeated because you can't query its
47 fdopen(fd, mode)
49 register char *mode;
69 switch(*mode) {
85 if(mode[1] == '+')
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_creat.c37 creat_com(char *path, int mode) argument
48 "/var/adm/wtmpx", CREATFLAGS, mode)) >= 0)
55 "/var/adm/utmpx", CREATFLAGS, mode)) >= 0)
59 return (_syscall(SYS_openat, AT_FDCWD, path, CREATFLAGS, mode));
/illumos-gate/usr/src/lib/libm/amd64/src/
H A Drintl.s36 frndint / [x], per rounding mode
/illumos-gate/usr/src/lib/libm/i386/src/
H A Drintl.s36 frndint / [x], per rounding mode
/illumos-gate/usr/src/boot/lib/libz/
H A Dzopen.c11 FILE *zopen(const char *fname, const char *mode);
39 zopen(const char *fname, const char *mode) argument
41 gzFile gz = gzopen(fname, mode);
45 if(*mode == 'r')
/illumos-gate/usr/src/lib/libcmd/common/
H A Dmkdir.c34 "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
87 mode
[all...]
/illumos-gate/usr/src/lib/libmail/common/
H A Ddelempty.c37 * int delempty(mode_t mode, char *mailname)
43 * on the mode].
51 delempty(mode_t mode, char *mailname) argument
63 /* check for mode 0660 */
64 if ((mode & 07777) == MFMODE)
/illumos-gate/usr/src/cmd/mailx/
H A Dlock.c47 lock(FILE *fp, char *mode, int blk) argument
51 l.l_type = !strcmp(mode, "r") ? F_RDLCK : F_WRLCK;
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_main.c44 "\t-q enable quiet mode (silence status messages)\n"
120 const inj_mode_ops_t *mode = NULL; local
131 if (mode != NULL || mode_arg != NULL)
134 mode = &sysevent_ops;
139 if (mode != NULL)
142 mode = &simulate_ops;
158 if (mode == NULL)
159 mode = &sysevent_ops;
178 inj_program_run(program, mode, mode_arg);
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfpurge.c36 reg int mode; local
41 if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode|SF_SYNCED,0) < 0)
51 if((f->flags&SF_STRING) && (f->mode&SF_READ) )
69 switch(f->mode&~SF_LOCK)
76 if(!f->proc || !(f->flags&SF_READ) || !(f->mode&SF_WRITE) )
H A Dsfstrtod.c77 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 Dsfreserve.c41 reg int mode, local; local
50 mode = 0;
51 else if((mode = type&SF_WRITE) )
74 { if(type == 1 ) /* upward compatibility mode */
81 { if((f->mode&SF_RDWR) != f->mode && _sfmode(f,0,0) < 0)
95 if(!mode && !(mode = f->flags&SF_READ) )
96 mode = SF_WRITE;
97 if((int)f->mode !
[all...]
H A Dsfsync.c59 if((f->mode&SF_READ) && (f->mode&SF_SYNCED) )
61 if((f->mode&SF_READ) && !(f->bits&SF_MMAP) &&
64 if((f->mode&SF_WRITE) && !(f->bits&SF_HOLE) &&
89 int local, rv, mode, lock; local
105 lock = origf->mode&SF_LOCK;
106 if(origf->mode == (SF_SYNCED|SF_READ) ) /* already synced */
109 if((origf->mode&SF_RDWR) != SFMODE(origf,local) && _sfmode(origf,0,local) < 0)
122 mode = f->mode
[all...]
H A D_sfopen.c38 Sfio_t* _sfopen(Sfio_t* f, const char* file, const char* mode) argument
40 Sfio_t* _sfopen(f,file,mode)
43 char* mode; /* mode of the stream */
50 if((sflags = _sftype(mode,&oflags,NIL(int*))) == 0)
57 if(f->mode&SF_INIT ) /* stream uninitialized, ok to set flags */
68 f->mode = (f->mode&~SF_WRITE)|SF_READ;
69 else f->mode = (f->mode
140 _sftype(reg const char* mode, int* oflagsp, int* uflagp) argument
[all...]
H A Dsfpool.c48 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...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsafechown.c17 * safechown changes the owner ship of src to uid. If the mode parameter
18 * does not equal -1 changes the mode of src as well.
24 safechown(const char *src, uid_t uid, gid_t gid, int mode) argument
63 if (mode != -1) {
64 if (fchmod(fd, (mode_t)mode)) {
79 fprintf(stderr, "Usage %s [-u uid] [-m mode] source\n", prg);
86 int mode = -1; local
92 mode = strtol(optarg, 0, 8);
105 if (safechown(argv[optind], uid, getgid(), mode)) {
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfstrtmp.c48 sfstrtmp(register Sfio_t* f, int mode, void* buf, size_t siz)
55 f->mode = mode;
/illumos-gate/usr/src/cmd/isainfo/
H A Disainfo.c52 static int mode = 0; variable
117 if (mode & VERBOSE_MODE)
119 else if (mode & BITS_MODE)
121 else if (mode & (NATIVE_MODE|KERN_MODE))
165 if (mode & EXTN_MODE) {
212 const int excl_modes = /* exclusive mode settings */
226 if (mode & excl_modes)
228 mode |= NATIVE_MODE;
231 if (mode & excl_modes)
233 mode |
[all...]
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dopen.c51 __openat(int dfd, const char *path, int oflag, mode_t mode) argument
53 int fd = syscall(SYS_openat, dfd, path, oflag, mode);
58 __open(const char *path, int oflag, mode_t mode) argument
61 int fd = syscall(SYS_open, path, oflag, mode);
64 return (__openat(AT_FDCWD, path, oflag, mode));
71 __openat64(int dfd, const char *path, int oflag, mode_t mode) argument
73 int fd = syscall(SYS_openat64, dfd, path, oflag, mode);
78 __open64(const char *path, int oflag, mode_t mode) argument
81 int fd = syscall(SYS_open64, path, oflag, mode);
84 return (__openat64(AT_FDCWD, path, oflag, mode));
[all...]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dsetvbuf.c40 ** mode -- buffering method to use
49 sm_io_setvbuf(fp, timeout, buf, mode, size)
53 int mode;
70 if (mode != SM_IO_NBF)
71 if ((mode != SM_IO_FBF && mode != SM_IO_LBF &&
72 mode != SM_IO_NOW) || (int) size < 0)
97 /* If setting unbuffered mode, skip all the hard work. */
98 if (mode == SM_IO_NBF)
159 if (mode
[all...]
/illumos-gate/usr/src/tools/ctf/ctfstrip/
H A Dctfstrip.c45 mode_t mode; local
57 if (!check_file(*p, &mode))
59 if (!fix_file(*p, mode))
67 check_file(const char *filename, mode_t *mode) argument
109 *mode = sb.st_mode & S_IAMB;
115 fix_file(const char *filename, mode_t mode) argument
121 if ((mode & S_IWUSR) == 0) {
122 if (chmod(filename, mode | S_IWUSR) == -1) {
141 if ((mode & S_IWUSR) == 0) {
142 if (chmod(filename, mode)
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_open.c33 __db_open(name, arg_flags, ok_flags, mode, fdp)
36 int mode, *fdp;
93 if ((ret = __os_open(name, flags, mode, fdp)) != 0)
129 __os_open(name, flags, mode, fdp)
131 int flags, mode, *fdp;
134 __db_jump.j_open(name, flags, mode) : open(name, flags, mode);

Completed in 133 milliseconds

1234567891011>>