Home
last modified time | relevance | path

Searched refs:TEMP_LEN (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/bsnmp/lib/
H A Dasn1.c198 #define TEMP_LEN (1 + ASN_MAXLENLEN + 1) macro
204 if (b->asn_len < TEMP_LEN) in asn_put_temp_header()
208 assert(b->asn_ptr == *ptr + TEMP_LEN); in asn_put_temp_header()
218 len = b->asn_ptr - (ptr + TEMP_LEN); in asn_commit_header()
222 if (lenlen > TEMP_LEN - 1) in asn_commit_header()
225 if (lenlen < TEMP_LEN - 1) { in asn_commit_header()
227 shift = (TEMP_LEN - 1) - lenlen; in asn_commit_header()
228 memmove(ptr + 1 + lenlen, ptr + TEMP_LEN, len); in asn_commit_header()
236 #undef TEMP_LEN