Home
last modified time | relevance | path

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

12345678910>>...31

/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/llvm-project/clang/unittests/AST/
DCommentLexer.cpp101 ASSERT_EQ(tok::newline, Toks[0].getKind()); in TEST_F()
117 ASSERT_EQ(tok::newline, Toks[0].getKind()); in TEST_F()
118 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F()
139 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F()
159 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F()
160 ASSERT_EQ(tok::newline, Toks[2].getKind()); in TEST_F()
183 ASSERT_EQ(tok::newline, Toks[2].getKind()); in TEST_F()
191 ASSERT_EQ(tok::newline, Toks[6].getKind()); in TEST_F()
195 ASSERT_EQ(tok::newline, Toks[8].getKind()); in TEST_F()
197 ASSERT_EQ(tok::newline, Toks[9].getKind()); in TEST_F()
[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/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DConcreteSyntaxModel.java67 return list(ObservableProperty.ANNOTATIONS, newline(), none(), newline()); in memberAnnotations()
71 return list(ObservableProperty.ANNOTATIONS, space(), none(), newline()); in annotations()
100 newline(), in concreteSyntaxModelByClass.put() argument
102 list(ObservableProperty.MEMBERS, newline(), none(), none(), newline()), in concreteSyntaxModelByClass.put() argument
137 …block(sequence(newline(), list(ObservableProperty.MEMBERS, sequence(newline(), newline()), newline in concreteSyntaxModelByClass.put() argument
159 …MPTY, sequence(space(), token(GeneratedJavaParserConstants.LBRACE), newline(), indent(), newline(), in concreteSyntaxModelByClass.put() argument
160 … list(ObservableProperty.CLASS_BODY, newline(), newline(), none(), newline()), in concreteSyntaxModelByClass.put() argument
162 token(RBRACE), newline())) in concreteSyntaxModelByClass.put() argument
178 newline(), in concreteSyntaxModelByClass.put() argument
180 newline(), in concreteSyntaxModelByClass.put()
[all …]
/external/toolchain-utils/llvm_extra/
Dcreate_ebuild_file.py102 newline = line.strip()
103 if newline.startswith('#'):
112 newline = line.replace('multitarget', '+multitarget')
113 text.append(newline)
124 newline = line.replace('$PN', 'llvm')
125 newline = newline.replace('${PN}', 'llvm')
126 text.append(newline)
/external/fonttools/Lib/fontTools/ttLib/tables/
DS__i_l_f.py250 writer.newline()
253 writer.newline()
255 writer.newline()
278 writer.newline()
297 writer.newline()
302 writer.newline()
357 writer.newline()
360 writer.newline()
363 writer.newline()
366 writer.newline()
[all …]
DG_M_A_P_.py38 writer.newline()
40 writer.newline()
42 writer.newline()
44 writer.newline()
46 writer.newline()
48 writer.newline()
50 writer.newline()
100 writer.newline()
105 writer.newline()
107 writer.newline()
DG_P_K_G_.py75 writer.newline()
80 writer.newline()
83 writer.newline()
86 writer.newline()
89 writer.newline()
91 writer.newline()
94 writer.newline()
97 writer.newline()
100 writer.newline()
102 writer.newline()
DT_S_I__1.py122 writer.newline()
128 writer.newline()
130 writer.newline()
132 writer.newline()
133 writer.newline()
140 writer.newline()
142 writer.newline()
144 writer.newline()
145 writer.newline()
D_f_v_a_r.py130 writer.newline()
132 writer.newline()
134 writer.newline()
144 writer.newline()
146 writer.newline()
194 writer.newline()
196 writer.newline()
200 writer.newline()
208 writer.newline()
212 writer.newline()
[all …]
DV_D_M_X_.py149 writer.newline()
151 writer.newline()
162 writer.newline()
164 writer.newline()
166 writer.newline()
173 writer.newline()
176 writer.newline()
181 writer.newline()
183 writer.newline()
185 writer.newline()
/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/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/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/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
/external/mesa3d/src/compiler/glsl/glcpp/
Dpp.c115 const char *backslash, *newline, *search_start; in remove_line_continuations() local
177 newline = cr < lf ? cr : lf; in remove_line_continuations()
179 newline = cr; in remove_line_continuations()
181 newline = lf; in remove_line_continuations()
182 if (newline && in remove_line_continuations()
183 (backslash == NULL || newline < backslash)) in remove_line_continuations()
186 newline - shader + 1); in remove_line_continuations()
193 shader = skip_newline (newline); in remove_line_continuations()
/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/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/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/python/cpython3/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 …]
/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>>...31