Searched refs:newline_position (Results 1 – 3 of 3) sorted by relevance
49 size_t newline_position = value.find_first_of('\n'); in trim_new_line() local50 if (newline_position != std::string::npos) { in trim_new_line()51 value.erase(newline_position); in trim_new_line()
218 size_t newline_position = value.find('\n'); in config_set_string() local219 if (newline_position != std::string::npos) { in config_set_string()221 value_no_newline = value.substr(0, newline_position); in config_set_string()
30 size_t newline_position = value.find_first_of('\n'); in TrimAfterNewLine() local31 if (newline_position != std::string::npos) { in TrimAfterNewLine()32 value.erase(newline_position); in TrimAfterNewLine()