Searched refs:line (Results 201 - 225 of 671) sorted by relevance

1234567891011>>

/openjdk10/hotspot/test/compiler/loopopts/
H A DUseCountedLoopSafepointsTest.java75 for (String line : oa.getOutput().split("\\n")) {
76 int separatorIndex = line.indexOf("\t===");
78 String header = line.substring(0, separatorIndex);
80 safePoints.add(new Node("SafePoint", line));
82 loopEnds.add(new Node("CountedLoopEnd", line));
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/
H A DJARSoundbankReader.java87 String line = r.readLine();
88 while (line != null) {
89 if (!line.startsWith("#")) {
91 Class<?> c = Class.forName(line.trim(), false, ucl);
100 line = r.readLine();
/openjdk10/jdk/test/sun/tools/jhsdb/heapconfig/
H A DTmtoolTestScenario.java77 for (String line : astr) {
78 String[] lv = line.trim().split("\\s+");
119 String line;
120 while ((line = reader.readLine()) != null) {
121 toolOutput.add(line.trim());
/openjdk10/jdk/test/sun/util/calendar/zi/
H A DZoneRec.java40 * line of the "Zone" part.
56 private String line; field in class:ZoneRec
149 * @return the text line of this zone record
152 return line;
156 * Sets the specified text line to this zone record
158 void setLine(String line) { argument
159 this.line = line;
204 * Parses a Zone text line that is described by a StringTokenizer.
205 * @param tokens represents tokens of a Zone text line
[all...]
/openjdk10/jdk/test/lib/security/
H A DCheckBlacklistedCerts.java108 String line = reader.readLine();
109 if (line == null) break;
110 if (line.startsWith("Algorithm")) {
112 } else if (!line.isEmpty() && !line.startsWith("#")) {
/openjdk10/jdk/test/sun/net/www/http/ChunkedOutputStream/
H A DCheckError.java113 String line;
115 line = reader.readLine();
116 out.println("Server: " + line);
117 } while (line != null && line.length() > 0);
/openjdk10/jdk/src/demo/share/java2d/J2DBench/src/j2dbench/report/
H A DJ2DAnalyzer.java344 String line;
345 while ((line = in.readLine()) != null) {
346 line = line.trim();
347 if (line.startsWith("<test-desc>")) {
348 int index = line.indexOf("<", 11);
350 index = line.length();
352 line = line.substring(11, index);
353 srs.setDescription(line);
408 getStringAttribute(String line, String attrname) argument
433 getLongAttribute(String line, String attrname) argument
445 getIntAttribute(String line, String attrname) argument
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.options/src/org/graalvm/compiler/options/
H A DOptionValues.java160 * @param width maximum width of an output line, exception for words in {@code text} longer than
168 StringBuilder line = new StringBuilder();
170 if (line.length() + chunk.length() > width) {
171 lines.add(line.toString());
172 line.setLength(0);
174 if (line.length() != 0) {
175 line.append(' ');
177 line.append(chunk);
179 if (line.length() != 0) {
180 lines.add(line
[all...]
/openjdk10/jdk/test/sun/net/www/protocol/https/NewImpl/
H A DComHTTPSConnection.java97 String line = in.readLine();
99 // extract class from GET line
100 if (line.startsWith("GET /")) {
101 line = line.substring(5, line.length()-1).trim();
102 int index = line.indexOf(' ');
104 path = line.substring(0, index);
110 line = in.readLine();
111 } while ((line
[all...]
H A DJavaxHTTPSConnection.java93 String line = in.readLine();
95 // extract class from GET line
96 if (line.startsWith("GET /")) {
97 line = line.substring(5, line.length()-1).trim();
98 int index = line.indexOf(' ');
100 path = line.substring(0, index);
106 line = in.readLine();
107 } while ((line
[all...]
/openjdk10/jdk/src/java.base/unix/classes/sun/net/dns/
H A DResolverConfigurationImpl.java68 String line;
69 while ((line = in.readLine()) != null) {
71 if (line.length() == 0)
73 if (line.charAt(0) == '#' || line.charAt(0) == ';')
75 if (!line.startsWith(keyword))
77 String value = line.substring(keyword.length());
/openjdk10/langtools/test/tools/javac/
H A DT6403466.java116 String line;
118 while ((line = in.readLine()) != null)
119 lines.add(line);
145 line++;
148 System.err.println(line + ": expected: " + ref);
149 System.err.println(line + ": found: " + s);
155 int line; field in class:VerifyingTaskListener
/openjdk10/jdk/test/sun/net/www/protocol/https/HttpsClient/
H A DProxyAuthTest.java205 * read the response, don't care for the syntax of the request-line
209 String line = null;
212 if (line != null) {
213 System.out.println(line);
215 line = in.readLine();
216 } while ((line.length() != 0) &&
217 (line.charAt(0) != '\r') && (line.charAt(0) != '\n'));
/openjdk10/hotspot/src/share/vm/utilities/
H A Dexceptions.hpp67 int _exception_line; // line information for exception (debugging only)
88 void set_pending_exception(oop exception, const char* file, int line);
104 static bool special_exception(Thread *thread, const char* file, int line, Handle exception);
105 static bool special_exception(Thread* thread, const char* file, int line, Symbol* name, const char* message);
119 static void _throw_oop(Thread* thread, const char* file, int line, oop exception);
120 static void _throw(Thread* thread, const char* file, int line, Handle exception, const char* msg = NULL);
122 static void _throw_msg(Thread* thread, const char* file, int line, Symbol* name, const char* message);
123 static void _throw_msg(Thread* thread, const char* file, int line, Symbol* name, const char* message,
126 static void _throw_msg_cause(Thread* thread, const char* file, int line, Symbol* name, const char* message, Handle h_cause);
127 static void _throw_msg_cause(Thread* thread, const char* file, int line, Symbo
[all...]
/openjdk10/jdk/src/jdk.internal.le/share/classes/jdk/internal/jline/extra/
H A DEditingHistory.java76 //empty line), so using setBuffer directly:
131 public void add(CharSequence line) { argument
165 line = currentLine = new NarrowingHistoryLine(line, fullSize);
171 complete.append(line);
176 fullHistory.add(line);
295 StringBuilder line = new StringBuilder(historyItem);
296 int trailingBackSlashes = countTrailintBackslashes(line);
298 line.delete(line
[all...]
/openjdk10/jdk/src/jdk.jdi/share/classes/com/sun/tools/jdi/
H A DTargetVM.java87 StringBuilder line = new StringBuilder(80);
88 line.append("0000: ");
91 vm.printTrace(line.toString());
92 line.setLength(0);
93 line.append(String.valueOf(i));
94 line.append(": ");
95 int len = line.length();
97 line.insert(0, '0');
103 line.append('0');
105 line
[all...]
/openjdk10/jdk/test/java/io/BufferedReader/
H A DLines.java63 * with each line will be "<code>Line &lt;line_number&gt;</code>".
66 * a specified line number.
72 String line = null; field in class:Lines.MockLineReader
87 line = null;
116 if (line == null) {
120 throw new IOException("Failed to read line " + line_no);
122 line = "Line " + line_no + "\n";
129 int cnt = line.length() - pos;
133 line.getChars(pos, pos + len, buf, off);
136 assert(pos == line
[all...]
/openjdk10/test/lib/jdk/test/lib/
H A DAsserts.java39 * Always provide a message describing the assumption if the line number of the
42 * multiple times, then the line number won't provide enough context to
510 String lineSeparator = System.getProperty("line.separator");
524 for (int line = 0; line < minLength; line++) {
525 if (!str1Lines[line].equals(str2Lines[line])) {
527 format("[line %d] '%s' differs " +
529 line,
[all...]
/openjdk10/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/
H A Dhb-ot-shape-complex-indic-machine.hh2 #line 1 "hb-ot-shape-complex-indic-machine.rl"
35 #line 36 "hb-ot-shape-complex-indic-machine.hh"
1357 #line 36 "hb-ot-shape-complex-indic-machine.rl"
1361 #line 96 "hb-ot-shape-complex-indic-machine.rl"
1381 #line 1382 "hb-ot-shape-complex-indic-machine.hh"
1389 #line 117 "hb-ot-shape-complex-indic-machine.rl"
1398 #line 1399 "hb-ot-shape-complex-indic-machine.hh"
1409 #line 1 "NONE"
1412 #line 1413 "hb-ot-shape-complex-indic-machine.hh"
1431 #line
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/nio/file/
H A DFileChannelLinesSpliterator.java44 * where line feed characters can be easily identified from character encoded
52 * mapped byte buffer to find the closest line feed characters(s) to the left or
53 * right of the mid-point of covered range of bytes of the file. If a line feed
55 * the identified line feed characters(s) at the end of it's covered range of
101 String line = readLine();
102 if (line != null) {
103 action.accept(line);
112 String line;
113 while ((line = readLine()) != null) {
114 action.accept(line);
[all...]
/openjdk10/jdk/make/src/classes/build/tools/charsetmapping/
H A DUtils.java87 protected boolean isDirective(String line) { argument
88 return line.startsWith("#");
110 String line;
111 while ((line = reader.readLine()) != null) {
112 if (isDirective(line))
114 matcher.reset(line);
116 //System.out.println("Missed: " + line);
/openjdk10/jdk/test/java/lang/StackWalker/
H A DEmbeddedStackWalkTest.java68 // line numbers are hardcoded for now.
69 // Should annotate the line numbers and auto-generated these constants
71 static final int BEGIN_LINE = 71; // the begin line number of approximate range.
72 static final int END_LINE = 136; // the end line number of approximate range.
73 static class C1 { // here is the begin line number of approximate range, L71.
135 } // here is the end line number of approximate range, L136.
144 int line = f.getLineNumber();
145 assertTrue(line >= BEGIN_LINE && line <= END_LINE);
151 line
[all...]
/openjdk10/jdk/test/sun/tools/jhsdb/
H A DBasicLauncherTest.java95 String line;
97 while ((line = reader.readLine()) != null) {
98 line = line.trim();
99 System.out.println(line);
101 if (line.contains("unknown subtype of CollectedHeap")) {
/openjdk10/jdk/test/sun/security/ssl/ProtocolVersion/
H A DHttpsProtocols.java27 * @summary passing https.protocols from command line doesn't work.
124 * read the response, don't care for the syntax of the request-line
128 String line = null;
130 line = in.readLine();
131 System.out.println("Server received: " + line);
132 } while ((line.length() != 0) &&
133 (line.charAt(0) != '\r') && (line.charAt(0) != '\n'));
/openjdk10/langtools/test/tools/javac/classfiles/attributes/LineNumberTable/
H A DLineNumberTestBase.java40 * Base class for line number table attribute tests.
57 * Checks what expected lines are covered by line number table.
58 * Does general check of line number table for consistency.
94 for (String line : testCase.src.split("\n")) {
95 System.err.println(++l + line);
121 "Incorrect line number table length.");
134 * Expects line number table point to non empty lines.
139 String line = source[e.line_number - 1].trim();
140 assertTrue(!("".equals(line) || line
[all...]

Completed in 331 milliseconds

1234567891011>>