Home
last modified time | relevance | path

Searched refs:which (Results 1 – 25 of 689) sorted by relevance

12345678910>>...28

/illumos-gate/usr/src/ucblib/libtermcap/
H A Dtgoto.c82 int which = destline; in tgoto() local
107 if (which < 10) in tgoto()
109 if (which < 100) in tgoto()
114 *dp++ = (which / 100) | '0'; in tgoto()
115 which %= 100; in tgoto()
120 *dp++ = which / 10 | '0'; in tgoto()
122 *dp++ = which % 10 | '0'; in tgoto()
126 which = oncol ? destcol : destline; in tgoto()
131 if (which > *cp++) in tgoto()
132 which += *cp++; in tgoto()
[all …]
/illumos-gate/usr/src/cmd/audio/utilities/
H A Ddevice_ctl.c76 audio__setplayhdr(int fd, Audio_hdr *hdrp, unsigned int which) in audio__setplayhdr() argument
83 if (which & AUDIO__PLAY) in audio__setplayhdr()
85 else if (which & AUDIO__RECORD) in audio__setplayhdr()
90 if (which & AUDIO__SET) { in audio__setplayhdr()
123 if (which & AUDIO__SET) { in audio__setplayhdr()
145 audio__setval(int fd, unsigned int *valp, unsigned int which) in audio__setval() argument
154 if (which & AUDIO__PLAY) in audio__setval()
156 else if (which & AUDIO__RECORD) in audio__setval()
158 else if ((which & AUDIO__SETVAL_MASK) != AUDIO__MONGAIN) in audio__setval()
162 switch (which & AUDIO__SETVAL_MASK) { in audio__setval()
[all …]
/illumos-gate/usr/src/cmd/renice/
H A Drenice.c57 static int donice(int which, id_t who, int prio, int increment, char *who_s);
100 int which = PRIO_PROCESS; in main() local
148 which = PRIO_PGRP; in main()
152 which = PRIO_PROCESS; in main()
156 which = PRIO_USER; in main()
160 which = name2id(optarg); in main()
182 *end_ptr == '\0' && (which != PRIO_ZONE || in main()
184 (which != PRIO_CONTRACT || who != 0)) { in main()
185 errs += donice(which, who, incr, prio_type, in main()
191 switch (which) { in main()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dhrtimers.c180 u_int which; local
186 which = ITIMER_REAL;
189 which = ITIMER_VIRTUAL;
192 which = ITIMER_PROF;
202 (void) xsetitimer(which, &itv, 1);
210 u_int which; local
214 which = ITIMER_REAL;
217 which = ITIMER_VIRTUAL;
220 which = ITIMER_PROF;
230 (void) xsetitimer(which, &itv, 1);
[all …]
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c238 limit_value(int which, char *arg, rlim64_t *limit) in limit_value() argument
249 if (which == RLIMIT_CPU && strchr(arg, ':') != NULL) { in limit_value()
279 if (which == RLIMIT_CPU) in limit_value()
286 if (which == RLIMIT_CPU) in limit_value()
293 switch (which) { in limit_value()
317 parse_limits(int which, char *arg) in parse_limits() argument
322 struct rlimit64 *rp = &rlimit[which]; in parse_limits()
329 set_current[which] = FALSE; in parse_limits()
331 if (limit_value(which, soft, &rp->rlim_cur) != 0) in parse_limits()
333 set_current[which] = TRUE; in parse_limits()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsetpriority.c53 prio_to_idtype(int which) in prio_to_idtype() argument
55 switch (which) { in prio_to_idtype()
93 old_idtype(int which) in old_idtype() argument
95 switch (which) { in old_idtype()
106 getpriority(int which, id_t who) in getpriority() argument
112 if ((idtype = prio_to_idtype(which)) == -1) { in getpriority()
118 if (old_idtype(which)) { in getpriority()
132 if (who == 0 && old_idtype(which)) in getpriority()
147 setpriority(int which, id_t who, int prio) in setpriority() argument
154 if ((idtype = prio_to_idtype(which)) == -1) { in setpriority()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/
H A DRELEASE9 12-07-18 A bug in which /dev/stdout did not work in command substitution on
11 12-07-17 A bug in which the restricted option set in a subshell prevented
14 12-07-09 A bug in which the directory is not restored after a subshell changes
17 12-07-09 A bug in which file descriptors created with {n}< file were not being
21 12-07-02 A bug in which builtin name did now work for builtins found in a
23 12-07-02 A bug in the edit modes which <tab> after a directory did not refresh
25 12-07-02 A bug in which an exit status > 256 corresponding to a signal was
32 12-06-22 A bug in which an exit trap set in a subshell might not be triggered
34 12-06-22 A bug which could cause the shell to hang when a coprocess exits
40 12-06-19 A bug in which patterns containing {...} where not processed
[all …]
H A DRELEASE9352 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 …]
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dgetnattype.c29 char *which; local
46 which = "MAP";
49 which = "MAP-BLOCK";
52 which = "RDR";
55 which = "BIMAP";
59 which = unknownbuf;
62 return which;
/illumos-gate/usr/src/cmd/filesync/
H A Danal.c907 link_update(struct file *fp, side_t which) in link_update() argument
916 if (lp->f_info[which].f_ino != fp->f_info[which].f_ino) in link_update()
918 if (lp->f_info[which].f_d_maj != fp->f_info[which].f_d_maj) in link_update()
920 if (lp->f_info[which].f_d_min != fp->f_info[which].f_d_min) in link_update()
928 lp->f_info[which].f_type = fp->f_info[which].f_type; in link_update()
929 lp->f_info[which].f_size = fp->f_info[which].f_size; in link_update()
930 lp->f_info[which].f_mode = fp->f_info[which].f_mode; in link_update()
931 lp->f_info[which].f_uid = fp->f_info[which].f_uid; in link_update()
932 lp->f_info[which].f_gid = fp->f_info[which].f_gid; in link_update()
933 lp->f_info[which].f_modtime = fp->f_info[which].f_modtime; in link_update()
[all …]
H A Deval.c498 int which; in walker() local
505 which = usingsrc ? OPT_SRC : OPT_DST; in walker()
547 note_info(fp, sp, which); in walker()
558 &fp->f_info[which]); in walker()
582 note_info(fp, sp, which); in walker()
586 (void) get_acls(name, &fp->f_info[which]); in walker()
659 note_info(struct file *fp, const struct stat *sp, side_t which) in note_info() argument
663 ip = &fp->f_info[ which ]; in note_info()
680 fp->f_flags |= flags[which]; in note_info()
685 which, fp->f_name, ip->f_modtime, ip->f_modns, in note_info()
[all …]
/illumos-gate/usr/src/lib/libsec/common/
H A Daclcheck.c70 aclent_aclcheck(aclent_t *aclbufp, int nentries, int *which, int isdir) in aclent_aclcheck() argument
77 *which = -1; in aclent_aclcheck()
85 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
96 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
107 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
118 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
152 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
162 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
173 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
184 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
[all …]
H A Daclmode.c43 int which; in acltomode() local
47 if (aclcheck(aclbufp, nentries, &which) != 0) { in acltomode()
94 int which; in aclfrommode() local
97 if (aclcheck(aclbufp, nentries, &which) != 0) { in aclfrommode()
/illumos-gate/usr/src/uts/common/syscall/
H A Dpsecflags.c24 psecflagwhich_t which; member
63 audit_psecflags(p, args->which, args->delta); in psecdo()
65 switch (args->which) { in psecdo()
93 psecflags(procset_t *psp, psecflagwhich_t which, secflagdelta_t *ap) in psecflags() argument
99 .which = which, in psecflags()
103 if (psd.which == PSF_EFFECTIVE) in psecflags()
/illumos-gate/usr/src/cmd/stat/common/
H A Dmnt.c109 mnt_t **which; in build_mnt_list() local
138 which = &ufs; in build_mnt_list()
141 which = &nfs; in build_mnt_list()
143 which = 0; in build_mnt_list()
144 if (which) { in build_mnt_list()
153 item->next = *which; in build_mnt_list()
154 *which = item; in build_mnt_list()
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dset_pitch.c50 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'
/illumos-gate/usr/src/boot/common/
H A Dgpt.c56 gptupdate(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, in gptupdate() argument
77 BOOTPROG, which); in gptupdate()
88 printf("%s: unable to update %s GPT header\n", BOOTPROG, which); in gptupdate()
186 gptread_hdr(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, in gptread_hdr() argument
192 printf("%s: unable to read %s GPT header\n", BOOTPROG, which); in gptread_hdr()
200 printf("%s: invalid %s GPT header\n", BOOTPROG, which); in gptread_hdr()
207 which); in gptread_hdr()
234 gptbootconv(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, in gptbootconv() argument
266 BOOTPROG, which); in gptbootconv()
279 printf("%s: unable to update %s GPT header\n", BOOTPROG, which); in gptbootconv()
[all …]
/illumos-gate/usr/src/cmd/sgs/tools/
H A Dcatalog.awk42 which = 0
63 which = 0
66 which = 1
75 if (which == 0)
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_config.c40 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) {
/illumos-gate/usr/src/uts/intel/syscall/
H A Dlwp_private.c40 lwp_setprivate(klwp_t *lwp, int which, uintptr_t base) in lwp_setprivate() argument
83 switch (which) { in lwp_setprivate()
125 lwp_getprivate(klwp_t *lwp, int which, uintptr_t base) in lwp_getprivate() argument
135 switch (which) { in lwp_getprivate()
207 syslwp_private(int cmd, int which, uintptr_t base) in syslwp_private() argument
214 res = lwp_setprivate(lwp, which, base); in syslwp_private()
217 error = lwp_getprivate(lwp, which, base); in syslwp_private()
/illumos-gate/usr/src/tools/smatch/src/Documentation/
H A Ddata-structures.txt5 The C parser exists in two main files: parse.c, which parses statements, and expression.c, which pa…
6 parse.h contains the definition of struct statement, which represents a C statement.
7 That includes only those things which can't appear as an expression, which primarily includes contr…
8 expression.h contains the definition of struct expression, which represents a C expression. That h…
10 That appears as another struct statement which has a statement_list member.
31 That represents an entrypoint to the code, which would normally mean a function.
39 A loop will normally have a basic block for the loop body, which can branch to the top at the end o…
41 The edges in that graph lead from one basic block to a basic block which can follow it in the execu…
45 So you have an entrypoint, which has a graph of basic blocks, each of which has a list of instructi…
50 Each one has a pointer to the symbol it represents (which may have many pseudos referencing it).
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_getitimer.c37 pr_getitimer(struct ps_prochandle *Pr, int which, struct itimerval *itv) in pr_getitimer() argument
49 return (getitimer(which, itv)); in pr_getitimer()
52 adp->arg_value = which; in pr_getitimer()
94 int which, const struct itimerval *itv, struct itimerval *oitv) in pr_setitimer() argument
107 return (setitimer(which, (struct itimerval *)itv, oitv)); in pr_setitimer()
110 adp->arg_value = which; in pr_setitimer()
/illumos-gate/usr/src/cmd/ipf/examples/
H A Dfirewall8 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
/illumos-gate/usr/src/lib/libmapid/common/
H A Dmapid.h186 #define ZAP_DOMAIN(which) \ argument
188 bzero(which##_domain, DNAMEMAX);\
189 which##_domain_len = 0; \
190 which##_mtime = zapped_mtime; \
/illumos-gate/usr/src/pkg/transforms/
H A Dglobal_zone_only_component29 # This ruleset is useful for "system" components-- ones which are expected
30 # to appear primarily in the global zone, but which may have some small
31 # pieces (man pages, header files) which may need to appear in all zones.
41 # You may well have other actions which you wish to appear in all zones.
42 # An example would be an administrative utility for a driver which has
64 # which have no variant.opensolaris.zone attribute to be
65 # variant.opensolaris.zone=global. For those actions which need to appear
68 # which set __NODEFAULT for a few classes of well known things, like man

12345678910>>...28