Lines Matching refs:len
79 size_t len;
90 len = strlen(buf);
91 p = &(buf[len]);
92 (void) vsnprintf(p, SLP_ERR_BUF_LEN - len, msg, ap);
313 unsigned int len;
315 len = ((unsigned int)(header[off] & 0xff)) << 16;
316 len += ((unsigned int)(header[off + 1] & 0xff)) << 8;
317 len += ((unsigned int)(header[off + 2] & 0xff));
319 return (len);
327 void slp_header_set_int24(char *header, unsigned int len, size_t off) {
328 header[off] = (unsigned char) ((len & 0xff0000) >> 16);
329 header[off + 1] = (unsigned char) ((len & 0xff00) >> 8);
330 header[off + 2] = (unsigned char) (len & 0xff);
348 void slp_header_set_sht(char *header, unsigned short len, size_t off) {
349 (void) slp_add_sht(header, SLP_HDRLEN, len, &off);
425 /* SLP strings are limited to 16-bit len */