Lines Matching defs:len
173 size_t len;
179 len = vsnprintf(&c, 1, format, ap);
180 msg = alloca(len + 2);
181 (void) vsnprintf(msg, len + 1, format, ap);
183 if (msg[len - 1] != '\n')
184 (void) strcpy(&msg[len], "\n");
336 topo_sensor_type_name(uint32_t type, char *buf, size_t len)
342 (void) strlcpy(buf, ntp->int_name, len);
347 (void) snprintf(buf, len, "0x%02x", type);
351 topo_sensor_units_name(uint8_t type, char *buf, size_t len)
357 (void) strlcpy(buf, ntp->int_name, len);
362 (void) snprintf(buf, len, "0x%02x", type);
366 topo_led_type_name(uint8_t type, char *buf, size_t len)
372 (void) strlcpy(buf, ntp->int_name, len);
377 (void) snprintf(buf, len, "0x%02x", type);
381 topo_led_state_name(uint8_t type, char *buf, size_t len)
387 (void) strlcpy(buf, ntp->int_name, len);
392 (void) snprintf(buf, len, "0x%02x", type);
397 size_t len)
529 (void) snprintf(buf, len, "0x%02x", state);
534 (void) strlcpy(buf, ntp->int_name, len);
539 (void) snprintf(buf, len, "0x%02x", state);