Lines Matching refs:eptr

492 	char *eptr;  in pcidb_parse_class_filter()  local
504 val = strtoul(arg, &eptr, 16); in pcidb_parse_class_filter()
505 if (errno != 0 || *eptr != '\0') { in pcidb_parse_class_filter()
532 char *eptr; in pcidb_parse_device_filter() local
540 val = strtoul(arg, &eptr, 16); in pcidb_parse_device_filter()
541 if (errno != 0 || (*eptr != '\0' && *eptr != ',')) { in pcidb_parse_device_filter()
552 if (*eptr == '\0') { in pcidb_parse_device_filter()
555 } else if (strcmp(eptr, ",s") == 0) { in pcidb_parse_device_filter()
558 } else if (eptr[1] == '\0') { in pcidb_parse_device_filter()
563 arg = eptr + 1; in pcidb_parse_device_filter()
564 val = strtoul(arg, &eptr, 16); in pcidb_parse_device_filter()
565 if (errno != 0 || (*eptr != '\0' && *eptr != ',' && *eptr != '.')) { in pcidb_parse_device_filter()
576 if (*eptr == '\0') { in pcidb_parse_device_filter()
580 } else if (eptr[1] == '\0') { in pcidb_parse_device_filter()
585 if (*eptr == ',') { in pcidb_parse_device_filter()
586 if (eptr[1] == 'p' && eptr[2] == '\0') { in pcidb_parse_device_filter()
591 if (eptr[1] == 's' && eptr[2] == '\0') { in pcidb_parse_device_filter()
598 orig, eptr); in pcidb_parse_device_filter()
604 arg = eptr + 1; in pcidb_parse_device_filter()
606 val = strtoul(arg, &eptr, 16); in pcidb_parse_device_filter()
607 if (errno != 0 || (*eptr != '\0' && *eptr != ',')) { in pcidb_parse_device_filter()
618 if (*eptr == '\0') { in pcidb_parse_device_filter()
620 } else if (eptr[1] == '\0') { in pcidb_parse_device_filter()
625 arg = eptr + 1; in pcidb_parse_device_filter()
627 val = strtoul(arg, &eptr, 16); in pcidb_parse_device_filter()
628 if (errno != 0 || *eptr != '\0') { in pcidb_parse_device_filter()