Searched refs:pre_len (Results 1 – 7 of 7) sorted by relevance
186 let pre_len = pre.len(); localVariable188 let aligned_v = &mut v[pre_len..pre_len + size_of::<$T>()];197 let begin = pre_len + i;
255 size_t pre_len = e->limit - e->ptr; in encode_array() local351 encode_varint(e, e->limit - e->ptr - pre_len); in encode_array()361 size_t pre_len = e->limit - e->ptr; in encode_mapentry() local365 size = (e->limit - e->ptr) - pre_len; in encode_mapentry()420 size_t pre_len = e->limit - e->ptr; in encode_message() local444 *size = (e->limit - e->ptr) - pre_len; in encode_message()
1440 let pre_len = $pre.len(); in write_color() localVariable1441 assert!(pre_len <= 7); in write_color()1443 fmt[..pre_len].copy_from_slice($pre); in write_color()1444 let mut i = pre_len - 1; in write_color()
1621 size_t pre_len = e->limit - e->ptr; in encode_array() local1717 encode_varint(e, e->limit - e->ptr - pre_len); in encode_array()1727 size_t pre_len = e->limit - e->ptr; in encode_mapentry() local1731 size = (e->limit - e->ptr) - pre_len; in encode_mapentry()1850 size_t pre_len = e->limit - e->ptr; in encode_message() local1899 *size = (e->limit - e->ptr) - pre_len; in encode_message()
1597 size_t pre_len = e->limit - e->ptr; in encode_array() local1693 encode_varint(e, e->limit - e->ptr - pre_len); in encode_array()1703 size_t pre_len = e->limit - e->ptr; in encode_mapentry() local1707 size = (e->limit - e->ptr) - pre_len; in encode_mapentry()1820 size_t pre_len = e->limit - e->ptr; in encode_message() local1869 *size = (e->limit - e->ptr) - pre_len; in encode_message()