Lines Matching +refs:val +refs:current
362 char *current; /* Ptr to current sev def'n */
363 char *tokend; /* Ptr to end of current sev def'n */
368 int val; /* Converted severity value */
374 current = (ptr == (char *) NULL) ? leftoff : ptr;
378 if (current == (char *) NULL) {
384 * Look through the string "current" for a token of the form
394 while (*(tokend = exttok(current, ":,")) == ':') {
395 current = tokend + 1;
400 kywd = current;
404 current = tokend + 1;
405 if (*(tokend = exttok(current, ":,")) == ',') {
406 valstr = current;
408 current = tokend+1;
409 prstr = current;
412 val = (int) strtol(noesc(valstr), &p, 0);
413 if ((val > 4) && (p == tokend)) {
420 if (*(tokend = exttok(current, ":")) == ':') {
430 rtnval->sevvalue = val;
440 current = tokend;
442 current++;
448 current = tokend;
450 current++;
535 char *tokenptr; /* Ptr to current token */