Lines Matching refs:line
92 for line in lines { in unmarshal()
93 if let Some(index) = line.find(": ") { in unmarshal()
94 let name = line[..index].to_string(); in unmarshal()
95 let value = line[index + 2..].to_string(); in unmarshal()
185 for line in lines { in unmarshal()
186 if let Some(index) = line.find(": ") { in unmarshal()
187 let name = line[..index].to_string(); in unmarshal()
188 let value = line[index + 2..].to_string(); in unmarshal()
246 let mut line = String::new(); in read_headers() localVariable
247 match reader.read_line(&mut line) { in read_headers()
250 if let Some(index) = line.find(": ") { in read_headers()
251 let name = line[..index].to_string(); in read_headers()
252 let value = line[index + 2..].trim().to_string(); in read_headers()