Lines Matching refs:len
236 int len = strlen (id); in evax_shorten_name() local
237 int suffix_dotdot = len; in evax_shorten_name()
242 if (len <= MAX_LABEL_LENGTH) in evax_shorten_name()
249 if (strncmp (&id[len-4], "..", 2) == 0) in evax_shorten_name()
251 suffix_dotdot = len - 4; in evax_shorten_name()
252 strncpy (suffix, &id[len-4], 4); in evax_shorten_name()
261 for (i=2; i < len; i++) in evax_shorten_name()
369 crc32 (unsigned char *buf, int len) in crc32() argument
390 while (len--) in crc32()
460 int crc, len, sum, x, final_len; in shorten_identifier() local
464 if ((len = strlen (name)) <= MAX_LABEL_LENGTH) in shorten_identifier()
469 len - final_len - suffix_length); in shorten_identifier()
479 name + len - suffix_length, in shorten_identifier()
483 strncpy (newname + final_len + 2 + 5, encode_16 (len), 3); in shorten_identifier()
497 int len = strlen (id); in is_truncated_identifier() local
500 if (len != MAX_LABEL_LENGTH) in is_truncated_identifier()
504 len = len - 3 - 3 - 5 - 2; in is_truncated_identifier()
505 ptr = id + len; in is_truncated_identifier()