/libcore/luni/src/test/java/libcore/java/lang/ |
SystemTest.java | 33 // use System.getProperty. Now they should use System.lineSeparator instead, and the 36 // Test System.lineSeparator directly. 37 assertEquals("\n", System.lineSeparator()); 39 assertEquals("\n", System.lineSeparator()); 40 assertFalse(System.lineSeparator().equals(System.getProperty("line.separator"))); 42 // java.io.BufferedWriter --- uses System.lineSeparator on Android but not on RI. 47 assertEquals(System.lineSeparator(), sw.toString()); 48 assertFalse(System.lineSeparator().equals(System.getProperty("line.separator"))); 50 // java.io.PrintStream --- uses System.lineSeparator on Android but not on RI. 53 assertEquals(System.lineSeparator(), new String(baos.toByteArray(), "UTF-8")) [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
DoPrivilegedBenchmark.java | 28 String lineSeparator = System.getProperty("line.separator"); 34 String lineSeparator; 36 lineSeparator = System.getProperty("line.separator"); 38 lineSeparator = AccessController.doPrivileged(new PrivilegedAction<String>() { 49 String lineSeparator = AccessController.doPrivileged(new PrivilegedAction<String>() { 60 String lineSeparator = AccessController.doPrivileged(action);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
EclipseXmlPrettyPrinter.java | 53 * @param lineSeparator the line separator to use, such as "\n" (can be null, in which case the 59 String lineSeparator) { 60 super(prefs, style, lineSeparator == null ? getDefaultLineSeparator() : lineSeparator); 70 * @param lineSeparator the line separator to use, such as "\n" (can be null, in which 80 @Nullable String lineSeparator) { 84 lineSeparator); 106 String lineSeparator = TextUtilities.getDefaultLineDelimiter(blank); 107 if (lineSeparator == null) { 108 lineSeparator = SdkUtils.getLineSeparator() [all...] |
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/ |
DOMSerializer.java | 57 private String lineSeparator = System.getProperty("line.separator", "\n"); 137 * @param lineSeparator the line separator to set. 139 public void setLineSeparator(String lineSeparator) { 140 this.lineSeparator = lineSeparator; 161 writer.append("<!-- ").append(node.getNodeValue()).append(" -->").append(lineSeparator); 167 writer.append("<?").append(n).append(' ').append(v).append("?>").append(lineSeparator); 187 writer.append("?>").append(lineSeparator); 210 writer.append('>').append(lineSeparator); 224 writer.append("/>").append(lineSeparator); [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
XMLFormatter.java | 54 String nl = System.lineSeparator(); 115 String nl = System.lineSeparator(); 138 sb.append(System.lineSeparator()); 161 sb.append(System.lineSeparator()); 163 sb.append(System.lineSeparator());
|
SimpleFormatter.java | 51 sb.append(r.getSourceMethodName()).append(System.lineSeparator()); 53 sb.append(formatMessage(r)).append(System.lineSeparator());
|
/external/harfbuzz/tests/linebreaking/ |
main.cpp | 167 const QChar lineSeparator(QChar::LineSeparator); 169 txt.append(lineSeparator); 170 txt.append(lineSeparator);
|
/frameworks/base/docs/html/sdk/api_diff/19/changes/ |
java.lang.System.html | 87 <nobr><code>String</code> <A HREF="../../../../reference/java/lang/System.html#lineSeparator()" target="_top"><code>lineSeparator</code></A>()</nobr>
|
/frameworks/base/core/java/com/android/internal/util/ |
FastPrintWriter.java | 114 mSeparator = System.lineSeparator(); 183 mSeparator = System.lineSeparator(); 226 mSeparator = System.lineSeparator();
|
/libcore/luni/src/main/java/java/lang/ |
System.java | 85 private static final String lineSeparator; 92 lineSeparator = System.getProperty("line.separator"); 498 public static String lineSeparator() { 499 return lineSeparator;
|
/libcore/luni/src/main/java/java/util/ |
Properties.java | 227 sb.append(System.lineSeparator()); 541 writer.write(System.lineSeparator()); 545 writer.write(System.lineSeparator()); 553 sb.append(System.lineSeparator());
|
Formatter.java | 294 * <td width="25%">Newline. (The value of {@link System#lineSeparator}.)</td> [all...] |
/libcore/luni/src/main/java/java/io/ |
BufferedWriter.java | 161 write(System.lineSeparator());
|
PrintStream.java | 364 print(System.lineSeparator());
|
PrintWriter.java | 472 print(System.lineSeparator());
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
LSSerializerImpl.java | 75 String lineSeparator = (String) AccessController.doPrivileged(new PrivilegedAction() {
87 DEFAULT_END_OF_LINE = lineSeparator != null &&
88 (lineSeparator.equals("\r\n") || lineSeparator.equals("\r")) ? lineSeparator : "\n";
[all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.repository.tools_2.0.1.R36x_v20100823.jar | |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
NewXmlFileWizard.java | 260 style, null /*lineSeparator*/);
|
/prebuilts/devtools/tools/lib/ |
commons-codec-1.4.jar | |
/prebuilts/tools/common/http-client/ |
commons-codec-1.4.jar | |
/prebuilts/tools/common/m2/repository/commons-codec/commons-codec/1.4/ |
commons-codec-1.4.jar | |
/external/robolectric/lib/main/ |
commons-codec-1.6.jar | |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ExtractIncludeRefactoring.java | 335 null /*lineSeparator*/);
|
VisualRefactoring.java | [all...] |
/prebuilts/tools/common/m2/internal/xerces/xercesImpl/2.6.2/ |
xercesImpl-2.6.2-sources.jar | |