Lines Matching refs:len
290 size_t len = 0;
296 len += strlen(ename);
303 len++;
304 len += snprintf(NULL, 0, "%s%d", ipp[i].s, ipp[i].i);
309 len++; /* room for '@' */
311 len++; /* room for final '\0' */
313 cp = ret = MALLOC(len);
330 (void) snprintf(cp, &ret[len] - cp, "%s%d",
355 * ipath2strlen -- calculate the len of what ipath2str() would return
361 size_t len = 0;
365 len += strlen(ename);
372 len++;
373 len += snprintf(NULL, 0, "%s%d", ipp[i].s, ipp[i].i);
378 len++; /* room for '@' */
380 return (len);