Home
last modified time | relevance | path

Searched refs:keyword (Results 1 – 25 of 95) sorted by relevance

1234

/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Dconv.c131 ret.keyword = 0;
137 ret.keyword = 0;
143 ret.keyword = Strdup(str);
146 if (!ret.keyword) {
150 if (!searchlist(ret.keyword, keyword_list)) {
152 ret.keyword = 0;
159 ret.keyword = 0;
172 ret.keyword = 0;
178 ret.keyword = 0;
184 ret.keyword = 0;
[all …]
H A Dinsfilter.c49 char *keyword; member
183 for (ppt = parmtable; ppt->keyword; ppt++)
193 pp->keyword = ppt->keyword;
212 for (ppt = parmtable; ppt->keyword; ppt++)
213 if (STREQU(*p, ppt->keyword) &&
216 pp->keyword = ppt->keyword;
231 pp->keyword = 0;
699 for (fail = 0, pm = parms; !fail && pm->keyword; pm++) {
709 for (; pt->keyword; pt++)
710 if (STREQU(pt->keyword, pm->keyword) &&
[all …]
H A Dfreefilter.c72 for (pt = templ; pt->keyword; pt++) {
73 Free (pt->keyword);
H A Ddumpfilters.c116 for(; pt->keyword; pt++) { in dumpfilters()
118 pt->keyword); in dumpfilters()
/illumos-gate/usr/src/lib/libadm/common/
H A Dckkeywd.c64 ckkeywd(char *strval, char *keyword[], char *defstr, char *error, char *help, in ckkeywd() argument
74 for (i = 0; keyword[i]; ) { in ckkeywd()
77 (void) strcat(ept, keyword[i++]); in ckkeywd()
85 putprmpt(stderr, prompt, keyword, defstr); in ckkeywd()
108 if (keyword) in ckkeywd()
109 valid = !match(input, keyword); in ckkeywd()
H A Dgetvol.c291 char *pt, *keyword[10]; in insert() local
356 keyword[n++] = "go"; in insert()
362 keyword[n++] = "f"; in insert()
366 keyword[n++] = "f"; in insert()
371 keyword[n++] = "m"; in insert()
377 keyword[n++] = "f"; in insert()
383 keyword[n++] = "w"; in insert()
387 keyword[n++] = "o"; in insert()
393 keyword[n++] = "e"; in insert()
397 keyword[n++] = "u"; in insert()
[all …]
/illumos-gate/usr/src/cmd/valtools/
H A Dckkeywd.c47 static char **keyword; variable
150 keyword = (char **)malloc(sizeof (char *) * (nkeyword + 1)); in main()
151 if (!keyword) { in main()
157 keyword[i] = argv[optind++]; in main()
158 keyword[nkeyword] = NULL; in main()
173 n = ckkeywd(strval, keyword, deflt, error, help, prompt); in main()
/illumos-gate/usr/src/cmd/fmtmsg/
H A Dmain.c123 char *keyword; member
133 char *keyword; member
673 (class_info->keyword != (char *) NULL) && in main()
674 (strcmp(cstr, class_info->keyword)) ; in main()
678 if (class_info->keyword == (char *) NULL) { in main()
705 (class_info->keyword != (char *) NULL) && in main()
706 (strcmp(tokenptr, class_info->keyword) != 0) ; in main()
710 if ((class_info->keyword != (char *) NULL) && ((class & class_info->conflict) == 0L)) in main()
743 (sev_info->keyword != (char *) NULL) && in main()
744 (strcmp(sstr, sev_info->keyword)) ; in main()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_vpd.c429 efx_vpd_keyword_t keyword; in efx_vpd_next_keyword() local
438 keyword = EFX_VPD_KEYWORD(tag[pos], tag[pos + 1]); in efx_vpd_next_keyword()
446 *keywordp = keyword; in efx_vpd_next_keyword()
498 efx_vpd_keyword_t keyword; in efx_vpd_hunk_verify() local
531 taglen, pos, &keyword, &keylen)) != 0) in efx_vpd_hunk_verify()
534 if (keyword == EFX_VPD_KEYWORD('R', 'V')) { in efx_vpd_hunk_verify()
652 efx_vpd_keyword_t keyword = 0; in efx_vpd_hunk_next() local
669 keyword = 0; in efx_vpd_hunk_next()
678 keyword = 0; in efx_vpd_hunk_next()
686 taglen, pos, &keyword, &keylen)) != 0) in efx_vpd_hunk_next()
[all …]
/illumos-gate/usr/src/uts/i86pc/cpu/scripts/
H A Dao_gendisp.pl421 my ($keyword, $val) = ($1, $2);
424 if ($keyword eq "funcunit") {
426 } elsif ($keyword eq "desc") {
429 &parsebail("unexpected keyword $keyword between " .
434 if ($keyword eq "funcunit") {
439 if (!($keyword =~ /$state/)) {
440 &parsebail("keyword `$keyword' invalid here; expected " .
443 $state = $keyword; # disambiguate between multiple legal states
/illumos-gate/usr/src/cmd/power/
H A Dparse.c314 char *keyword; in get_cinfo() local
325 keyword = LINEARG(0); in get_cinfo()
326 for (cip = conftab; cip->keyword; cip++) { in get_cinfo()
327 chr_diff = (int)(*cip->keyword - *keyword); in get_cinfo()
330 lineno, *cip->keyword, *line, chr_diff); in get_cinfo()
335 if (strcmp(keyword, cip->keyword) == 0) { in get_cinfo()
H A Dhandlers.c97 do_ioctl(int ioctl_cmd, char *keyword, char *behavior, int suppress) in do_ioctl() argument
99 mesg(MDEBUG, "doing ioctl %s for %s ", pm_map(ioctl_cmd), keyword); in do_ioctl()
103 mesg(MERR, "%s %s failed, %s\n", keyword, behavior, in do_ioctl()
107 mesg(MDEBUG, "%s %s failed, %s\n", keyword, behavior, in do_ioctl()
221 S3_helper(char *whitelist, char *blacklist, int yes, int no, char *keyword, in S3_helper() argument
241 blacklist, yesstr, nostr, keyword, behavior); in S3_helper()
259 return (do_ioctl(no, keyword, behavior, suppress)); in S3_helper()
273 return (do_ioctl(no, keyword, behavior, suppress)); in S3_helper()
310 return (do_ioctl(no, keyword, behavior, in S3_helper()
313 ret = do_ioctl(yes, keyword, behavior, in S3_helper()
[all …]
/illumos-gate/usr/src/tools/cscope-fast/
H A Dlookup.c50 struct keystruct keyword[] = { variable
94 #define KEYWORDS (sizeof (keyword) / sizeof (struct keystruct))
109 p = &keyword[i]; in initsymtab()
127 if (compress == YES && (c = p - keyword) < ' ') { in lookup()
/illumos-gate/usr/src/cmd/eqn/
H A Dlookup.c28 } keyword[] = { variable
236 for (i = 0; keyword[i].key != NULL; i++) in init_tbl()
237 lookup(keytbl, keyword[i].key, (char *)keyword[i].keyval); in init_tbl()
/illumos-gate/usr/src/cmd/sgs/unifdef/common/
H A Dunifdef.c324 char keyword[KWSIZE]; in checkline() local
336 symp = keyword; in checkline()
339 if (++symp >= &keyword[KWSIZE]) in checkline()
344 if (strcmp(keyword, "ifdef") == 0) { in checkline()
347 } else if (strcmp(keyword, "if") == 0) { in checkline()
360 } else if (strcmp(keyword, "ifndef") == 0) { in checkline()
388 } else if (strcmp(keyword, "else") == 0) in checkline()
390 else if (strcmp(keyword, "endif") == 0) in checkline()
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dmisc.c189 const char **keyword; in rtsa_keyword() local
208 for (keyword = rtsa_keywords; *keyword != NULL; keyword++) in rtsa_keyword()
209 if (strcmp(*keyword, attrbuf) == 0) in rtsa_keyword()
211 if ((key = keyword - rtsa_keywords) == SAK_INVAL) { in rtsa_keyword()
/illumos-gate/usr/src/cmd/svr4pkg/pkgscripts/
H A Dcmdexec.c54 *keyword, /* keyword = install || remove */ in main() local
80 keyword = argv[2]; in main()
110 flag = (strcmp(pt, keyword) ? 0 : 1); in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_subr.c379 int flags, ilbadm_key_code_t keyword) in i_match_hostorip() argument
432 if ((keyword == ILB_KEY_SERVER) && (strchr(val, ':') != NULL) && in i_match_hostorip()
832 i_store_val(char *val, void *store, ilbadm_key_code_t keyword) in i_store_val() argument
846 switch (keyword) { in i_store_val()
850 storep = i_new_storep(store, keyword); in i_store_val()
878 switch (keyword) { in i_store_val()
1020 "specified first"), ilbadm_key_to_opt(keyword)); in i_store_val()
1083 ilbadm_key_code_t keyword; in i_parse_optstring() local
1130 keyword = i_match_key(key, keylist); in i_parse_optstring()
1131 if (keyword == ILB_KEY_BAD) { in i_parse_optstring()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Diffe.tst1553 #define _key_int 1 /* int is a reserved keyword */
1554 #define _key_const 1 /* const is a reserved keyword */
1555 #define bar /* default for reserved keyword bar */
1556 #define aha int /* default for reserved keyword aha */
1557 #define _key_char 1 /* char is a reserved keyword */
1558 #define chr char /* alternate for reserved keyword chr */
1561 iffe: test: is int a reserved keyword ... yes
1562 iffe: test: is const a reserved keyword ... yes
1563 iffe: test: is foo a reserved keyword ... no
1564 iffe: test: is bar a reserved keyword ... no
[all …]
/illumos-gate/usr/src/test/test-runner/stf/contrib/include/
H A Dlogapi.shlib85 # $1 - retry keyword
147 # retried up to 5 times when the command returns the keyword "busy".
156 # Execute a negative test with keyword expected, and exit
159 # $1 - keyword expected
169 # or output includes expected keyword
171 # $1 - keyword expected
174 # return 0 if command fails, or the output contains the keyword expected,
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dpp.key6 # keyword type alternate comment
8 # . either T_<keyword> or T_NOISE
12 # [pre][.[suf]] [pre]<keyword>[suf]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_nvram.c572 while (vkvp->keyword[0] != PMCS_VPD_END) { in pmcs_validate_vpd()
575 vkvp->keyword[0], vkvp->keyword[1]); in pmcs_validate_vpd()
590 if ((vkvp->keyword[0] == 'M') && (vkvp->keyword[1] == 'N')) { in pmcs_validate_vpd()
595 if ((vkvp->keyword[0] == 'S') && (vkvp->keyword[1] == 'N')) { in pmcs_validate_vpd()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvd.c354 static int process_int_tuneable(char *keyword, char *buf, void *addr,
356 static int process_string_tuneable(char *keyword, char *buf, void *addr,
358 static int process_threshold_tuneable(char *keyword, char *buf, void *addr,
2293 process_threshold_tuneable(char *keyword, char *buf, void *dummy_thresh_addr, in process_threshold_tuneable() argument
2326 envd_log(LOG_INFO, ENV_CONF_INT_EXPECTED, fname, line, keyword); in process_threshold_tuneable()
2329 " as no sensor specified.\n", fname, line, keyword); in process_threshold_tuneable()
2352 fname, line, keyword, val, sensorp->name); in process_threshold_tuneable()
2357 fname, line, keyword); in process_threshold_tuneable()
2367 fname, line, keyword, sname); in process_threshold_tuneable()
2382 fname, line, keyword, val, sensorp->name); in process_threshold_tuneable()
[all …]
/illumos-gate/usr/src/cmd/svc/shell/
H A Dnet_include.sh246 for keyword in "$@"; do
247 [ "$one" = "$keyword" ] && echo "$one $two"
276 read keyword grname || {
/illumos-gate/usr/src/test/zfs-tests/tests/functional/redundancy/
H A Dredundancy.kshlib104 typeset keyword=$2
124 log_must zpool create -m $TESTDIR $pool $keyword $vdevs

1234