/external/python/cpython2/Tools/scripts/ |
D | reindent.py | 120 newline = r.newlines 148 newlines = {'\r\n' if line[-2:] == '\r\n' else 153 newlines.discard('') 154 newlines = tuple(sorted(newlines)) 155 if not newlines: 157 if len(newlines) == 1: 158 return newlines[0] 159 return newlines 185 self.newlines = _detect_newlines(self.raw) 186 if isinstance(self.newlines, tuple): [all …]
|
/external/llvm-project/polly/test/ |
D | update_check.py | 394 newlines = [] 401 firstcheckline = len(newlines) + len(emptylines) 409 newlines += uptonowlines 410 newlines += emptylines 411 newlines.append(line) 416 for i,line in enumerate(newlines): 428 writelines(newlines[:firstcheckline]) 434 writelines(newlines[firstcheckline:]) 437 headerlines = newlines[:firstnoncommentline] 439 contentlines = newlines[firstnoncommentline:] [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_univnewlines2k.py | 53 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)) 59 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)) 69 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)) 110 self.assertEqual(repr(fp.newlines), repr(None)) 113 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
|
D | test_univnewlines.py | 63 self.assertEqual(set(fp.newlines), set(self.NEWLINE)) 69 self.assertEqual(set(fp.newlines), set(self.NEWLINE)) 79 self.assertEqual(set(fp.newlines), set(self.NEWLINE)) 106 self.assertEqual(repr(fp.newlines), repr(None)) 109 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
|
/external/autotest/client/cros/nfc/ |
D | console.py | 25 def print_message(message, newlines=2): argument 35 padding = newlines * '\n' 248 print_message(' ' + str(adapter), newlines=0) 268 print_message('Status ' + adapter + ': ', newlines=0) 274 print_message(' ' + key + ' = ' + value, newlines=0) 331 print_message('Tag ' + tag + ': ', newlines=1) 334 print_message(' ' + key + ' = ' + str(value), newlines=0) 338 print_message('Records: ', newlines=1) 360 print_message('Records: ', newlines=1) 378 print_message('Record ' + record + ': ', newlines=1) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_univnewlines.py | 62 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)) 68 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)) 78 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)) 109 self.assertEqual(repr(fp.newlines), repr(None)) 112 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
|
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/ |
D | OpsBuilder.java | 492 int newlines = 0; // Count of newlines in a row. in build() local 498 newlines++; in build() 508 newlines = 0; in build() 518 if (allowBlankAfterLastComment && newlines > 1) { in build() 522 if (lastWasComment && newlines > 0) { in build() 556 int newlines = 0; in build() local 560 newlines++; in build() 562 newlines = 0; in build() 565 if (lastWasComment && newlines > 0) { in build()
|
/external/curl/tests/data/ |
D | test128 | 27 with unix newlines 49 with unix newlines
|
D | test941 | 29 with unix newlines 57 with unix newlines
|
/external/scapy/scapy/ |
D | pipetool.py | 431 def __init__(self, name=None, newlines=True): argument 433 self.newlines = newlines 436 if self.newlines: 440 if self.newlines: 504 def __init__(self, name=None, keepterm=True, newlines=True, openearly=True): argument 507 self.newlines = newlines 563 if self.newlines:
|
/external/jsoncpp/devtools/ |
D | licenseupdater.py | 27 newline = fin.newlines and fin.newlines[0] or '\n'
|
/external/fonttools/Tests/misc/ |
D | xmlReader_test.py | 52 self.newlines = [] 55 self.newlines.extend([c for c in data if c in ('\r', '\n')]) 72 self.assertEqual(expected, reader.newlines)
|
/external/python/cpython3/Tools/scripts/ |
D | reindent.py | 133 newline = spec_newline if spec_newline else r.newlines 199 self.newlines = f.newlines
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | modernize-raw-string-literal.rst | 39 A string literal containing only escaped newlines is a common way of 40 writing lines of text output. Introducing physical newlines with raw
|
/external/smali/smali/src/test/resources/LexerTest/ |
D | .gitattributes | 1 # Prevent newlines from being normalized on windows
|
/external/llvm-project/clang-tools-extra/test/clang-apply-replacements/Inputs/crlf/ |
D | crlf.cpp.expected | 2 // This file intentionally uses a CRLF newlines!
|
/external/python/cpython2/Doc/library/ |
D | bz2.rst | 46 single: universal newlines; bz2.BZ2File class 56 in :term:`universal newlines` mode. Any line ending in the input file will be 58 :attr:`newlines`; the value for this attribute is one of ``None`` (no newline 60 newline types seen. Universal newlines are available only when 147 Write the sequence of strings to the file. Note that newlines are not
|
/external/yapf/ |
D | .editorconfig | 6 # Unix-style newlines with a newline ending every file
|
/external/cn-cbor/ |
D | .editorconfig | 6 # Unix-style newlines with a newline ending every file
|
/external/python/parse_type/ |
D | .editorconfig | 7 # -- DEFAULT: Unix-style newlines with a newline ending every file.
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/ |
D | spv.subgroupExtendedTypesBasic.comp.out | 3 ERROR: #version: statement must appear first in es-profile shader; before comments or newlines
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | spv.subgroupExtendedTypesBasic.comp.out | 3 ERROR: #version: statement must appear first in es-profile shader; before comments or newlines
|
/external/google-styleguide/docguide/ |
D | style.md | 29 1. [Escape newlines](#escape-newlines) 112 paragraph tags for you simply with newlines: get used to that. 133 Prefer spacing after `#` and newlines before and after: 286 #### Escape newlines 289 into a terminal, it's best practice to escape any newlines. Use a single
|
/external/python/cpython3/Tools/stringbench/ |
D | README | 42 ========== count newlines 43 38.54 41.60 92.7 ...text.with.2000.newlines.count("\n") (*100)
|
/external/llvm/test/Transforms/InstCombine/ |
D | strchr-1.ll | 8 @newlines = constant [3 x i8] c"\0D\0A\00" 92 …%dst = call i8* @strchr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @newlines, i64 0, i64 0), …
|