Searched refs:tokbuf (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/uts/common/os/ |
H A D | modsysfile.c | 1793 get_hwc_spec(struct _buf *file, char *tokbuf, size_t linesize) in get_hwc_spec() argument 1835 if (strcmp(tokbuf, "PARENT") == 0 || in get_hwc_spec() 1836 strcmp(tokbuf, "parent") == 0) { in get_hwc_spec() 1838 } else if (strcmp(tokbuf, "NAME") == 0 || in get_hwc_spec() 1839 strcmp(tokbuf, "name") == 0) { in get_hwc_spec() 1841 } else if (strcmp(tokbuf, "CLASS") == 0 || in get_hwc_spec() 1842 strcmp(tokbuf, "class") == 0) { in get_hwc_spec() 1844 prop_name = kmem_alloc(strlen(tokbuf) + in get_hwc_spec() 1846 (void) strcpy(prop_name, tokbuf); in get_hwc_spec() 1849 prop_name = kmem_alloc(strlen(tokbuf) + in get_hwc_spec() [all …]
|
/illumos-gate/usr/src/cmd/loadkeys/ |
H A D | loadkeys.y | 746 char tokbuf[256+1]; in yylex() local 809 cp = &tokbuf[0]; in yylex() 811 if (cp > &tokbuf[256]) in yylex() 823 if ((int) strlen(tokbuf) > KTAB_STRLEN) in yylex() 825 strings[nstrings] = strdup(tokbuf); in yylex() 857 cp = &tokbuf[0]; in yylex() 859 if (cp > &tokbuf[256]) in yylex() 867 if (strlen(tokbuf) == 1) { in yylex() 869 yylval.number = (unsigned char)tokbuf[0]; in yylex() 870 } else if (strlen(tokbuf) == 2 && tokbuf[0] == '^') { in yylex() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | ppdata.c | 66 static char tokbuf[2*MAXTOKEN+1]; /* token buffer */ variable 96 &tokbuf[0], /* token */
|
/illumos-gate/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 …]
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | startup.c | 2824 char tokbuf[MAXNAMELEN]; in set_soft_hostid() local 2876 token = kobj_lex(file, tokbuf, sizeof (tokbuf)); in set_soft_hostid() 2890 for (c = (unsigned char *)tokbuf; in set_soft_hostid() 2902 if (kobj_getvalue(tokbuf, &tmp) != 0) in set_soft_hostid() 2905 tokbuf); in set_soft_hostid()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | lex.c | 2153 char tokbuf[3]; in sh_syntax() local 2162 tokstr = fmttoken(lp,tok,tokbuf); in sh_syntax()
|