Lines Matching refs:len
114 u_int len;
119 len = vasprintf(&str, fmt, ap) + 1;
120 if((pp->ds_len + len) > 0xffffff) {
126 if((pp->ds_len + len) > pp->ds_size) {
129 np = realloc(pp->ds_addr, pp->ds_size + len + FUDGE);
136 pp->ds_size += len + FUDGE;
138 memcpy(pp->ds_addr + pp->ds_len, str, len);
139 pp->ds_len += len;
141 return len;
163 size_t len, n;
165 len = pp->ds_len;
169 printf("%s: cmd=0x%x len=%d\n", it, cmd, (int)len);
170 while(len > 0) {
173 len -= n;