Searched refs:newlines (Results 1 – 25 of 319) sorted by relevance
12345678910>>...13
7 var newlines = (str.match(/(?:\r?\n)/g) || []);9 if (newlines.length === 0) {13 var crlf = newlines.filter(function (el) {17 var lf = newlines.length - crlf;
55 int newlines = 0; in ccomment_count_newlines() local61 ++newlines; in ccomment_count_newlines()65 return newlines; in ccomment_count_newlines()76 int newlines = 0; in rawstring_count_newlines() local82 ++newlines; in rawstring_count_newlines()86 return newlines; in rawstring_count_newlines()
64 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))70 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))80 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))111 self.assertEqual(repr(fp.newlines), repr(None))114 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
23 unsigned newlines = 0; in count_newlines() local27 ++newlines; in count_newlines()30 return newlines; in count_newlines()
190 final String _longLineWithNewlines = 'This is a long line with newlines that\n'193 …ithNewlines = '${AnsiTerminal.red}This${AnsiTerminal.resetAll} is a long line with newlines that\n'199 …final String _indentedLongLineWithNewlines = ' This is an indented long line with newlines that…284 testWrap('wraps text with newlines', () {286 This is a long line with newlines that294 ${AnsiTerminal.red}This${AnsiTerminal.resetAll} is a long line with newlines that304 testWrap('preserves indentation in the presence of newlines', () {307 newlines that355 newlines that
27 with unix newlines49 with unix newlines
29 with unix newlines57 with unix newlines
30 Lots of newlines round this paragraph.70 Lots of newlines round this paragraph.
1 [article Test newlines
27 newline = fin.newlines and fin.newlines[0] or '\n'
133 newline = spec_newline if spec_newline else r.newlines199 self.newlines = f.newlines
2 // newlines are <LF>
2 // newlines are <CR>
2 // newlines are <CR><LF>
10 newlines = auto # lf/crlf/cr/auto1439 # Add or remove newlines at the start of the file.1442 # The minimum number of newlines at the start of the file (only used if1449 # The minimum number of newlines at the end of the file (only used if1894 # Whether to alter newlines in '#define' macros.1897 # Whether to alter newlines between consecutive parenthesis closes. The number2022 # The maximum number of consecutive newlines (3 = 2 blank lines).2025 # The maximum number of consecutive newlines in a function.2028 # The number of newlines inside an empty function body.2034 # The number of newlines before a function prototype.[all …]
286 to add newlines to their code. However there are some rules.293 * No newlines are allowed between control statements (if-else, while,324 /* It is a recommended to put newlines around asserts. */345 /* No newlines are allowed after an opening curly366 /* Two or more newlines are not allowed. */372 /* No newlines are allowed between control staments