| /onnv/onnv-gate/usr/src/lib/libtsnet/common/ |
| tsol_sgettpent.c | 100 char *tokp, *finally; local 105 tokp = strtok_r(setstr, TNDB_COMMA, &finally); 106 for (sc = 0; tokp != NULL && sc < NSLS_MAX; sc++) { 107 if (stobsl(tokp, &labels[sc], NO_CORRECTION, &err) == 0) 109 tokp = strtok_r(NULL, TNDB_COMMA, &finally); 111 if (tokp != NULL && sc >= NSLS_MAX)
|
| tsol_sgetzcent.c | 112 char *tokp, *finally; local 124 tokp = strtok_r(str, KV_DELIMITER, &finally); 125 for (mc = 0; tokp != NULL; mc++) { 131 *errstrp = tokp; 136 if (str_to_mlp(tokp, mlp + mc) == -1) { 138 *errstrp = tokp; 141 tokp = strtok_r(NULL, KV_DELIMITER, &finally);
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| snoop_rip.c | 53 const uint32_t *tokp; local 335 tokp = rep->rip_token; 344 (long)ntohl(*tokp)); 345 tokp++; 356 (long)ntohl(*tokp)); 357 tokp++;
|
| /onnv/onnv-gate/usr/src/cmd/dispadmin/ |
| iadispadmin.c | 226 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[0] == '-' [all...] |
| rtdispadmin.c | 220 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[0] == '-' [all...] |
| tsdispadmin.c | 222 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[0] == '-' [all...] |
| fxdispadmin.c | 222 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] != '#')
|
| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| gettxt.c | 91 char *tokp; local 100 if (((tokp = strchr(msg_id, ':')) == NULL) || *(tokp+1) == '\0') 102 if ((name_len = (tokp - msg_id)) >= DB_NAME_LEN) 119 while (*++tokp) { 120 if (!isdigit((unsigned char)*tokp))
|
| /onnv/onnv-gate/usr/src/cmd/svc/startd/ |
| env.c | 64 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...] |
| /onnv/onnv-gate/usr/src/cmd/dumpadm/ |
| dconf.c | 161 const dc_token_t *tokp; local 178 for (tokp = tokens; tokp->tok_name != NULL; tokp++) { 179 if (strcmp(name, tokp->tok_name) == 0) { 180 if (tokp->tok_parse(dcp, value) == -1) { 193 if (tokp->tok_name == NULL) { 248 const dc_token_t *tokp; local 265 for (tokp = tokens; tokp->tok_name != NULL; tokp++) [all...] |
| /onnv/onnv-gate/usr/src/cmd/man/src/ |
| getNAME.c | 504 char *tokp; local 525 tokp = tokbuf; 534 *tokp = '\0'; 537 if (tokp - tokbuf < tokbuflen) 538 *tokp++ = (char)c;
|
| /onnv/onnv-gate/usr/src/lib/libbsm/common/ |
| devalloc.c | 737 char *tok = NULL, *tokp = NULL; local 747 if ((tokp = (char *)malloc(strlen(devinfo->devopts))) != NULL) { 748 (void) strcpy(tokp, devinfo->devopts); 749 if ((tok = strtok_r(tokp, KV_DELIMITER, &lasts)) != NULL) { 776 char *tok = NULL, *tokp = NULL; local 794 if ((tokp = (char *)malloc(strlen(devinfo->devopts))) != NULL) { 795 (void) strcpy(tokp, devinfo->devopts); 796 if ((tok = strtok_r(tokp, KV_TOKEN_DELIMIT, &lasts)) != [all...] |
| /onnv/onnv-gate/usr/src/cmd/auditconfig/ |
| auditconfig.c | 1006 token_t *tokp; local 1033 if ((tokp = au_to_me()) == NULL) { 1037 if (au_write(rd, tokp) == -1) { 1042 if ((tokp = au_to_mylabel()) == NULL) { 1046 if (au_write(rd, tokp) == -1) { 1052 if ((tokp = au_to_text(audit_str)) == NULL) 1054 if (au_write(rd, tokp) == -1) 1058 if ((tokp = au_to_return64(sorf, retval)) == NULL) 1060 if ((tokp = au_to_return32(sorf, retval)) == NULL) 1064 if (au_write(rd, tokp) == -1) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/rsm/ |
| rsm.c | 3445 importing_token_t *prev_token, *token, *tmp_token, *tokp; local 5750 list_element_t *tokp; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/init/ |
| init.c | 1929 char *tokp, *cp1, *cp2; local [all...] |