Searched refs:n_lines (Results 1 – 3 of 3) sorted by relevance
1005 int string_truncate_lines(const char *s, size_t n_lines, char **ret) { in string_truncate_lines() argument1026 if (n >= n_lines) /* above threshold */ in string_truncate_lines()1035 if (n >= n_lines) in string_truncate_lines()
227 int string_truncate_lines(const char *s, size_t n_lines, char **ret);
606 static void test_string_truncate_lines_one(const char *input, size_t n_lines, const char *output, b… in test_string_truncate_lines_one() argument610 assert_se((k = string_truncate_lines(input, n_lines, &b)) >= 0); in test_string_truncate_lines_one()