Home
last modified time | relevance | path

Searched refs:newlines (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/third_party/node/deps/npm/node_modules/detect-newline/
Dindex.js7 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;
/third_party/boost/boost/wave/
Dwhitespace_handling.hpp55 int newlines = 0; in ccomment_count_newlines() local
61 ++newlines; in ccomment_count_newlines()
65 return newlines; in ccomment_count_newlines()
76 int newlines = 0; in rawstring_count_newlines() local
82 ++newlines; in rawstring_count_newlines()
86 return newlines; in rawstring_count_newlines()
/third_party/python/Lib/test/
Dtest_univnewlines.py64 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))
/third_party/boost/libs/wave/samples/real_positions/
Dcorrect_token_positions.hpp23 unsigned newlines = 0; in count_newlines() local
27 ++newlines; in count_newlines()
30 return newlines; in count_newlines()
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/
Dutils_test.dart190 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 that
294 ${AnsiTerminal.red}This${AnsiTerminal.resetAll} is a long line with newlines that
304 testWrap('preserves indentation in the presence of newlines', () {
307 newlines that
355 newlines that
/third_party/curl/tests/data/
Dtest12827 with unix newlines
49 with unix newlines
Dtest94129 with unix newlines
57 with unix newlines
/third_party/boost/tools/quickbook/test/
Dpara_test-1_5.quickbook30 Lots of newlines round this paragraph.
70 Lots of newlines round this paragraph.
Dnewline-1_1.quickbook1 [article Test newlines
/third_party/jsoncpp/devtools/
Dlicenseupdater.py27 newline = fin.newlines and fin.newlines[0] or '\n'
/third_party/python/Tools/scripts/
Dreindent.py133 newline = spec_newline if spec_newline else r.newlines
199 self.newlines = f.newlines
/third_party/typescript/tests/baselines/reference/
DtemplateStringMultiline2.types2 // newlines are <LF>
DtemplateStringMultiline3.types2 // newlines are <CR>
DtemplateStringMultiline3_ES6.types2 // newlines are <CR>
DtemplateStringMultiline2_ES6.types2 // newlines are <LF>
DtemplateStringMultiline1.types2 // newlines are <CR><LF>
DtemplateStringMultiline1_ES6.types2 // newlines are <CR><LF>
DtemplateStringMultiline3_ES6.symbols2 // newlines are <CR>
DtemplateStringMultiline2_ES6.symbols2 // newlines are <LF>
DtemplateStringMultiline3.symbols2 // newlines are <CR>
DtemplateStringMultiline2.symbols2 // newlines are <LF>
DtemplateStringMultiline1.symbols2 // newlines are <CR><LF>
DtemplateStringMultiline1_ES6.symbols2 // newlines are <CR><LF>
/third_party/ejdb/
Duncrustify.cfg10 newlines = auto # lf/crlf/cr/auto
1439 # Add or remove newlines at the start of the file.
1442 # The minimum number of newlines at the start of the file (only used if
1449 # The minimum number of newlines at the end of the file (only used if
1894 # Whether to alter newlines in '#define' macros.
1897 # Whether to alter newlines between consecutive parenthesis closes. The number
2022 # 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 …]
/third_party/jerryscript/docs/
D08.CODING-STANDARDS.md286 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 curly
366 /* Two or more newlines are not allowed. */
372 /* No newlines are allowed between control staments

12345678910>>...13