Searched refs:tokbuf (Results 1 – 7 of 7) sorted by relevance
/titanic_50/usr/src/uts/common/os/ |
H A D | modsysfile.c | 1757 get_hwc_spec(struct _buf *file, char *tokbuf, size_t linesize) in get_hwc_spec() argument 1799 if (strcmp(tokbuf, "PARENT") == 0 || in get_hwc_spec() 1800 strcmp(tokbuf, "parent") == 0) { in get_hwc_spec() 1802 } else if (strcmp(tokbuf, "NAME") == 0 || in get_hwc_spec() 1803 strcmp(tokbuf, "name") == 0) { in get_hwc_spec() 1805 } else if (strcmp(tokbuf, "CLASS") == 0 || in get_hwc_spec() 1806 strcmp(tokbuf, "class") == 0) { in get_hwc_spec() 1808 prop_name = kmem_alloc(strlen(tokbuf) + in get_hwc_spec() 1810 (void) strcpy(prop_name, tokbuf); in get_hwc_spec() 1813 prop_name = kmem_alloc(strlen(tokbuf) + in get_hwc_spec() [all …]
|
/titanic_50/usr/src/cmd/loadkeys/ |
H A D | loadkeys.y | 771 char tokbuf[256+1]; in yylex() local 832 cp = &tokbuf[0]; in yylex() 834 if (cp > &tokbuf[256]) in yylex() 846 if ((int) strlen(tokbuf) > KTAB_STRLEN) in yylex() 848 strings[nstrings] = strdup(tokbuf); in yylex() 880 cp = &tokbuf[0]; in yylex() 882 if (cp > &tokbuf[256]) in yylex() 890 if (strlen(tokbuf) == 1) { in yylex() 892 yylval.number = (unsigned char)tokbuf[0]; in yylex() 893 } else if (strlen(tokbuf) == 2 && tokbuf[0] == '^') { in yylex() [all …]
|
/titanic_50/usr/src/lib/libpp/common/ |
H A D | ppdata.c | 66 static char tokbuf[2*MAXTOKEN+1]; /* token buffer */ variable 96 &tokbuf[0], /* token */
|
/titanic_50/usr/src/lib/libdevinfo/ |
H A D | devfsmap.c | 442 parse_conf_entry(struct conf_file *filep, char *tokbuf, size_t linesize) in parse_conf_entry() argument 468 if ((prop_name = strdup(tokbuf)) == NULL) in parse_conf_entry() 472 file_err(filep, tok_err, tokbuf); in parse_conf_entry() 481 file_err(filep, tok_err, tokbuf); in parse_conf_entry() 487 if ((string = strdup(tokbuf)) == NULL) in parse_conf_entry() 554 file_err(filep, tok_err, tokbuf); in parse_conf_entry() 568 (int)strtol(tokbuf, NULL, 0); in parse_conf_entry() 580 file_err(filep, tok_err, tokbuf); in parse_conf_entry() 592 file_err(filep, tok_err, tokbuf); in parse_conf_entry() 605 file_err(filep, tok_err, tokbuf); in parse_conf_entry() [all …]
|
/titanic_50/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/ |
H A D | cmd_hc_sun4v.c | 126 char *token, *tokbuf; in cmd_breakup_components() local 130 for (token = strtok_r(str, sep, &tokbuf); in cmd_breakup_components() 132 token = strtok_r(NULL, sep, &tokbuf)) { in cmd_breakup_components()
|
/titanic_50/usr/src/uts/i86pc/os/ |
H A D | startup.c | 2855 char tokbuf[MAXNAMELEN]; in set_soft_hostid() local 2915 token = kobj_lex(file, tokbuf, sizeof (tokbuf)); in set_soft_hostid() 2929 for (c = (unsigned char *)tokbuf; in set_soft_hostid() 2941 if (kobj_getvalue(tokbuf, &tmp) != 0) in set_soft_hostid() 2944 tokbuf); in set_soft_hostid()
|
/titanic_50/usr/src/lib/libshell/common/sh/ |
H A D | lex.c | 1989 char tokbuf[3]; in sh_syntax() local 1998 tokstr = fmttoken(lp,tok,tokbuf); in sh_syntax()
|