Home
last modified time | relevance | path

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

12345678910>>...25

/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/
DTestDotTreeGenerator.cs57 string newline = Environment.NewLine; in TestCreateDot()
59 @"digraph {" + newline in TestCreateDot()
60 + newline in TestCreateDot()
61 + @" ordering=out;" + newline in TestCreateDot()
62 + @" ranksep=.4;" + newline in TestCreateDot()
63 …shape=box, fixedsize=false, fontsize=12, fontname=""Helvetica-bold"", fontcolor=""blue""" + newline in TestCreateDot()
64 …h=.25, height=.25, color=""black"", fillcolor=""white"", style=""filled, solid, bold""];" + newline in TestCreateDot()
65 + @" edge [arrowsize=.5, color=""black"", style=""bold""]" + newline in TestCreateDot()
66 + newline in TestCreateDot()
67 + @" n0 [label=""""];" + newline in TestCreateDot()
[all …]
/external/python/cpython2/Lib/
Dmimify.py96 newline = ''
102 newline = newline + line[pos:res.start(0)] + \
105 return newline + line[pos:]
109 newline = ''
118 newline = newline + line[pos:res.start(0)] + mime_decode(match)
120 return newline + line[pos:]
196 newline = ifile.readline()
197 if newline[:len(QUOTE)] == QUOTE:
198 newline = newline[len(QUOTE):]
199 line = line + newline
[all …]
/external/clang/unittests/AST/
DCommentLexer.cpp102 ASSERT_EQ(tok::newline, Toks[0].getKind()); in TEST_F()
118 ASSERT_EQ(tok::newline, Toks[0].getKind()); in TEST_F()
119 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F()
140 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F()
160 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F()
161 ASSERT_EQ(tok::newline, Toks[2].getKind()); in TEST_F()
184 ASSERT_EQ(tok::newline, Toks[2].getKind()); in TEST_F()
192 ASSERT_EQ(tok::newline, Toks[6].getKind()); in TEST_F()
196 ASSERT_EQ(tok::newline, Toks[8].getKind()); in TEST_F()
198 ASSERT_EQ(tok::newline, Toks[9].getKind()); in TEST_F()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DS__i_l_f.py244 writer.newline()
247 writer.newline()
249 writer.newline()
272 writer.newline()
291 writer.newline()
296 writer.newline()
350 writer.newline()
353 writer.newline()
356 writer.newline()
359 writer.newline()
[all …]
DG_M_A_P_.py39 writer.newline()
41 writer.newline()
43 writer.newline()
45 writer.newline()
47 writer.newline()
49 writer.newline()
51 writer.newline()
101 writer.newline()
106 writer.newline()
108 writer.newline()
DG_P_K_G_.py76 writer.newline()
81 writer.newline()
84 writer.newline()
87 writer.newline()
90 writer.newline()
92 writer.newline()
95 writer.newline()
98 writer.newline()
101 writer.newline()
103 writer.newline()
DT_S_I__1.py123 writer.newline()
129 writer.newline()
131 writer.newline()
133 writer.newline()
134 writer.newline()
141 writer.newline()
143 writer.newline()
145 writer.newline()
146 writer.newline()
D_f_v_a_r.py126 writer.newline()
128 writer.newline()
130 writer.newline()
140 writer.newline()
142 writer.newline()
186 writer.newline()
188 writer.newline()
192 writer.newline()
200 writer.newline()
204 writer.newline()
[all …]
DV_D_M_X_.py151 writer.newline()
153 writer.newline()
164 writer.newline()
166 writer.newline()
168 writer.newline()
175 writer.newline()
178 writer.newline()
183 writer.newline()
185 writer.newline()
187 writer.newline()
/external/toolchain-utils/llvm_extra/
Dcreate_ebuild_file.py100 newline = line.strip()
101 if newline.startswith('#'):
110 newline = line.replace('multitarget', '+multitarget')
111 text.append(newline)
122 newline = line.replace('$PN', 'llvm')
123 newline = newline.replace('${PN}', 'llvm')
124 text.append(newline)
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DConcreteSyntaxModel.java68 return list(ObservableProperty.ANNOTATIONS, newline(), none(), newline()); in memberAnnotations()
72 return list(ObservableProperty.ANNOTATIONS, space(), none(), newline()); in annotations()
101 CsmElement.newline(), in concreteSyntaxModelByClass.put() argument
103 …ist(ObservableProperty.MEMBERS, CsmElement.newline(), CsmElement.none(), CsmElement.none(), CsmEle… in concreteSyntaxModelByClass.put() argument
123 list(ObservableProperty.ANNOTATIONS, newline(), none(), newline()), in concreteSyntaxModelByClass.put() argument
138 …block(sequence(newline(), list(ObservableProperty.MEMBERS, sequence(newline(), newline()), CsmElem… in concreteSyntaxModelByClass.put() argument
160 …n(GeneratedJavaParserConstants.LBRACE), CsmElement.newline(), CsmElement.indent(), CsmElement.newl… in concreteSyntaxModelByClass.put() argument
161 … list(ObservableProperty.CLASS_BODY, newline(), newline(), none(), CsmElement.newline()), in concreteSyntaxModelByClass.put() argument
163 token(RBRACE), CsmElement.newline())) in concreteSyntaxModelByClass.put() argument
179 CsmElement.newline(), in concreteSyntaxModelByClass.put() argument
[all …]
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/
DProfiler.java40 public static final String newline = System.getProperty("line.separator"); field in Profiler
546 buf.append(newline); in toString()
549 buf.append(newline); in toString()
552 buf.append(newline); in toString()
555 buf.append(newline); in toString()
558 buf.append(newline); in toString()
561 buf.append(newline); in toString()
564 buf.append(newline); in toString()
567 buf.append(newline); in toString()
570 buf.append(newline); in toString()
[all …]
/external/u-boot/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:
/external/skqp/src/gpu/
DGrSKSLPrettyPrint.cpp73 this->newline(); in prettify()
76 this->newline(); in prettify()
79 this->newline(); in prettify()
81 this->newline(); in prettify()
87 this->newline(); in prettify()
126 this->newline(); in parseUntilNewline()
144 this->newline(); in parseUntil()
170 void newline() { in newline() function in GrSKSLPrettyPrint::GLSLPrettyPrint
/external/skia/src/gpu/
DGrSKSLPrettyPrint.cpp73 this->newline(); in prettify()
76 this->newline(); in prettify()
79 this->newline(); in prettify()
81 this->newline(); in prettify()
87 this->newline(); in prettify()
126 this->newline(); in parseUntilNewline()
144 this->newline(); in parseUntil()
170 void newline() { in newline() function in GrSKSLPrettyPrint::GLSLPrettyPrint
/external/yapf/yapftests/
Dutils.py49 newline=None, argument
68 newline=newline)
78 newline='', argument
85 newline=newline,
/external/bcc/src/cc/frontends/p4/compiler/
DebpfCounter.py76 serializer.newline()
83 serializer.newline()
86 serializer.newline()
93 serializer.newline()
97 serializer.newline()
102 serializer.newline()
110 serializer.newline()
115 serializer.newline()
DebpfTable.py68 serializer.newline()
225 serializer.newline()
240 serializer.newline()
278 serializer.newline()
281 serializer.newline()
288 serializer.newline()
292 serializer.newline()
297 serializer.newline()
303 serializer.newline()
310 serializer.newline()
[all …]
DprogramSerializer.py32 def newline(self): member in ProgramSerializer
38 self.newline()
49 self.newline()
56 self.newline()
64 self.newline()
/external/mesa3d/src/compiler/glsl/glcpp/
Dpp.c114 const char *backslash, *newline, *search_start; in remove_line_continuations() local
176 newline = cr < lf ? cr : lf; in remove_line_continuations()
178 newline = cr; in remove_line_continuations()
180 newline = lf; in remove_line_continuations()
181 if (newline && in remove_line_continuations()
182 (backslash == NULL || newline < backslash)) in remove_line_continuations()
185 newline - shader + 1); in remove_line_continuations()
192 shader = skip_newline (newline); in remove_line_continuations()
/external/python/cpython3/Modules/_io/
Dstringio.c652 const char *newline = "\n"; in _io_StringIO___init___impl() local
658 newline = NULL; in _io_StringIO___init___impl()
667 newline = PyUnicode_AsUTF8(newline_obj); in _io_StringIO___init___impl()
668 if (newline == NULL) in _io_StringIO___init___impl()
672 if (newline && newline[0] != '\0' in _io_StringIO___init___impl()
673 && !(newline[0] == '\n' && newline[1] == '\0') in _io_StringIO___init___impl()
674 && !(newline[0] == '\r' && newline[1] == '\0') in _io_StringIO___init___impl()
675 && !(newline[0] == '\r' && newline[1] == '\n' && newline[2] == '\0')) { in _io_StringIO___init___impl()
694 assert((newline != NULL && newline_obj != Py_None) || in _io_StringIO___init___impl()
695 (newline == NULL && newline_obj == Py_None)); in _io_StringIO___init___impl()
[all …]
/external/python/cpython2/Modules/_io/
Dstringio.c558 char *newline = "\n"; in stringio_init() local
561 &value, &newline)) in stringio_init()
564 if (newline && newline[0] != '\0' in stringio_init()
565 && !(newline[0] == '\n' && newline[1] == '\0') in stringio_init()
566 && !(newline[0] == '\r' && newline[1] == '\0') in stringio_init()
567 && !(newline[0] == '\r' && newline[1] == '\n' && newline[2] == '\0')) { in stringio_init()
569 "illegal newline value: %s", newline); in stringio_init()
585 if (newline) { in stringio_init()
586 self->readnl = PyString_FromString(newline); in stringio_init()
590 self->readuniversal = (newline == NULL || newline[0] == '\0'); in stringio_init()
[all …]
/external/yapf/yapf/yapflib/
Dreformatter.py85 state.AddTokenToState(newline=False, dry_run=False)
185 newline = False
187 newline = (
191 state.AddTokenToState(newline=newline, dry_run=False)
286 def __init__(self, state, newline, previous): argument
288 self.newline = newline
293 self.state, self.newline)
361 def _AddNextStateToQueue(penalty, previous_node, newline, count, p_queue): argument
379 if newline and not previous_node.state.CanSplit(must_split):
382 if not newline and must_split:
[all …]
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DCheckTags.java72 private boolean newline; field in CheckTags.DocStack
113 public void output(String msg, boolean error, boolean newline) { in output() argument
114 output(msg, error, newline, index-1); in output()
117 void output(String msg, boolean error, boolean newline, int ix) { in output() argument
135 if (this.newline && i == 0) { in output()
137 this.newline = false; in output()
145 this.newline = true; in output()
151 if (index == 0 && this.newline) { in output()
161 this.newline = newline; in output()
247 boolean newline = false; field in CheckTags
[all …]
/external/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()

12345678910>>...25