Searched refs:offset (Results 301 - 325 of 1222) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DMicToken_v2.java58 public void verify(byte[] data, int offset, int len) throws GSSException { argument
59 if (!verifySign(data, offset, len))
108 public int encode(byte[] outToken, int offset) throws IOException { argument
110 System.arraycopy(token, 0, outToken, offset, token.length);
/openjdk7/jdk/test/javax/crypto/Cipher/
H A DGCMAPI.java97 private static void updateAADPass(byte[] src, int offset, int len) { argument
99 c.updateAAD(src, offset, len);
108 private static void updateAADFail(byte[] src, int offset, int len) { argument
110 c.updateAAD(src, offset, len);
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DTextPipe.java47 char data[], int offset, int length,
46 drawChars(SunGraphics2D g2d, char data[], int offset, int length, int x, int y) argument
/openjdk7/jdk/src/share/classes/sun/misc/
H A DUUEncoder.java136 protected void encodeAtom(OutputStream outStream, byte data[], int offset, int len) argument
141 a = data[offset];
143 b = data[offset+1];
146 c = data[offset+2];
H A DUCEncoder.java110 protected void encodeAtom(OutputStream outStream, byte data[], int offset, int len) throws IOException argument
116 a = data[offset];
118 b = data[offset+1];
/openjdk7/jdk/src/share/classes/java/io/
H A DConsole.java419 public int read(char cbuf[], int offset, int length) argument
422 int off = offset;
423 int end = offset + length;
424 if (offset < 0 || offset > cbuf.length || length < 0 ||
450 if (off - offset == 0)
452 return off - offset;
467 return off - offset;
479 return off - offset;
497 return off - offset;
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DDictionaryBasedBreakIterator.java144 * (i.e., the CharacterIterator's starting offset).
145 * @return The offset of the beginning of the text.
156 * (i.e., the CharacterIterator's ending offset).
157 * @return The text's past-the-end offset.
198 * @param offset The position to begin searching from
199 * @return The position of the last boundary before "offset"
201 public int preceding(int offset) { argument
203 checkOffset(offset, text);
205 // if we have no cached break positions, or "offset" is outside the
209 if (cachedBreakPositions == null || offset <
236 following(int offset) argument
[all...]
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DThreadLocalRandom.java164 // (offset) and whether to continue with the lower vs upper
166 long offset = 0;
172 offset += n - nextn;
175 return offset + nextInt((int) n);
/openjdk7/jdk/src/share/classes/javax/crypto/spec/
H A DRC2ParameterSpec.java81 * <code>offset</code> inclusive.
83 * <code>iv[offset]</code> and <code>iv[offset+7]</code> inclusive.
87 * of the buffer beginning at <code>offset</code> inclusive
89 * @param offset the offset in <code>iv</code> where the 8-byte IV
93 public RC2ParameterSpec(int effectiveKeyBits, byte[] iv, int offset) { argument
97 if (iv.length - offset < blockSize) {
101 System.arraycopy(iv, offset, this.iv, 0, blockSize);
H A DRC5ParameterSpec.java94 * <code>offset</code> inclusive.
96 * <code>offset</code> inclusive, must be twice the word size.
98 * <code>iv[offset]</code> and <code>iv[offset+2*(wordSize/8)-1]</code>
105 * </code> bytes of the buffer beginning at <code>offset</code>
107 * @param offset the offset in <code>iv</code> where the IV starts.
110 * <code>(iv.length - offset < 2 * (wordSize / 8))</code>
113 byte[] iv, int offset) {
119 if (iv.length - offset < blockSiz
112 RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int offset) argument
[all...]
/openjdk7/hotspot/src/cpu/sparc/vm/
H A DinterpreterRT_sparc.cpp46 __ ld(Llocals, Interpreter::local_offset_in_bytes(offset()), Rtmp);
56 __ ldx(Llocals, Interpreter::local_offset_in_bytes(offset() + 1), Rtmp);
59 __ ld(Llocals, Interpreter::local_offset_in_bytes(offset() + 1), Rtmp);
61 __ ld(Llocals, Interpreter::local_offset_in_bytes(offset() + 0), Rtmp);
72 __ ldf(FloatRegisterImpl::S, Llocals, Interpreter::local_offset_in_bytes(offset()), Rtmp);
76 __ ld(Llocals, Interpreter::local_offset_in_bytes(offset()), Rtmp);
86 __ ldf(FloatRegisterImpl::D, Llocals, Interpreter::local_offset_in_bytes(offset() + 1), Rtmp);
90 __ ld(Llocals, Interpreter::local_offset_in_bytes(offset() + 1), Rtmp);
92 __ ld(Llocals, Interpreter::local_offset_in_bytes(offset()), Rtmp);
100 Argument java_arg( offset(), tru
[all...]
/openjdk7/jdk/make/tools/src/build/tools/generatecharacter/
H A DPrintCharacterRanges.java111 private int offset; field in class:PrintCharacterRanges.ShiftRange
113 ShiftRange(int begin, int end, int offset) { argument
116 this.offset = offset;
121 int offset() { return offset; } method in class:PrintCharacterRanges.ShiftRange
136 int offset = methodRes - i;
139 } else if (offset != currentRangeOffset) {
143 currentRangeOffset = offset;
169 describe((range.begin() + range.offset()))
[all...]
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DDESKeyGenerator.java124 * for 8 key bytes, starting at <code>offset</code>.
137 static void setParityBit(byte[] key, int offset) { argument
142 int b = key[offset] & 0xfe;
144 key[offset++] = (byte)b;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/
H A DLocatorEx.java50 private final int columnNumber,lineNumber,offset; field in class:LocatorEx.Snapshot
63 offset = vel.getOffset();
78 return offset;
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DSegmentArrayProcessor.cpp72 le_int16 offset = SWAPW(lookupSegment->value); local
74 if (offset != 0) {
75 LEReferenceToArrayOf<TTGlyphID> glyphArray(subtableHeader, success, offset, LE_UNBOUNDED_ARRAY);
H A DSegmentArrayProcessor2.cpp72 le_int16 offset = SWAPW(lookupSegment->value); local
74 if (offset != 0) {
75 TTGlyphID *glyphArray = (TTGlyphID *) ((char *) subtableHeader.getAliasTODO() + offset);
/openjdk7/jdk/src/share/classes/java/nio/
H A DX-Buffer.java.template267 final int offset;
271 // backing array, and array offset
274 $type$[] hb, int offset)
278 this.offset = offset;
318 * offset<code>} will be zero.
340 * <tt>array.length</tt>, its position will be <tt>offset</tt>, its limit
341 * will be <tt>offset + length</tt>, and its mark will be undefined. Its
343 * its {@link #arrayOffset </code>array offset<code>} will be zero. </p>
348 * @param offset
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A Dframe.hpp193 oop obj_at(int offset) const { return *obj_at_addr(offset); }
194 void obj_at_put(int offset, oop value) { *obj_at_addr(offset) = value; } argument
196 jint int_at(int offset) const { return *int_at_addr(offset); }
197 void int_at_put(int offset, jint value) { *int_at_addr(offset) = value; } argument
199 oop* obj_at_addr(int offset) const { return (oop*) addr_at(offset); }
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/
H A DXMLEntityScanner.java601 int offset = fCurrentEntity.position;
615 int length = fCurrentEntity.position - offset;
620 System.arraycopy(fCurrentEntity.ch, offset,
625 System.arraycopy(fCurrentEntity.ch, offset,
628 offset = 0;
634 int length = fCurrentEntity.position - offset;
640 symbol = fSymbolTable.addSymbol(fCurrentEntity.ch, offset, length);
681 int offset = fCurrentEntity.position;
682 if (XMLChar.isNameStart(fCurrentEntity.ch[offset])) {
685 fCurrentEntity.ch[0] = fCurrentEntity.ch[offset];
1738 load(int offset, boolean changeEntity) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/amd64/
H A DAMD64CurrentFrameGuess.java122 for (long offset = 0;
123 offset < regionInBytesToSearch;
124 offset += vm.getAddressSize()) {
126 Address curSP = sp.addOffsetTo(offset);
144 System.out.println("CurrentFrameGuess: Exception " + e + " at offset " + offset);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/x86/
H A DX86CurrentFrameGuess.java122 for (long offset = 0;
123 offset < regionInBytesToSearch;
124 offset += vm.getAddressSize()) {
126 Address curSP = sp.addOffsetTo(offset);
144 System.out.println("CurrentFrameGuess: Exception " + e + " at offset " + offset);
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DDataBufferUShort.java124 * using the specified array, size, and offset. <CODE>dataArray</CODE> must have at
125 * least <CODE>offset</CODE> + <CODE>size</CODE> elements. Only elements
126 * <CODE>offset</CODE> through <CODE>offset</CODE> + <CODE>size</CODE> - 1 should
136 * @param offset The offset into the <CODE>dataArray</CODE>.
138 public DataBufferUShort(short dataArray[], int size, int offset) { argument
139 super(UNTRACKABLE, TYPE_USHORT, size, 1, offset);
143 if ((size+offset) > dataArray.length) {
145 " than size+offset
[all...]
/openjdk7/jdk/src/share/classes/java/security/
H A DSignatureSpi.java119 * specified array of bytes, starting at the specified offset.
122 * @param off the offset to start from in the array of bytes
123 * @param len the number of bytes to use, starting at offset
187 * <code>offset</code>.
203 * @param offset offset into <code>outbuf</code> where the signature is
224 protected int engineSign(byte[] outbuf, int offset, int len) argument
231 if (outbuf.length - offset < sig.length) {
236 System.arraycopy(sig, 0, outbuf, offset, sig.length);
257 * of bytes, starting at the specified offset
274 engineVerify(byte[] sigBytes, int offset, int length) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSoftSincResampler.java60 public static float[] wHanning(int size, float offset) { argument
64 * Math.cos(2.0 * Math.PI * (double)(k + offset)
71 public static float[] sincTable(int size, float offset, float scale) { argument
73 float[] w = wHanning(size, offset);
75 w[k] *= sinc((-center + k + offset) * scale) * scale;
/openjdk7/hotspot/src/cpu/zero/vm/
H A Dstack_zero.hpp161 intptr_t *addr_of_word(int offset) const {
162 return (intptr_t *) this - offset;
164 intptr_t value_of_word(int offset) const {
165 return *addr_of_word(offset);
212 int offset,

Completed in 98 milliseconds

<<11121314151617181920>>