/titanic_41/usr/src/ucblib/libtermcap/ |
H A D | tgoto.c | 84 int which = destline; in tgoto() local 109 if (which < 10) in tgoto() 111 if (which < 100) in tgoto() 116 *dp++ = (which / 100) | '0'; in tgoto() 117 which %= 100; in tgoto() 122 *dp++ = which / 10 | '0'; in tgoto() 124 *dp++ = which % 10 | '0'; in tgoto() 128 which = oncol ? destcol : destline; in tgoto() 133 if (which > *cp++) in tgoto() 134 which += *cp++; in tgoto() [all …]
|
/titanic_41/usr/src/cmd/lvm/metassist/common/ |
H A D | volume_nvpair.c | 74 char *which, in get_uint16() argument 79 nvlist_walk_nvpair(attrs, which, DATA_TYPE_UINT16, NULL); in get_uint16() 114 char *which, in set_uint16() argument 119 if ((error = nvlist_add_uint16(attrs, which, val)) != 0) { in set_uint16() 121 gettext("nvlist_add_int16(%s) failed: %d\n"), which, error); in set_uint16() 148 char *which, in get_uint32() argument 153 nvlist_walk_nvpair(attrs, which, DATA_TYPE_UINT32, NULL); in get_uint32() 188 char *which, in set_uint32() argument 193 if ((error = nvlist_add_uint32(attrs, which, val)) != 0) { in set_uint32() 195 gettext("nvlist_add_int32(%s) failed: %d\n"), which, error); in set_uint32() [all …]
|
H A D | volume_nvpair.h | 62 extern int get_uint16(nvlist_t *attrs, char *which, uint16_t *val); 85 extern int set_uint16(nvlist_t *attrs, char *which, uint16_t val); 111 extern int get_uint32(nvlist_t *attrs, char *which, uint32_t *val); 134 extern int set_uint32(nvlist_t *attrs, char *which, uint32_t val); 160 extern int get_uint64(nvlist_t *attrs, char *which, uint64_t *val); 183 extern int set_uint64(nvlist_t *attrs, char *which, uint64_t val); 206 extern int set_boolean(nvlist_t *attrs, char *which, boolean_t val); 232 extern int get_boolean(nvlist_t *attrs, char *which, boolean_t *boolval); 258 extern int get_string(nvlist_t *attrs, char *which, char **str); 281 extern int set_string(nvlist_t *attrs, char *which, char *val); [all …]
|
/titanic_41/usr/src/cmd/audio/utilities/ |
H A D | device_ctl.c | 78 audio__setplayhdr(int fd, Audio_hdr *hdrp, unsigned int which) in audio__setplayhdr() argument 85 if (which & AUDIO__PLAY) in audio__setplayhdr() 87 else if (which & AUDIO__RECORD) in audio__setplayhdr() 92 if (which & AUDIO__SET) { in audio__setplayhdr() 125 if (which & AUDIO__SET) { in audio__setplayhdr() 147 audio__setval(int fd, unsigned int *valp, unsigned int which) in audio__setval() argument 156 if (which & AUDIO__PLAY) in audio__setval() 158 else if (which & AUDIO__RECORD) in audio__setval() 160 else if ((which & AUDIO__SETVAL_MASK) != AUDIO__MONGAIN) in audio__setval() 164 switch (which & AUDIO__SETVAL_MASK) { in audio__setval() [all …]
|
/titanic_41/usr/src/cmd/renice/ |
H A D | renice.c | 59 static int donice(int which, id_t who, int prio, int increment, char *who_s); 102 int which = PRIO_PROCESS; in main() local 150 which = PRIO_PGRP; in main() 154 which = PRIO_PROCESS; in main() 158 which = PRIO_USER; in main() 162 which = name2id(optarg); in main() 184 *end_ptr == '\0' && (which != PRIO_ZONE || in main() 186 (which != PRIO_CONTRACT || who != 0)) { in main() 187 errs += donice(which, who, incr, prio_type, in main() 193 switch (which) { in main() [all …]
|
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | putenv.c | 55 int which; /* index of variable to replace */ in putenv() local 57 if ((which = find(change)) < 0) { in putenv() 61 which = (-which) + 1; in putenv() 65 which*sizeof(char *)); in putenv() 72 newenv = (char **)malloc(which*sizeof(char *)); in putenv() 75 (int)(which*sizeof(char *))); in putenv() 78 environ[which-2] = change; in putenv() 79 environ[which-1] = NULL; in putenv() 82 environ[which] = change; in putenv()
|
/titanic_41/usr/src/uts/i86pc/io/ |
H A D | hrtimers.c | 182 u_int which; local 188 which = ITIMER_REAL; 191 which = ITIMER_VIRTUAL; 194 which = ITIMER_PROF; 204 (void) xsetitimer(which, &itv, 1); 212 u_int which; local 216 which = ITIMER_REAL; 219 which = ITIMER_VIRTUAL; 222 which = ITIMER_PROF; 232 (void) xsetitimer(which, &itv, 1); [all …]
|
/titanic_41/usr/src/cmd/plimit/ |
H A D | plimit.c | 237 limit_value(int which, char *arg, rlim64_t *limit) in limit_value() argument 248 if (which == RLIMIT_CPU && strchr(arg, ':') != NULL) { in limit_value() 278 if (which == RLIMIT_CPU) in limit_value() 285 if (which == RLIMIT_CPU) in limit_value() 292 switch (which) { in limit_value() 316 parse_limits(int which, char *arg) in parse_limits() argument 321 struct rlimit64 *rp = &rlimit[which]; in parse_limits() 328 set_current[which] = FALSE; in parse_limits() 330 if (limit_value(which, soft, &rp->rlim_cur) != 0) in parse_limits() 332 set_current[which] = TRUE; in parse_limits() [all …]
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | setpriority.c | 55 prio_to_idtype(int which) in prio_to_idtype() argument 57 switch (which) { in prio_to_idtype() 95 old_idtype(int which) in old_idtype() argument 97 switch (which) { in old_idtype() 108 getpriority(int which, id_t who) in getpriority() argument 114 if ((idtype = prio_to_idtype(which)) == -1) { in getpriority() 120 if (old_idtype(which)) { in getpriority() 134 if (who == 0 && old_idtype(which)) in getpriority() 149 setpriority(int which, id_t who, int prio) in setpriority() argument 156 if ((idtype = prio_to_idtype(which)) == -1) { in setpriority() [all …]
|
/titanic_41/usr/src/cmd/ipf/lib/common/ |
H A D | getnattype.c | 31 char *which; local 48 which = "MAP"; 51 which = "MAP-BLOCK"; 54 which = "RDR"; 57 which = "BIMAP"; 61 which = unknownbuf; 64 return which;
|
/titanic_41/usr/src/lib/libshell/common/ |
H A D | RELEASE | 6 10-02-12 A bug in which the get discipline function was not invoked for 8 10-02-12 A bug which could occur if the last line of a script was an eval 12 10-01-20 A bug in the evaluation of arithmetic expression in which the 18 10-01-01 A bug in the parser in which '$((case i in i):;esac);:))' was not 20 10-01-01 A bug in the parser in which '$(( 2 , 3.6 ))' dumped core for locales 26 09-12-18 A bug with the SHOPT_BGX option set which disabled traps for signals 37 09-12-04 A bug in which in some cases a trap in a function executed in 39 09-12-03 A bug in which SHLVL exported with some attributes could cause 41 09-12-02 A bug with pipefail in which the shell could hang waiting for the 43 09-11-30 A bug in which a trap could be inherited by the first element of [all …]
|
H A D | RELEASE93 | 52 a. An expansion bug which causes portions of a word after 58 c. A bug which caused a core dump on some machines when 60 d. A bug which incorrectly handled set disciplines that 69 h. A bug was fixed which caused ksh to loop when execution trace 71 i. A bug which could cause the job control switch character 76 k. A bug which prevented ~ expansion from occurring when 79 l. A bug in the dot command which prevented autoload functions 81 m. A bug which caused a variable to be unset if the 86 o. A bug on some systems in which $0 would be incorrect 89 1. A bug which disabled argument passing and resetting [all …]
|
/titanic_41/usr/src/cmd/filesync/ |
H A D | anal.c | 908 link_update(struct file *fp, side_t which) in link_update() argument 917 if (lp->f_info[which].f_ino != fp->f_info[which].f_ino) in link_update() 919 if (lp->f_info[which].f_d_maj != fp->f_info[which].f_d_maj) in link_update() 921 if (lp->f_info[which].f_d_min != fp->f_info[which].f_d_min) in link_update() 929 lp->f_info[which].f_type = fp->f_info[which].f_type; in link_update() 930 lp->f_info[which].f_size = fp->f_info[which].f_size; in link_update() 931 lp->f_info[which].f_mode = fp->f_info[which].f_mode; in link_update() 932 lp->f_info[which].f_uid = fp->f_info[which].f_uid; in link_update() 933 lp->f_info[which].f_gid = fp->f_info[which].f_gid; in link_update() 934 lp->f_info[which].f_modtime = fp->f_info[which].f_modtime; in link_update() [all …]
|
H A D | eval.c | 500 int which; in walker() local 507 which = usingsrc ? OPT_SRC : OPT_DST; in walker() 549 note_info(fp, sp, which); in walker() 560 &fp->f_info[which]); in walker() 584 note_info(fp, sp, which); in walker() 588 (void) get_acls(name, &fp->f_info[which]); in walker() 661 note_info(struct file *fp, const struct stat *sp, side_t which) in note_info() argument 665 ip = &fp->f_info[ which ]; in note_info() 682 fp->f_flags |= flags[which]; in note_info() 687 which, fp->f_name, ip->f_modtime, ip->f_modns, in note_info() [all …]
|
/titanic_41/usr/src/lib/libsec/common/ |
H A D | aclcheck.c | 71 aclent_aclcheck(aclent_t *aclbufp, int nentries, int *which, int isdir) in aclent_aclcheck() argument 78 *which = -1; in aclent_aclcheck() 86 *which = (int)(aclentp - aclbufp); in aclent_aclcheck() 97 *which = (int)(aclentp - aclbufp); in aclent_aclcheck() 108 *which = (int)(aclentp - aclbufp); in aclent_aclcheck() 119 *which = (int)(aclentp - aclbufp); in aclent_aclcheck() 153 *which = (int)(aclentp - aclbufp); in aclent_aclcheck() 163 *which = (int)(aclentp - aclbufp); in aclent_aclcheck() 174 *which = (int)(aclentp - aclbufp); in aclent_aclcheck() 185 *which = (int)(aclentp - aclbufp); in aclent_aclcheck() [all …]
|
/titanic_41/usr/src/lib/efcode/engine/ |
H A D | actions.c | 316 set_value_actions(fcode_env_t *env, int which) in set_value_actions() argument 318 ASSERT((which == 0) || (which == 1)); in set_value_actions() 319 ASSERT(value_actions[which]); in set_value_actions() 320 install_actions(env, value_actions[which]); in set_value_actions() 324 set_defer_actions(fcode_env_t *env, int which) in set_defer_actions() argument 326 ASSERT((which == 0) || (which == 1)); in set_defer_actions() 327 ASSERT(value_actions[which+3]); in set_defer_actions() 328 install_actions(env, value_actions[which+3]); in set_defer_actions() 332 set_buffer_actions(fcode_env_t *env, int which) in set_buffer_actions() argument 334 ASSERT((which == 0) || (which == 1)); in set_buffer_actions() [all …]
|
/titanic_41/usr/src/cmd/stat/common/ |
H A D | mnt.c | 111 mnt_t **which; in build_mnt_list() local 140 which = &ufs; in build_mnt_list() 143 which = &nfs; in build_mnt_list() 145 which = 0; in build_mnt_list() 146 if (which) { in build_mnt_list() 155 item->next = *which; in build_mnt_list() 156 *which = item; in build_mnt_list()
|
/titanic_41/usr/src/cmd/lp/lib/lp/ |
H A D | set_pitch.c | 50 int which, in set_pitch() argument 54 set_pitch (str, which, putout) in set_pitch() 56 int which, 75 if (which == 'H') { 108 if (which == 'H' && STREQU(str, NAME_PICA)) 111 else if (which == 'H' && STREQU(str, NAME_ELITE)) 115 which == 'H'
|
/titanic_41/usr/src/cmd/sgs/tools/ |
H A D | catalog.awk | 42 which = 0 63 which = 0 66 which = 1 75 if (which == 0)
|
/titanic_41/usr/src/cmd/sendmail/db/os/ |
H A D | os_config.c | 40 db_jump_set(func, which) in db_jump_set() argument 42 int which; 44 switch (which) { 119 db_value_set(value, which) in db_value_set() argument 120 int value, which; in db_value_set() 124 switch (which) {
|
/titanic_41/usr/src/uts/intel/ia32/syscall/ |
H A D | lwp_private.c | 41 lwp_setprivate(klwp_t *lwp, int which, uintptr_t base) in lwp_setprivate() argument 85 switch (which) { in lwp_setprivate() 128 switch (which) { in lwp_setprivate() 158 lwp_getprivate(klwp_t *lwp, int which, uintptr_t base) in lwp_getprivate() argument 168 switch (which) { in lwp_getprivate() 260 syslwp_private(int cmd, int which, uintptr_t base) in syslwp_private() argument 267 res = lwp_setprivate(lwp, which, base); in syslwp_private() 270 error = lwp_getprivate(lwp, which, base); in syslwp_private()
|
/titanic_41/usr/src/uts/common/sys/fs/ |
H A D | cachefs_log.h | 107 #define CACHEFS_LOG_LOGGING(cp, which) \ argument 110 (cp->c_log_ctl->lc_which[which / NBBY] & \ 111 (1 << (which % NBBY)))) 112 #define CACHEFS_LOG_SET(lc, which) \ argument 113 (lc->lc_which[which / NBBY] |= (1 << (which % NBBY))) 114 #define CACHEFS_LOG_CLEAR(lc, which) \ argument 115 (lc->lc_which[which / NBBY] &= ~(1 << (which % NBBY)))
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | pr_getitimer.c | 39 pr_getitimer(struct ps_prochandle *Pr, int which, struct itimerval *itv) in pr_getitimer() argument 51 return (getitimer(which, itv)); in pr_getitimer() 54 adp->arg_value = which; in pr_getitimer() 96 int which, const struct itimerval *itv, struct itimerval *oitv) in pr_setitimer() argument 109 return (setitimer(which, (struct itimerval *)itv, oitv)); in pr_setitimer() 112 adp->arg_value = which; in pr_setitimer()
|
/titanic_41/usr/src/cmd/ipf/examples/ |
H A D | firewall | 8 rules which: 9 a) blocks all packets which might belong to an IP Spoofing attack; 11 c) blocks all packets which have a length which is too short for 17 Draw up a list of which services you want to allow users to use on the 36 * "ext-service" is the service to which you wish to connect or if it doesn't
|
/titanic_41/usr/src/cmd/ssh/libssh/common/ |
H A D | mac.c | 59 mac_setup_by_id(Mac *mac, int which) in mac_setup_by_id() argument 62 mac->type = macs[which].type; in mac_setup_by_id() 64 mac->evp_md = (*macs[which].mdfunc)(); in mac_setup_by_id() 70 if (macs[which].truncatebits != 0) in mac_setup_by_id() 71 mac->mac_len = macs[which].truncatebits / 8; in mac_setup_by_id()
|