Searched refs:offset (Results 251 - 275 of 1222) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DCipherBox.java233 int encrypt(byte[] buf, int offset, int len) { argument
247 System.arraycopy(buf, offset,
248 buf, offset + prefix.length, len);
252 buf, offset, prefix.length);
257 len = addPadding(buf, offset, len, blockSize);
267 new ByteArrayInputStream(buf, offset, len),
271 int newLen = cipher.update(buf, offset, len, buf, offset);
396 int decrypt(byte[] buf, int offset, int len, argument
403 int newLen = cipher.update(buf, offset, le
533 addPadding(byte[] buf, int offset, int len, int blockSize) argument
604 checkPadding( byte[] buf, int offset, int len, byte pad) argument
667 removePadding(byte[] buf, int offset, int len, int tagLen, int blockSize, ProtocolVersion protocolVersion) argument
[all...]
/openjdk7/jdk/test/java/text/BreakIterator/
H A DExceptionTest.java125 private static void checkFollowingException(BreakIterator bi, int offset) { argument
127 bi.following(offset);
131 throw new RuntimeException(bi + ": following() doesn't throw an IAE with offset "
132 + offset);
135 private static void checkPrecedingException(BreakIterator bi, int offset) { argument
137 bi.preceding(offset);
141 throw new RuntimeException(bi + ": preceding() doesn't throw an IAE with offset "
142 + offset);
145 private static void checkIsBoundaryException(BreakIterator bi, int offset) { argument
147 bi.isBoundary(offset);
[all...]
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DManifestDigester.java42 /** the offset/length pair for a section */
57 * @param offset should point to the starting offset with in the
65 private boolean findSection(int offset, Position pos) argument
67 int i = offset, len = rawBytes.length;
68 int last = offset;
193 int offset; field in class:ManifestDigester.Entry
199 public Entry(int offset, int length, argument
202 this.offset = offset;
219 doOldStyle(MessageDigest md, byte[] bytes, int offset, int length) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DConstMethod.java317 long offset = offsetOfLocalVariableTable();
319 ret[i] = new LocalVariableTableElement(getHandle(), offset);
320 offset += localVariableTableElementSize;
334 long offset = offsetOfExceptionTable();
336 ret[i] = new ExceptionTableElement(getHandle(), offset);
337 offset += exceptionTableElementSize;
351 long offset = offsetOfCheckedExceptions();
353 ret[i] = new CheckedExceptionElement(getHandle(), offset);
354 offset += checkedExceptionElementSize;
397 long offset
[all...]
H A DField.java34 Field(FieldIdentifier id, long offset, boolean isVMField) { argument
35 this.offset = offset;
46 offset = holder.getFieldOffset(fieldIndex);
59 private long offset; field in class:Field
70 /** Returns the byte offset of the field within the object or klass */
71 public long getOffset() { return offset; }
H A DIntField.java31 public IntField(FieldIdentifier id, long offset, boolean isVMField) { argument
32 super(id, offset, isVMField);
H A DNarrowOopField.java31 public NarrowOopField(FieldIdentifier id, long offset, boolean isVMField) { argument
32 super(id, offset, isVMField);
H A DOopField.java31 public OopField(FieldIdentifier id, long offset, boolean isVMField) { argument
32 super(id, offset, isVMField);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DXMLStringBuffer.java78 * <code>offset</code>, and <code>length</code> fields directly.
134 public XMLStringBuffer(char[] ch, int offset, int length) { argument
136 append(ch, offset, length);
151 offset = 0;
199 * @param offset
202 public void append(char[] ch, int offset, int length) { argument
215 System.arraycopy(ch, offset, this.ch, this.length, length);
226 append(s.ch, s.offset, s.length);
/openjdk7/hotspot/src/share/vm/utilities/
H A DelfSymbolTable.cpp71 bool ElfSymbolTable::lookup(address addr, int* stringtableIndex, int* posIndex, int* offset) { argument
73 assert(posIndex, "null string table offset pointer");
74 assert(offset, "null offset pointer");
88 if (sym_addr < addr && (addr - sym_addr) < *offset) {
90 *offset = (int)(addr - pc);
109 if (sym_addr < addr && (addr - sym_addr) < *offset) {
111 *offset = (int)(addr - pc);
H A Ddecoder_elf.cpp37 bool ElfDecoder::decode(address addr, char *buf, int buflen, int* offset, const char* filepath) { argument
46 if (!file->decode(addr, buf, buflen, offset)) {
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DWindowsAsynchronousFileChannelImpl.c39 jlong handle, jlong address, jint len, jlong offset, jlong ov)
44 lpOverlapped->Offset = (DWORD)offset;
45 lpOverlapped->OffsetHigh = (DWORD)((long)(offset >> 32));
69 jlong handle, jlong address, jint len, jlong offset, jlong ov)
74 lpOverlapped->Offset = (DWORD)offset;
75 lpOverlapped->OffsetHigh = (DWORD)((long)(offset >> 32));
38 Java_sun_nio_ch_WindowsAsynchronousFileChannelImpl_readFile(JNIEnv* env, jclass this, jlong handle, jlong address, jint len, jlong offset, jlong ov) argument
68 Java_sun_nio_ch_WindowsAsynchronousFileChannelImpl_writeFile(JNIEnv* env, jclass this, jlong handle, jlong address, jint len, jlong offset, jlong ov) argument
/openjdk7/jdk/src/share/classes/sun/misc/
H A DRegexp.java105 /** Returns true iff the substring of s from offset for len characters
107 boolean matches(String s, int offset, int len) { argument
110 exp.regionMatches(ignoreCase, 0, s, offset, len);
115 0, s, offset, prefixLen)
119 0, s, offset + len - suffixLen,
125 int spos = offset + prefixLen;
126 int limit = offset+len-suffixLen;
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DIOVecWrapper.java142 int offset = SIZE_IOVEC * i + BASE_OFFSET;
144 vecArray.putInt(offset, (int)base);
146 vecArray.putLong(offset, base);
150 int offset = SIZE_IOVEC * i + LEN_OFFSET;
152 vecArray.putInt(offset, (int)len);
154 vecArray.putLong(offset, len);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DIDLJavaSerializationInputStream.java449 public void read_boolean_array(boolean[] value, int offset, int length){ argument
451 value[i+offset] = read_boolean();
455 public void read_char_array(char[] value, int offset, int length) { argument
457 value[i+offset] = read_char();
461 public void read_wchar_array(char[] value, int offset, int length) { argument
462 read_char_array(value, offset, length);
465 public void read_octet_array(byte[] value, int offset, int length) { argument
467 value[i+offset] = read_octet();
472 int n = is.read(value, offset, length);
473 offset
482 read_short_array(short[] value, int offset, int length) argument
488 read_ushort_array(short[] value, int offset, int length) argument
492 read_long_array(int[] value, int offset, int length) argument
498 read_ulong_array(int[] value, int offset, int length) argument
502 read_longlong_array(long[] value, int offset, int length) argument
508 read_ulonglong_array(long[] value, int offset, int length) argument
512 read_float_array(float[] value, int offset, int length) argument
518 read_double_array(double[] value, int offset, int length) argument
748 read_any_array(org.omg.CORBA.AnySeqHolder seq, int offset, int length) argument
753 read_any_array(org.omg.CORBA.Any[] value, int offset, int length) argument
760 read_boolean_array(org.omg.CORBA.BooleanSeqHolder seq, int offset, int length) argument
765 read_char_array(org.omg.CORBA.CharSeqHolder seq, int offset, int length) argument
770 read_wchar_array(org.omg.CORBA.WCharSeqHolder seq, int offset, int length) argument
775 read_octet_array(org.omg.CORBA.OctetSeqHolder seq, int offset, int length) argument
780 read_short_array(org.omg.CORBA.ShortSeqHolder seq, int offset, int length) argument
785 read_ushort_array(org.omg.CORBA.UShortSeqHolder seq, int offset, int length) argument
790 read_long_array(org.omg.CORBA.LongSeqHolder seq, int offset, int length) argument
795 read_ulong_array(org.omg.CORBA.ULongSeqHolder seq, int offset, int length) argument
800 read_ulonglong_array(org.omg.CORBA.ULongLongSeqHolder seq, int offset, int length) argument
805 read_longlong_array(org.omg.CORBA.LongLongSeqHolder seq, int offset, int length) argument
810 read_float_array(org.omg.CORBA.FloatSeqHolder seq, int offset, int length) argument
815 read_double_array(org.omg.CORBA.DoubleSeqHolder seq, int offset, int length) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DNumberFormatter.java346 void replace(DocumentFilter.FilterBypass fb, int offset, int length, argument
350 toggleSignIfNecessary(fb, offset, string.charAt(0))) {
353 super.replace(fb, offset, length, string, attr);
362 int offset, char aChar) throws
365 NumberFormat.Field field = getFieldFrom(offset, -1);
377 newValue = toggleExponentSign(offset, aChar);
380 int lc = getLiteralCountTo(offset);
386 repositionCursor(getLiteralCountTo(offset) -
387 lc + offset, 1);
447 private Object toggleExponentSign(int offset, cha argument
361 toggleSignIfNecessary(DocumentFilter.FilterBypass fb, int offset, char aChar) argument
[all...]
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...]
H A DStyledDocument.java79 * @param offset the start of the change >= 0
89 public void setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace); argument
94 * @param offset the start of the change >= 0
104 public void setParagraphAttributes(int offset, int length, AttributeSet s, boolean replace); argument
129 * encloses the given offset within the document.
131 * @param pos the offset >= 0
138 * is at the given offset within the document.
140 * @param pos the offset >= 0
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DInstruction.java46 /** Opcode is followed by a 2-byte branch offset. */
48 /** Opcode is followed by a 4-byte branch offset. */
99 R visitBranch(Instruction instr, int offset, P p); argument
165 public int getByte(int offset) { argument
166 return bytes[pc + offset];
170 public int getUnsignedByte(int offset) { argument
171 return getByte(offset) & 0xff;
175 public int getShort(int offset) { argument
176 return (getByte(offset) << 8) | getUnsignedByte(offset
180 getUnsignedShort(int offset) argument
185 getInt(int offset) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DWrapToken.java113 * @param tokenOffset the offset of the token
198 * @param dataBufOffset the offset at which to write the data
220 * @param dataBufOffset the offset at which to write the data
299 * @param dataBufOffset the offset at which to write the data
343 int offset = dataBufOffset;
345 readFully(is, dataBuf, offset, 8);
346 offset += 8;
356 System.arraycopy(finalBlock, 0, dataBuf, offset,
470 public int encode(byte[] outToken, int offset) argument
477 System.arraycopy(header, 0, outToken, offset, heade
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/sparc/
H A DV9AlternateSpaceDecoder.java39 SPARCRegisterIndirectAddress newRegisterIndirectAddress(SPARCRegister rs1, int offset) { argument
40 return new SPARCV9RegisterIndirectAddress(rs1, offset);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/types/basic/
H A DBasicCIntegerField.java37 boolean isStatic, long offset, Address staticFieldAddress) {
38 super(db, containingType, name, type, isStatic, offset, staticFieldAddress);
36 BasicCIntegerField(BasicTypeDataBase db, Type containingType, String name, Type type, boolean isStatic, long offset, Address staticFieldAddress) argument
H A DBasicOopField.java42 boolean isStatic, long offset, Address staticFieldAddress) {
43 super(db, containingType, name, type, isStatic, offset, staticFieldAddress);
41 BasicOopField(BasicTypeDataBase db, Type containingType, String name, Type type, boolean isStatic, long offset, Address staticFieldAddress) argument
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/
H A DExternalClient.java116 public byte[] unwrap(byte[] incoming, int offset, int len) argument
131 public byte[] wrap(byte[] outgoing, int offset, int len) argument
/openjdk7/hotspot/src/os/windows/vm/
H A Ddecoder_windows.hpp49 bool decode(address addr, char *buf, int buflen, int* offset, const char* modulepath = NULL);
50 bool decode(address addr, char *buf, int buflen, int* offset, const void* base) { argument

Completed in 66 milliseconds

<<11121314151617181920>>