Searched refs:newline_len (Results 1 – 1 of 1) sorted by relevance
1141 static const char *next_newline(const char *str, const char *end, size_t *newline_len) { in next_newline() argument1144 *newline_len = str + 1 < end && *(str + 1) == '\n' ? 2 : 1; in next_newline()1147 *newline_len = 1; in next_newline()1151 *newline_len = 0; in next_newline()1163 size_t newline_len; in strip_multiline_string_indentation() local1167 nl = next_newline(str, end, &newline_len); in strip_multiline_string_indentation()1172 str = nl + newline_len; in strip_multiline_string_indentation()1173 copy = (char *) nl + newline_len; in strip_multiline_string_indentation()1182 nl = next_newline(str, end, &newline_len); in strip_multiline_string_indentation()1213 size_t len = nl ? (nl - str + newline_len) : (end - str); in strip_multiline_string_indentation()
Completed in 17 milliseconds