Searched defs:position (Results 51 - 75 of 154) sorted by relevance

1234567

/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/
H A DBranchInstruction.java75 protected int position; // Byte code offset field in class:BranchInstruction
120 throw new ClassGenException("Invalid branch target position offset for " +
123 return t - position;
132 * Called by InstructionList.setPositions when setting the position for every
142 position += offset;
149 * <position in byte code>
174 t = "" + (index + position);
267 position=-1;
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/
H A DArrayNodeListIterator.java87 public int getNodeByPosition(int position) { argument
88 return _nodes[position - 1];
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/io/
H A DUTF8Reader.java619 * Mark the present position in the stream. Subsequent calls to reset()
672 private void expectedByte(int position, int count) argument
679 new Object[] {Integer.toString(position), Integer.toString(count)});
684 private void invalidByte(int position, int count, int c) argument
691 new Object [] {Integer.toString(position), Integer.toString(count)});
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/models/
H A DCMNodeFactory.java92 public CMNode getCMLeafNode(int type, Object leaf, int id, int position) { argument
93 return new XSCMLeaf(type, leaf, id, position) ;
97 int minOccurs, int maxOccurs, int id, int position) {
99 return new XSCMRepeatingLeaf(type, leaf, minOccurs, maxOccurs, id, position);
96 getCMRepeatingLeafNode(int type, Object leaf, int minOccurs, int maxOccurs, int id, int position) argument
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/
H A DDTMAxisIteratorBase.java34 /** The position of the last node within the iteration, as defined by XPath.
36 * confuse it with the current (most recently returned) position.
40 /** The position of the current node within the iteration, as defined by XPath.
45 /** The position of the marked node within the iteration;
113 /** Returns the position of the last node within the iteration, as
130 // -- and explicitly saving our position counter (number of nodes
133 // %REVIEW% Should position also be saved by setMark()?
154 * @return The position of the current node within the set, as defined by
221 * Reset the position to zero. NOTE that this does not change the iteration
222 * state, only the position numbe
268 getNodeByPosition(int position) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DTypeCodeOutputStream.java137 public void addIDAtPosition(String id, int position) { argument
140 //if (TypeCodeImpl.debug) System.out.println(this + " adding id " + id + " at position " + position);
141 typeMap.put(id, new Integer(position));
147 //if (TypeCodeImpl.debug) System.out.println("Getting position " + ((Integer)typeMap.get(id)).intValue() +
166 //System.out.println("Parent position before writing kind = " + ((CDROutputStream)s).getIndex());
172 //System.out.println("Parent position after writing kind = " + ((CDROutputStream)s).getIndex());
193 //System.out.println("Parent position after writing all " + getIndex() + " bytes = " + ((CDROutputStream)s).getIndex());
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DGapVector.java120 * Replace the given logical position in the storage with
125 * @param position the location to make the replacement. This
131 protected void replace(int position, int rmSize, Object addItems, int addSize) { argument
134 close(position, rmSize);
138 close(position+addSize, rmSize-addSize);
142 int end = open(position + rmSize, endSize);
146 System.arraycopy(addItems, addOffset, array, position, addSize);
150 * Delete nItems at position. Squeezes any marks
151 * within the deleted area to position. This moves
156 void close(int position, in argument
189 open(int position, int nItems) argument
[all...]
H A DSegment.java89 * an implementation of the interface method Document.getText(position,length,Segment)
91 * state of the flag is false which will cause Document.getText(position,length,Segment)
127 * Sets the position to getBeginIndex() and returns the character at that
128 * position.
142 * Sets the position to getEndIndex()-1 (getEndIndex() if the text is empty)
143 * and returns the character at that position.
158 * Gets the character at the current position (as returned by getIndex()).
159 * @return the character at the current position or DONE if the current
160 * position is off the end of the text.
176 * @return the character at the new position o
215 setIndex(int position) argument
[all...]
/openjdk7/jdk/src/share/classes/java/nio/
H A DBuffer.java34 * buffer are its capacity, limit, and position: </p>
45 * <p> A buffer's <i>position</i> is the index of the next element to be
46 * read or written. A buffer's position is never negative and is never
62 * at the current position and then increment the position by the number of
69 * affect the position. Absolute <i>get</i> and <i>put</i> operations throw
77 * current position.
82 * <p> A buffer's <i>mark</i> is the index to which its position will be reset
85 * than the position. If the mark is defined then it is discarded when the
86 * position o
178 private int position = 0; field in class:Buffer
217 public final int position() { method in class:Buffer
234 public final Buffer position(int newPosition) { method in class:Buffer
[all...]
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DFileChannel.java43 * a file. It has a current <i>position</i> within its file which can
44 * be both {@link #position() <i>queried</i>} and {@link #position(long)
61 * position in a file in a way that does not affect the channel's current
62 * position. </p></li>
87 * channel's position or can change its file's size may be in progress at any
90 * operations, in particular those that take an explicit position, may proceed
114 * method returned the channel. Changing the channel's position, whether
115 * explicitly or by reading or writing bytes, will change the file position of
140 * operation first advances the position t
432 public abstract long position() throws IOException; method in class:FileChannel
460 public abstract FileChannel position(long newPosition) throws IOException; method in class:FileChannel
618 transferTo(long position, long count, WritableByteChannel target) argument
685 transferFrom(ReadableByteChannel src, long position, long count) argument
732 read(ByteBuffer dst, long position) argument
777 write(ByteBuffer src, long position) argument
914 map(MapMode mode, long position, long size) argument
1010 lock(long position, long size, boolean shared) argument
1121 tryLock(long position, long size, boolean shared) argument
[all...]
/openjdk7/hotspot/src/share/vm/code/
H A DcompressedStream.hpp52 CompressedStream(u_char* buffer, int position = 0) {
54 _position = position;
60 int position() const { return _position; } function in class:CompressedStream
61 void set_position(int position) { _position = position; } argument
72 CompressedReadStream(u_char* buffer, int position = 0)
73 : CompressedStream(buffer, position) {}
111 CompressedWriteStream(u_char* buffer, int initial_size, int position = 0)
112 : CompressedStream(buffer, position) { _size = initial_size; }
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ControlFlow/src/com/sun/hotspot/igv/controlflow/
H A DHierarchicalGraphLayout.java86 private Point position; field in class:HierarchicalGraphLayout.VertexWrapper
104 this.position = w.getPreferredLocation();
117 return position;
122 position = p;
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Graph/src/com/sun/hotspot/igv/graph/
H A DSlot.java124 public abstract void setPosition(int position); argument
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/HierarchicalLayout/src/com/sun/hotspot/igv/hierarchicallayout/
H A DClusterInputSlotNode.java39 private Point position; field in class:ClusterInputSlotNode
123 this.position = p;
127 return position;
H A DClusterOutputSlotNode.java39 private Point position; field in class:ClusterOutputSlotNode
111 this.position = p;
115 return position;
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaButtonExtendedTypes.java106 public SegmentedBorderDefinedTypeSpecifier(final String name, final Widget widget, final SegmentPosition position, final SizeVariant variant) { argument
107 this(name, widget, position, variant, 0, 0, 0, 0);
110 public SegmentedBorderDefinedTypeSpecifier(final String name, final Widget widget, final SegmentPosition position, final SizeVariant variant, final int smallW, final int smallH, final int miniW, final int miniH) { argument
113 border.painter.state.set(position);
/openjdk7/hotspot/src/share/vm/opto/
H A Dvectornode.cpp419 Node* ExtractNode::make(Compile* C, Node* v, uint position, BasicType bt) { argument
420 assert((int)position < Matcher::max_vector_size(bt), "pos in range");
421 ConINode* pos = ConINode::make(C, (int)position);
/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DFileChannelImpl.c156 jlong position, jlong count,
160 off64_t offset = (off64_t)position;
181 sfv.sfv_off = (off64_t)position;
211 result = sendfile(srcFD, dstFD, position, &numBytes, NULL, 0);
154 Java_sun_nio_ch_FileChannelImpl_transferTo0(JNIEnv *env, jobject this, jint srcFD, jlong position, jlong count, jint dstFD) argument
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DFileChannelImpl.c178 jlong position, jlong count,
176 Java_sun_nio_ch_FileChannelImpl_transferTo0(JNIEnv *env, jobject this, jint srcFD, jlong position, jlong count, jint dstFD) argument
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/
H A DLock.java224 LockSlaveMirror lock(long position, long size, boolean shared) argument
227 sendCommand(LOCK_CMD, position + "," + size + "," + shared);
325 long position = Long.parseLong(values[0]);
328 fl = fc.lock(position, size, shared);
/openjdk7/langtools/src/share/classes/com/sun/javadoc/
H A DDoc.java257 * Return the source position of the first line of the
259 * no position is available. A default constructor returns
264 SourcePosition position(); method in interface:Doc
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DExecutableMemberDocImpl.java264 * Return the source position of the entity, or null if
265 * no position is available.
268 public SourcePosition position() { method in class:ExecutableMemberDocImpl
H A DFieldDocImpl.java259 * Return the source position of the entity, or null if
260 * no position is available.
263 public SourcePosition position() { method in class:FieldDocImpl
H A DPackageDocImpl.java60 private JCCompilationUnit tree = null; // for source position
370 * Return the source position of the entity, or null if
371 * no position is available.
373 public SourcePosition position() { method in class:PackageDocImpl
H A DRootDocImpl.java349 * Return the source position of the entity, or null if
350 * no position is available.
353 public SourcePosition position() { method in class:RootDocImpl

Completed in 77 milliseconds

1234567