Searched refs:newline_pos (Results 1 – 2 of 2) sorted by relevance
66 size_t newline_pos = machine_type.find('\n'); in GetMachineType() local67 if (newline_pos != string::npos) in GetMachineType()68 machine_type.erase(newline_pos); in GetMachineType()
436 size_t newline_pos = url.find('\n'); in ReportSuccess() local437 if (newline_pos != string::npos) in ReportSuccess()438 url.resize(newline_pos); in ReportSuccess()