Lines Matching refs:t
170 pub fn add(&mut self, t: AttrType, v: &[u8]) { in add()
188 buf[0..2].copy_from_slice(&t.value().to_be_bytes()); // T in add()
195 typ: t, // T in add()
258 pub fn set_type(&mut self, t: MessageType) { in set_type()
259 self.typ = t; in set_type()
279 let t = u16::from_be_bytes([buf[0], buf[1]]); // first 2 bytes in decode() localVariable
298 self.typ.read_value(t); in decode()
385 pub fn contains(&self, t: AttrType) -> bool { in contains()
387 if a.typ == t { in contains()
397 pub fn get(&self, t: AttrType) -> Result<Vec<u8>> { in get()
398 let (v, ok) = self.attributes.get(t); in get()