Home
last modified time | relevance | path

Searched refs:newline (Results 1 – 25 of 798) sorted by relevance

12345678910>>...32

/third_party/boost/boost/iostreams/filter/
Dnewline.hpp42 namespace newline { namespace
66 return !is_mixed() && (flags_ & newline::posix) != 0; in is_posix()
70 return !is_mixed() && (flags_ & newline::dos) != 0; in is_dos()
74 return !is_mixed() && (flags_ & newline::mac) != 0; in is_mac()
76 bool is_mixed_posix() const { return (flags_ & newline::posix) != 0; } in is_mixed_posix()
77 bool is_mixed_dos() const { return (flags_ & newline::dos) != 0; } in is_mixed_dos()
78 bool is_mixed_mac() const { return (flags_ & newline::mac) != 0; } in is_mixed_mac()
82 (flags_ & newline::posix) != 0 ? in is_mixed()
83 newline::posix : in is_mixed()
84 (flags_ & newline::dos) != 0 ? in is_mixed()
[all …]
Dline.hpp108 if ((next = traits_type::find(cur, rest, traits_type::newline()))) { in write()
162 c != traits_type::newline() ) in next_line()
167 if (!cur_line_.empty() || c == traits_type::newline()) in next_line()
169 if (c == traits_type::newline() && (flags_ & f_suppress) == 0) in next_line()
182 line += traits_type::newline(); in write_line()
/third_party/boost/libs/iostreams/test/
Dnewline_test.cpp146 BOOST_CHECK(test_input_filter(newline_filter(newline::posix), posix, posix)); in read_newline_filter()
147 BOOST_CHECK(test_input_filter(newline_filter(newline::posix), dos, posix)); in read_newline_filter()
148 BOOST_CHECK(test_input_filter(newline_filter(newline::posix), mac, posix)); in read_newline_filter()
149 BOOST_CHECK(test_input_filter(newline_filter(newline::posix), mixed, posix)); in read_newline_filter()
153 BOOST_CHECK(test_input_filter(newline_filter(newline::dos), posix, dos)); in read_newline_filter()
154 BOOST_CHECK(test_input_filter(newline_filter(newline::dos), dos, dos)); in read_newline_filter()
155 BOOST_CHECK(test_input_filter(newline_filter(newline::dos), mac, dos)); in read_newline_filter()
156 BOOST_CHECK(test_input_filter(newline_filter(newline::dos), mixed, dos)); in read_newline_filter()
160 BOOST_CHECK(test_input_filter(newline_filter(newline::mac), posix, mac)); in read_newline_filter()
161 BOOST_CHECK(test_input_filter(newline_filter(newline::mac), dos, mac)); in read_newline_filter()
[all …]
/third_party/node/deps/npm/node_modules/detect-newline/
Dreadme.md1 …ect-newline [![Build Status](https://travis-ci.org/sindresorhus/detect-newline.svg?branch=master)]…
3 > Detect the dominant newline character of a string
9 $ npm install --save detect-newline
16 const detectNewline = require('detect-newline');
27 Returns detected newline or `null` when no newline character is found.
31 Returns detected newline or `\n` when no newline character is found.
36 - [detect-newline-cli](https://github.com/sindresorhus/detect-newline-cli) - CLI for this module
/third_party/gettext/gettext-tools/tests/
Dsentence-1-prg.c36 char *p, *newline; in main() local
44 newline = strchr (buffer, '\n'); in main()
45 if (!newline) in main()
47 *newline = '\0'; in main()
62 newline = strchr (p, '\n'); in main()
63 if (!newline) in main()
66 p = newline + 1; in main()
73 *newline = '\0'; in main()
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
Dpostprocessor.c641 size_t newline; in process_multipart_headers() local
643 newline = 0; in process_multipart_headers()
644 while ((newline < pp->buffer_pos) && in process_multipart_headers()
645 (buf[newline] != '\r') && (buf[newline] != '\n')) in process_multipart_headers()
646 newline++; in process_multipart_headers()
647 if (newline == pp->buffer_size) in process_multipart_headers()
652 if (newline == pp->buffer_pos) in process_multipart_headers()
654 if (0 == newline) in process_multipart_headers()
662 if (buf[newline] == '\r') in process_multipart_headers()
664 buf[newline] = '\0'; in process_multipart_headers()
[all …]
/third_party/uboot/u-boot-2020.01/tools/patman/
Dterminal.py30 def __init__(self, text, newline, colour): argument
32 self.newline = newline
36 return 'newline=%s, colour=%s, text=%s' % (self.newline, self.colour,
39 def Print(text='', newline=True, colour=None): argument
51 print_test_list.append(PrintLine(text, newline, colour))
57 if newline:
88 if line.newline:
/third_party/flutter/skia/src/gpu/
DGrShaderUtils.cpp71 this->newline(); in prettify()
74 this->newline(); in prettify()
77 this->newline(); in prettify()
79 this->newline(); in prettify()
85 this->newline(); in prettify()
124 this->newline(); in parseUntilNewline()
142 this->newline(); in parseUntil()
168 void newline() { in newline() function in GrShaderUtils::GLSLPrettyPrint
/third_party/flutter/engine/flutter/lib/web_ui/test/text/
Dword_breaker_test.dart95 final String newline = String.fromCharCode(0x000B);
104 'foo${newline}${newline}bar', ['foo', newline, newline, 'bar']);
107 expectWords('foo${newline}\rbar', ['foo', newline, '\r', 'bar']);
108 expectWords('foo\r${newline}bar', ['foo', '\r', newline, 'bar']);
109 expectWords('foo${newline}\nbar', ['foo', newline, '\n', 'bar']);
110 expectWords('foo\n${newline}bar', ['foo', '\n', newline, 'bar']);
/third_party/skia/src/gpu/
DGrShaderUtils.cpp71 this->newline(); in prettify()
74 this->newline(); in prettify()
77 this->newline(); in prettify()
79 this->newline(); in prettify()
85 this->newline(); in prettify()
124 this->newline(); in parseUntilNewline()
142 this->newline(); in parseUntil()
168 void newline() { in newline() function in GrShaderUtils::GLSLPrettyPrint
/third_party/ninja/
Dconfigure.py141 def newline(self): member in Bootstrap
142 return self.writer.newline()
254 n.newline()
257 n.newline()
270 n.newline()
418 n.newline()
432 n.newline()
446 n.newline()
456 n.newline()
468 n.newline()
[all …]
/third_party/cef/tools/yapf/yapf/yapflib/
Dreformatter.py82 state.AddTokenToState(newline=False, dry_run=False)
168 newline = False
170 newline = (prev_lineno is not None and
174 state.AddTokenToState(newline=newline, dry_run=False)
269 def __init__(self, state, newline, previous): argument
271 self.newline = newline
276 self.state, self.newline)
344 def _AddNextStateToQueue(penalty, previous_node, newline, count, p_queue): argument
362 if newline and not previous_node.state.CanSplit(must_split):
365 if not newline and must_split:
[all …]
/third_party/toybox/toys/other/
Dfmt.c35 static void newline(void)
48 if (!pline) return newline(); in fmt_line()
62 return newline(); in fmt_line()
66 if (count!=TT.level) newline(); in fmt_line()
77 if (TT.pos+count+!!TT.pos>=TT.width) newline(); in fmt_line()
/third_party/python/Modules/_io/
Dstringio.c653 const char *newline = "\n"; in _io_StringIO___init___impl() local
659 newline = NULL; in _io_StringIO___init___impl()
668 newline = PyUnicode_AsUTF8(newline_obj); in _io_StringIO___init___impl()
669 if (newline == NULL) in _io_StringIO___init___impl()
673 if (newline && newline[0] != '\0' in _io_StringIO___init___impl()
674 && !(newline[0] == '\n' && newline[1] == '\0') in _io_StringIO___init___impl()
675 && !(newline[0] == '\r' && newline[1] == '\0') in _io_StringIO___init___impl()
676 && !(newline[0] == '\r' && newline[1] == '\n' && newline[2] == '\0')) { in _io_StringIO___init___impl()
695 assert((newline != NULL && newline_obj != Py_None) || in _io_StringIO___init___impl()
696 (newline == NULL && newline_obj == Py_None)); in _io_StringIO___init___impl()
[all …]
/third_party/python/Modules/_io/clinic/
D_iomodule.c.h135 const char *newline, int closefd, PyObject *opener);
150 const char *newline = NULL; in _io_open() local
242 newline = NULL; in _io_open()
246 newline = PyUnicode_AsUTF8AndSize(args[5], &newline_length); in _io_open()
247 if (newline == NULL) { in _io_open()
250 if (strlen(newline) != (size_t)newline_length) { in _io_open()
279 …return_value = _io_open_impl(module, file, mode, buffering, encoding, errors, newline, closefd, op… in _io_open()
/third_party/flutter/skia/third_party/externals/icu/source/tools/tzcode/
Dtzselect.ksh59 newline='
61 IFS=$newline
163 *"$newline"*)
201 *"$newline"*)
272 ?*+?*) echo >&2 " $country$newline $region";;
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
Dtzselect.ksh59 newline='
61 IFS=$newline
163 *"$newline"*)
201 *"$newline"*)
272 ?*+?*) echo >&2 " $country$newline $region";;
/third_party/icu/icu4c/source/tools/tzcode/
Dtzselect.ksh59 newline='
61 IFS=$newline
163 *"$newline"*)
201 *"$newline"*)
272 ?*+?*) echo >&2 " $country$newline $region";;
/third_party/boost/boost/iostreams/detail/
Dnewline.hpp18 struct newline;
21 struct newline<char> { struct
26 struct newline<wchar_t> { struct
/third_party/node/deps/npm/lib/
Dversion.js38 readPackage(function (er, data, indent, newline) { argument
120 var newline
123 newline = detectNewline(data)
129 cb(er, data, indent, newline)
139 readPackage(function (er, data, indent, newline) { argument
142 write(data, 'package.json', indent, newline, cb)
175 let newline
179 newline = detectNewline(shrinkwrap || lockfile)
185 write(data, file, indent, newline, (err) => {
345 function write (data, file, indent, newline, cb) { argument
[all …]
/third_party/tzdata/
Dtzselect.ksh200 newline='
202 IFS=$newline
430 *"$newline"*)
462 *"$newline"*)
527 ?*%?*%) say >&2 " $country$newline $region";;
529 %?*%?*) say >&2 " coord $coord$newline $region";;
/third_party/typescript/tests/baselines/reference/
DscannerStringLiterals.types27 "Should error because of newline.
28 >"Should error because of newline. : "Should error because of newline."
/third_party/python/Lib/
Dsre_constants.py44 newline = '\n'
46 newline = b'\n'
47 self.lineno = pattern.count(newline, 0, pos) + 1
48 self.colno = pos - pattern.rfind(newline, 0, pos)
49 if newline in pattern:
/third_party/ejdb/
Duncrustify.cfg754 # Add or remove space before a backslash-newline at the end of a line.
967 # the newline character).
1047 # Requires a newline break before colon (see pos_class_colon
1207 # If an open parenthesis is followed by a newline, whether to indent the next
1211 # How to indent a close parenthesis after a newline.
1250 # If an open square is followed by a newline, whether to indent the next line
1258 # followed by a newline, the next line is indent one tab.
1268 # followed by a newline, the next line indent is one tab.
1317 # When indenting after virtual brace open and newline add further spaces to
1322 # when indenting after virtual brace open and newline.
[all …]
/third_party/node/deps/npm/node_modules/stringify-package/
DREADME.md36 To match existing newline characters,
37 [`detect-newline`](https://npm.im/detect-newline) is recommended.
49 ### <a name="stringifypackage"></a> `> stringifyPackage(data, indent, newline) -> String`
55 * `newline` - the character(s) to be used as a line terminator

12345678910>>...32