Searched refs:line (Results 1 - 25 of 671) sorted by relevance

1234567891011>>

/openjdk10/nashorn/test/script/basic/
H A DJDK-8073653.js34 This is line 1.
35 This is line 2.
37 This is line 3.
38 This is line 4.
40 This is line 5.
41 This is line 6.
43 This is line 7.
44 This is line 8.
46 This is line 9.
47 This is line 1
[all...]
H A DNASHORN-705.js1 #this-line-is-ignored
34 fail("expected scripting mode with # line");
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/source/tree/
H A DLineMap.java29 * Provides methods to convert between character positions and line numbers
36 * Finds the start position of a line.
38 * @param line line number (beginning at 1)
39 * @return position of first character in line
44 long getStartPosition(long line); argument
47 * Finds the position corresponding to a (line,column).
49 * @param line line number (beginning at 1)
54 * if {@code line <
57 getPosition(long line, long column) argument
[all...]
/openjdk10/jdk/make/src/classes/build/tools/makejavasecurity/
H A DMakeJavaSecurity.java42 * (including the last line) in package.access and package.definition
43 * MUST end with ',\'. A blank line MUST exist after the last line.
80 String line = br.readLine();
81 while (line != null) {
82 if (line.startsWith(PKG_ACC)) {
83 addPackages(br, lines, line, PKG_ACC_INDENT, extraLines);
84 } else if (line.startsWith(PKG_DEF)) {
85 addPackages(br, lines, line, PKG_DEF_INDENT, extraLines);
87 lines.add(line);
170 addPackages(BufferedReader br, List<String> lines, String line, int numSpaces, List<String> args) argument
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/net/ftp/
H A DFtpDirParser.java40 * Takes one line from a directory listing and returns an FtpDirEntry instance
43 * @param line a <code>String</code>, a line sent by the FTP server as a
48 public FtpDirEntry parseLine(String line); argument
/openjdk10/jdk/src/java.instrument/share/native/libinstrument/
H A DJPLISAssert.c43 int line) {
45 fprintf(stderr, "*** java.lang.instrument ASSERTION FAILED ***: \"%s\" at %s line: %d\n",
48 line);
58 int line) {
60 fprintf(stderr, "*** java.lang.instrument ASSERTION FAILED ***: \"%s\" with message %s at %s line: %d\n",
64 line);
40 JPLISAssertCondition( jboolean condition, const char * assertionText, const char * file, int line) argument
54 JPLISAssertConditionWithMessage( jboolean condition, const char * assertionText, const char * message, const char * file, int line) argument
/openjdk10/jdk/test/java/io/LineNumberReader/
H A DRead.java38 int line = 0;
46 line = r.getLineNumber();
48 if (line != 2)
49 throw new Exception("Failed test: Expected line number: 2, got "
50 + line);
H A DReadReadLine.java41 int c, line;
49 line = r.getLineNumber();
51 if(line != good) {
52 throw new Exception("Failed test: Expected line number "
53 + good + " Got: " + line);
/openjdk10/jdk/make/src/classes/build/tools/charsetmapping/
H A DSRC.java44 String line = s.nextLine();
45 if (line.indexOf("$") < 0) {
46 out.println(line);
49 if (line.indexOf("$PACKAGE$") != -1) {
50 out.println(line.replace("$PACKAGE$", pkgName));
51 } else if (line.indexOf("$ALIASES$") != -1) {
53 out.println(line.replace("$ALIASES$",
56 out.println(line.replace("$ALIASES$",
59 out.println(line);
/openjdk10/jdk/src/java.desktop/share/classes/sun/swing/icon/
H A DSortArrowIcon.java93 for (int line = 1; line < ARROW_HEIGHT; line++) {
94 g.fillRect(startX - line, startY + line,
95 line + line + 1, 1);
101 for (int line = 1; line < ARROW_HEIGHT; line
[all...]
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DInternetHeaders.java35 * until the blank line that indicates end of header. The input stream
53 * exceed the line length limitation for the transport (1000 bytes for
66 * blank line separating the header from the body. Store the
76 // Read header lines until a blank line. It is valid
78 String line;
79 String prevline = null; // the previous header line, as a string
84 //while ((line = lis.readLine()) != null) {
86 line = lis.readLine();
87 if (line != null &&
88 (line
154 addHeaderLine(String line) argument
180 String line; // the entire RFC822 header "line" field in class:Hdr
[all...]
H A DUUDecoderStream.java45 private byte[] buffer = new byte[45]; // max decoded chars in a line = 45
61 * controls whether a missing begin or end line cause an exception
167 * UUencoded streams start off with the line:
178 String line;
181 line = lin.readLine(); // NOTE: readLine consumes CRLF pairs too
182 if (line == null) {
191 if (line.regionMatches(false, 0, "begin", 0, 5)) {
193 mode = Integer.parseInt(line.substring(6,9));
200 if (line.length() > 10) {
201 name = line
[all...]
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/tree/
H A DLineNumberNode.java66 * A node that represents a line number declaration. These nodes are pseudo
74 * A line number. This number refers to the source file from which the class
77 public int line; field in class:LineNumberNode
80 * The first instruction corresponding to this line number.
87 * @param line
88 * a line number. This number refers to the source file from
91 * the first instruction corresponding to this line number.
93 public LineNumberNode(final int line, final LabelNode start) { argument
95 this.line = line;
[all...]
/openjdk10/jdk/test/java/awt/Desktop/DesktopGtkLoadTest/
H A DDesktopGtkLoadTest.java53 String line;
54 while ((line = br.readLine()) != null) {
55 System.out.println(line);
56 if (line.contains("Looking for GTK2 library")) {
59 if (line.contains("Looking for GTK3 library")) {
63 throw new RuntimeException("Wrong GTK library version: \n" + line);
/openjdk10/common/bin/
H A Dunshuffle_patch.sh120 line=$@
121 verbose "Attempting to rewrite: \"$line\""
125 if echo "$line" | egrep '^diff' > /dev/null ; then
126 if ! echo "$line" | egrep '\-\-git' > /dev/null ; then
130 path="`echo "$line" | sed -e s@'diff --git a/'@@ -e s@' b/.*$'@@`"
131 elif echo "$line" | egrep '^\-\-\-' > /dev/null ; then
132 path="`echo "$line" | sed -e s@'--- a/'@@`"
133 elif echo "$line" | egrep '^\+\+\+' > /dev/null ; then
134 path="`echo "$line" | sed s@'+++ b/'@@`"
141 echo "$line" >>
[all...]
/openjdk10/make/scripts/
H A Dnormalizer.pl31 # 4. Makes one and only one empty line at the end of each file
127 my $line;
131 while ($line = <FILE>) {
132 my $originalline = $line;
134 # Process line
136 # Remove from the end of the line spaces and return character
137 while ($line =~ /\s$/) {
138 chop($line);
142 for (my $i = 0; $i < length($line); $i++) {
143 if (substr($line,
[all...]
/openjdk10/langtools/test/tools/javac/
H A DT6366196.java47 public static void positiveTest(int line, int col) { argument
48 if (Position.encodePosition(line, col) == Position.NOPOS) {
49 throw new Error("test failed at line = " + line + ", column = " + col);
51 System.out.println("test passed at line = " + line + ", column = " + col);
55 public static void negativeTest(int line, int col) { argument
56 if (Position.encodePosition(line, col) != Position.NOPOS) {
57 throw new Error("test failed at line = " + line
[all...]
/openjdk10/jdk/test/javax/sound/sampled/DirectAudio/
H A Dbug6372428.java95 SourceDataLine line; field in class:bug6372428.PlayThread
96 public PlayThread(SourceDataLine line) { argument
97 this.line = line;
103 line.start();
111 SourceDataLine line; field in class:bug6372428.WriteThread
115 public WriteThread(SourceDataLine line, byte[] data) { argument
116 this.line = line;
124 int avail = line
205 TargetDataLine line; field in class:bug6372428.RecordThread
206 RecordThread(TargetDataLine line) argument
221 TargetDataLine line; field in class:bug6372428.ReadThread
224 ReadThread(TargetDataLine line, byte[] data) argument
[all...]
/openjdk10/nashorn/samples/
H A Duniq.js50 reader.lines().forEach(function(line) {
51 uniqueLines[line] = true;
54 for (line in uniqueLines) {
55 print(line);
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/util/
H A DSimpleLocator.java36 int line, column; field in class:SimpleLocator
42 public SimpleLocator(String lsid, String esid, int line, int column) { argument
43 this(lsid, esid, line, column, -1);
46 public void setValues(String lsid, String esid, int line, int column) { argument
47 setValues(lsid, esid, line, column, -1);
50 public SimpleLocator(String lsid, String esid, int line, int column, int offset) { argument
51 this.line = line;
58 public void setValues(String lsid, String esid, int line, int column, int offset) { argument
59 this.line
103 setLineNumber(int line) argument
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/
H A DCompressedLineNumberReadStream.java40 /** Read (bci, line number) pair from stream. Returns false at end-of-stream. */
48 line += readSignedInt();
52 line += next & 0x7;
58 public int line() { return line; } method in class:CompressedLineNumberReadStream
65 private int line; field in class:CompressedLineNumberReadStream
/openjdk10/hotspot/src/os_cpu/linux_sparc/vm/
H A Dvm_version_linux_sparc.cpp31 char line[1024]; local
39 while (fgets(line, sizeof(line), fp) != NULL) {
40 assert(strlen(line) < sizeof(line) - 1, "buffer line[1024] is too small.");
41 if (strncmp(line, field, strlen(field)) == 0) {
42 if (strstr(line, value) != NULL) {
/openjdk10/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/
H A Dhb-ot-shape-complex-use-machine.hh2 #line 1 "hb-ot-shape-complex-use-machine.rl"
37 #line 38 "hb-ot-shape-complex-use-machine.hh"
290 #line 38 "hb-ot-shape-complex-use-machine.rl"
294 #line 138 "hb-ot-shape-complex-use-machine.rl"
314 #line 315 "hb-ot-shape-complex-use-machine.hh"
322 #line 159 "hb-ot-shape-complex-use-machine.rl"
331 #line 332 "hb-ot-shape-complex-use-machine.hh"
342 #line 1 "NONE"
345 #line 346 "hb-ot-shape-complex-use-machine.hh"
364 #line
[all...]
/openjdk10/jdk/src/jdk.internal.le/share/classes/jdk/internal/jline/console/
H A DConsoleKeys.java98 String line;
101 while ( (line = reader.readLine()) != null ) {
103 line = line.trim();
104 if (line.length() == 0) {
107 if (line.charAt(0) == '#') {
111 if (line.charAt(i) == '$') {
114 for (++i; i < line.length() && (line.charAt(i) == ' ' || line
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/geom/
H A DLineIterator.java31 * A utility class to iterate over the path segments of a line segment
37 Line2D line; field in class:LineIterator
42 this.line = l;
93 throw new NoSuchElementException("line iterator out of bounds");
97 coords[0] = (float) line.getX1();
98 coords[1] = (float) line.getY1();
101 coords[0] = (float) line.getX2();
102 coords[1] = (float) line.getY2();
131 throw new NoSuchElementException("line iterator out of bounds");
135 coords[0] = line
[all...]

Completed in 233 milliseconds

1234567891011>>