/openjdk7/jdk/src/macosx/classes/sun/nio/ch/ |
H A D | KQueueArrayWrapper.java | 123 int offset = SIZEOF_KEVENT*index + FILTER_OFFSET; 124 short filter = keventArray.getShort(offset); 139 int offset = SIZEOF_KEVENT*index + FD_OFFSET; 144 long fd = keventArray.getLong(offset); 148 return keventArray.getInt(offset);
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/ |
H A D | LZWStringTable.java | 158 * @param offset offset to place expanded data 169 public int expandCode(byte[] buf, int offset, short code, int skipHead) { argument 170 if (offset == -2) { 183 int bufSpace = buf.length - offset; // how much space left 192 int idx = offset + expandLen; // initialise to exclusive end address of buffer area 196 while ((idx > offset) && (code != (short)0xFFFF)) {
|
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/ |
H A D | Stroker.java | 81 private final float[][] offset = new float[3][2]; field in class:Stroker 363 computeOffset(dx, dy, lineWidth2, offset[0]); 364 float mx = offset[0][0]; 365 float my = offset[0][1]; 536 computeOffset(x2 - x1, y2 - y1, lineWidth2, offset[0]); 537 left[0] = x1 + offset[0][0]; 538 left[1] = y1 + offset[0][1]; 539 left[2] = x2 + offset[0][0]; 540 left[3] = y2 + offset[0][1]; 541 right[0] = x1 - offset[ [all...] |
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/ |
H A D | SerialBlob.java | 295 * invalid offset value is set 318 * @param offset the offset in the <code>byte</code> array at which 319 * to start reading the bytes. The first offset position is 328 * invalid offset value is set; if number of bytes to be written 330 * values of the length and offset is greater than the Blob buffer 335 public int setBytes(long pos, byte[] bytes, int offset, int length) argument 338 if (offset < 0 || offset > bytes.length) { 339 throw new SerialException("Invalid offset i [all...] |
/openjdk7/jdk/src/share/classes/java/awt/geom/ |
H A D | QuadCurve2D.java | 554 * the specified offset in the specified array. 556 * @param offset the index into the array from which to start 561 public void setCurve(double[] coords, int offset) { argument 562 setCurve(coords[offset + 0], coords[offset + 1], 563 coords[offset + 2], coords[offset + 3], 564 coords[offset + 4], coords[offset + 5]); 585 * <code>Point2D</code> objects at the specified offset i 594 setCurve(Point2D[] pts, int offset) argument 667 getFlatnessSq(double coords[], int offset) argument 685 getFlatness(double coords[], int offset) argument [all...] |
/openjdk7/jdk/src/share/classes/java/util/concurrent/atomic/ |
H A D | AtomicReferenceArray.java | 128 private E getRaw(long offset) { argument 129 return (E) unsafe.getObjectVolatile(array, offset); 163 long offset = checkedByteOffset(i); 165 E current = getRaw(offset); 166 if (compareAndSetRaw(offset, current, newValue)) 185 private boolean compareAndSetRaw(long offset, E expect, E update) { argument 186 return unsafe.compareAndSwapObject(array, offset, expect, update);
|
H A D | AtomicLongFieldUpdater.java | 270 private final long offset; field in class:AtomicLongFieldUpdater.CASUpdater 297 offset = unsafe.objectFieldOffset(field); 309 return unsafe.compareAndSwapLong(obj, offset, expect, update); 314 return unsafe.compareAndSwapLong(obj, offset, expect, update); 319 unsafe.putLongVolatile(obj, offset, newValue); 324 unsafe.putOrderedLong(obj, offset, newValue); 329 return unsafe.getLongVolatile(obj, offset); 351 private final long offset; field in class:AtomicLongFieldUpdater.LockedUpdater 378 offset = unsafe.objectFieldOffset(field); 391 long v = unsafe.getLong(obj, offset); [all...] |
/openjdk7/jdk/src/share/classes/com/sun/rmi/rmid/ |
H A D | ExecOptionPermission.java | 302 int last, offset; 304 offset = pname.length() - 1; 306 while ((last = pname.lastIndexOf(".", offset)) != -1) { 314 offset = last - 1; 319 offset = pname.length() - 1; 321 while ((last = pname.lastIndexOf("=", offset)) != -1) { 329 offset = last - 1;
|
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/model/ |
H A D | JavaObjectArray.java | 45 public JavaObjectArray(long classID, long offset) { argument 46 super(offset); 153 long offset = getOffset() + idSize + 4; 154 int len = buf.getInt(offset); 162 long offset = getOffset() + idSize + 4; 163 int len = buf.getInt(offset); 168 buf.get(offset + 4 + idSize, res);
|
/openjdk7/hotspot/test/compiler/7047069/ |
H A D | Test7047069.java | 111 public static double getFlatnessSq(float coords[], int offset) { argument 112 return Line2D.ptSegDistSq(coords[offset + 0], coords[offset + 1], 113 coords[offset + 4], coords[offset + 5], 114 coords[offset + 2], coords[offset + 3]);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ |
H A D | DataHead.java | 185 int offset; field in class:DataHead.ReadMultiStream 199 sz = Math.min(sz, len-offset); 200 System.arraycopy(buf,offset,b,off,sz); 201 offset += sz; 209 return (buf[offset++] & 0xff); 224 while(offset==len) { 234 this.offset = 0;
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | WindowPropertyGetter.java | 40 private final long offset; field in class:WindowPropertyGetter 45 public WindowPropertyGetter(long window, XAtom property, long offset, argument 60 this.offset = offset; 70 public WindowPropertyGetter(long window, XAtom property, long offset, argument 73 this(window, property, offset, length, auto_delete, type.getAtom()); 106 offset, length, (auto_delete?1:0), type,
|
/openjdk7/hotspot/src/share/vm/asm/ |
H A D | assembler.cpp | 134 ICache::invalidate_range(addr_at(0), offset()); 151 // offset() is the position the label refers to. 258 // Push the target offset into the branch instruction. 321 RegisterOrConstant AbstractAssembler::delayed_value(int(*value_fn)(), Register tmp, int offset) { argument 323 if (val != 0) return val + offset; 324 return delayed_value_impl(delayed_value_addr(value_fn), tmp, offset); 326 RegisterOrConstant AbstractAssembler::delayed_value(address(*value_fn)(), Register tmp, int offset) { argument 328 if (val != 0) return val + offset; 329 return delayed_value_impl(delayed_value_addr(value_fn), tmp, offset); 345 code_section()->outer()->block_comment(offset(), commen 356 needs_explicit_null_check(intptr_t offset) argument [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/pipe/ |
H A D | SpanClipRenderer.c | 67 fill(jbyte *alpha, jint offset, jint tsize, argument 70 alpha += offset + y * tsize + x; 124 jbyteArray alphaTile, jint offset, jint tsize, jintArray boxArray) 141 if (alphalen < offset || (alphalen - offset) / tsize < h) { 148 fill(alpha, offset, tsize, 0, 0, w, h, (jbyte) 0xff); 154 alphaTile, offset, tsize, 161 jbyteArray alphaTile, jint offset, jint tsize, jintArray boxArray) 206 if (alphalen < offset || 207 alphalen < offset 122 Java_sun_java2d_pipe_SpanClipRenderer_fillTile(JNIEnv *env, jobject sr, jobject ri, jbyteArray alphaTile, jint offset, jint tsize, jintArray boxArray) argument 159 Java_sun_java2d_pipe_SpanClipRenderer_eraseTile(JNIEnv *env, jobject sr, jobject ri, jbyteArray alphaTile, jint offset, jint tsize, jintArray boxArray) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/ |
H A D | Encoder.java | 737 * @param offset the offset into the array of characters. 741 protected final void encodeCharacters(char[] ch, int offset, int length) throws IOException { argument 743 encodeNonIdentifyingStringOnThirdBit(ch, offset, length, _v.characterContentChunk, addToTable, true); 754 * @param offset the offset into the array of characters. 758 protected final void encodeCharactersNoClone(char[] ch, int offset, int length) throws IOException { argument 760 encodeNonIdentifyingStringOnThirdBit(ch, offset, length, _v.characterContentChunk, addToTable, false); 771 * @param offset the offset int 776 encodeNumericFourBitCharacters(char[] ch, int offset, int length, boolean addToTable) argument 795 encodeDateTimeFourBitCharacters(char[] ch, int offset, int length, boolean addToTable) argument 814 encodeFourBitCharacters(int id, int[] table, char[] ch, int offset, int length, boolean addToTable) argument 864 encodeAlphabetCharacters(String alphabet, char[] ch, int offset, int length, boolean addToTable) argument 956 encodeComment(char[] ch, int offset, int length) argument 975 encodeCommentNoClone(char[] ch, int offset, int length) argument 1273 encodeNonIdentifyingStringOnFirstBit(char[] ch, int offset, int length, CharArrayIntMap map, boolean addToTable, boolean clone) argument 1460 encodeAIIOctetAlgorithmData(int id, byte[] d, int offset, int length) argument 1510 encodeAIIBuiltInAlgorithmData(int id, Object data, int offset, int length) argument 1542 encodeNonIdentifyingStringOnThirdBit(char[] ch, int offset, int length, CharArrayIntMap map, boolean addToTable, boolean clone) argument 1667 encodeNonIdentifyingStringOnThirdBit(String URI, int id, byte[] d, int offset, int length) argument 1689 encodeCIIOctetAlgorithmData(int id, byte[] d, int offset, int length) argument 1739 encodeCIIBuiltInAlgorithmData(int id, Object data, int offset, int length) argument 1767 encodeCIIBuiltInAlgorithmDataAsCDATA(char[] ch, int offset, int length) argument 1859 encodeNonEmptyCharacterStringOnFifthBit(char[] ch, int offset, int length) argument 1900 encodeNonEmptyCharacterStringOnSeventhBit(char[] ch, int offset, int length) argument 1917 encodeNonEmptyFourBitCharacterStringOnSeventhBit(int[] table, char[] ch, int offset, int length) argument 1926 encodeNonEmptyFourBitCharacterString(int[] table, char[] ch, int offset, int octetPairLength, int octetSingleLength) argument 1959 encodeNonEmptyNBitCharacterStringOnSeventhBit(String alphabet, char[] ch, int offset, int length) argument 2209 encodeNonEmptyUTF8StringAsOctetString(int b, char ch[], int offset, int length, int[] constants) argument 2328 write(byte[] b, int offset, int length) argument 2441 encodeUTF8String(char[] ch, int offset, int length) argument 2532 encodeUtf16String(char[] ch, int offset, int length) argument [all...] |
/openjdk7/hotspot/src/cpu/sparc/vm/ |
H A D | assembler_sparc.inline.hpp | 46 inline bool Address::is_simm13(int offset) { return Assembler::is_simm13(disp() + offset); } argument 122 inline void Assembler::ldf(FloatRegisterImpl::Width w, const Address& a, FloatRegister d, int offset) { relocate(a.rspec(offset)); ldf( w, a.base(), a.disp() + offset, d); } argument 173 inline void Assembler::ld( const Address& a, Register d, int offset) { argument 174 if (a.has_index()) { assert(offset == 0, ""); ld( a.base(), a.index(), d); } 175 else { ld( a.base(), a.disp() + offset, d); } 177 inline void Assembler::ldsb(const Address& a, Register d, int offset) { argument 178 if (a.has_index()) { assert(offset 181 ldsh(const Address& a, Register d, int offset) argument 185 ldsw(const Address& a, Register d, int offset) argument 189 ldub(const Address& a, Register d, int offset) argument 193 lduh(const Address& a, Register d, int offset) argument 197 lduw(const Address& a, Register d, int offset) argument 201 ldd( const Address& a, Register d, int offset) argument 205 ldx( const Address& a, Register d, int offset) argument 221 add(const Address& a, Register d, int offset) argument 226 add(Register s1, RegisterOrConstant s2, Register d, int offset) argument 244 prefetch(const Address& a, PrefetchFcn f, int offset) argument 262 stf( FloatRegisterImpl::Width w, FloatRegister d, const Address& a, int offset) argument 296 stb(Register d, const Address& a, int offset) argument 300 sth(Register d, const Address& a, int offset) argument 304 stw(Register d, const Address& a, int offset) argument 308 st( Register d, const Address& a, int offset) argument 312 std(Register d, const Address& a, int offset) argument 316 stx(Register d, const Address& a, int offset) argument 339 sub(Register s1, RegisterOrConstant s2, Register d, int offset) argument 389 ld_ptr(const Address& a, Register d, int offset) argument 428 st_ptr(Register d, const Address& a, int offset) argument 461 ld_long(const Address& a, Register d, int offset) argument 688 load_contents(const AddressLiteral& addrlit, Register d, int offset) argument 699 load_bool_contents(const AddressLiteral& addrlit, Register d, int offset) argument 710 load_ptr_contents(const AddressLiteral& addrlit, Register d, int offset) argument 721 store_contents(Register s, const AddressLiteral& addrlit, Register temp, int offset) argument 732 store_ptr_contents(Register s, const AddressLiteral& addrlit, Register temp, int offset) argument 744 jumpl_to(const AddressLiteral& addrlit, Register temp, Register d, int offset) argument 753 jump_to(const AddressLiteral& addrlit, Register temp, int offset) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | IDLJavaSerializationOutputStream.java | 298 int offset, int length) { 300 write_boolean(value[offset + i]); 304 public final void write_char_array(char[] value, int offset, int length) { argument 306 write_char(value[offset + i]); 310 public final void write_wchar_array(char[] value, int offset, int length) { argument 311 write_char_array(value, offset, length); 314 public final void write_octet_array(byte[] value, int offset, int length) { argument 316 os.write(value, offset, length); 323 int offset, int length) { 325 write_short(value[offset 297 write_boolean_array(boolean[] value, int offset, int length) argument 322 write_short_array(short[] value, int offset, int length) argument 329 write_ushort_array(short[] value, int offset, int length) argument 334 write_long_array(int[] value, int offset, int length) argument 340 write_ulong_array(int[] value, int offset, int length) argument 344 write_longlong_array(long[] value, int offset, int length) argument 351 write_ulonglong_array(long[] value, int offset,int length) argument 356 write_float_array(float[] value, int offset, int length) argument 363 write_double_array(double[] value, int offset, int length) argument 574 write_any_array(org.omg.CORBA.Any[] value, int offset, int length) argument [all...] |
/openjdk7/hotspot/agent/src/os/bsd/ |
H A D | symtab.c | 46 uintptr_t offset; member in struct:elf_symbol 154 // allocate memory for storing symbol offset and size; 173 symtab->symbols[j].offset = syms->st_value - baseaddr; 228 uintptr_t rslt = (uintptr_t) ((char*)base + sym->offset); 236 const char* nearest_symbol(struct symtab* symtab, uintptr_t offset, argument 243 offset >= sym->offset && offset < sym->offset + sym->size) { 244 if (poffset) *poffset = (offset [all...] |
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | MessageDigest.java | 297 * at the specified offset. 301 * @param offset the offset to start from in the array of bytes. 304 * <code>offset</code>. 306 public void update(byte[] input, int offset, int len) { argument 310 if (input.length - offset < len) { 313 engineUpdate(input, offset, len); 364 * @param offset offset into the output buffer to begin storing the digest 372 public int digest(byte[] buf, int offset, in argument 567 engineUpdate(byte[] input, int offset, int len) argument 579 engineDigest(byte[] buf, int offset, int len) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/cmm/lcms/ |
H A D | LCMSImageLayout.java | 100 int offset; field in class:LCMSImageLayout 113 offset = 0; 125 offset = 0; 221 offset = safeMult(4, intRaster.getDataOffset(0)); 235 offset = byteRaster.getDataOffset(firstBand); 246 offset = byteRaster.getDataOffset(0); 257 offset = safeMult(2, shortRaster.getDataOffset(0)); 282 if (offset < 0 || offset >= dataArrayLength) { 296 int off = safeAdd(offset, lastPixelOffse [all...] |
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | machnode.cpp | 177 MachNode *MachNode::cisc_version(int offset, Compile* C) { argument 245 const Node* MachNode::get_base_and_disp(intptr_t &offset, const TypePtr* &adr_type) const { argument 254 offset = 0; 258 offset = Type::OffsetBot; 260 // Base may be NULL, even if offset turns out to be != 0 265 // See if it adds up to a base + offset. 271 // [R12 + narrow_oop_reg<<3 + offset] 273 offset = disp; 274 adr_type = t_index->make_ptr()->add_offset(offset); 287 offset 321 intptr_t offset = 0; local 486 int offset = constant_table.find_offset(_constant); local [all...] |
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | String.java | 173 * of the character array argument. The {@code offset} argument is the 182 * @param offset 183 * The initial offset 189 * If the {@code offset} and {@code count} arguments index 192 public String(char value[], int offset, int count) { argument 193 if (offset < 0) { 194 throw new StringIndexOutOfBoundsException(offset); 199 // Note: offset or count might be near -1>>>1. 200 if (offset > value.length - count) { 201 throw new StringIndexOutOfBoundsException(offset 234 String(int[] codePoints, int offset, int count) argument 313 String(byte ascii[], int hibyte, int offset, int count) argument 369 checkBounds(byte[] bytes, int offset, int length) argument 411 String(byte bytes[], int offset, int length, String charsetName) argument 449 String(byte bytes[], int offset, int length, Charset charset) argument 534 String(byte bytes[], int offset, int length) argument 610 String(int offset, int count, char[] value) argument 2892 valueOf(char data[], int offset, int count) argument 2906 copyValueOf(char data[], int offset, int count) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | InputRecord.java | 182 // set offset of the dummy MAC 240 int offset, int contentLen, MAC signer, boolean isSimulated) { 244 contentType, buffer, offset, contentLen, isSimulated); 250 int[] results = compareMacTags(buffer, offset + contentLen, hash); 260 byte[] buffer, int offset, byte[] tag) { 269 if (buffer[offset + i] != tag[i]) { 337 private void hashInternal(byte databuf [], int offset, int len) { argument 344 hd.encodeBuffer(new ByteArrayInputStream(databuf, offset, len), 348 handshakeHash.update(databuf, offset, len); 740 int offset 239 checkMacTags(byte contentType, byte[] buffer, int offset, int contentLen, MAC signer, boolean isSimulated) argument 259 compareMacTags( byte[] buffer, int offset, byte[] tag) argument [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/ |
H A D | mlib_v_ImageConvCopyEdge.c | 330 mlib_s32 tmask = cmask & ((1 << nchan) - 1), mask1, offset; local 352 offset = pdst_row - (mlib_u8 *) dpdst; 353 dpsrc = (mlib_d64 *) vis_alignaddr(psrc_row, -offset); 354 mask1 = (tmask >> offset); 377 offset = pdst_row - (mlib_u8 *) dpdst; 378 dpsrc = (mlib_d64 *) vis_alignaddr(psrc_row, -offset); 379 mask1 = (tmask >> offset); 407 mlib_s32 tmask = cmask & 7, mask0, mask1, mask2, offset; local 421 offset = pdst_row - (mlib_u8 *) dpdst; 422 dpsrc = (mlib_d64 *) vis_alignaddr(psrc_row, -offset); 528 mlib_s32 tmask = cmask & ((1 << nchan) - 1), mask1, offset; local 602 mlib_s32 tmask = cmask & 7, mask0, mask1, mask2, offset; local 723 mlib_s32 tmask = cmask & ((1 << nchan) - 1), mask1, offset; local 795 mlib_s32 tmask = cmask & 7, mask0, mask1, mask2, offset; local 915 mlib_s32 tmask = cmask & 15, mask0, mask1, offset; local [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/ |
H A D | ChunkedIntArray.java | 112 int readEntry(int position, int offset) throws ArrayIndexOutOfBoundsException argument 117 return fastArray[(position*slotsize)+offset]; 123 if (offset>=slotsize) 129 return chunk[slotpos + offset]; 191 * @param offset int Column number 194 void writeEntry(int position, int offset, int value) throws ArrayIndexOutOfBoundsException argument 199 fastArray[( position*slotsize)+offset] = value; 204 if (offset >= slotsize) 210 chunk[slotpos + offset] = value; // ATOMIC!
|