Lines Matching refs:attrlen
201 fromleft(char *p, size_t avail, char *attrname, size_t attrlen, char *txt,
206 if (avail < attrlen + ELLIPSIS_SIZE)
209 (void) memcpy(p, attrname, attrlen);
210 p += attrlen;
211 avail -= attrlen;
216 len = attrlen + avail;
220 len = attrlen + txtlen;
228 fromright(char *p, size_t avail, char *attrname, size_t attrlen, char *txt,
233 if (avail < attrlen + ELLIPSIS_SIZE)
236 (void) memcpy(p, attrname, attrlen);
237 p += attrlen;
238 avail -= attrlen;
243 len = attrlen + avail;
248 len = attrlen + txtlen;