Searched refs:label (Results 1 – 2 of 2) sorted by relevance
178 let label = &bytes[1..1 + len]; in parse_name() localVariable180 return Some(Ok(label)); in parse_name()271 let label = bytes.get(..len).ok_or(Error)?; in parse_name_part() localVariable273 f(label); in parse_name_part()457 .try_for_each(|label| label.map(|label| v.push(label))) in test_parse_name()
664 for label in name { in copy_name()665 let label = label?; in copy_name() localVariable666 dest.push(label.len() as u8).map_err(|_| wire::Error)?; in copy_name()667 dest.extend_from_slice(label).map_err(|_| wire::Error)?; in copy_name()