Searched refs:line (Results 76 - 100 of 671) sorted by relevance

1234567891011>>

/openjdk10/nashorn/samples/
H A Dfjson.js41 /** multi line
44 # shell style line comment is fine!
49 Multiple line strings via nashorn
/openjdk10/nashorn/test/script/error/
H A DJDK-8020437.js25 * JDK-8020437: Wrong handling of line numbers with multiline string literals
33 This is a multiple line
/openjdk10/jdk/src/jdk.internal.le/share/classes/jdk/internal/jline/console/internal/
H A DConsoleReaderInputStream.java75 // the last line was null
92 private String line = null; field in class:ConsoleReaderInputStream.ConsoleLineInputStream
106 if (line == null) {
107 line = reader.readLine();
110 if (line == null) {
115 if (index >= line.length()) {
120 return line.charAt(index++);
/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/RSA/
H A DTestOAEP_KAT.java69 String line = reader.readLine();
70 if (line == null) {
73 line = line.trim();
74 if (line.length() == 0) {
77 if (line.equals("# RSA modulus n:")) {
79 } else if (line.equals("# RSA public exponent e:")) {
81 } else if (line.equals("# RSA private exponent d:")) {
83 } else if (line.equals("# Prime p:")) {
85 } else if (line
[all...]
/openjdk10/jdk/test/java/util/Currency/
H A DCheckDataVersion.java47 String line;
49 while ((line = in.readLine()) != null) {
50 if (line.startsWith(FILEVERSIONKEY)) {
51 fileVersion = line.substring(FILEVERSIONKEY.length());
53 if (line.startsWith(DATAVERSIONKEY)) {
54 dataVersion = line.substring(DATAVERSIONKEY.length());
/openjdk10/corba/src/java.corba/share/classes/com/sun/tools/corba/se/idl/
H A DComment.java52 // System-dependent line separator
53 private static String _eol = System.getProperty ("line.separator");
114 thus, it only works well for comments with a non-indented first line. */
118 String line = null;
127 line = text.substring (iLineStart, iLineEnd);
128 stream.println (indent + line);
145 String line = null;
154 line = text.substring (iLineStart, iLineEnd).trim ();
155 if (line.startsWith ("*"))
157 stream.println (indent + " * " + line
[all...]
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/fmt/
H A DJStaticJavaFile.java104 String line;
105 while((line=r.readLine())!=null) {
106 line = filter.process(line);
107 if(line!=null)
108 w.println(line);
112 throw new IOException("unable to process "+source+" line:"+lineNumber+"\n"+e.getMessage());
125 public String process(String line) {
126 if(!line.startsWith("package ")) return line;
160 process(String line) argument
172 process(String line) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/native/common/awt/debug/
H A Ddebug_trace.c34 MAX_LINE = 100000, /* reasonable upper limit on line number in source file */
45 int line; member in struct:dtrace_info
63 static dtrace_id DTrace_CreateTraceId(const char * file, int line, dtrace_scope scope) { argument
69 info->line = line;
99 * Finds the trace id for a given file/line location or creates one
102 static dtrace_id DTrace_GetTraceId(const char * file, int line, dtrace_scope scope) { argument
111 dbool_t sameLine = info->line == line;
121 tid = DTrace_CreateTraceId(file, line, scop
127 DTrace_IsEnabledAt(dtrace_id * pfileid, dtrace_id * plineid, const char * file, int line) argument
194 DTrace_EnableLine(const char * file, int line, dbool_t enabled) argument
241 DTrace_VPrint( const char * file, int line, int argc, const char * fmt, va_list arglist ) argument
249 DTrace_VPrintln( const char * file, int line, int argc, const char * fmt, va_list arglist ) argument
258 DTrace_PrintFunction( DTRACE_PRINT_CALLBACK pfn, dtrace_id * pFileTraceId, dtrace_id * pLineTraceId, const char * file, int line, int argc, const char * fmt, ... ) argument
[all...]
/openjdk10/common/bin/
H A Didea.sh125 while IFS= read -r line
127 if echo "$line" | egrep "^ .* <sourceFolder.*####" > /dev/null ; then
134 elif echo "$line" | egrep "^ .* <excludeFolder.*####" > /dev/null ; then
135 ul="`echo "$line" | sed -e s@"\(.*/\)####\(.*\)"@"\1$RELATIVE_BUILD_DIR\2"@`"
138 printf "%s\n" "$line" >> $IDEA_IML
169 while IFS= read -r line
171 if echo "$line" | egrep "^ .* <property name=\"module.name\"" > /dev/null ; then
173 elif echo "$line" | egrep "^ .* <property name=\"jtreg.home\"" > /dev/null ; then
175 elif echo "$line" | egrep "^ .* <property name=\"build.target.dir\"" > /dev/null ; then
178 printf "%s\n" "$line" >>
[all...]
/openjdk10/hotspot/src/share/vm/utilities/
H A Ddebug.hpp137 void report_vm_error(const char* file, int line, const char* error_msg);
140 void report_vm_error(const char* file, int line, const char* error_msg,
147 void report_vm_error(const char* file, int line, const char* error_msg,
153 void report_vm_status_error(const char* file, int line, const char* error_msg,
155 void report_fatal(const char* file, int line, const char* detail_fmt, ...) ATTRIBUTE_PRINTF(3, 4);
156 void report_vm_out_of_memory(const char* file, int line, size_t size, VMErrorType vm_err_type,
158 void report_should_not_call(const char* file, int line);
159 void report_should_not_reach_here(const char* file, int line);
160 void report_unimplemented(const char* file, int line);
161 void report_untested(const char* file, int line, cons
[all...]
/openjdk10/jdk/test/sun/security/pkcs11/tls/
H A DTestPRF.java74 String line = reader.readLine();
76 if (line == null) {
79 if (line.startsWith("prf-") == false) {
83 String data = line.substring(PREFIX_LENGTH);
84 if (line.startsWith("prf-secret:")) {
86 } else if (line.startsWith("prf-label:")) {
88 } else if (line.startsWith("prf-seed:")) {
90 } else if (line.startsWith("prf-length:")) {
92 } else if (line.startsWith("prf-output:")) {
123 throw new Exception("Error on line
[all...]
H A DTestKeyMaterial.java88 String line = reader.readLine();
90 if (line == null) {
93 if (line.startsWith("km-") == false) {
96 String data = line.substring(PREFIX_LENGTH);
97 if (line.startsWith("km-master:")) {
99 } else if (line.startsWith("km-major:")) {
101 } else if (line.startsWith("km-minor:")) {
103 } else if (line.startsWith("km-crandom:")) {
105 } else if (line.startsWith("km-srandom:")) {
107 } else if (line
[all...]
/openjdk10/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/
H A DLogCleanupReader.java45 private char[] line = new char[1024]; field in class:LogCleanupReader
65 * correcting the input line and writing it back into the {@link #line}
72 String s = new String(line, 0, length);
93 s.getChars(0, s.length(), line, 0);
118 if (i >= line.length) {
119 // copy and enlarge the line array
120 char[] newLine = new char[line.length * 2];
121 System.arraycopy(line, 0, newLine, 0, line
[all...]
/openjdk10/hotspot/test/serviceability/attach/
H A DAttachSetGetFlag.java93 String line = null;
94 while((line = remoteDataReader.readLine()) != null) {
95 System.out.println("printFlag: " + line);
96 if (line.equals("-XX:" + flagName + "=" + flagValue)) {
127 String line;
128 while((line = remoteDataReader.readLine()) != null) {
129 System.out.println("setFlag: " + line);
138 line = null;
139 while((line = remoteDataReader.readLine()) != null) {
140 System.out.println("getFlag: " + line);
[all...]
/openjdk10/langtools/test/tools/javap/4111861/
H A DT4111861.java74 String line;
75 while ((line = in.readLine()) != null) {
76 sb.append(line);
90 String line;
91 while ((line = in.readLine()) != null) {
92 if (line.indexOf("public static final") > 0) {
93 sb.append(line.trim());
/openjdk10/langtools/test/tools/javap/
H A DT7004698.java58 for (String line: out.split(System.getProperty("line.separator"))) {
59 line = line.trim();
60 if (line.equals("CharacterRangeTable:")) {
64 if (endOfAttr.matcher(line).matches()) {
66 } else if (!attrBody.matcher(line).matches()) {
67 System.err.println("unexpected line found: " + line);
/openjdk10/langtools/test/tools/javadoc/6964914/
H A DTestUserDoclet.java76 String line;
77 while ((line = in.readLine()) != null) {
78 System.err.println(line);
79 if (line.contains(docletWarning))
81 if (line.matches("[0-9]+ warning(s)?"))
83 Integer.valueOf(line.substring(0, line.indexOf(" ")));
/openjdk10/corba/make/src/classes/build/tools/logutil/
H A DInput.java74 * Regular expression to match each code line.
94 String line;
95 while ((line = r.readLine()) != null) {
97 if (line.startsWith(";"))
100 int index = line.indexOf("(");
107 String[] classInfo = line.substring(index).split(" ");
121 for (int a = start; a < line.length(); ++a) {
122 if (line.charAt(a) == '(' && !inCode && !inQuote) {
125 new InputException(line.substring(start, a).trim());
129 if (line
[all...]
/openjdk10/hotspot/test/runtime/ErrorHandling/
H A DTimeoutInErrorHandlingTest.java104 String line = null;
115 while ((line = br.readLine()) != null) {
117 if (pattern[currentPattern].matcher(line).matches()) {
118 System.out.println("Found: " + line + ".");
122 lastLine = line;
/openjdk10/jdk/test/com/sun/jdi/
H A DLambdaBreakpointTest.java104 for (int line : BKPT_LINES) {
105 System.out.println("Running to line: " + line);
106 BreakpointEvent be = resumeTo("LambdaBreakpointTestTarg", line);
108 System.out.println("Stopped at line: " + stoppedAt);
109 if (stoppedAt != line) {
110 throw new Exception("Stopped on the wrong line: "
111 + stoppedAt + " != " + line);
/openjdk10/jdk/test/sun/nio/cs/
H A DSurrogateTestEUCTW.java61 String line;
63 while ((line = r.readLine()) != null) {
64 int charValue = Integer.parseInt(line.substring(9,14), 16);
72 expectBytes[2] = 0x80 | Integer.parseInt(line.substring(2,4), 16);
73 expectBytes[3] = 0x80 | Integer.parseInt(line.substring(4,6), 16);
/openjdk10/jdk/test/sun/security/ssl/InputRecord/
H A DOriginServer.java133 * read the response, don't care for the syntax of the request-line
138 String line = null;
140 line = in.readLine();
141 } while ((line.length() != 0) &&
142 (line.charAt(0) != '\r') && (line.charAt(0) != '\n'));
/openjdk10/langtools/test/jdk/javadoc/doclet/testCRLineSeparator/
H A DTestCRLineSeparator.java27 * @summary Make sure tool parses CR line separators properly.
71 String line;
72 while ((line = in.readLine()) != null)
73 lines.add(line);
76 for (String line: lines) {
77 out.write(line);
/openjdk10/langtools/test/tools/javac/api/ToolProvider/
H A DHelloWorldTest.java66 for (String line : tr.getOutputLines(Task.OutputKind.STDOUT)) {
67 System.err.println(line);
68 if (line.contains("javax.tools.ToolProvider") || line.contains("com.sun.tools.javac."))
69 error(">>> " + line);
/openjdk10/hotspot/src/share/vm/prims/
H A DjvmtiEnvFill.java58 String line; field in class:SourceFile
73 line = in.readLine();
74 String trimmed = line.trim();
85 error("missing close paren - must be on same line");
91 error("function declaration first line must end with open bracket '{', instead got '" +
95 line = in.readLine();
96 if (line == null) {
97 line = ""; // so error does not look wierd
100 if (line.startsWith("}")) {
103 body.add(line);
[all...]

Completed in 276 milliseconds

1234567891011>>