Home | History | Annotate | Download | only in hw

Lines Matching defs:len

50     if (p->len != 8)
108 int len = s->setup_len - s->setup_index;
109 if (len > p->len)
110 len = p->len;
111 memcpy(p->data, s->data_buf + s->setup_index, len);
112 s->setup_index += len;
115 return len;
143 int len = s->setup_len - s->setup_index;
144 if (len > p->len)
145 len = p->len;
146 memcpy(s->data_buf + s->setup_index, p->data, len);
147 s->setup_index += len;
150 return len;
208 int len, i;
212 len = strlen(str);
213 *q++ = 2 * len + 2;
215 for(i = 0; i < len; i++) {