Searched refs:tokp (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_scan.c71 scan(tok_kind expect, token *tokp) argument
73 get_token(tokp);
74 if (tokp->kind != expect)
82 scan2(tok_kind expect1, tok_kind expect2, token *tokp) argument
84 get_token(tokp);
85 if (tokp->kind != expect1 && tokp->kind != expect2)
93 scan3(tok_kind expect1, tok_kind expect2, tok_kind expect3, token *tokp) argument
95 get_token(tokp);
96 if (tokp
105 scan_num(token *tokp) argument
120 peek(token *tokp) argument
130 peekscan(tok_kind expect, token *tokp) argument
144 get_token(token *tokp) argument
312 unget_token(token *tokp) argument
414 findkind(char **mark, token *tokp) argument
[all...]
/illumos-gate/usr/src/cmd/dispadmin/
H A Diadispadmin.c226 char *tokp; local
273 if ((tokp = strtok(buf, " \t")) == NULL)
276 if ((int)strlen(tokp) > 4) {
277 if (strncmp(tokp, "RES=", 4) != 0)
280 if (tokp[4] == '-')
283 res = strtoul(&tokp[4], (char **)NULL, 10);
284 } else if (strlen(tokp) == 4) {
285 if (strcmp(tokp, "RES=") != 0)
288 if ((tokp = strtok(NULL, " \t")) == NULL)
291 if (tokp[
[all...]
H A Dtsdispadmin.c222 char *tokp; local
269 if ((tokp = strtok(buf, " \t")) == NULL)
272 if ((int)strlen(tokp) > 4) {
273 if (strncmp(tokp, "RES=", 4) != 0)
276 if (tokp[4] == '-')
279 res = strtoul(&tokp[4], (char **)NULL, 10);
280 } else if (strlen(tokp) == 4) {
281 if (strcmp(tokp, "RES=") != 0)
284 if ((tokp = strtok(NULL, " \t")) == NULL)
287 if (tokp[
[all...]
H A Drtdispadmin.c220 char *tokp; local
267 if ((tokp = strtok(buf, " \t")) == NULL)
270 if ((int)strlen(tokp) > 4) {
271 if (strncmp(tokp, "RES=", 4) != 0)
274 if (tokp[4] == '-')
277 res = strtoul(&tokp[4], (char **)NULL, 10);
278 } else if (strlen(tokp) == 4) {
279 if (strcmp(tokp, "RES=") != 0)
282 if ((tokp = strtok(NULL, " \t")) == NULL)
285 if (tokp[
[all...]
H A Dfxdispadmin.c222 char *tokp; local
311 if ((tokp = strtok(buf, " \t")) == NULL)
315 fx_dptbl[i].fx_quantum = atol(tokp);
334 if ((tokp = strtok(NULL, " \t")) != NULL && tokp[0] != '#')
/illumos-gate/usr/src/cmd/svc/startd/
H A Denv.c64 char *tokp, *cp1, *cp2; local
123 if ((tokp = strtok(line, " \t")) == NULL)
127 cp1 = strchr(tokp, '=');
128 if (cp1 == NULL || cp1 == tokp)
130 length = strlen(tokp);
131 while ((cp1 = strpbrk(tokp, "\"\'")) != NULL) {
132 for (cp2 = cp1; cp2 < &tokp[length]; cp2++)
141 if (strncmp(tokp, "CMASK=", 6) == 0 ||
142 strncmp(tokp, "SMF_", 4) == 0)
146 (void) strcpy(glob_envp[i], tokp);
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgettxt.c89 char *tokp; local
99 if (((tokp = strchr(msg_id, ':')) == NULL) || *(tokp+1) == '\0')
101 if ((name_len = (tokp - msg_id)) >= DB_NAME_LEN)
118 while (*++tokp) {
119 if (!isdigit((unsigned char)*tokp))
/illumos-gate/usr/src/cmd/dumpadm/
H A Ddconf.c163 const dc_token_t *tokp; local
180 for (tokp = tokens; tokp->tok_name != NULL; tokp++) {
181 if (strcmp(name, tokp->tok_name) == 0) {
182 if (tokp->tok_parse(dcp, value) == -1) {
195 if (tokp->tok_name == NULL) {
250 const dc_token_t *tokp; local
267 for (tokp = tokens; tokp
[all...]
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_sgetzcent.c110 char *tokp, *finally; local
122 tokp = strtok_r(str, KV_DELIMITER, &finally);
123 for (mc = 0; tokp != NULL; mc++) {
129 *errstrp = tokp;
134 if (str_to_mlp(tokp, mlp + mc) == -1) {
136 *errstrp = tokp;
139 tokp = strtok_r(NULL, KV_DELIMITER, &finally);
H A Dtsol_sgettpent.c100 char *tokp, *finally; local
105 tokp = strtok_r(setstr, TNDB_COMMA, &finally);
106 for (sc = 0; tokp != NULL && sc < NSLS_MAX; sc++) {
108 if (str_to_label(tokp, &slp, MAC_LABEL, L_NO_CORRECTION,
111 tokp = strtok_r(NULL, TNDB_COMMA, &finally);
113 if (tokp != NULL && sc >= NSLS_MAX)
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rip.c53 const uint32_t *tokp; local
335 tokp = rep->rip_token;
344 (long)ntohl(*tokp));
345 tokp++;
356 (long)ntohl(*tokp));
357 tokp++;
/illumos-gate/usr/src/cmd/auditconfig/
H A Dauditconfig.c1142 token_t *tokp; local
1169 if ((tokp = au_to_me()) == NULL) {
1173 if (au_write(rd, tokp) == -1) {
1178 if ((tokp = au_to_mylabel()) == NULL) {
1182 if (au_write(rd, tokp) == -1) {
1188 if ((tokp = au_to_text(audit_str)) == NULL)
1190 if (au_write(rd, tokp) == -1)
1194 if ((tokp = au_to_return64(sorf, retval)) == NULL)
1196 if ((tokp = au_to_return32(sorf, retval)) == NULL)
1200 if (au_write(rd, tokp)
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Ddevalloc.c1058 char *tok = NULL, *tokp = NULL; local
1068 if ((tokp = (char *)malloc(strlen(devinfo->devopts) +1)) != NULL) {
1069 (void) strcpy(tokp, devinfo->devopts);
1070 if ((tok = strtok_r(tokp, KV_DELIMITER, &lasts)) != NULL) {
1097 char *tok = NULL, *tokp = NULL; local
1115 if ((tokp = (char *)malloc(strlen(devinfo->devopts) + 1))
1117 (void) strcpy(tokp, devinfo->devopts);
1118 if ((tok = strtok_r(tokp, KV_TOKEN_DELIMIT, &lasts)) !=
/illumos-gate/usr/src/cmd/init/
H A Dinit.c1932 char *tokp, *cp1, *cp2; local
1997 if ((tokp = strtok(line, " \t")) == NULL)
2000 if (strchr(tokp, '=') == NULL)
2002 length = strlen(tokp);
2003 while ((cp1 = strpbrk(tokp, "\"\'")) != NULL) {
2005 cp2 < &tokp[length]; cp2++)
2010 if (strncmp(tokp, "CMASK=",
2015 t = strtol(strchr(tokp, '=') + 1, NULL,
2026 (void) strcpy(glob_envp[glob_envn], tokp);
2029 } while ((tokp
[all...]
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsm.c3446 importing_token_t *prev_token, *token, *tmp_token, *tokp; local
3476 tokp = force_disconnect_list;
3482 while (tokp != NULL) {
3483 if (tokp->importing_node ==
3487 tokp = tokp->next;
3489 if (tokp == NULL) {
5751 list_element_t *tokp; local
5775 tokp = head;
5781 while (tokp !
[all...]

Completed in 84 milliseconds