Lines Matching refs:index
41 if let Some(index) = val.find('/') { in unmarshal()
42 let path = &url[7 + index + 1..]; in unmarshal()
44 let address_with_port = &url[7..7 + index]; 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()
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()
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()