Lines Matching +refs:val +refs:current
401 char *current; /* Ptr to current sev def'n */
402 char *tokend; /* Ptr to end of current sev def'n */
407 int val; /* Converted severity value */
413 current = (ptr == (char *)NULL) ? leftoff : ptr;
417 if (current == (char *)NULL) {
423 * Look through the string "current" for a token of the form
432 while (*(tokend = exttok(current, ":,")) == ':') {
433 current = tokend + (ptrdiff_t)1;
438 kywd = current;
442 current = tokend + (ptrdiff_t)1;
443 if (*(tokend = exttok(current, ":,")) == ',') {
444 valstr = current;
447 current = tokend + (ptrdiff_t)1;
448 prstr = current;
451 val = (int)strtol(noesc(valstr), &p, 0);
452 if ((val > 4) && (p == tokend)) {
460 exttok(current, ":")) == ':') {
478 rtnval->sevvalue = val;
489 current = tokend;
492 current++;
500 current = tokend;
502 current++;
534 char *tok; /* Pointer to current token */
535 char *tokend; /* Pointer to end of current token */