Searched defs:position (Results 76 - 100 of 154) sorted by relevance

1234567

/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DKeyUsageExtension.java83 * @param position the position in the bit string to check.
85 private boolean isSet(int position) { argument
86 return bitString[position];
90 * Set the bit at the specified position.
92 private void set(int position, boolean val) { argument
94 if (position >= bitString.length) {
95 boolean[] tmp = new boolean[position+1];
99 bitString[position] = val;
H A DNetscapeCertTypeExtension.java93 MapEntry(String name, int position) { argument
95 mPosition = position;
136 * @param position the position in the bit string to check.
138 private boolean isSet(int position) { argument
139 return bitString[position];
143 * Set the bit at the specified position.
145 private void set(int position, boolean val) { argument
147 if (position >= bitString.length) {
148 boolean[] tmp = new boolean[position
[all...]
H A DReasonFlags.java99 * @param position the position in the bit string to check.
101 private boolean isSet(int position) { argument
102 return bitString[position];
106 * Set the bit at the specified position.
108 private void set(int position, boolean val) { argument
110 if (position >= bitString.length) {
111 boolean[] tmp = new boolean[position+1];
115 bitString[position] = val;
/openjdk7/jdk/src/share/classes/sun/swing/
H A DDefaultLayoutStyle.java50 ComponentPlacement type, int position, Container parent) {
55 checkPosition(position);
58 (position == SwingConstants.EAST ||
59 position == SwingConstants.WEST)) {
60 int indent = getIndent(component1, position);
69 public int getContainerGap(JComponent component, int position, argument
74 checkPosition(position);
83 int position) {
84 if (position == SwingConstants.EAST ||
85 position
49 getPreferredGap(JComponent component1, JComponent component2, ComponentPlacement type, int position, Container parent) argument
82 isLabelAndNonlabel(JComponent c1, JComponent c2, int position) argument
106 getButtonGap(JComponent source, JComponent target, int position, int offset) argument
130 getButtonGap(JComponent source, int position, int offset) argument
139 getButtonGap(JComponent c, int position) argument
151 checkPosition(int position) argument
160 flipDirection(int position) argument
180 getIndent(JComponent c, int position) argument
216 isLeftAligned(AbstractButton button, int position) argument
227 isRightAligned(AbstractButton button, int position) argument
238 getInset(JComponent c, int position) argument
242 getInset(Insets insets, int position) argument
[all...]
/openjdk7/jdk/src/share/demo/jfc/Notepad/
H A DElementTreePanel.java449 * Returns a TreePath to the element at <code>position</code>.
451 protected TreePath getPathForIndex(int position, Object root, argument
455 position));
460 child = child.getElement(child.getElementIndex(position));
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DRenderBuffer.java108 public final int position() { method in class:RenderBuffer
112 public final void position(long numBytes) { method in class:RenderBuffer
144 position(position() + lengthInBytes);
159 // assert (position() % SIZEOF_SHORT == 0);
170 // assert (position() % SIZEOF_SHORT == 0);
175 position(position() + lengthInBytes);
196 // assert (position() % SIZEOF_INT == 0);
207 // assert (position()
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DAsynchronousFileChannelImpl.java106 abstract <A> Future<FileLock> implLock(long position, argument
113 public final Future<FileLock> lock(long position, argument
118 return implLock(position, size, shared, null, null);
122 public final <A> void lock(long position, argument
130 implLock(position, size, shared, attachment, handler);
162 protected final FileLockImpl addToFileLockTable(long position, long size, boolean shared) { argument
176 fli = new FileLockImpl(this, position, size, shared);
212 long position,
217 public final Future<Integer> read(ByteBuffer dst, long position) { argument
218 return implRead(dst, position, nul
211 implRead(ByteBuffer dst, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument
222 read(ByteBuffer dst, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument
232 implWrite(ByteBuffer src, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument
239 write(ByteBuffer src, long position) argument
244 write(ByteBuffer src, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument
[all...]
H A DFileLockTable.java152 checkList(list, fl.position(), fl.size());
248 private void checkList(List<FileLockReference> list, long position, long size) argument
254 if (fl != null && fl.overlaps(position, size))
H A DIOUtil.java46 static int write(FileDescriptor fd, ByteBuffer src, long position, argument
51 return writeFromNativeBuffer(fd, src, position, nd);
54 int pos = src.position();
63 src.position(pos);
65 int n = writeFromNativeBuffer(fd, bb, position, nd);
68 src.position(pos + n);
77 long position, NativeDispatcher nd)
80 int pos = bb.position();
88 if (position != -1) {
91 rem, position);
76 writeFromNativeBuffer(FileDescriptor fd, ByteBuffer bb, long position, NativeDispatcher nd) argument
185 read(FileDescriptor fd, ByteBuffer dst, long position, NativeDispatcher nd) argument
207 readIntoNativeBuffer(FileDescriptor fd, ByteBuffer bb, long position, NativeDispatcher nd) argument
[all...]
H A DIOVecWrapper.java57 // Buffers and position/remaining corresponding to elements in iovec array
59 private final int[] position; field in class:IOVecWrapper
88 this.position = new int[size];
112 this.position[i] = pos;
125 return position[i];
H A DSimpleAsynchronousFileChannelImpl.java174 <A> Future<FileLock> implLock(final long position, argument
186 final FileLockImpl fli = addToFileLockTable(position, size, shared);
207 n = nd.lock(fdObj, true, position, size, shared);
244 public FileLock tryLock(long position, long size, boolean shared) argument
253 FileLockImpl fli = addToFileLockTable(position, size, shared);
263 n = nd.lock(fdObj, false, position, size, shared);
285 nd.release(fdObj, fli.position(), fli.size());
290 final long position,
294 if (position < 0)
295 throw new IllegalArgumentException("Negative position");
289 implRead(final ByteBuffer dst, final long position, final A attachment, final CompletionHandler<Integer,? super A> handler) argument
345 implWrite(final ByteBuffer src, final long position, final A attachment, final CompletionHandler<Integer,? super A> handler) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/
H A DChunkedIntArray.java107 * the record, both 0-based (though position 0 is reserved for special
109 * @param position int Record number
112 int readEntry(int position, int offset) throws ArrayIndexOutOfBoundsException argument
117 return fastArray[(position*slotsize)+offset];
125 position*=slotsize;
126 int chunkpos = position >> lowbits;
127 int slotpos = position & lowmask;
133 // Check that the node at index "position" is not an ancestor
135 // RETURN -1. If position is NOT an ancestor, return position
139 specialFind(int startPos, int position) argument
194 writeEntry(int position, int offset, int value) argument
223 writeSlot(int position, int w0, int w1, int w2, int w3) argument
247 readSlot(int position, int[] buffer) argument
[all...]
/openjdk7/jaxp/src/com/sun/xml/internal/stream/
H A DEntity.java297 public int position; field in class:Entity.ScannedEntity
322 /** This variable is used to calculate the current position in the XML stream.
323 * Note that fCurrentEntity.position maintains the position relative to
325 * At any point of time absolute position in the XML stream can be calculated
326 * as fTotalCountTillLastLoad + fCurrentEntity.position
338 /** Start position in character buffer. */
463 str.append(",position="+position);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJLayeredPane.java111 * A component can be moved to the top or bottom position within its
114 * The position of a component within a layer can also be specified directly.
117 * position. A value of 0 indicates the topmost position. Unlike layer
118 * numbers, higher position values are <i>lower</i> in the display.
124 * Here are some examples using the method add(Component, layer, position):
294 /// MAKE SURE THIS AND setLayer(Component c, int layer, int position) are SYNCED
349 * also sets its position within that layer.
354 * @param position an int specifying the position withi
358 setLayer(Component c, int layer, int position) argument
457 setPosition(Component c, int position) argument
643 insertIndexForLayer(int layer, int position) argument
660 insertIndexForLayer(Component comp, int layer, int position) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DCompositeView.java240 * @param pos the position to convert >= 0
244 * @return the bounding box of the given position
245 * @exception BadLocationException if the given position does
283 * @param p0 the position to convert >= 0
286 * position is a boundary of two views; either
289 * @param p1 the position to convert >= 0
292 * position is a boundary of two views
294 * @return the bounding box of the given position is returned
295 * @exception BadLocationException if the given position does
439 * @param pos the position t
776 flipEastAndWestAtEnds(int position, Position.Bias bias) argument
[all...]
/openjdk7/jdk/src/share/classes/java/security/
H A DSecurity.java315 * Adds a new provider, at a specified position. The position is
317 * requested algorithms. The position is 1-based, that is,
320 * <p>If the given provider is installed at the requested position,
321 * the provider that used to be at that position, and all providers
322 * with a position greater than <code>position</code>, are shifted up
323 * one position (towards the end of the list of installed providers).
341 * @param position the preference position tha
358 insertProviderAt(Provider provider, int position) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DChoice.java219 * @param index the new item position
241 * Inserts the item into this choice at the specified position.
255 * @param index the position at which the item should be inserted
303 * at the specified position. If the item
309 * @param position the position of the item
311 * position is out of bounds
314 public void remove(int position) { argument
316 removeNoInvalidate(position);
325 * specified position, bu
330 removeNoInvalidate(int position) argument
[all...]
H A DMultipleGradientPaintContext.java474 // multiplying the normalized current position by the total color
518 * @param position the unmanipulated position, which will be mapped
522 protected final int indexIntoGradientsArrays(float position) { argument
523 // first, manipulate position value depending on the cycle method
525 if (position > 1) {
527 position = 1;
528 } else if (position < 0) {
530 position = 0;
535 position
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Graph/src/com/sun/hotspot/igv/graph/
H A DFigure.java55 private Point position; field in class:Figure
105 this.position = new Point(0, 0);
164 this.position = p;
168 return position;
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/HierarchicalLayout/src/com/sun/hotspot/igv/hierarchicallayout/
H A DClusterNode.java49 private Point position; field in class:ClusterNode
60 position = new Point(0, 0);
172 return position;
177 this.position = pos;
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/
H A DPaint.java158 @XmlAttribute private float position; field in class:GradientStop
159 public float getPosition() { return position; }
/openjdk7/jdk/src/macosx/native/jobjc/src/core/java/com/apple/jobjc/
H A DNativeBuffer.java71 public int position() { return buffer.position(); } method in class:NativeBuffer
72 public NativeBuffer position(int newPosition) { buffer.position(newPosition); return this; } method in class:NativeBuffer
86 if(position() == i)
99 return bufferPtr + position();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/
H A DLabel.java63 * A label represents a position in the bytecode of a method. Labels are used
79 * Indicates if the position of this label is known.
159 * The position of this label in the code, if known.
161 int position; field in class:Label
171 * position of the first byte of the bytecode instruction that contains the
172 * forward reference, while the second is the position of the first byte of
175 * gives the position of the bytecode instruction. This array is also used
246 * does not contain successive labels that denote the same bytecode position
292 throw new IllegalStateException("Label offset position has not been resolved yet");
294 return position;
386 resolve( final MethodWriter owner, final int position, final byte[] data) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DFileDispatcherImpl.java39 * Indicates if the dispatcher should first advance the file position
63 int pread(FileDescriptor fd, long address, int len, long position) argument
66 return pread0(fd, address, len, position);
77 int pwrite(FileDescriptor fd, long address, int len, long position) argument
80 return pwrite0(fd, address, len, position);
129 long position) throws IOException;
138 long position) throws IOException;
128 pread0(FileDescriptor fd, long address, int len, long position) argument
137 pwrite0(FileDescriptor fd, long address, int len, long position) argument
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DDocImpl.java399 * Return the source position of the entity, or null if
400 * no position is available.
402 public SourcePosition position() { return null; } method in class:DocImpl

Completed in 58 milliseconds

1234567