/libcore/ojluni/src/main/java/java/nio/ |
D | HeapByteBuffer.java | 209 private int ix(int i) { in ix() method in HeapByteBuffer 221 return hb[ix(nextGetIndex())]; in get() 226 return hb[ix(checkIndex(i))]; in get() 243 System.arraycopy(hb, ix(pos), dst, offset, length); in get() 253 System.arraycopy(hb, ix(index), dst, offset, length); in get() 274 hb[ix(nextPutIndex())] = x; in put() 286 hb[ix(checkIndex(i))] = x; in put() 303 System.arraycopy(src, offset, hb, ix(pos), length); in put() 369 System.arraycopy(src, offset, hb, ix(index), length); in put() 410 System.arraycopy(hb, ix(pos), hb, ix(0), rem); in compact() [all …]
|
D | DirectByteBuffer.java | 232 private long ix(int i) { in ix() method in DirectByteBuffer 245 return get(ix(nextGetIndex())); in get() 253 return get(ix(checkIndex(i))); in get() 269 Memory.peekByteArray(ix(pos), in get() 296 put(ix(nextPutIndex()), x); in put() 308 put(ix(checkIndex(i)), x); in put() 328 Memory.pokeByteArray(ix(pos), in put() 386 char x = (char) Memory.peekShort(ix(position), !nativeByteOrder); in getChar() 397 return (char) Memory.peekShort(ix(i), !nativeByteOrder); in getChar() 405 return (char) Memory.peekShort(ix(i), !nativeByteOrder); in getCharUnchecked() [all …]
|
D | HeapCharBuffer.java | 209 private int ix(int i) { in ix() method in HeapCharBuffer 221 return hb[ix(nextGetIndex())]; in get() 226 return hb[ix(checkIndex(i))]; in get() 232 return hb[ix(i)]; in getUnchecked() 243 System.arraycopy(hb, ix(pos), dst, offset, length); in get() 253 System.arraycopy(hb, ix(index), dst, offset, length); in get() 274 hb[ix(nextPutIndex())] = x; in put() 286 hb[ix(checkIndex(i))] = x; in put() 303 System.arraycopy(src, offset, hb, ix(pos), length); in put() 330 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() [all …]
|
D | HeapIntBuffer.java | 209 private int ix(int i) { in ix() method in HeapIntBuffer 221 return hb[ix(nextGetIndex())]; in get() 226 return hb[ix(checkIndex(i))]; in get() 243 System.arraycopy(hb, ix(pos), dst, offset, length); in get() 253 System.arraycopy(hb, ix(index), dst, offset, length); in get() 274 hb[ix(nextPutIndex())] = x; in put() 286 hb[ix(checkIndex(i))] = x; in put() 303 System.arraycopy(src, offset, hb, ix(pos), length); in put() 330 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() 331 hb, ix(position()), n); in put() [all …]
|
D | HeapFloatBuffer.java | 209 private int ix(int i) { in ix() method in HeapFloatBuffer 221 return hb[ix(nextGetIndex())]; in get() 226 return hb[ix(checkIndex(i))]; in get() 243 System.arraycopy(hb, ix(pos), dst, offset, length); in get() 253 System.arraycopy(hb, ix(index), dst, offset, length); in get() 274 hb[ix(nextPutIndex())] = x; in put() 286 hb[ix(checkIndex(i))] = x; in put() 303 System.arraycopy(src, offset, hb, ix(pos), length); in put() 330 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() 331 hb, ix(position()), n); in put() [all …]
|
D | HeapShortBuffer.java | 209 private int ix(int i) { in ix() method in HeapShortBuffer 221 return hb[ix(nextGetIndex())]; in get() 226 return hb[ix(checkIndex(i))]; in get() 243 System.arraycopy(hb, ix(pos), dst, offset, length); in get() 253 System.arraycopy(hb, ix(index), dst, offset, length); in get() 274 hb[ix(nextPutIndex())] = x; in put() 286 hb[ix(checkIndex(i))] = x; in put() 303 System.arraycopy(src, offset, hb, ix(pos), length); in put() 330 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() 331 hb, ix(position()), n); in put() [all …]
|
D | HeapLongBuffer.java | 209 private int ix(int i) { in ix() method in HeapLongBuffer 221 return hb[ix(nextGetIndex())]; in get() 226 return hb[ix(checkIndex(i))]; in get() 243 System.arraycopy(hb, ix(pos), dst, offset, length); in get() 253 System.arraycopy(hb, ix(index), dst, offset, length); in get() 274 hb[ix(nextPutIndex())] = x; in put() 286 hb[ix(checkIndex(i))] = x; in put() 303 System.arraycopy(src, offset, hb, ix(pos), length); in put() 330 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() 331 hb, ix(position()), n); in put() [all …]
|
D | HeapDoubleBuffer.java | 209 private int ix(int i) { in ix() method in HeapDoubleBuffer 221 return hb[ix(nextGetIndex())]; in get() 226 return hb[ix(checkIndex(i))]; in get() 243 System.arraycopy(hb, ix(pos), dst, offset, length); in get() 253 System.arraycopy(hb, ix(index), dst, offset, length); in get() 274 hb[ix(nextPutIndex())] = x; in put() 286 hb[ix(checkIndex(i))] = x; in put() 303 System.arraycopy(src, offset, hb, ix(pos), length); in put() 330 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() 331 hb, ix(position()), n); in put() [all …]
|
D | ByteBufferAsDoubleBuffer.java | 100 return new ByteBufferAsDoubleBuffer(bb, -1, 0, rem, rem, ix(pos), order); in slice() 112 ix(index), order); in slice() 143 private int ix(int i) { in ix() method in ByteBufferAsDoubleBuffer 172 return bb.getDoubleUnchecked(ix(checkIndex(i))); in get() 181 bb.getUnchecked(ix(position), dst, off, length); in get() 190 bb.getUnchecked(ix(index), dst, off, length); in get() 233 bb.putDoubleUnchecked(ix(checkIndex(i)), x); in put() 247 bb.putUnchecked(ix(position), src, off, length); in put() 262 bb.putUnchecked(ix(index), src, off, length); in putUnchecked() 274 this.bb.putBuffer(ix(pos), asSrc.bb, asSrc.ix(srcPos), n << 3); in putBuffer() [all …]
|
D | ByteBufferAsLongBuffer.java | 100 return new ByteBufferAsLongBuffer(bb, -1, 0, rem, rem, ix(pos), order); in slice() 112 ix(index), order); in slice() 143 private int ix(int i) { in ix() method in ByteBufferAsLongBuffer 172 return bb.getLongUnchecked(ix(checkIndex(i))); in get() 181 bb.getUnchecked(ix(position), dst, off, length); in get() 190 bb.getUnchecked(ix(index), dst, off, length); in get() 233 bb.putLongUnchecked(ix(checkIndex(i)), x); in put() 247 bb.putUnchecked(ix(position), src, off, length); in put() 262 bb.putUnchecked(ix(index), src, off, length); in putUnchecked() 274 this.bb.putBuffer(ix(pos), asSrc.bb, asSrc.ix(srcPos), n << 3); in putBuffer() [all …]
|
D | ByteBufferAsIntBuffer.java | 100 return new ByteBufferAsIntBuffer(bb, -1, 0, rem, rem, ix(pos), order); in slice() 112 ix(index), order); in slice() 143 private int ix(int i) { in ix() method in ByteBufferAsIntBuffer 172 return bb.getIntUnchecked(ix(checkIndex(i))); in get() 181 bb.getUnchecked(ix(position), dst, off, length); in get() 190 bb.getUnchecked(ix(index), dst, off, length); in get() 233 bb.putIntUnchecked(ix(checkIndex(i)), x); in put() 247 bb.putUnchecked(ix(position), src, off, length); in put() 262 bb.putUnchecked(ix(index), src, off, length); in putUnchecked() 274 this.bb.putBuffer(ix(pos), asSrc.bb, asSrc.ix(srcPos), n << 2); in putBuffer() [all …]
|
D | ByteBufferAsShortBuffer.java | 100 return new ByteBufferAsShortBuffer(bb, -1, 0, rem, rem, ix(pos), order); in slice() 112 ix(index), order); in slice() 143 private int ix(int i) { in ix() method in ByteBufferAsShortBuffer 172 return bb.getShortUnchecked(ix(checkIndex(i))); in get() 181 bb.getUnchecked(ix(position), dst, off, length); in get() 190 bb.getUnchecked(ix(index), dst, off, length); in get() 233 bb.putShortUnchecked(ix(checkIndex(i)), x); in put() 247 bb.putUnchecked(ix(position), src, off, length); in put() 262 bb.putUnchecked(ix(index), src, off, length); in putUnchecked() 274 this.bb.putBuffer(ix(pos), asSrc.bb, asSrc.ix(srcPos), n << 1); in putBuffer() [all …]
|
D | ByteBufferAsFloatBuffer.java | 100 return new ByteBufferAsFloatBuffer(bb, -1, 0, rem, rem, ix(pos), order); in slice() 112 ix(index), order); in slice() 143 private int ix(int i) { in ix() method in ByteBufferAsFloatBuffer 172 return bb.getFloatUnchecked(ix(checkIndex(i))); in get() 181 bb.getUnchecked(ix(position), dst, off, length); in get() 190 bb.getUnchecked(ix(index), dst, off, length); in get() 233 bb.putFloatUnchecked(ix(checkIndex(i)), x); in put() 247 bb.putUnchecked(ix(position), src, off, length); in put() 262 bb.putUnchecked(ix(index), src, off, length); in putUnchecked() 274 this.bb.putBuffer(ix(pos), asSrc.bb, asSrc.ix(srcPos), n << 2); in putBuffer() [all …]
|
D | ByteBufferAsCharBuffer.java | 100 return new ByteBufferAsCharBuffer(bb, -1, 0, rem, rem, ix(pos), order); in slice() 112 ix(index), order); in slice() 143 private int ix(int i) { in ix() method in ByteBufferAsCharBuffer 172 return bb.getCharUnchecked(ix(checkIndex(i))); in get() 181 bb.getUnchecked(ix(position), dst, off, length); in get() 190 bb.getUnchecked(ix(index), dst, off, length); in get() 202 return bb.getCharUnchecked(ix(i)); in getUnchecked() 233 bb.putCharUnchecked(ix(checkIndex(i)), x); in put() 247 bb.putUnchecked(ix(position), src, off, length); in put() 262 bb.putUnchecked(ix(index), src, off, length); in putUnchecked() [all …]
|
D | Heap-X-Buffer.java.template | 209 private int ix(int i) { 221 return hb[ix(nextGetIndex())]; 226 return hb[ix(checkIndex(i))]; 232 return hb[ix(i)]; 243 System.arraycopy(hb, ix(pos), dst, offset, length); 253 System.arraycopy(hb, ix(index), dst, offset, length); 274 hb[ix(nextPutIndex())] = x; 286 hb[ix(checkIndex(i))] = x; 303 System.arraycopy(src, offset, hb, ix(pos), length); 330 System.arraycopy(sb.hb, sb.ix(sb.position()), [all …]
|
D | ByteBufferAs-X-Buffer.java.template | 100 return new ByteBufferAs$Type$Buffer(bb, -1, 0, rem, rem, ix(pos), order); 112 ix(index), order); 143 private int ix(int i) { 172 return bb.get$Type$Unchecked(ix(checkIndex(i))); 181 bb.getUnchecked(ix(position), dst, off, length); 190 bb.getUnchecked(ix(index), dst, off, length); 202 return bb.get$Type$Unchecked(ix(i)); 233 bb.put$Type$Unchecked(ix(checkIndex(i)), x); 247 bb.putUnchecked(ix(position), src, off, length); 262 bb.putUnchecked(ix(index), src, off, length); [all …]
|
D | Direct-X-Buffer-bin.java.template | 45 return get$Type$(ix(nextGetIndex($BYTES_PER_VALUE$))); 53 return get$Type$(ix(checkIndex(i, $BYTES_PER_VALUE$))); 77 put$Type$(ix(nextPutIndex($BYTES_PER_VALUE$)), x); 86 put$Type$(ix(checkIndex(i, $BYTES_PER_VALUE$)), x);
|
D | Direct-X-Buffer.java.template | 318 private long ix(int i) { 324 … return $fromBits$($swap$(SCOPED_MEMORY_ACCESS.get$Swaptype$(scope(), null, ix(nextGetIndex())))); 332 … return $fromBits$($swap$(SCOPED_MEMORY_ACCESS.get$Swaptype$(scope(), null, ix(checkIndex(i))))); 341 return $fromBits$($swap$(SCOPED_MEMORY_ACCESS.get$Swaptype$(null, null, ix(i)))); 352 … SCOPED_MEMORY_ACCESS.put$Swaptype$(scope(), null, ix(nextPutIndex()), $swap$($toBits$(x))); 365 … SCOPED_MEMORY_ACCESS.put$Swaptype$(scope(), null, ix(checkIndex(i)), $swap$($toBits$(x))); 384 ix(pos), null, ix(0), (long)rem << $LG_BYTES_PER_VALUE$);
|
/libcore/ojluni/src/main/native/ |
D | canonicalize_md.c | 115 splitNames(char *names, char **ix) in splitNames() argument 121 ix[i++] = p++; in splitNames() 141 joinNames(char *names, int nc, char **ix) in joinNames() argument 147 if (!ix[i]) continue; in joinNames() 151 if (p == ix[i]) { in joinNames() 154 char *q = ix[i]; in joinNames() 180 char **ix; in collapse() local 187 ix = (char **)alloca(nc * sizeof(char *)); in collapse() 188 splitNames(names, ix); in collapse() 195 char *p = ix[i]; in collapse() [all …]
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | FileHandler.java | 463 } catch (FileAlreadyExistsException ix) { in openFiles() 505 } catch (IOException ix) { in openFiles() 571 int ix = 0; in generate() local 574 while (ix < pattern.length()) { in generate() 575 char ch = pattern.charAt(ix); in generate() 576 ix++; in generate() 578 if (ix < pattern.length()) { in generate() 579 ch2 = Character.toLowerCase(pattern.charAt(ix)); in generate() 596 ix++; in generate() 609 ix++; in generate() [all …]
|
D | MemoryHandler.java | 207 int ix = (start+count)%buffer.length; in publish() local 208 buffer[ix] = record; in publish() 227 int ix = (start+i)%buffer.length; in push() local 228 LogRecord record = buffer[ix]; in push()
|
D | SocketHandler.java | 128 } catch (IOException ix) { in SocketHandler() 130 throw ix; in SocketHandler() 192 } catch (IOException ix) { in close()
|
D | LogRecord.java | 565 for (int ix = 0; ix < depth; ix++) { in inferCaller() 572 StackTraceElement frame = stack[ix]; in inferCaller()
|
D | LogManager.java | 847 int ix = 1; in processParentHandlers() local 849 int ix2 = name.indexOf(".", ix); in processParentHandlers() 860 ix = ix2+1; in processParentHandlers() 872 int ix = name.indexOf("."); in getNode() local 874 if (ix > 0) { in getNode() 875 head = name.substring(0, ix); in getNode() 876 name = name.substring(ix + 1); in getNode() 1367 int ix = 0; in parseClassNames() local 1369 while (ix < hands.length()) { in parseClassNames() 1370 int end = ix; in parseClassNames() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | DirectByteBuffer.java | 110 private long ix(int i) { in ix() method in DirectByteBuffer
|