Lines Matching defs:len
119 int i, len = tlv[1] / 4 + 2;
122 if (len >= MAX_USER_TLV_SIZE)
124 s = malloc(len * 8 + 1);
128 for (i = 0; i < len; i++) {
137 int i, j, c, len;
140 len = strlen(s);
141 if (len % 8) /* aligned to 4 bytes (= 8 letters) */
143 len /= 8;
144 if (len > MAX_USER_TLV_SIZE)
146 tlv = malloc(sizeof(int) * len);
149 for (i = 0; i < len; i++) {
1403 int len = strlen(buf);
1407 if (size * 2 != len) {