Lines Matching refs:parse
274 map.set("foo".parse().unwrap(), vec!["bar".parse().unwrap()]), in test_immutable()
278 map.append("foo".parse().unwrap(), "bar".parse().unwrap()), in test_immutable()
282 map.remove_all("foo".parse().unwrap()), in test_immutable()
291 match map.append("foo".parse().unwrap(), "bar".parse().unwrap()) { in test_limits()
301 "foo".parse().unwrap(), in test_limits()
302 (0..i).map(|j| format!("bar{j}").parse().unwrap()).collect(), in test_limits()
313 format!("foo{i}").parse().unwrap(), in test_limits()
314 vec!["bar".parse().unwrap()], in test_limits()
326 let name: http::HeaderName = "foo".parse().unwrap(); in test_size()
328 map.append(name.clone(), "bar".parse().unwrap())?; in test_size()
333 map.set(name.clone(), vec!["bar".parse().unwrap()])?; in test_size()
340 map.set(name.clone(), vec!["bar".parse().unwrap()])?; in test_size()
345 map.set(name.clone(), vec!["bar".parse().unwrap()])?; in test_size()
349 vec!["bar".parse().unwrap(), "baz".parse().unwrap()], in test_size()