Home
last modified time | relevance | path

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

12345678910

/external/antlr/antlr-3.4/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/chromium_org/third_party/mesa/src/src/glsl/glcpp/
Dpp.c105 const char *newline; in remove_line_continuations() local
106 while ((newline = strchr(search_start, '\n')) != NULL) { in remove_line_continuations()
110 int n = newline - shader; in remove_line_continuations()
113 if (n >= 1 && newline[-1] == '\\') in remove_line_continuations()
114 backslash = newline - 1; in remove_line_continuations()
115 else if (n >= 2 && newline[-1] == '\r' && newline[-2] == '\\') in remove_line_continuations()
116 backslash = newline - 2; in remove_line_continuations()
134 shader = newline + 1; in remove_line_continuations()
139 ralloc_strncat(&clean, shader, newline - shader + 1); in remove_line_continuations()
140 shader = newline + 1; in remove_line_continuations()
[all …]
/external/mesa3d/src/glsl/glcpp/
Dpp.c105 const char *newline; in remove_line_continuations() local
106 while ((newline = strchr(search_start, '\n')) != NULL) { in remove_line_continuations()
110 int n = newline - shader; in remove_line_continuations()
113 if (n >= 1 && newline[-1] == '\\') in remove_line_continuations()
114 backslash = newline - 1; in remove_line_continuations()
115 else if (n >= 2 && newline[-1] == '\r' && newline[-2] == '\\') in remove_line_continuations()
116 backslash = newline - 2; in remove_line_continuations()
134 shader = newline + 1; in remove_line_continuations()
139 ralloc_strncat(&clean, shader, newline - shader + 1); in remove_line_continuations()
140 shader = newline + 1; in remove_line_continuations()
[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/chromium_org/third_party/WebKit/Source/core/inspector/
DCodeGeneratorInspector.py714 writer.newline("// Type originally was named '%s'.\n" % json_name)
732 def newline(self, str): member in Writer
742 self.newline(parts[0])
746 self.newline(p)
754 self.newline(p)
810 writer.newline("/* ")
874 writer.newline("struct ")
877 writer.newline(" enum Enum {\n")
885 writer.newline(" ")
890 writer.newline(" };\n")
[all …]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DProfiler.java40 public static final String newline = System.getProperty("line.separator"); field in Profiler
533 buf.append(newline); in toString()
536 buf.append(newline); in toString()
539 buf.append(newline); in toString()
542 buf.append(newline); in toString()
545 buf.append(newline); in toString()
548 buf.append(newline); in toString()
551 buf.append(newline); in toString()
554 buf.append(newline); in toString()
557 buf.append(newline); in toString()
[all …]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/options/
DSerializeOptions.java68 private String newline = "\n"; field in SerializeOptions
313 return newline; in getNewline()
322 public SerializeOptions setNewline(String newline) in setNewline() argument
324 this.newline = newline; in setNewline()
393 clone.setNewline(newline); in clone()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DTextInsertionBaseCommand.h55 size_t newline; in forEachLineInString() local
56 while ((newline = string.find('\n', offset)) != kNotFound) { in forEachLineInString()
57 operation(offset, newline - offset, false); in forEachLineInString()
58 offset = newline + 1; in forEachLineInString()
/external/icu4c/tools/tzcode/
Dtzselect.ksh59 newline='
61 IFS=$newline
163 *"$newline"*)
201 *"$newline"*)
272 ?*+?*) echo >&2 " $country$newline $region";;
/external/chromium_org/third_party/icu/source/tools/tzcode/
Dtzselect.ksh59 newline='
61 IFS=$newline
163 *"$newline"*)
201 *"$newline"*)
272 ?*+?*) echo >&2 " $country$newline $region";;
/external/linux-tools-perf/config/
Dutilities.mak1 # This allows us to work with the newline character:
2 define newline macro
6 newline := $(newline) macro
13 # what should replace a newline when escaping
23 # single space each newline character in the output
27 # The only solution is to change each newline into
32 escape-nl = $(subst $(newline),$(call nl-escape,$(2)),$(1))
40 unescape-nl = $(subst $(call nl-escape,$(2)),$(newline),$(1))
108 # At least GNU make gets confused by expanding a newline
115 # not it contains a newline.
[all …]
/external/iputils/
Dtftpsubs.c75 int newline = 0; /* fillbuf: in middle of newline expansion */ variable
87 newline = 0; /* init crlf flag */ in rw_init()
143 if (newline) { in read_ahead()
147 newline = 0; in read_ahead()
155 newline = 1; in read_ahead()
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/
DgUnit.g205 …{// also determine the appropriate newline separator and get info of the first and last 2 characte…
206 String newline = System.getProperty("line.separator");
211 if ( newline.length()==1 ) {
223 …// strip unwanted characters, e.g. '<<' (including a newline after it) or '>>' (including a newli…
225 if ( front.equals(newline) && end.equals(newline) ) {
227 if ( newline.length()==1 && getText().length()==5 ) temp = "";
228 else if ( newline.length()==2 && getText().length()==6 ) temp = "";
231 else if ( front.equals(newline) ) {
234 else if ( end.equals(newline) ) {
248 if ( count>0 ) buf.append(newline);
/external/eigen/unsupported/Eigen/src/SparseExtra/
DMarketIO.h52 std::istringstream newline(line); in GetVectorElt()
53 newline >> val; in GetVectorElt()
60 std::istringstream newline(line); in GetVectorElt()
61 newline >> valR >> valI; in GetVectorElt()
205 std::istringstream newline(line); in loadMarketVector()
206 newline >> n >> col; in loadMarketVector()
/external/chromium_org/ash/system/user/
Dlogin_status.cc45 base::string16 newline = multiline ? ASCIIToUTF16("\n") : ASCIIToUTF16(" "); in GetLocalizedSignOutStringForStatus() local
46 ReplaceSubstringsAfterOffset(&message, 0, ASCIIToUTF16("\\n"), newline); in GetLocalizedSignOutStringForStatus()
/external/clang/lib/AST/
DCommentParser.cpp91 if (P.Tok.is(tok::newline)) { in addToken()
365 else if (Tok.is(tok::newline)) { in parseBlockCommand()
591 case tok::newline: { in parseParagraphOrBlockCommand()
593 if (Tok.is(tok::newline) || Tok.is(tok::eof)) { in parseParagraphOrBlockCommand()
644 if (Tok.is(tok::newline)) in parseVerbatimBlock()
649 Tok.is(tok::newline)) { in parseVerbatimBlock()
655 if (Tok.is(tok::newline)) { in parseVerbatimBlock()
724 case tok::newline: in parseBlockContent()
740 while (Tok.is(tok::newline)) in parseFullComment()
748 while (Tok.is(tok::newline)) in parseFullComment()
DCommentBriefParser.cpp106 if (Tok.is(tok::newline)) { in Parse()
123 if (Tok.is(tok::newline)) { in Parse()
/external/chromium/sdch/open-vcdiff/src/
Dgflags_reporting.cc123 const char* newline = strchr(c_string, '\n'); in DescribeOneFlag() local
124 if (newline == NULL && chars_in_line+chars_left < kLineLength) { in DescribeOneFlag()
130 if (newline != NULL && newline - c_string < kLineLength - chars_in_line) { in DescribeOneFlag()
131 int n = static_cast<int>(newline - c_string); in DescribeOneFlag()
/external/open-vcdiff/gflags/src/
Dgflags_reporting.cc123 const char* newline = strchr(c_string, '\n'); in DescribeOneFlag() local
124 if (newline == NULL && chars_in_line+chars_left < kLineLength) { in DescribeOneFlag()
130 if (newline != NULL && newline - c_string < kLineLength - chars_in_line) { in DescribeOneFlag()
131 int n = static_cast<int>(newline - c_string); in DescribeOneFlag()
/external/chromium_org/ui/base/dragdrop/
Dgtk_dnd_util.cc262 std::string::size_type newline = data.find('\n'); in ExtractNetscapeURL() local
263 if (newline == std::string::npos) in ExtractNetscapeURL()
266 GURL gurl(data.substr(0, newline)); in ExtractNetscapeURL()
271 *title = UTF8ToUTF16(data.substr(newline + 1)); in ExtractNetscapeURL()
/external/chromium_org/chrome/browser/ui/autofill/
Ddata_model_wrapper.cc51 base::string16 newline = ASCIIToUTF16("\n"); in GetDisplayText() local
54 *horizontally_compact = GetAddressDisplayText(newline); in GetDisplayText()
89 base::string16 newline = ASCIIToUTF16("\n"); in GetAddressDisplayText() local
97 address += newline + email; in GetAddressDisplayText()
98 address += newline + GetInfoForDisplay(AutofillType(PHONE_HOME_WHOLE_NUMBER)); in GetAddressDisplayText()
/external/chromium_org/base/metrics/
Dsparse_histogram.cc115 const std::string& newline, in WriteAsciiImpl() argument
123 output->append(newline); in WriteAsciiImpl()
164 output->append(newline); in WriteAsciiImpl()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammarReport2.java38 public static final String newline = System.getProperty("line.separator"); field in GrammarReport2
91 buf.append(newline); in nl()
/external/chromium_org/third_party/JSON/JSON-2.59/t/
D22_comment_at_eof.t35 is( decoder( "\n[]" ), '[]', 'newline ignored before array' );
43 is( decoder( "\n" ), 'undef', 'newline ignored before eof' );
/external/chromium_org/tools/grit/grit/
Dutil_unittest.py93 for newline in newlines:
94 test = test_std_newline.replace('\n', newline)

12345678910