Searched refs:newline_position (Results 1 – 2 of 2) sorted by relevance
217 size_t newline_position = value.find('\n'); in config_set_string() local218 if (newline_position != std::string::npos) { in config_set_string()219 value_no_newline = value.substr(0, newline_position); in config_set_string()
36 size_t newline_position = value.find_first_of('\n'); in TrimAfterNewLine() local37 if (newline_position != std::string::npos) { in TrimAfterNewLine()38 value.erase(newline_position); in TrimAfterNewLine()