/openjdk7/jdk/src/share/classes/java/io/ |
H A D | Console.java | 419 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/lang/ |
H A D | StringBuilder.java | 203 public StringBuilder append(char[] str, int offset, int len) { argument 204 super.append(str, offset, len); 273 public StringBuilder insert(int index, char[] str, int offset, argument 276 super.insert(index, str, offset, len); 283 public StringBuilder insert(int offset, Object obj) { argument 284 return insert(offset, String.valueOf(obj)); 290 public StringBuilder insert(int offset, String str) { argument 291 super.insert(offset, str); 298 public StringBuilder insert(int offset, char[] str) { argument 299 super.insert(offset, st 327 insert(int offset, boolean b) argument 335 insert(int offset, char c) argument 343 insert(int offset, int i) argument 350 insert(int offset, long l) argument 357 insert(int offset, float f) argument 364 insert(int offset, double d) argument [all...] |
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | AsynchronousSocketChannel.java | 435 * dsts[offset].remaining() 436 * + dsts[offset+1].remaining() 437 * + ... + dsts[offset+length-1].remaining()</pre></blockquote> 443 * Up to the first <tt>dsts[offset].remaining()</tt> bytes of this sequence 444 * are transferred into buffer <tt>dsts[offset]</tt>, up to the next 445 * <tt>dsts[offset+1].remaining()</tt> bytes are transferred into buffer 446 * <tt>dsts[offset+1]</tt>, and so forth, until the entire byte sequence 466 * @param offset 467 * The offset within the buffer array of the first buffer into which 472 * and no larger than {@code dsts.length - offset} 494 read(ByteBuffer[] dsts, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler) argument 641 write(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler) argument [all...] |
H A D | DatagramChannel.java | 494 public abstract long read(ByteBuffer[] dsts, int offset, int length) argument 544 public abstract long write(ByteBuffer[] srcs, int offset, int length) argument
|
H A D | FileChannel.java | 358 public abstract long read(ByteBuffer[] dsts, int offset, int length) argument 398 public abstract long write(ByteBuffer[] srcs, int offset, int length) argument
|
H A D | SocketChannel.java | 464 public abstract long read(ByteBuffer[] dsts, int offset, int length) argument 485 public abstract long write(ByteBuffer[] srcs, int offset, int length) argument
|
/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/java/util/concurrent/atomic/ |
H A D | AtomicIntegerArray.java | 115 private int getRaw(long offset) { argument 116 return unsafe.getIntVolatile(array, offset); 149 long offset = checkedByteOffset(i); 151 int current = getRaw(offset); 152 if (compareAndSetRaw(offset, current, newValue)) 171 private boolean compareAndSetRaw(long offset, int expect, int update) { argument 172 return unsafe.compareAndSwapInt(array, offset, expect, update); 220 long offset = checkedByteOffset(i); 222 int current = getRaw(offset); 223 if (compareAndSetRaw(offset, curren [all...] |
H A D | AtomicIntegerFieldUpdater.java | 270 private final long offset; field in class:AtomicIntegerFieldUpdater.AtomicIntegerFieldUpdaterImpl 297 offset = unsafe.objectFieldOffset(field); 309 return unsafe.compareAndSwapInt(obj, offset, expect, update); 314 return unsafe.compareAndSwapInt(obj, offset, expect, update); 319 unsafe.putIntVolatile(obj, offset, newValue); 324 unsafe.putOrderedInt(obj, offset, newValue); 329 return unsafe.getIntVolatile(obj, offset);
|
H A D | AtomicLongArray.java | 114 private long getRaw(long offset) { argument 115 return unsafe.getLongVolatile(array, offset); 149 long offset = checkedByteOffset(i); 151 long current = getRaw(offset); 152 if (compareAndSetRaw(offset, current, newValue)) 171 private boolean compareAndSetRaw(long offset, long expect, long update) { argument 172 return unsafe.compareAndSwapLong(array, offset, expect, update); 220 long offset = checkedByteOffset(i); 222 long current = getRaw(offset); 223 if (compareAndSetRaw(offset, curren [all...] |
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...] |
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);
|
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | CipherSpi.java | 471 * @param inputOffset the offset in <code>input</code> where the input 496 * @param inputOffset the offset in <code>input</code> where the input 500 * @param outputOffset the offset in <code>output</code> where the result 582 * @param inputOffset the offset in <code>input</code> where the input 634 * @param inputOffset the offset in <code>input</code> where the input 638 * @param outputOffset the offset in <code>output</code> where the result 940 * @param offset the offset in {@code src} where the AAD input starts 953 protected void engineUpdateAAD(byte[] src, int offset, int len) { argument
|
H A D | KeyAgreement.java | 575 * <code>sharedSecret</code>, beginning at <code>offset</code> inclusive. 588 * @param offset the offset in <code>sharedSecret</code> where the 598 public final int generateSecret(byte[] sharedSecret, int offset) argument 602 return spi.engineGenerateSecret(sharedSecret, offset);
|
H A D | Mac.java | 476 * starting at <code>offset</code> inclusive. 479 * @param offset the offset in <code>input</code> where the input starts. 485 public final void update(byte[] input, int offset, int len) argument 493 if ((offset < 0) || (len > (input.length - offset)) || (len < 0)) 495 spi.engineUpdate(input, offset, len); 569 * @param outOffset the offset in <code>output</code> where the MAC is
|
/openjdk7/hotspot/src/share/vm/ci/ |
H A D | ciField.hpp | 113 // What is the offset of this field? 114 int offset() { function in class:ciField 115 assert(_offset >= 1, "illegal call to offset()"); 121 return offset();
|
/openjdk7/hotspot/src/share/vm/code/ |
H A D | location.hpp | 81 assert( offset() == offset_, "" ); 93 static Location new_stk_loc( Type t, int offset ) { return Location(on_stack,t,offset>>LogBytesPerInt); } 102 unsigned offset() const { return (unsigned) ((_value & OFFSET_MASK) >> OFFSET_SHIFT); } function in class:VALUE_OBJ_CLASS_SPEC 108 int stack_offset() const { assert(where() == on_stack, "wrong Where"); return offset()<<LogBytesPerInt; } 109 int register_number() const { assert(where() == in_register, "wrong Where"); return offset() ; } 111 VMReg reg() const { assert(where() == in_register, "wrong Where"); return VMRegImpl::as_VMReg(offset()) ; }
|
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/ |
H A D | objectStartArray.hpp | 84 // Mapping that includes the derived offset. 126 size_t offset = pointer_delta(p, block_base, sizeof(HeapWord*)); local 127 assert(offset < 128, "Sanity"); 129 //assert(offset > *block, "Found backwards allocation"); 130 *block = (jbyte)offset; 136 // a given block. The blocks contain the offset of the last
|
/openjdk7/hotspot/src/share/vm/interpreter/ |
H A D | oopMapCache.hpp | 60 virtual void offset_do(int offset) = 0; 119 uintptr_t entry_at(int offset) { int i = offset * bits_per_entry; return bit_mask()[i / BitsPerWord] >> (i % BitsPerWord); } argument 124 bool is_dead(int offset) { return (entry_at(offset) & (1 << dead_bit_number)) != 0; } argument 150 bool is_oop (int offset) { return (entry_at(offset) & (1 << oop_bit_number )) != 0; } argument
|
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | modRefBarrierSet.hpp | 58 void write_prim_field(oop obj, size_t offset, size_t bytes, argument
|
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | fieldInfo.hpp | 79 u4 offset) { 84 set_offset(offset); 88 u4 offset() const { return build_int_from_shorts(_shorts[low_offset], _shorts[high_offset]); } function in class:VALUE_OBJ_CLASS_SPEC 75 initialize(u2 access_flags, u2 name_index, u2 signature_index, u2 initval_index, u4 offset) argument
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/ |
H A D | SnmpMsg.java | 178 * @param offset The position of the first byte to be dumped. 179 * @param len The number of bytes to be dumped starting from offset. 183 public static String dumpHexBuffer(byte [] b, int offset, int len) { argument 186 int flen = offset + len ; 188 for (int i = offset; i < flen ; i++) {
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/ |
H A D | Ber.java | 42 protected int offset; field in class:Ber
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | AudioFloatInputStream.java | 59 byte[] buffer, int offset, int len) { 63 this.buffer_offset = offset; 238 byte[] buffer, int offset, int len) { 243 offset, len); 245 InputStream stream = new ByteArrayInputStream(buffer, offset, len); 58 BytaArrayAudioFloatInputStream(AudioFloatConverter converter, byte[] buffer, int offset, int len) argument 237 getInputStream(AudioFormat format, byte[] buffer, int offset, int len) argument
|
H A D | RIFFReader.java | 131 public int read(byte[] b, int offset, int len) throws IOException { argument 135 int rlen = stream.read(b, offset, (int)avail); 141 int ret = stream.read(b, offset, len);
|