Lines Matching refs:tmpstr
503 char fw[5], tmpstr[256];
528 sprintf(tmpstr, "<%s %s %s>", vendor, product,
540 sprintf(tmpstr, "<%s %s>", product,
559 sprintf(tmpstr, "<%s %s %s %s>",
562 sprintf(tmpstr, "<>");
571 tmpstr,
3034 char *tmpstr;
3040 tmpstr = (char *)strtok(tstr, ":");
3041 if ((tmpstr != NULL) && (*tmpstr != '\0')) {
3042 *bus = strtol(tmpstr, NULL, 0);
3045 tmpstr = (char *)strtok(NULL, ":");
3046 if ((tmpstr != NULL) && (*tmpstr != '\0')) {
3047 *target = strtol(tmpstr, NULL, 0);
3050 tmpstr = (char *)strtok(NULL, ":");
3051 if ((tmpstr != NULL) && (*tmpstr != '\0')) {
3052 *lun = strtol(tmpstr, NULL, 0);
4236 char *tstr, *tmpstr = NULL;
4303 tmpstr = (char *)strtok(tstr, ":");
4304 if ((tmpstr != NULL) && (*tmpstr != '\0')){
4305 bus = strtol(tmpstr, NULL, 0);
4307 tmpstr = (char *)strtok(NULL, ":");
4308 if ((tmpstr != NULL) && (*tmpstr != '\0')){
4309 target = strtol(tmpstr, NULL, 0);
4311 tmpstr = (char *)strtok(NULL, ":");
4312 if ((tmpstr != NULL) && (*tmpstr != '\0')){
4313 lun = strtol(tmpstr, NULL, 0);
6386 char tmpstr[6];
6391 ret = humanize_number(tmpstr, sizeof(tmpstr),
6401 fprintf(stdout, "Device Size: %s%s", tmpstr,
7528 char tmpstr[256];
7604 sprintf(tmpstr, "<%s %s %s>", vendor, product,
7614 sprintf(tmpstr, "<%s %s>", product, revision);
7616 sprintf(tmpstr, "<>");
7618 fprintf(stdout, " %-33s ", tmpstr);