/third_party/icu/icu4c/source/tools/tzcode/ |
H A D | icuzdump.cpp | 101 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 D | icuzdump.cpp | 101 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 D | mailbox.py | 32 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 D | test_mailbox.py | 147 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 D | test_httpservers.py | 704 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 D | lametest.py | 11 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 D | policy.py | 153 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 D | generator.py | 73 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.py | 136 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 D | contentmanager.py | 146 linesep = policy.linesep.encode('ascii') 147 def embedded_body(lines): return linesep.join(lines) + linesep
|
H A D | header.py | 317 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 D | feedparser.py | 109 # 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 D | test_pathfix.py | 44 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 D | gen-tags.py | 87 gtags.write(fullpath + os.linesep)
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/ |
H A D | ICUZDump.java | 51 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 D | test_refactor.py | 293 old_sep = os.linesep 294 os.linesep = "\r\n" 300 os.linesep = old_sep
|
/third_party/python/Lib/test/test_email/ |
H A D | test_generator.py | 140 g.flatten(msg, linesep='\n') 270 linesep='\n'))
|
H A D | test_email.py | 310 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 D | test_parser.py | 16 MyPolicy = TestEmailBase.policy.clone(linesep='boo')
|
H A D | test_policy.py | 24 '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 D | scriptutil.py | 580 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 D | easy_xml.py | 121 if win32 and os.linesep != "\r\n":
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | easy_xml.py | 121 if win32 and os.linesep != "\r\n":
|
/third_party/python/Tools/c-analyzer/cpython/ |
H A D | _capi.py | 116 if not prev.endswith(os.linesep): 117 prev += os.linesep
|
/third_party/python/Lib/idlelib/ |
H A D | iomenu.py | 121 eol_convention = os.linesep # default 164 eol_convention = os.linesep # default
|