Searched defs:offset (Results 401 - 425 of 840) sorted by relevance

<<11121314151617181920>>

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DOopUtilities.java100 public static String charArrayToString(TypeArray charArray, int offset, int length) { argument
104 final int limit = offset + length;
106 Assert.that(offset >= 0 && limit <= charArray.getLength(), "out of bounds");
109 for (int i = offset; i < limit; i++) {
144 offsetField = (IntField) k.findField("offset", "I"); // optional
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DSSLEngine.java556 * @param offset
557 * The offset within the buffer array of the first buffer from
563 * <code>srcs.length</code>&nbsp;-&nbsp;<code>offset</code>
574 * if the preconditions on the <code>offset</code> and
588 public abstract SSLEngineResult wrap(ByteBuffer [] srcs, int offset, argument
717 * @param offset
718 * The offset within the buffer array of the first buffer from
724 * <code>dsts.length</code>&nbsp;-&nbsp;<code>offset</code>.
733 * If the preconditions on the <code>offset</code> and
748 ByteBuffer [] dsts, int offset, in
747 unwrap(ByteBuffer src, ByteBuffer [] dsts, int offset, int length) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTextArea.java364 * Translates an offset into the components text to a
367 * @param offset the offset >= 0
369 * @exception BadLocationException thrown if the offset is
372 public int getLineOfOffset(int offset) throws BadLocationException { argument
374 if (offset < 0) {
375 throw new BadLocationException("Can't translate offset to line", -1);
376 } else if (offset > doc.getLength()) {
377 throw new BadLocationException("Can't translate offset to line", doc.getLength()+1);
380 return map.getElementIndex(offset);
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DCompositeView.java171 * @param offset the starting index into the child views to insert
174 * this should be a value >= 0 and <= (getViewCount() - offset)
179 public void replace(int offset, int length, View[] views) { argument
186 for (int i = offset; i < offset + length; i++) {
197 int src = offset + length;
204 System.arraycopy(children, 0, newChildren, 0, offset);
205 System.arraycopy(views, 0, newChildren, offset, views.length);
211 System.arraycopy(views, 0, children, offset, views.length);
416 // NOTE: this could actually use end offset wit
[all...]
H A DStringContent.java161 chars.offset = where;
169 * @param offset the offset to create a position for >= 0
173 public Position createPosition(int offset) throws BadLocationException { argument
179 return new StickyPosition(offset);
186 * @param offset offset into the array to start the replace
189 * @param replOffset offset into the replacement array
193 void replace(int offset, int length, argument
196 int src = offset
221 updateMarksForInsert(int offset, int length) argument
241 updateMarksForRemove(int offset, int length) argument
273 getPositionsInRange(Vector v, int offset, int length) argument
326 PosRec(int offset) argument
330 int offset; field in class:StringContent.PosRec
342 StickyPosition(int offset) argument
392 InsertUndo(int offset, int length) argument
431 protected int offset; field in class:StringContent.InsertUndo
447 RemoveUndo(int offset, String string) argument
489 protected int offset; field in class:StringContent.RemoveUndo
[all...]
H A DTableView.java211 public void replace(int offset, int length, View[] views) { argument
212 super.replace(offset, length, views);
299 * @param offsets the return value of the offset from the
644 public void replace(int offset, int length, View[] views) { argument
645 super.replace(offset, length, views);
H A DUtilities.java79 * @param startOffset starting offset of the text in the document >= 0
100 * @param startOffset starting offset of the text in the document >= 0
124 int txtOffset = s.offset;
126 int flushIndex = s.offset;
132 int offset = - startOffset + txtOffset;
136 offset += parent.getStartOffset();
141 justificationData[Row.SPACE_ADDON_LEFTOVER_END] + offset;
143 justificationData[Row.START_JUSTIFIABLE] + offset;
145 justificationData[Row.END_JUSTIFIABLE] + offset;
147 int n = s.offset
861 isComposedTextElement(Document doc, int offset) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DHRuleView.java237 public View breakView(int axis, int offset, float pos, float len) { argument
/openjdk7/jdk/src/share/classes/org/ietf/jgss/
H A DGSSContext.java219 * @param offset the offset within the inputBuf where the token begins.
236 public byte[] initSecContext(byte inputBuf[], int offset, int len) argument
372 * @param offset the offset within the inToken where the token begins.
388 public byte[] acceptSecContext(byte inToken[], int offset, int len) argument
557 * @param offset the offset within the inBuf where the data begins.
571 public byte[] wrap(byte inBuf[], int offset, int len, argument
638 * @param offset th
654 unwrap(byte[] inBuf, int offset, int len, MessageProp msgProp) argument
733 getMIC(byte []inMsg, int offset, int len, MessageProp msgProp) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/im/
H A DCompositionAreaHandler.java266 public Rectangle getTextLocation(TextHitInfo offset) { argument
269 return compositionArea.getTextLocation(offset);
276 return requests.getTextLocation(offset);
H A DInputMethodContext.java278 public Rectangle getTextLocation(TextHitInfo offset) { argument
279 return getReq().getTextLocation(offset);
/openjdk7/jdk/src/share/classes/sun/font/
H A DCMap.java148 int offset, platformID, encodingID=-1;
165 offset = cmapBuffer.getInt();
167 case 0: three0 = offset; break; // MS Symbol encoding
168 case 1: three1 = offset; break; // MS Unicode cmap
169 case 2: three2 = offset; break; // ShiftJIS cmap.
170 case 3: three3 = offset; break; // GBK cmap
171 case 4: three4 = offset; break; // Big 5 cmap
172 case 5: three5 = offset; break; // Wansung
173 case 6: three6 = offset; break; // Johab
174 case 10: three10 = offset; brea
398 createCMap(ByteBuffer buffer, int offset, char[] xlat) argument
463 CMapFormat4(ByteBuffer bbuffer, int offset, char[] xlat) argument
620 CMapFormat0(ByteBuffer buffer, int offset) argument
734 CMapFormat2(ByteBuffer buffer, int offset, char[] xlat) argument
842 CMapFormat6(ByteBuffer bbuffer, int offset, char[] xlat) argument
884 CMapFormat8(ByteBuffer bbuffer, int offset, char[] xlat) argument
914 CMapFormat10(ByteBuffer bbuffer, int offset, char[] xlat) argument
953 CMapFormat12(ByteBuffer buffer, int offset, char[] xlat) argument
[all...]
H A DCompositeFont.java314 public void getStyleMetrics(float pointSize, float[] metrics, int offset) { argument
317 super.getStyleMetrics(pointSize, metrics, offset);
319 font.getStyleMetrics(pointSize, metrics, offset);
H A DFileFont.java113 abstract ByteBuffer readBlock(int offset, int length); argument
H A DType1Font.java271 public synchronized ByteBuffer readBlock(int offset, int length) { argument
275 if (offset > fileSize) {
276 offset = fileSize;
278 mappedBuf.position(offset);
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DDirectColorModel.java913 * <code>offset</code>, even if the array is allocated by this method.
917 * <code>offset</code>.
921 * @param offset the offset into the <code>components</code> array at
924 * specified pixel starting at the specified offset.
926 final public int[] getComponents(int pixel, int[] components, int offset) { argument
928 components = new int[offset+numComponents];
932 components[offset+i] = (pixel & maskArray[i]) >>> maskOffsets[i];
950 * starting at <code>offset</code>, even if the array is allocated by
954 * alpha components, starting at <code>offset</cod
977 getComponents(Object pixel, int[] components, int offset) argument
1063 getDataElement(int[] components, int offset) argument
1113 getDataElements(int[] components, int offset, Object obj) argument
[all...]
H A DMemoryImageSource.java126 * @param off the offset into the array of where to store the
144 * @param off the offset into the array of where to store the
166 * @param off the offset into the array of where to store the
184 * @param off the offset into the array of where to store the
219 * @param off the offset into the array of where to store the
237 * @param off the offset into the array of where to store the
498 * @param offset the offset into the array
505 int offset, int scansize) {
508 this.pixeloffset = offset;
504 newPixels(byte[] newpix, ColorModel newmodel, int offset, int scansize) argument
527 newPixels(int[] newpix, ColorModel newmodel, int offset, int scansize) argument
[all...]
/openjdk7/jdk/src/share/classes/java/lang/
H A DAbstractStringBuilder.java292 * Returns the index within this sequence that is offset from the
298 * @param index the index to be offset
299 * @param codePointOffset the offset in code points
330 * @param srcBegin start copying at this offset.
331 * @param srcEnd stop copying at this offset.
333 * @param dstBegin offset into <code>dst</code>.
516 * index {@code offset}, are appended, in order, to the contents
526 * @param offset the index of the first {@code char} to append.
530 * if {@code offset < 0} or {@code len < 0}
531 * or {@code offset
533 append(char str[], int offset, int len) argument
897 insert(int index, char[] str, int offset, int len) argument
932 insert(int offset, Object obj) argument
967 insert(int offset, String str) argument
1004 insert(int offset, char[] str) argument
1127 insert(int offset, boolean b) argument
1150 insert(int offset, char c) argument
1177 insert(int offset, int i) argument
1200 insert(int offset, long l) argument
1223 insert(int offset, float f) argument
1246 insert(int offset, double d) argument
[all...]
H A DStringBuffer.java321 public synchronized StringBuffer append(char[] str, int offset, int len) { argument
322 super.append(str, offset, len);
419 public synchronized StringBuffer insert(int index, char[] str, int offset, argument
422 super.insert(index, str, offset, len);
429 public synchronized StringBuffer insert(int offset, Object obj) { argument
430 super.insert(offset, String.valueOf(obj));
437 public synchronized StringBuffer insert(int offset, String str) { argument
438 super.insert(offset, str);
445 public synchronized StringBuffer insert(int offset, char[] str) { argument
446 super.insert(offset, st
477 insert(int offset, boolean b) argument
484 insert(int offset, char c) argument
492 insert(int offset, int i) argument
499 insert(int offset, long l) argument
506 insert(int offset, float f) argument
513 insert(int offset, double d) argument
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DBidi.java179 * @param lineStart the offset from the start of the paragraph to the start of the line.
180 * @param lineLimit the offset from the start of the paragraph to the limit of the line.
239 * Return the resolved level of the character at offset. If offset is <0 or >=
241 * @param offset the index of the character for which to return the level
242 * @return the resolved level of the character at offset
244 public int getLevelAt(int offset) { argument
245 return bidiBase.getLevelAt(offset);
267 * an offset from the start of the line.
277 * an offset fro
[all...]
H A DBreakIterator.java328 * Returns the first boundary following the specified character offset. If the
329 * specified offset equals to the last text boundary, it returns
332 * The value returned is always greater than the offset or the value
334 * @param offset the character offset to begin scanning.
335 * @return The first boundary after the specified offset or
337 * as the offset.
338 * @exception IllegalArgumentException if the specified offset is less than
341 public abstract int following(int offset); argument
344 * Returns the last boundary preceding the specified character offset
358 preceding(int offset) argument
377 isBoundary(int offset) argument
663 getLong(byte[] buf, int offset) argument
671 getInt(byte[] buf, int offset) argument
679 getShort(byte[] buf, int offset) argument
[all...]
H A DDigitList.java655 private static final int parseInt(char[] str, int offset, int strLen) { argument
658 if ((c = str[offset]) == '-') {
660 offset++;
662 offset++;
666 while (offset < strLen) {
667 c = str[offset++];
/openjdk7/jdk/src/share/classes/java/util/
H A DAbstractList.java453 * offset of the subList within the backing list, the size of the subList
464 * after bounds-checking the index and adjusting for the offset. The
615 private final int offset; field in class:SubList
627 offset = fromIndex;
635 return l.set(index+offset, element);
641 return l.get(index+offset);
652 l.add(index+offset, element);
660 E result = l.remove(index+offset);
668 l.removeRange(fromIndex+offset, toIndex+offset);
[all...]
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DZipOutputStream.java48 public final long offset; field in class:ZipOutputStream.XEntry
49 public XEntry(ZipEntry entry, long offset) { argument
51 this.offset = offset;
293 * @param off the start offset in the data
449 long offset = xentry.offset;
462 if (xentry.offset >= ZIP64_MAGICVAL) {
463 offset = ZIP64_MAGICVAL;
464 e64len += 8; // offset(
[all...]
/openjdk7/hotspot/src/share/vm/ci/
H A DciInstanceKlass.hpp175 ciInstanceKlass* get_canonical_holder(int offset);
197 bool contains_field_offset(int offset) { argument
198 return instanceOopDesc::contains_field_offset(offset, nonstatic_field_size());

Completed in 77 milliseconds

<<11121314151617181920>>