Lines Matching refs:len
65 size_t len;
71 len = strlen(name);
74 len = snprintf(buf, bufsz, "FLT#%d", flt);
77 if (len >= bufsz) /* ensure null-termination */
91 size_t len;
100 len = strlen(name);
103 len = snprintf(buf, bufsz, "SIG#%d", sig);
106 if (len >= bufsz) /* ensure null-termination */
382 size_t len;
393 len = strlen(name);
396 len = snprintf(buf, bufsz, "SYS#%d", sys);
399 if (len >= bufsz) /* ensure null-termination */
482 char *buf, size_t len)
488 if (buf == NULL || len < 1) {
500 n = snprintf(p, len, "%s%s", delim, name);
502 n = snprintf(p, len, "%s", name);
508 len -= n;
522 char *buf, size_t len)
528 if (buf == NULL || len < 1) {
545 n = snprintf(p, len, "%s%s", delim, name);
547 n = snprintf(p, len, "%s", name);
554 len -= n;
568 char *buf, size_t len)
574 if (buf == NULL || len < 1) {
586 n = snprintf(p, len, "%s%s", delim, name);
588 n = snprintf(p, len, "%s", name);
594 len -= n;