Searched defs:line (Results 26 - 50 of 140) sorted by relevance

123456

/openjdk7/jdk/test/com/sun/jdi/sde/
H A DMangleTest.java70 println(label + " line number: " + ln);
73 " expected line number " + expectedLinenumber +
105 " line number: " + ln);
108 " expected line number " + expectedLinenumber +
117 void lineMatch(int index, String stratum, Location loc, int line) { argument
119 if (gotLine != line) {
121 " " + stratum + " line=" + gotLine +
122 " expected: " + line);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DDiagnosticSource.java41 * Provides access to the line and position in a line for any given character offset.
72 /** Return the one-based line number associated with a given pos
73 * for the current source file. Zero is returned if no line exists
79 return line;
113 /** Return the content of the line containing a given pos.
141 /** Find the line in the buffer that contains the current position
156 line = 1;
159 line = 1;
167 line
217 protected int line; field in class:DiagnosticSource
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/
H A DSourceWriter.java86 for (int line: lines) {
88 print(String.format(" %4d ", line));
89 if (line < sourceLines.length)
90 print(sourceLines[line]);
92 int nextLine = nextLine(line);
93 for (int i = line + 1; i < nextLine; i++) {
117 int line = e.line_number;
123 pcLines.add(line);
124 allLines.add(line);
190 lines.add(""); // dummy line
201 nextLine(int line) argument
[all...]
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_error.c161 error_assert(const char *condition, const char *file, int line) argument
164 source_basename(file), line);
170 const char *message, const char *file, int line)
184 source_basename(file), line);
187 source_basename(file), line);
169 error_handler(jboolean fatal, jvmtiError error, const char *message, const char *file, int line) argument
/openjdk7/jdk/test/javax/sound/sampled/DataLine/
H A DDataLine_ArrayIndexOutOfBounds.java26 abstract int getBufferOffset(DataLine line); argument
27 abstract int getBufferLength(DataLine line); argument
36 public int getBufferOffset(DataLine line) {
39 public int getBufferLength(DataLine line) {
47 int getBufferOffset(DataLine line) {
50 int getBufferLength(DataLine line) {
51 return Integer.MAX_VALUE - getBufferOffset(line) + 4096;
84 private final DataLine line; field in class:DataLine_ArrayIndexOutOfBounds.AsyncLineStopper
85 private final long delayMS; // delay before stop the line
90 public AsyncLineStopper(DataLine line, lon argument
[all...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DService.java70 * names, one per line. Space and tab characters surrounding each name, as
72 * (<tt>0x23</tt>); on each line all characters following the first comment
98 * the single line:
149 private static void fail(Class service, URL u, int line, String msg) argument
152 fail(service, u + ":" + line + ": " + msg);
156 * Parse a single line from the given configuration file, adding the name
157 * on the line to both the names list and the returned set iff the name is
/openjdk7/langtools/test/tools/javac/
H A DT6403466.java111 String line;
113 while ((line = in.readLine()) != null)
114 lines.add(line);
140 line++;
143 System.err.println(line + ": expected: " + ref);
144 System.err.println(line + ": found: " + s);
150 int line; field in class:VerifyingTaskListener
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/util/
H A DSimpleLocator.java35 int line, column; field in class:SimpleLocator
41 public SimpleLocator(String lsid, String esid, int line, int column) { argument
42 this(lsid, esid, line, column, -1);
45 public void setValues(String lsid, String esid, int line, int column) { argument
46 setValues(lsid, esid, line, column, -1);
49 public SimpleLocator(String lsid, String esid, int line, int column, int offset) { argument
50 this.line = line;
57 public void setValues(String lsid, String esid, int line, int column, int offset) { argument
58 this.line
102 setLineNumber(int line) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/sound/sampled/
H A DAudioInputStream.java147 * data line indicated. The format of the stream is the same as that of
148 * the target data line, and the length is AudioSystem#NOT_SPECIFIED.
149 * @param line the target data line from which this stream obtains its data.
152 public AudioInputStream(TargetDataLine line) { argument
154 TargetDataLineInputStream tstream = new TargetDataLineInputStream(line);
155 format = line.getFormat();
462 TargetDataLine line; field in class:AudioInputStream.TargetDataLineInputStream
465 TargetDataLineInputStream(TargetDataLine line) { argument
467 this.line
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/
H A DDebugSettings.java49 * 'awtdebug' props as system properties on the command line.
115 * with any command line specified properties
195 * load properties from system props (command line spec'd usually),
271 private native synchronized void setCTracingOn(boolean enabled, String file, int line); argument
280 // Filter out file/line ctrace properties from debug settings
292 // sort traces list so file-level traces will be before line-level ones
318 // set line specific trace setting
/openjdk7/jdk/src/share/classes/java/util/
H A DServiceLoader.java71 * provider classes, one per line. Space and tab characters surrounding each
74 * each line all characters following the first comment character are ignored.
125 * <p> This file contains the single line:
234 private static void fail(Class service, URL u, int line, String msg) argument
237 fail(service, u + ":" + line + ": " + msg);
240 // Parse a single line from the given configuration file, adding the name
241 // on the line to the names list.
414 * <blockquote style="font-size: smaller; line-height: 1.2"><span
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSoftMixingMainMixer.java225 public void openLine(SoftMixingDataLine line) { argument
227 openLinesList.add(line);
233 public void closeLine(SoftMixingDataLine line) { argument
235 openLinesList.remove(line);
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/
H A DEventRequestSpecList.java75 createClassLineBreakpoint(String classPattern, int line) { argument
78 return new LineBreakpointSpec(this, refSpec, line);
82 createSourceLineBreakpoint(String sourceName, int line) { argument
84 new SourceNameReferenceTypeSpec(sourceName, line);
85 return new LineBreakpointSpec(this, refSpec, line);
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DSourceModel.java59 // Cached line-by-line access.
137 public Line line(int lineNo) { method in class:SourceModel
150 Line line = line(lineNo);
151 if (line == null) {
154 return line.text;
185 line(ln).hasBreakpoint = hasBreakpoint;
190 line(ln).refType = refType;
223 String line
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/tty/
H A DEventRequestSpecList.java111 BreakpointSpec createBreakpoint(String classPattern, int line) argument
115 return new BreakpointSpec(refSpec, line);
/openjdk7/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/
H A DLogCleanupReader.java46 private char[] line = new char[1024]; field in class:LogCleanupReader
66 String s = new String(line, 0, length);
88 s.getChars(0, s.length(), line, 0);
113 if (i >= line.length) {
114 // copy and enlarge the line array
115 char[] newLine = new char[line.length * 2];
116 System.arraycopy(line, 0, newLine, 0, line.length);
117 line = newLine;
119 line[
[all...]
/openjdk7/hotspot/src/share/vm/adlc/
H A Dfilebuff.hpp58 char *_bufeol; // A pointer to the last complete line end
75 // This returns a pointer to the start of the current line in the buffer,
76 // and increments bufeol and filepos to point at the end of that line.
79 void set_linenum(int line) { _linenum = line; } argument
96 int _sol; // Start of line where the file area starts
97 int _line; // First line of region
100 FileBuffRegion(FileBuff*, int sol, int line, int offset, int len);
/openjdk7/jdk/make/tools/src/build/tools/javazic/
H A DRuleRec.java44 private String line; field in class:RuleRec
76 return line;
80 * Sets the line from the text file.
81 * @param line the text of the line
83 void setLine(String line) { argument
84 this.line = line;
144 * Parses a Rule line and returns a RuleRec object.
H A DZoneRec.java42 * line of the "Zone" part.
58 private String line; field in class:ZoneRec
151 * @return the text line of this zone record
154 return line;
158 * Sets the specified text line to this zone record
160 void setLine(String line) { argument
161 this.line = line;
206 * Parses a Zone text line that is described by a StringTokenizer.
207 * @param tokens represents tokens of a Zone text line
[all...]
H A DZoneinfo.java203 private static String line; field in class:Zoneinfo
228 while ((line = in.readLine()) != null) {
231 if (line.length() == 0 || line.charAt(0) == '#') {
236 int rindex = line.lastIndexOf('#');
238 // take the data part of the line
239 l = line.substring(0, rindex);
241 l = line;
268 zrec.setLine(line);
288 rrec.setLine(line);
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCAccessibleText.java185 static int[] getRangeForLine(final Accessible a, final Component c, final int line) { argument
189 return getRangeForLine(a, line);
322 // Determine line number (can be -1)
336 final Element line = root.getElement(lineIndex);
337 if (line == null) return null;
339 return new int[] { line.getStartOffset(), line.getEndOffset() };
/openjdk7/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...]
/openjdk7/jaxws/src/share/jaf_classes/com/sun/activation/registries/
H A DMimeTypeFile.java117 String line = null, prev = null;
119 while ((line = buf_reader.readLine()) != null) {
121 prev = line;
123 prev += line;
139 private void parseEntry(String line) { argument
142 line = line.trim();
144 if (line.length() == 0) // empty line...
147 // check to see if this is a comment line
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/fmt/
H A DJStaticJavaFile.java111 String line;
112 while((line=r.readLine())!=null) {
113 line = filter.process(line);
114 if(line!=null)
115 w.println(line);
119 throw new IOException("unable to process "+source+" line:"+lineNumber+"\n"+e.getMessage());
135 public String process(String line) {
136 if(!line.startsWith("package ")) return line;
170 process(String line) argument
182 process(String line) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_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
66 * exceed the line length limitation for the transport (1000 bytes for
91 * blank line separating the header from the body. The input
106 * blank line separating the header from the body. Store the
116 // Read header lines until a blank line. It is valid
118 String line;
120 String prevline = null; // the previous header line, as a string
125 //while ((line = lis.readLine()) != null) {
127 line = lis.readLine();
128 if (line !
301 addHeaderLine(String line) argument
343 String line; // the entire RFC822 header "line" field in class:hdr
[all...]

Completed in 63 milliseconds

123456