Searched refs:line (Results 51 - 75 of 671) sorted by relevance

1234567891011>>

/openjdk10/nashorn/test/script/basic/
H A DJDK-8041998.js34 var line = 'content-type: text/html';
37 line.split(/: /);
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
H A DUUDecoderStream.java64 buffer = new byte[45]; // max decoded chars in a line = 45
143 * UUencoded streams start off with the line:
175 String line;
177 line = lin.readLine();
181 * line that starts with a space character, we detect the
182 * following "end" line here.
184 if (line == null)
186 if (line.regionMatches(true, 0, "end", 0, 3)) {
190 } while (line.length() == 0);
191 int count = line
[all...]
/openjdk10/jdk/test/com/sun/crypto/provider/TLS/
H A DTestMasterSecret.java71 String line = reader.readLine();
73 if (line == null) {
76 if (line.startsWith("m-") == false) {
79 String data = line.substring(PREFIX_LENGTH);
80 if (line.startsWith("m-algorithm:")) {
82 } else if (line.startsWith("m-premaster:")) {
84 } else if (line.startsWith("m-crandom:")) {
86 } else if (line.startsWith("m-srandom:")) {
88 } else if (line.startsWith("m-protomajor:")) {
90 } else if (line
[all...]
H A DTestPRF.java65 String line = reader.readLine();
67 if (line == null) {
70 if (line.startsWith("prf-") == false) {
74 String data = line.substring(PREFIX_LENGTH);
75 if (line.startsWith("prf-secret:")) {
77 } else if (line.startsWith("prf-label:")) {
79 } else if (line.startsWith("prf-seed:")) {
81 } else if (line.startsWith("prf-length:")) {
83 } else if (line.startsWith("prf-output:")) {
104 throw new Exception("mismatch line
[all...]
H A DTestPRF12.java71 String line = reader.readLine();
73 if (line == null) {
76 if (line.startsWith("prf-") == false) {
80 String data = line.substring(PREFIX_LENGTH);
81 if (line.startsWith("prf-secret:")) {
83 } else if (line.startsWith("prf-label:")) {
85 } else if (line.startsWith("prf-seed:")) {
87 } else if (line.startsWith("prf-length:")) {
89 } else if (line.startsWith("prf-alg:")) {
111 } else if (line
[all...]
/openjdk10/jdk/test/sun/security/pkcs11/tls/
H A DTestMasterSecret.java81 String line = reader.readLine();
83 if (line == null) {
86 if (line.startsWith("m-") == false) {
89 String data = line.substring(PREFIX_LENGTH);
90 if (line.startsWith("m-algorithm:")) {
92 } else if (line.startsWith("m-premaster:")) {
94 } else if (line.startsWith("m-crandom:")) {
96 } else if (line.startsWith("m-srandom:")) {
98 } else if (line.startsWith("m-protomajor:")) {
100 } else if (line
[all...]
/openjdk10/jdk/test/java/text/testlib/
H A DHexDumpReader.java52 String line;
53 while ((line = reader.readLine()) != null) {
55 line = line.trim();
57 if (line.length() == 0) {
60 int x = line.indexOf('#');
65 line = line.substring(0, x).trim();
67 int len = line.length();
69 bab.put((byte)Integer.parseInt(line,
[all...]
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/
H A DInternetHeaders.java48 * until the blank line that indicates end of header. The input stream
65 * exceed the line length limitation for the transport (1000 bytes for
90 * blank line separating the header from the body. The input
106 * blank line separating the header from the body. Store the
117 // Read header lines until a blank line. It is valid
119 String line;
121 String prevline = null; // the previous header line, as a string
126 //while ((line = lis.readLine()) != null) {
128 line = lis.readLine();
129 if (line !
301 addHeaderLine(String line) argument
347 String line; // the entire RFC822 header "line" field in class:hdr
[all...]
/openjdk10/hotspot/test/serviceability/tmtools/jstack/utils/
H A DDefaultFormat.java103 String line = scanner.nextLine();
104 if (line.matches(threadInfoPattern())) {
105 currentThreadStack = parseThreadInfo(line);
107 } else if (line.matches(methodInfoPattern())) {
108 currentMethodInfo = parseMethodInfo(line);
110 } else if (line.matches(monitorInfoPattern())) {
111 MonitorInfo mi = parseMonitorInfo(line, monitorInfoPattern());
113 } else if (line.matches(monitorInfoNoObjectRefPattern())) {
114 MonitorInfo mi = parseMonitorInfo(line, monitorInfoNoObjectRefPattern());
116 } else if (line
139 parseMonitorInfo(String line, String pattern) argument
153 parseExtendedStatus(String line) argument
161 parseJNIGlobalRefs(String line) argument
190 parseMethodInfo(String line) argument
265 parseLockInfo(String line) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/
H A Dhb-buffer-deserialize-json.hh2 #line 1 "hb-buffer-deserialize-json.rl"
35 #line 36 "hb-buffer-deserialize-json.hh"
438 #line 97 "hb-buffer-deserialize-json.rl"
465 #line 466 "hb-buffer-deserialize-json.hh"
470 #line 471 "hb-buffer-deserialize-json.hh"
496 #line 38 "hb-buffer-deserialize-json.rl"
503 #line 43 "hb-buffer-deserialize-json.rl"
513 #line 51 "hb-buffer-deserialize-json.rl"
519 #line 55 "hb-buffer-deserialize-json.rl"
528 #line 6
[all...]
/openjdk10/hotspot/test/serviceability/dcmd/vm/
H A DClassHierarchyTest.java100 String line = lines.next();
101 Matcher m = expected_lambda_line.matcher(line);
116 String line = lines.next();
117 Matcher m = expected_lines[i].matcher(line);
120 Assert.fail("Failed to match line #" + i + ": " + line);
126 String line = lines.next();
127 Assert.fail("Unexpected dcmd output: " + line);
135 String line = lines.next();
136 Matcher m = expected_lines[i].matcher(line);
[all...]
/openjdk10/langtools/test/jdk/javadoc/tool/6964914/
H A DTestStdDoclet.java73 String line;
74 while ((line = in.readLine()) != null) {
75 System.err.println(line);
76 if (line.contains("DoesNotExist"))
78 if (line.matches("[0-9]+ warning(s)?"))
80 Integer.valueOf(line.substring(0, line.indexOf(" ")));
/openjdk10/langtools/test/tools/javadoc/6964914/
H A DTestStdDoclet.java73 String line;
74 while ((line = in.readLine()) != null) {
75 System.err.println(line);
76 if (line.contains("DoesNotExist"))
78 if (line.matches("[0-9]+ warning(s)?"))
80 Integer.valueOf(line.substring(0, line.indexOf(" ")));
/openjdk10/jdk/test/javax/sound/sampled/DirectAudio/
H A Dbug6400879.java72 SourceDataLine line = null;
81 line = (SourceDataLine)AudioSystem.getLine(infos[lineNum]);
82 log("testing line: " + line);
83 line.open(line.getFormat());
86 line.start();
87 line.stop();
91 line.close();
92 line
[all...]
/openjdk10/langtools/test/tools/javap/6937244/
H A DT6937244.java48 for (String line: out.split("[\r\n]+")) {
49 if (line.contains("CASE_INSENSITIVE_ORDER")) {
50 if (line.matches("\\s*\\Qpublic static final java.util.Comparator<java.lang.String> CASE_INSENSITIVE_ORDER;\\E\\s*"))
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/
H A DAbstractMixer.java68 * if any line of this mixer is started
93 * @param mixerInfo the mixer with which this line is associated
104 // setup the line part
302 * this line is a source or target line, calls open(no-arg) on the
303 * mixer, and adds the line to the appropriate vector.
304 * The mixer may be opened at a format different than the line's
307 final synchronized void open(Line line) throws LineUnavailableException { argument
309 if (Printer.trace) Printer.trace(">> AbstractMixer: open(line = " + line
351 close(Line line) argument
407 start(Line line) argument
430 stop(Line line) argument
[all...]
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/tools/javac/
H A DErrorConsumer.java39 int line,
38 pushError(String errorFileName, int line, String message, String referenceText, String referenceTextPointer) argument
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DPosition.java38 * Support is also provided for (line,column) coordinates, but tab
65 /** A two-way map between line/column numbers and positions,
84 /** Encode line and column numbers in an integer as:
85 * {@code line-number << LINESHIFT + column-number }.
88 * @param line number of line (first is 1)
89 * @param col number of character on line (first is 1)
91 * if the line or column number is too big to
93 * @throws IllegalArgumentException if line or col is less than 1
95 public static int encodePosition(int line, in argument
116 getStartPosition(int line) argument
128 getPosition(int line, int column) argument
176 getStartPosition(int line) argument
181 getStartPosition(long line) argument
185 getPosition(int line, int column) argument
190 getPosition(long line, long column) argument
275 getPosition(int line, int column) argument
[all...]
/openjdk10/langtools/test/tools/javac/api/ToolProvider/
H A DToolProviderTest1.java65 for (String line : lines) {
66 System.err.println(line);
67 if (line.contains("com.sun.tools.javac."))
68 error(">>> " + line);
/openjdk10/langtools/test/tools/javap/
H A DT6980017.java56 for (String line: sw.toString().split("[\r\n]+")) {
57 System.err.println(line);
58 if (line.contains("Source code not available"))
60 if (line.matches("\\s*\\( *[0-9]+\\)\\s*"))
/openjdk10/nashorn/test/script/error/
H A DJDK-8020437-2.js25 * JDK-8020437: Wrong handling of line numbers with multiline string literals
33 This is a multiple line
36 EOF}); var x++; // syntax error in same line
/openjdk10/langtools/test/tools/javac/resolve/
H A DPos.java29 long line() default -1;
/openjdk10/jdk/src/java.desktop/share/native/common/awt/debug/
H A Ddebug_assert.h55 typedef void (*DASSERT_CALLBACK)(const char * msg, const char * file, int line);
57 extern void DAssert_Impl(const char * msg, const char * file, int line);
/openjdk10/jdk/test/sun/util/calendar/zi/
H A DZone.java66 * table to keep those names. It's assumed that one text line
68 * '#'. Comments can't follow a zone name in a single line.
83 String line;
86 while ((line = in.readLine()) != null) {
87 line = line.trim();
88 if (line.length() == 0 || line.charAt(0) == '#') {
91 if (!targetZones.add(line)) {
92 Main.warning("duplicated target zone name: " + line);
[all...]
/openjdk10/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/
H A DOriginServer.java134 * read the response, don't care for the syntax of the request-line
139 String line = null;
141 line = in.readLine();
142 System.out.println("Server recieved: " + line);
143 } while ((line.length() != 0) &&
144 (line.charAt(0) != '\r') && (line.charAt(0) != '\n'));
146 // read the last line to clear the POST input buffer
148 line = in.readLine();
149 System.out.println("Command received: " + line);
[all...]

Completed in 273 milliseconds

1234567891011>>