Searched defs:keyword (Results 1 - 25 of 29) sorted by relevance

12

/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/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/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/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/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/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/lib/libpkg/common/
H A Dgpkglist.c66 static char cont_keyword[PKGSIZ+1]; /* the continuation keyword */
94 * This informs gpkglist() to put a keyword at the head of the pkglist. This
99 pkglist_cont(char *keyword) argument
102 (void) strncpy(cont_keyword, keyword, PKGSIZ);
/illumos-gate/usr/src/cmd/power/
H A Dpmconfig.h81 char *keyword; /* keyword string */ member in struct:cinfo
82 int (*handler)(void); /* keyword handler routine */
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 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/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/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/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/cmd/lp/include/
H A Dfilters.h106 char * keyword; member in struct:TEMPLATE
116 * with a null "keyword" element.
/illumos-gate/usr/src/cmd/lp/lib/filters/
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...]
/illumos-gate/usr/src/cmd/luxadm/
H A Dadm.c310 * Definition of getaction() routine which does keyword parsing
330 struct keyword { struct
336 static struct keyword Keywords[] = {
406 getaction(char *cmd, struct keyword *matches, int *retval)
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge.c783 const char *keyword, sfxge_vpd_type_t type)
793 evvp->evv_keyword = EFX_VPD_KEYWORD(keyword[0], keyword[1]);
802 kstat_named_init(knp, (char *)keyword, KSTAT_DATA_STRING);
782 _sfxge_vpd_kstat_init(sfxge_t *sp, caddr_t vpd, size_t size, efx_vpd_tag_t tag, const char *keyword, sfxge_vpd_type_t type) argument
/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/tools/ndrgen/
H A Dndrgen.h77 typedef struct keyword { struct
/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/svr4pkg/libinst/
H A Dmntinfo.c664 /* This function scans a string of mount options for a specific keyword. */
666 hasopt(char *options, char *keyword) argument
679 if (strcmp(optptr, keyword) == 0)
684 if (strcmp(vfs_options, keyword) == 0)
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvd.c349 char *name; /* keyword */
356 static int process_int_tuneable(char *keyword, char *buf, void *addr,
358 static int process_string_tuneable(char *keyword, char *buf, void *addr,
360 static int process_threshold_tuneable(char *keyword, char *buf, void *addr,
2295 process_threshold_tuneable(char *keyword, char *buf, void *dummy_thresh_addr, argument
2307 * threshold-keyword <int-value>
2308 * threshold-keyword <int-value> <sensor-name> ...
2328 envd_log(LOG_INFO, ENV_CONF_INT_EXPECTED, fname, line, keyword);
2331 " as no sensor specified.\n", fname, line, keyword);
2354 fname, line, keyword, va
2395 process_int_tuneable(char *keyword, char *buf, void *addr, int size, char *fname, int line) argument
2450 process_string_tuneable(char *keyword, char *buf, void *addr, int size, char *fname, int line) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Droute.c261 static int keyword(const char *cp);
289 static void syntax_arg_missing(char *keyword);
290 static void syntax_bad_keyword(char *keyword);
353 (void) fprintf(stderr, gettext("route: botched keyword: %s\n"),
378 syntax_bad_keyword(char *keyword) argument
380 syntax_error(gettext("route: botched keyword: %s\n"), keyword);
384 syntax_arg_missing(char *keyword) argument
386 syntax_error(gettext("route: argument required following keyword %s\n"),
387 keyword);
2848 keyword(const char *cp) function
[all...]

Completed in 571 milliseconds

12