Searched refs:lines (Results 1 – 10 of 10) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/jar/ |
D | OldManifestTest.java | 181 List<String> lines = Arrays.asList(new String(os.toByteArray(), "UTF-8").split("\r\n")); in test_write_two_versions() local 184 assertEquals("Manifest-Version: 1.0", lines.get(0)); in test_write_two_versions() 186 assertTrue(lines.contains("Aardvark-Version: 3.0")); in test_write_two_versions() 187 assertTrue(lines.contains("Signature-Version: 2.0")); in test_write_two_versions()
|
/libcore/tools/upstream/src/main/java/libcore/ |
D | CompareUpstreams.java | 91 private static Map<String, Integer> androidChangedComments(List<String> lines) { in androidChangedComments() argument 96 for (String line : lines) { in androidChangedComments() 122 private static String androidChangedCommentsSummary(List<String> lines) { in androidChangedCommentsSummary() argument 123 Map<String, Integer> map = androidChangedComments(lines); in androidChangedCommentsSummary()
|
D | Util.java | 74 public static void writeLines(Path path, Lines lines) throws IOException { in writeLines() argument 76 for (String line : lines) { in writeLines()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | Files2Test.java | 924 List<String> lines = new ArrayList<>(); in test_lines$Path$Charset() local 925 lines.add(UTF_16_DATA); in test_lines$Path$Charset() 926 lines.add(TEST_FILE_DATA); in test_lines$Path$Charset() 927 Files.write(filesSetup.getDataFilePath(), lines, StandardCharsets.UTF_16); in test_lines$Path$Charset() local 928 try (Stream<String> readLines = Files.lines(filesSetup.getDataFilePath(), in test_lines$Path$Charset() 930 Iterator<String> lineIterator = lines.iterator(); in test_lines$Path$Charset() 936 try (Stream<String> readLines = Files.lines(filesSetup.getTestDirPath(), in test_lines$Path$Charset() 946 try (Stream<String> readLines = Files.lines(filesSetup.getTestPath(), in test_lines$Path$Charset() 955 Files.lines(null, StandardCharsets.UTF_16); in test_lines$Path$Charset_NPE() 960 Files.lines(filesSetup.getDataFilePath(), null); in test_lines$Path$Charset_NPE() [all …]
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Files.java | 3344 public static Path write(Path path, Iterable<? extends CharSequence> lines, 3349 Objects.requireNonNull(lines); 3353 for (CharSequence line: lines) { 3393 Iterable<? extends CharSequence> lines, 3397 return write(path, lines, StandardCharsets.UTF_8, options); 3743 public static Stream<String> lines(Path path, Charset cs) throws IOException { 3746 return br.lines().onClose(asUncheckedRunnable(br)); 3784 public static Stream<String> lines(Path path) throws IOException { 3785 return lines(path, StandardCharsets.UTF_8);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | BufferedReaderTest.java | 61 private void assertLines(String in, String... lines) throws IOException { in assertLines() argument 64 for (String line : lines) { in assertLines() 581 String[] r = br.lines().toArray(String[]::new); in test_lines()
|
/libcore/ojluni/src/main/java/java/io/ |
D | BufferedReader.java | 572 public Stream<String> lines() { in lines() method in BufferedReader
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | Base64Test.java | 1085 List<String> lines = new ArrayList<>(); in breakLines() local 1087 lines.add(longString.substring(pos, Math.min(longString.length(), pos + lineLength))); in breakLines() 1089 return lines; in breakLines()
|
/libcore/support/src/test/java/tests/resources/x509/ |
D | default.cnf | 99 # Comment out the following two lines for the "traditional"
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | R.java | 1852 public static final int lines = 0; field in R
|