Home
last modified time | relevance | path

Searched refs:model_str (Results 1 – 3 of 3) sorted by relevance

/third_party/eudev/src/udev/
Dudev-builtin-usb_id.c235 char model_str[64] = ""; in builtin_usb_id() local
340 util_replace_whitespace(scsi_model, model_str, sizeof(model_str)-1); in builtin_usb_id()
341 util_replace_chars(model_str, NULL); in builtin_usb_id()
387 if (model_str[0] == '\0') { in builtin_usb_id()
396 util_replace_whitespace(usb_model, model_str, sizeof(model_str)-1); in builtin_usb_id()
397 util_replace_chars(model_str, NULL); in builtin_usb_id()
432 l = strpcpyl(&s, sizeof(serial), vendor_str, "_", model_str, NULL); in builtin_usb_id()
442 udev_builtin_add_property(dev, test, "ID_MODEL", model_str); in builtin_usb_id()
/third_party/eudev/src/scsi_id/
Dscsi_id.c64 static char model_str[64]; variable
428 retval = get_file_options(udev, vendor_str, model_str, &newargc, &newargv); in per_dev_options()
487 util_replace_whitespace(dev_scsi->model, model_str, sizeof(model_str)); in set_inq_values()
488 util_replace_chars(model_str, NULL); in set_inq_values()
527 printf("ID_MODEL=%s\n", model_str); in scsi_id()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/somas/
Dsomas.cc142 auto model_str = SomasInfo(true); in CalcSomasModelHash() local
143 hash_id_ = std::to_string(std::hash<std::string>()(model_str)); in CalcSomasModelHash()
147 return Common::SaveStringToFile(filename, model_str); in CalcSomasModelHash()