Home
last modified time | relevance | path

Searched refs:linesep (Results 1 - 25 of 51) sorted by relevance

123

/third_party/icu/icu4c/source/tools/tzcode/
H A Dicuzdump.cpp101 linesep = NULL; in ICUZDump()
128 linesep = sep; in setLineSeparator()
179 if (linesep != NULL) { in dump()
180 out << linesep; in dump() local
209 const char* linesep; member in ICUZDump
286 UOPTION_DEF("linesep", 'l', UOPT_REQUIRES_ARG)
295 const char *linesep = NULL; in main() local
331 linesep = "\r"; in main()
333 linesep = "\r\n"; in main()
335 linesep in main()
[all...]
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dicuzdump.cpp101 linesep = NULL; in ICUZDump()
128 linesep = sep; in setLineSeparator()
179 if (linesep != NULL) { in dump()
180 out << linesep; in dump() local
209 const char* linesep; member in ICUZDump
284 UOPTION_DEF("linesep", 'l', UOPT_REQUIRES_ARG)
293 const char *linesep = NULL; in main() local
329 linesep = "\r"; in main()
331 linesep = "\r\n"; in main()
333 linesep in main()
[all...]
/third_party/python/Lib/
H A Dmailbox.py32 linesep = os.linesep.encode('ascii') variable
219 data = data.replace(b'\n', linesep)
221 if self._append_newline and not data.endswith(linesep):
223 target.write(linesep)
233 message = message.replace(b'\n', linesep)
235 if self._append_newline and not message.endswith(linesep):
237 target.write(linesep)
255 line = line.replace(b'\n', linesep)
258 if self._append_newline and lastline and not lastline.endswith(linesep)
[all...]
/third_party/python/Lib/test/
H A Dtest_mailbox.py147 os.linesep.encode()))
290 self.assertEqual(data0.decode('ascii').replace(os.linesep, '\n'),
292 self.assertEqual(data1.decode('ascii').replace(os.linesep, '\n'),
548 _bytes_sample_message.replace(b'\n', os.linesep.encode()))
1959 linesep = os.linesep.encode()
1961 self.assertEqual(proxy.readline(), b'foo' + linesep)
1962 self.assertEqual(proxy.readline(), b'bar' + linesep)
1963 self.assertEqual(proxy.readline(), b'fred' + linesep)
1966 self.assertEqual(proxy.readline(), b'o' + linesep)
[all...]
H A Dtest_httpservers.py704 linesep = os.linesep.encode('ascii') variable in CGIHTTPServerTestCase
856 (b'Hello World' + self.linesep, 'text/html', HTTPStatus.OK))
868 self.assertEqual(res.read(), b'1, python, 123456' + self.linesep)
880 (b'Hello World' + self.linesep, 'text/html', HTTPStatus.OK),
887 (b'Hello World' + self.linesep, 'text/html', HTTPStatus.OK),
895 (b'Hello World' + self.linesep, 'text/html', HTTPStatus.OK),
902 (b'Hello World' + self.linesep, 'text/html', HTTPStatus.OK),
908 (b'Hello World' + self.linesep, 'text/html', HTTPStatus.OK),
914 (b'a=b?c=d' + self.linesep, 'tex
[all...]
/third_party/lame/test/
H A Dlametest.py11 print mesg + os.linesep
13 print "Usage: " + os.linesep
16 print "./lametest.py [options] options_file input.wav lame1 lame2" + os.linesep
19 print "./lametest.py [options] options_file input.wav lame1" + os.linesep
22 print "./lametest.py -m options_file input.wav lame1" + os.linesep
106 print os.linesep + "Generating reference output"
225 print os.linesep + "Number of tests which passed: ", num_ok
/third_party/python/Lib/email/
H A Dpolicy.py153 Otherwise the name and the value with any linesep characters removed
172 the name and the value with any linesep characters removed to the
177 not to be refolded, the lines are rejoined using the linesep from the
215 return name + ': ' + self.linesep.join(lines) + self.linesep
222 SMTP = default.clone(linesep='\r\n')
223 HTTP = default.clone(linesep='\r\n', max_line_length=None)
H A Dgenerator.py73 def flatten(self, msg, unixfrom=False, linesep=None):
84 linesep specifies the characters used to indicate a new line in
95 if linesep is not None:
96 policy = policy.clone(linesep=linesep)
99 self._NL = policy.linesep
277 g.flatten(part, unixfrom=False, linesep=self._NL)
336 g.flatten(part, unixfrom=False, linesep=self._NL)
363 g.flatten(msg.get_payload(0), unixfrom=False, linesep=self._NL)
H A D_policybase.py136 linesep -- string containing the value to use as separation
148 max_line_length -- maximum length of lines, excluding 'linesep',
163 linesep = '\n' variable in Policy
222 """Given a list of linesep terminated strings constituting the lines of
224 in the model. The input lines should retain their terminating linesep
251 containing linesep characters that implement the folding of the header
263 data containing linesep characters that implement the folding of the
369 parts.append(h.encode(linesep=self.linesep, maxlinelen=maxlinelen))
370 parts.append(self.linesep)
[all...]
H A Dcontentmanager.py146 linesep = policy.linesep.encode('ascii')
147 def embedded_body(lines): return linesep.join(lines) + linesep
H A Dheader.py317 def encode(self, splitchars=';, \t', maxlinelen=None, linesep='\n'):
329 line, exclusive of the linesep string. Individual lines may be longer
345 Optional linesep is a string to be used to separate the lines of
391 value = formatter._str(linesep)
427 def _str(self, linesep):
429 return linesep.join(self._lines)
494 # white space" appears by inserting a linesep character in front of the
H A Dfeedparser.py109 # Crack into lines, preserving the linesep characters.
336 r')(?P<end>--)?(?P<ws>[ \t]*)(?P<linesep>\r\n|\r|\n)?$')
339 linesep = False
356 linesep = mo.group('linesep')
444 if linesep:
/third_party/python/Lib/test/test_tools/
H A Dtest_pathfix.py44 self.assertEqual(proc.stdout.decode(encoding), stdout.replace('\n', os.linesep), proc)
45 self.assertEqual(proc.stderr.decode(encoding), stderr.replace('\n', os.linesep), proc)
/third_party/node/deps/v8/tools/dev/
H A Dgen-tags.py87 gtags.write(fullpath + os.linesep)
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/
H A DICUZDump.java51 private String linesep = DEFAULT_LINE_SEP; field in ICUZDump
80 this.linesep = sep; in setLineSeparator()
122 w.write(linesep); in dump()
/third_party/python/Lib/lib2to3/tests/
H A Dtest_refactor.py293 old_sep = os.linesep
294 os.linesep = "\r\n"
300 os.linesep = old_sep
/third_party/python/Lib/test/test_email/
H A Dtest_generator.py140 g.flatten(msg, linesep='\n')
270 linesep='\n'))
H A Dtest_email.py310 newpolicy = msg.policy.clone(linesep='\r\n')
364 newpolicy = msg.policy.clone(linesep='\r\n')
2800 linesep = '\n' variable in TestIdempotent
2918 eq(msg.preamble, 'This is a MIME-encapsulated message.' + self.linesep)
2919 eq(msg.epilogue, self.linesep)
2924 eq(msg1.get_payload(), 'Yadda yadda yadda' + self.linesep)
2927 eq(msg2.get_payload(), 'Yadda yadda yadda' + self.linesep)
2936 eq(msg4.get_payload(), 'Yadda yadda yadda' + self.linesep)
2952 eq(msg1.get_payload(), self.linesep)
3485 g.flatten(msg, linesep
4310 linesep = '\\n' global() variable in TestBytesGeneratorIdempotentNL
4317 linesep = '\\r\\n' global() variable in TestBytesGeneratorIdempotentCRLF
[all...]
H A Dtest_parser.py16 MyPolicy = TestEmailBase.policy.clone(linesep='boo')
H A Dtest_policy.py24 'linesep': '\n',
51 {'linesep': '\r\n'}),
53 {'linesep': '\r\n',
56 {'linesep': '\r\n',
364 policy=email.policy.default.clone(linesep='X'))
372 policy=email.policy.default.clone(linesep='X'))
/third_party/python/Tools/c-analyzer/c_common/
H A Dscriptutil.py580 last = os.linesep
586 if not last.endswith(os.linesep):
602 end = f'{mark}{os.linesep}'
603 div = os.linesep
/third_party/node/tools/gyp/pylib/gyp/
H A Deasy_xml.py121 if win32 and os.linesep != "\r\n":
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A Deasy_xml.py121 if win32 and os.linesep != "\r\n":
/third_party/python/Tools/c-analyzer/cpython/
H A D_capi.py116 if not prev.endswith(os.linesep):
117 prev += os.linesep
/third_party/python/Lib/idlelib/
H A Diomenu.py121 eol_convention = os.linesep # default
164 eol_convention = os.linesep # default

Completed in 23 milliseconds

123