Lines Matching refs:strbuf
839 char strbuf[SFP_STRBUF]; in sff_parse_string() local
841 assert(len < sizeof (strbuf)); in sff_parse_string()
842 strbuf[0] = '\0'; in sff_parse_string()
861 bcopy(&buf[start], strbuf, len); in sff_parse_string()
862 strbuf[len] = '\0'; in sff_parse_string()
864 return (nvlist_add_string(nvl, field, strbuf)); in sff_parse_string()
1173 char strbuf[SFP_STRBUF]; in sff_qsfp_parse_copperwave() local
1183 (void) snprintf(strbuf, sizeof (strbuf), "%.3lf nm", d); in sff_qsfp_parse_copperwave()
1185 strbuf)) != 0) in sff_qsfp_parse_copperwave()
1193 (void) snprintf(strbuf, sizeof (strbuf), "%.3lf nm", d); in sff_qsfp_parse_copperwave()
1195 LIBSFF_KEY_WAVE_TOLERANCE, strbuf)) != 0) in sff_qsfp_parse_copperwave()