Searched refs:lineBreak (Results 1 – 6 of 6) sorted by relevance
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/ |
D | DumperOptions.java | 109 private String lineBreak; field in DumperOptions.LineBreak 111 private LineBreak(String lineBreak) { in LineBreak() argument 112 this.lineBreak = lineBreak; in LineBreak() 116 return lineBreak; in getString() 127 if (lb.lineBreak.equals(platformLineBreak)) { in getPlatformLineBreak() 169 private LineBreak lineBreak = LineBreak.UNIX; field in DumperOptions 312 return lineBreak; in getLineBreak() 331 public void setLineBreak(LineBreak lineBreak) { in setLineBreak() argument 332 if (lineBreak == null) { in setLineBreak() 335 this.lineBreak = lineBreak; in setLineBreak()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
D | DumperOptionsTest.java | 202 DumperOptions.LineBreak lineBreak = DumperOptions.LineBreak.getPlatformLineBreak(); 204 System.getProperty("line.separator"), lineBreak.getString()); 219 DumperOptions.LineBreak lineBreak = DumperOptions.LineBreak.getPlatformLineBreak(); 221 System.getProperty("line.separator"), lineBreak.getString()); 222 assertEquals("Unknown Line break must match UNIX line break.", "\n", lineBreak.getString()); 228 DumperOptions.LineBreak lineBreak = DumperOptions.LineBreak.getPlatformLineBreak(); 230 System.getProperty("line.separator"), lineBreak.getString()); 231 assertEquals("Unknown Line break must match UNIX line break.", "\r", lineBreak.getString()); 237 DumperOptions.LineBreak lineBreak = DumperOptions.LineBreak.getPlatformLineBreak(); 239 System.getProperty("line.separator"), lineBreak.getString()); [all …]
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/scanner/ |
D | ScannerImpl.java | 1406 String lineBreak = scanLineBreak(); in scanDirectiveIgnoredLine() local 1407 if (lineBreak.length() == 0 && ch != '\0') { in scanDirectiveIgnoredLine() 1412 return lineBreak; in scanDirectiveIgnoredLine() 1598 String lineBreak = ""; in scanBlockScalar() local 1609 lineBreak = scanLineBreak(); in scanBlockScalar() 1618 if (folded && "\n".equals(lineBreak) && leadingNonSpace in scanBlockScalar() 1624 chunks.append(lineBreak); in scanBlockScalar() 1634 chunks.append(lineBreak); in scanBlockScalar() 1734 String lineBreak = scanLineBreak(); in scanBlockScalarIgnoredLine() local 1735 if (lineBreak.length() == 0 && ch != '\0') { in scanBlockScalarIgnoredLine() [all …]
|
/external/skia/tools/flags/ |
D | SkCommandLineFlags.cpp | 158 int lineBreak = SkStrFind(currLine, "\n"); in print_indented() local 159 if (lineBreak < 0) { in print_indented() 160 lineBreak = static_cast<int>(strlen(currLine)); in print_indented() 162 if (lineBreak > LINE_LENGTH) { in print_indented() 182 lineBreak++; in print_indented() 183 SkDebugf(" %.*s", lineBreak, currLine); in print_indented() 184 currLine += lineBreak; in print_indented()
|
/external/skqp/tools/flags/ |
D | SkCommandLineFlags.cpp | 158 int lineBreak = SkStrFind(currLine, "\n"); in print_indented() local 159 if (lineBreak < 0) { in print_indented() 160 lineBreak = static_cast<int>(strlen(currLine)); in print_indented() 162 if (lineBreak > LINE_LENGTH) { in print_indented() 182 lineBreak++; in print_indented() 183 SkDebugf(" %.*s", lineBreak, currLine); in print_indented() 184 currLine += lineBreak; in print_indented()
|
/external/sfntly/cpp/src/test/tinyxml/ |
D | tinyxml.h | 1741 buffer(), indent( " " ), lineBreak( "\n" ) {} in TiXmlPrinter() 1764 void SetLineBreak( const char* _lineBreak ) { lineBreak = _lineBreak ? _lineBreak : ""; } in SetLineBreak() 1766 const char* LineBreak() { return lineBreak.c_str(); } in LineBreak() 1772 lineBreak = ""; in SetStreamPrinting() 1790 buffer += lineBreak; in DoLineBreak() 1797 TIXML_STRING lineBreak; variable
|