Lines Matching refs:valstr
389 char *option, *valstr, *grp, *tp; in strtoopt() local
423 valstr = strtok(NULL, "\n"); in strtoopt()
424 if (!valstr) error_exit("option %s has no value defined.\n", option); in strtoopt()
425 dbg(" value : %-20s \n ", valstr); in strtoopt()
430 convtmp = strtou32(valstr); in strtoopt()
431 if (convtmp < 0) error_exit("Invalid/wrong formated number %s", valstr); in strtoopt()
438 convtmp = strtou32(valstr); in strtoopt()
439 if (convtmp < 0) error_exit("Invalid/malformed number %s", valstr); in strtoopt()
446 convtmp = strtou32(valstr); in strtoopt()
447 if (convtmp < 0) error_exit("Invalid/malformed number %s", valstr); in strtoopt()
453 striptovar(valstr, options_list[count].val); in strtoopt()
456 options_list[count].len = strlen(valstr); in strtoopt()
457 options_list[count].val = strdup(valstr); in strtoopt()
460 while(valstr){ in strtoopt()
462 striptovar(valstr, ((uint8_t*)options_list[count].val)+options_list[count].len); in strtoopt()
464 valstr = strtok(NULL," \t"); in strtoopt()
478 grp = strtok(valstr, ",");; in strtoopt()