Searched refs:keyword (Results 1 - 25 of 48) sorted by relevance

12

/illumos-gate/usr/src/lib/libadm/common/
H A Dckkeywd.c65 ckkeywd(char *strval, char *keyword[], char *defstr, char *error, char *help, argument
75 for (i = 0; keyword[i]; ) {
78 (void) strcat(ept, keyword[i++]);
86 putprmpt(stderr, prompt, keyword, defstr);
109 if (keyword)
110 valid = !match(input, keyword);
H A Dgetvol.c291 char *pt, *keyword[10]; local
356 keyword[n++] = "go";
362 keyword[n++] = "f";
366 keyword[n++] = "f";
371 keyword[n++] = "m";
377 keyword[n++] = "f";
383 keyword[n++] = "w";
387 keyword[n++] = "o";
393 keyword[n++] = "e";
397 keyword[
[all...]
/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Dconv.c133 ret.keyword = 0;
139 ret.keyword = 0;
145 ret.keyword = Strdup(str);
148 if (!ret.keyword) {
152 if (!searchlist(ret.keyword, keyword_list)) {
154 ret.keyword = 0;
161 ret.keyword = 0;
174 ret.keyword = 0;
180 ret.keyword = 0;
186 ret.keyword
[all...]
H A Dfreefilter.c72 for (pt = templ; pt->keyword; pt++) {
73 Free (pt->keyword);
H A Dinsfilter.c50 char *keyword; member in struct:PARM
184 for (ppt = parmtable; ppt->keyword; ppt++)
194 pp->keyword = ppt->keyword;
208 * the keyword table. Note that some keywords should
213 for (ppt = parmtable; ppt->keyword; ppt++)
214 if (STREQU(*p, ppt->keyword) &&
217 pp->keyword = ppt->keyword;
232 pp->keyword
[all...]
H A Ddumpfilters.c118 for(; pt->keyword; pt++) {
120 pt->keyword);
H A Dllib-llpflt64 char * keyword;
/illumos-gate/usr/src/cmd/valtools/
H A Dckkeywd.c50 static char **keyword; variable
57 gettext("usage: %s [options] keyword [...]\n"), prog);
150 usage(); /* must be at least one keyword */
153 keyword = (char **)malloc(sizeof (char *) * (nkeyword + 1));
154 if (!keyword) {
160 keyword[i] = argv[optind++];
161 keyword[nkeyword] = NULL;
176 n = ckkeywd(strval, keyword, deflt, error, help, prompt);
/illumos-gate/usr/src/tools/cscope-fast/
H A Dlookup.c36 * keyword look-up routine for the C symbol scanner
41 /* keyword text for fast testing of keywords in the scanner */
46 * This keyword table is also used for keyword text compression. Keywords
52 struct keystruct keyword[] = { variable in typeref:struct:keystruct
96 #define KEYWORDS (sizeof (keyword) / sizeof (struct keystruct))
111 p = &keyword[i];
118 /* see if this identifier is a keyword */
126 /* look up the identifier in the keyword table */
129 if (compress == YES && (c = p - keyword) < ' ') {
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgscripts/
H A Dcmdexec.c54 *keyword, /* keyword = install || remove */ local
80 keyword = argv[2];
110 flag = (strcmp(pt, keyword) ? 0 : 1);
152 (void) fprintf(stderr, gettext("usage: %s cmd keyword src dest\n"),
/illumos-gate/usr/src/cmd/eqn/
H A Dlookup.c30 } keyword[] = { variable in typeref:struct:__anon442
238 for (i = 0; keyword[i].key != NULL; i++)
239 lookup(keytbl, keyword[i].key, (char *)keyword[i].keyval);
/illumos-gate/usr/src/cmd/fmtmsg/
H A Dmain.c123 char *keyword;
133 char *keyword;
495 * elements, keyword, value (in octal, hex, or decimal),
675 /* Search for keyword in list */
677 (class_info->keyword != (char *) NULL) &&
678 (strcmp(cstr, class_info->keyword)) ;
681 /* If invalid (keyword unknown), write a message and exit */
682 if (class_info->keyword == (char *) NULL) {
707 /* Got a keyword. Look for it in keyword lis
122 char *keyword; member in struct:sev_info
132 char *keyword; member in struct:class_info
[all...]
/illumos-gate/usr/src/cmd/sgs/unifdef/common/
H A Dunifdef.c326 char keyword[KWSIZE]; local
338 symp = keyword;
341 if (++symp >= &keyword[KWSIZE])
346 if (strcmp(keyword, "ifdef") == 0) {
349 } else if (strcmp(keyword, "if") == 0) {
362 } else if (strcmp(keyword, "ifndef") == 0) {
390 } else if (strcmp(keyword, "else") == 0)
392 else if (strcmp(keyword, "endif") == 0)
/illumos-gate/usr/src/boot/sys/boot/usb/tools/
H A Dsysinit.c46 static const char *keyword; variable
185 keyword = optarg;
196 struct_name == NULL || keyword == NULL)
262 if (strcmp(keyword, "sysinit") == 0)
264 else if (strcmp(keyword, "sysuninit") == 0)
267 errx(EX_USAGE, "Unknown keyword '%s'", keyword);
288 if (strcmp((const char *)(*sipp)->b_keyword_name, keyword))
314 if (strcmp((const char *)(*sipp)->b_keyword_name, keyword))
/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dgrub-set-default.in38 ENTRY is a number or the special keyword \`default\'.
/illumos-gate/usr/src/cmd/power/
H A Dparse.c50 * needs to be sorted by .keyword and any longer string like "device"
307 * Match leading keyword from a conf line and
314 char *keyword; local
318 * Scan the config table for a matching keyword; since the table
319 * is sorted by keyword strings, a few optimizations can be done:
320 * first compare only the first byte of the keyword, skip any
325 keyword = LINEARG(0);
326 for (cip = conftab; cip->keyword; cip++) {
327 chr_diff = (int)(*cip->keyword - *keyword);
[all...]
H A Dpmconfig.h81 char *keyword; /* keyword string */ member in struct:cinfo
82 int (*handler)(void); /* keyword handler routine */
H A Dhandlers.c55 * a recognized keyword, a "handler" routine is called for specific
97 do_ioctl(int ioctl_cmd, char *keyword, char *behavior, int suppress) argument
99 mesg(MDEBUG, "doing ioctl %s for %s ", pm_map(ioctl_cmd), keyword);
103 mesg(MERR, "%s %s failed, %s\n", keyword, behavior,
107 mesg(MDEBUG, "%s %s failed, %s\n", keyword, behavior,
221 S3_helper(char *whitelist, char *blacklist, int yes, int no, char *keyword, argument
241 blacklist, yesstr, nostr, keyword, behavior);
259 return (do_ioctl(no, keyword, behavior, suppress));
273 return (do_ioctl(no, keyword, behavior, suppress));
310 return (do_ioctl(no, keyword, behavio
[all...]
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dmisc.c189 const char **keyword; local
208 for (keyword = rtsa_keywords; *keyword != NULL; keyword++)
209 if (strcmp(*keyword, attrbuf) == 0)
211 if ((key = keyword - rtsa_keywords) == SAK_INVAL) {
377 "Illegal keyword delimiter",
378 "Unknown keyword",
379 "Duplicate keyword",
398 "Unacceptable keyword fo
[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; # disambiguat
[all...]
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DpmHelpRepository.java51 * property contains the specifed keyword.
72 // database of Vectors of HelpItems, by keyword string
80 * for each keyword
83 * add item to keyword entry
94 String keyword = (String) keywords.nextElement();
95 v = (Vector) helpKeywordDB.get(keyword);
97 helpKeywordDB.put(keyword, v = new Vector());
134 static public Vector helpItemsForKeyword(String keyword) { argument
138 return (Vector) helpKeywordDB.get(keyword.toLowerCase());
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_vpd.c429 efx_vpd_keyword_t keyword; local
438 keyword = EFX_VPD_KEYWORD(tag[pos], tag[pos + 1]);
446 *keywordp = keyword;
498 efx_vpd_keyword_t keyword; local
509 * Parse every tag,keyword in the existing VPD. If the csum is present,
510 * the assert it is correct, and is the final keyword in the RO block.
524 /* RV keyword must be the last in the block */
531 taglen, pos, &keyword, &keylen)) != 0)
534 if (keyword == EFX_VPD_KEYWORD('R', 'V')) {
586 /* RV keyword lengt
652 efx_vpd_keyword_t keyword = 0; local
790 efx_vpd_keyword_t keyword; local
[all...]
/illumos-gate/usr/src/lib/libidmap/
H A DMakefile38 --omit-header --keyword=directoryError:2 \
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_subr.c379 int flags, ilbadm_key_code_t keyword)
432 if ((keyword == ILB_KEY_SERVER) && (strchr(val, ':') != NULL) &&
832 i_store_val(char *val, void *store, ilbadm_key_code_t keyword) argument
846 switch (keyword) {
850 storep = i_new_storep(store, keyword);
878 switch (keyword) {
881 * the proxy-src keyword is only valid for full NAT topology
1020 "specified first"), ilbadm_key_to_opt(keyword));
1083 ilbadm_key_code_t keyword; local
1099 * 5. match the keyword t
378 i_match_hostorip(void *store, ilbadm_sgroup_t *sg, char *val, int flags, ilbadm_key_code_t keyword) argument
[all...]
/illumos-gate/usr/src/cmd/svc/shell/
H A Dnet_include.sh218 # get_hostname_ipmpinfo hme0 inet keyword [ keyword ... ]
246 for keyword in "$@"; do
247 [ "$one" = "$keyword" ] && echo "$one $two"
276 read keyword grname || {
387 # Strip out the "ipmp" keyword if it's the

Completed in 123 milliseconds

12