Lines Matching refs:str

207         char slots[256], str[256];
258 xsprintf(str, "%s/%s/address", slots, dent->d_name);
259 if (read_one_line_file(str, &address) >= 0) {
480 char str[32];
487 xsprintf(str, "OUI:%02X%02X%02X%02X%02X%02X", names->mac[0],
490 udev_builtin_hwdb_lookup(dev, NULL, str, NULL, test);
539 char str[IFNAMSIZ];
541 xsprintf(str, "%sx%02x%02x%02x%02x%02x%02x", prefix,
544 udev_builtin_add_property(dev, test, "ID_NET_NAME_MAC", str);
552 char str[IFNAMSIZ];
554 if (snprintf(str, sizeof(str), "%s%s", prefix, names.ccw_group) < (int)sizeof(str))
555 udev_builtin_add_property(dev, test, "ID_NET_NAME_PATH", str);
566 char str[IFNAMSIZ];
569 if (snprintf(str, sizeof(str), "%s%s", prefix, names.pci_onboard) < (int)sizeof(str))
570 udev_builtin_add_property(dev, test, "ID_NET_NAME_ONBOARD", str);
573 if (snprintf(str, sizeof(str), "%s%s", prefix, names.pci_onboard_label) < (int)sizeof(str))
574 udev_builtin_add_property(dev, test, "ID_NET_LABEL_ONBOARD", str);
577 if (snprintf(str, sizeof(str), "%s%s", prefix, names.pci_path) < (int)sizeof(str))
578 udev_builtin_add_property(dev, test, "ID_NET_NAME_PATH", str);
581 if (snprintf(str, sizeof(str), "%s%s", prefix, names.pci_slot) < (int)sizeof(str))
582 udev_builtin_add_property(dev, test, "ID_NET_NAME_SLOT", str);
589 char str[IFNAMSIZ];
592 if (snprintf(str, sizeof(str), "%s%s%s", prefix, names.pci_path, names.usb_ports) < (int)sizeof(str))
593 udev_builtin_add_property(dev, test, "ID_NET_NAME_PATH", str);
596 if (snprintf(str, sizeof(str), "%s%s%s", prefix, names.pci_slot, names.usb_ports) < (int)sizeof(str))
597 udev_builtin_add_property(dev, test, "ID_NET_NAME_SLOT", str);
604 char str[IFNAMSIZ];
607 if (snprintf(str, sizeof(str), "%s%s%s", prefix, names.pci_path, names.bcma_core) < (int)sizeof(str))
608 udev_builtin_add_property(dev, test, "ID_NET_NAME_PATH", str);
611 if (snprintf(str, sizeof(str), "%s%s%s", prefix, names.pci_slot, names.bcma_core) < (int)sizeof(str))
612 udev_builtin_add_property(dev, test, "ID_NET_NAME_SLOT", str);