Lines Matching refs:line
65 for line in lines { in unmarshal()
66 if let Some(index) = line.find(": ") { in unmarshal()
67 let name = line[..index].to_string(); in unmarshal()
68 let value = line[index + 2..].to_string(); in unmarshal()
137 for line in lines { in unmarshal()
138 if let Some(index) = line.find(": ") { in unmarshal()
139 let name = line[..index].to_string(); in unmarshal()
140 let value = line[index + 2..].to_string(); in unmarshal()
193 let mut line = String::new(); in read_headers() localVariable
194 match reader.read_line(&mut line) { in read_headers()
197 if let Some(index) = line.find(": ") { in read_headers()
198 let name = line[..index].to_string(); in read_headers()
199 let value = line[index + 2..].trim().to_string(); in read_headers()