Searched refs:lines (Results 1 - 25 of 186) sorted by relevance

12345678

/openjdk9/langtools/test/tools/javap/
H A DT4884240.java46 String[] lines = sw.toString().split("\n");
47 if (lines.length < 3
48 || !lines[0].trim().startsWith("Classfile")
49 || !lines[1].trim().startsWith("Last modified")
50 || !lines[2].trim().startsWith("MD5")) {
H A DT8035104.java39 String[] lines = javap("-v", T8035104.class.getName()).split("[\r\n]+");
42 for (int i = 0; i < lines.length; i++) {
43 String line = lines[i];
H A DT6863746.java46 String[] lines = out.split("\n");
50 if (lines.length < 50 || out.indexOf("Code:") == -1)
/openjdk9/nashorn/samples/
H A Dfind_max_lines.js32 // Find the file with maximum number of lines
42 // return number of lines in given Path (that represents a file)
43 function lines(p) { function
44 var strm = Files.lines(p);
52 // walk files, map to file and lines, find the max
55 map(function(p) ({ path : p, lines: lines(p) })).
56 max(function(x, y) x.lines - y.lines).get();
58 // print path and lines o
[all...]
H A Duniqs.js33 // omit repeated lines and print unique lines
43 print('Unique lines:',
45 .lines(FileSystems.default.getPath(arguments[0]))
/openjdk9/jdk/make/src/classes/build/tools/makejavasecurity/
H A DMakeJavaSecurity.java74 List<String> lines = new ArrayList<>();
83 addPackages(br, lines, line, PKG_ACC_INDENT, extraLines);
85 addPackages(br, lines, line, PKG_DEF_INDENT, extraLines);
87 lines.add(line);
96 Iterator<String> iter = lines.iterator();
129 for (int i=0; i<lines.size(); i++) {
130 String line = lines.get(i);
136 lines.set(i, prefix + "." + n + line.substring(index+4));
141 for (int i = 0; i < lines.size(); i++) {
142 String line = lines
170 addPackages(BufferedReader br, List<String> lines, String line, int numSpaces, List<String> args) argument
[all...]
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.debug.test/src/org/graalvm/compiler/debug/test/
H A DDebugHistogramTest.java59 String[] lines = outputStream.toString().split("\r?\n");
68 Assert.assertArrayEquals(expected, lines);
72 lines = outputStream.toString().split("\r?\n");
79 Assert.assertArrayEquals(expected, lines);
90 String[] lines = outputStream.toString().split("\r?\n");
100 Assert.assertArrayEquals(expected, lines);
104 lines = outputStream.toString().split("\r?\n");
111 Assert.assertArrayEquals(expected, lines);
120 String[] lines = outputStream.toString().split("\r?\n");
121 Assert.assertEquals(4, lines
[all...]
/openjdk9/hotspot/src/cpu/arm/vm/
H A Dicache_arm.cpp34 static int icache_flush(address addr, int lines, int magic) { argument
38 for (int i = 0; i < lines; i++, p += ICache::line_size) {
51 for (int i = 0; i < lines; i++, p += ICache::line_size) {
69 static int icache_flush(address addr, int lines, int magic) { argument
70 __builtin___clear_cache(addr, addr + (lines << ICache::log2_line_size));
/openjdk9/hotspot/test/serviceability/dcmd/vm/
H A DClassHierarchyTest.java89 Iterator<String> lines;
97 lines = output.asLines().iterator();
99 while (lines.hasNext()) {
100 String line = lines.next();
113 lines = output.asLines().iterator();
115 while (lines.hasNext()) {
116 String line = lines.next();
122 // Should only be two lines of output in this form.
125 if (lines.hasNext()) {
126 String line = lines
[all...]
/openjdk9/hotspot/test/runtime/CommandLine/
H A DPrintTouchedMethods.java59 List<String> lines = output.asLines();
61 if (lines.size() < 1) {
65 String first = lines.get(0);
77 lines = output.asLines();
79 if (lines.size() < 1) {
83 first = lines.get(0);
95 lines = output.asLines();
97 if (lines.size() < 1) {
101 first = lines.get(0);
/openjdk9/langtools/test/tools/javac/linenumbers/
H A DFinallyLineNumberTest.java45 Entry[] lines = findEntries();
46 if (lines == null) {
49 if (lines.length != 4) {
51 System.err.println("LineTable error, got lines:");
52 for (Entry e : lines) {
55 throw new Exception("finally line number table incorrect: length=" + lines.length + " expected length=4");
59 int current = lines[0].line_number;
63 current = lines[1].line_number;
69 current = lines[2].line_number;
75 current = lines[
[all...]
H A DNestedLineNumberTest.java21 Entry[] lines = findEntries();
22 if (lines == null || lines.length != 1) {
23 int found = lines == null ? 0 : lines.length;
27 int line = lines[0].line_number;
H A DConditionalLineNumberTest.java27 * @summary Add LineNumberTable attributes for conditional operator (?:) split across several lines.
45 Entry[] lines = findEntries();
46 if (lines == null || lines.length != 5)
49 int current = lines[0].line_number;
50 for (Entry e : lines) {
/openjdk9/hotspot/src/cpu/s390/vm/
H A Dicache_s390.cpp30 // int lines (Z_R3, ignored)
38 int z_flush_icache(address start, int lines, int magic) { return magic; } argument
/openjdk9/hotspot/src/share/vm/runtime/
H A Dicache.hpp47 typedef int (*flush_icache_stub_t)(address addr, int lines, int magic);
54 static void call_flush_stub(address start, int lines);
87 // lines - Number of line_size icache lines to flush
/openjdk9/jdk/test/javax/crypto/CryptoPermissions/
H A DCryptoPolicyFallback.java58 try (Stream<String> lines = Files.lines(path)) {
65 defaultPolicy = lines.filter(x -> x.startsWith("crypto.policy="))
76 Stream<String> lines = Files.lines(path)) {
77 lines.filter(x -> !x.trim().startsWith("crypto.policy="))
/openjdk9/langtools/make/tools/propertiesparser/parser/
H A DMessage.java31 * A message is a series of lines containing a "name=value" property,
59 * Get all the lines pertaining to this message.
62 List<MessageLine> lines = new ArrayList<>();
68 // skip leading blank lines
76 // include any preceding lines
78 lines.add(l);
80 // include message lines
82 lines.add(l);
83 lines.add(l);
88 lines
[all...]
/openjdk9/jdk/test/java/nio/file/Files/
H A DBytesAndLines.java96 List<String> lines = Collections.emptyList();
109 checkNullPointerException(() -> Files.write(null, lines));
111 checkNullPointerException(() -> Files.write(file, lines, (OpenOption[])null));
112 checkNullPointerException(() -> Files.write(file, lines, new OpenOption[] { null } ));
113 checkNullPointerException(() -> Files.write(null, lines, Charset.defaultCharset()));
115 checkNullPointerException(() -> Files.write(file, lines, (Charset)null));
116 checkNullPointerException(() -> Files.write(file, lines, Charset.defaultCharset(), (OpenOption[])null));
117 checkNullPointerException(() -> Files.write(file, lines, Charset.defaultCharset(), new OpenOption[] { null } ));
224 // zero lines
226 List<String> lines
[all...]
/openjdk9/hotspot/test/runtime/NMT/
H A DSummarySanityCheck.java60 String[] lines = jcmdout.split("\n");
62 if (lines.length == 0) {
74 for (int i = 0; i < lines.length; i++) {
75 if (lines[i].startsWith("Total")) {
76 Matcher totalMemoryMatcher = totalMemoryPattern.matcher(lines[i]);
84 } else if (lines[i].startsWith("-")) {
85 Matcher typeMatcher = mtTypePattern.matcher(lines[i]);
/openjdk9/jdk/test/com/sun/jdi/sde/
H A DMangleStepTest.java76 int[] lines;
89 lines = new int[] {4, 5, 6, 7, 8, 9};
92 lines = new int[] {1000, 1111, 1112};
95 lines = new int[] {200, 210, 217, 218};
101 lineMatch(bpe.location(), jLines[0], lines[0]);
103 for (int i = 1; i < lines.length; ++i) {
105 lineMatch(se.location(), jLines[i], lines[i]);
/openjdk9/jdk/test/tools/launcher/
H A DArgsFileTest.java62 private File createArgFile(String fname, List<String> lines) throws IOException { argument
65 createAFile(argFile, lines);
104 List<String> lines = new ArrayList<>();
105 lines.add("-Xmx32m");
106 lines.add("-Xint");
107 File argFile1 = createArgFile("argFile1", lines);
108 lines = new ArrayList<>();
109 lines.add("-jar");
110 lines.add("test.jar");
111 lines
[all...]
/openjdk9/hotspot/src/cpu/ppc/vm/
H A Dicache_ppc.cpp31 int ICache::ppc64_flush_icache(address start, int lines, int magic) { argument
32 address end = start + (unsigned int)lines*ICache::line_size;
35 // store modified cache lines from data cache
51 // invalidate respective cache lines in instruction cache
H A Dicache_ppc.hpp34 static int ppc64_flush_icache(address start, int lines, int magic);
/openjdk9/hotspot/src/cpu/x86/vm/
H A Dicache_x86.cpp38 const Register lines = c_rarg1; local
43 __ testl(lines, lines);
53 __ decrementl(lines);
/openjdk9/hotspot/test/native/logging/
H A Dtest_logMessageTest.cpp75 } lines[] = { local
89 // Fill in messages with the above lines
90 for (size_t i = 0; i < ARRAY_SIZE(lines); i++) {
91 switch (lines[i].level) {
94 msg[lines[i].message_number].printname("msg[%d]: " #printname, lines[i].message_number); \
105 // Verify that lines are written to the expected log files
106 for (size_t i = 0; i < ARRAY_SIZE(lines); i++) {
109 lines[i].message_number, LogLevel::name(lines[
159 const size_t lines = 100; local
[all...]

Completed in 162 milliseconds

12345678