/libcore/ojluni/src/main/java/java/nio/ |
D | HeapByteBuffer.java | 109 protected int ix(int i) { in ix() method in HeapByteBuffer 114 return hb[ix(nextGetIndex())]; in get() 118 return hb[ix(checkIndex(i))]; in get() 125 System.arraycopy(hb, ix(position()), dst, offset, length); in get() 142 hb[ix(nextPutIndex())] = x; in put() 150 hb[ix(checkIndex(i))] = x; in put() 161 System.arraycopy(src, offset, hb, ix(position()), length); in put() 170 System.arraycopy(hb, ix(position()), hb, ix(0), remaining()); in compact() 189 return Bits.getChar(this, ix(nextGetIndex(2)), bigEndian); in getChar() 193 return Bits.getChar(this, ix(checkIndex(i, 2)), bigEndian); in getChar() [all …]
|
D | DirectByteBuffer.java | 185 private long ix(int i) { in ix() method in DirectByteBuffer 197 return get(ix(nextGetIndex())); in get() 204 return get(ix(checkIndex(i))); in get() 218 Memory.peekByteArray(ix(pos), in get() 236 put(ix(nextPutIndex()), x); in put() 247 put(ix(checkIndex(i)), x); in put() 265 Memory.pokeByteArray(ix(pos), in put() 320 char x = (char) Memory.peekShort(ix(position), !nativeByteOrder); in getChar() 330 char x = (char) Memory.peekShort(ix(i), !nativeByteOrder); in getChar() 335 return (char) Memory.peekShort(ix(i), !nativeByteOrder); in getCharUnchecked() [all …]
|
D | HeapLongBuffer.java | 106 protected int ix(int i) { in ix() method in HeapLongBuffer 111 return hb[ix(nextGetIndex())]; in get() 115 return hb[ix(checkIndex(i))]; in get() 122 System.arraycopy(hb, ix(position()), dst, offset, length); in get() 139 hb[ix(nextPutIndex())] = x; in put() 147 hb[ix(checkIndex(i))] = x; in put() 158 System.arraycopy(src, offset, hb, ix(position()), length); in put() 174 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() 175 hb, ix(position()), n); in put() 182 src.get(hb, ix(position()), n); in put() [all …]
|
D | HeapDoubleBuffer.java | 105 protected int ix(int i) { in ix() method in HeapDoubleBuffer 110 return hb[ix(nextGetIndex())]; in get() 114 return hb[ix(checkIndex(i))]; in get() 121 System.arraycopy(hb, ix(position()), dst, offset, length); in get() 138 hb[ix(nextPutIndex())] = x; in put() 146 hb[ix(checkIndex(i))] = x; in put() 157 System.arraycopy(src, offset, hb, ix(position()), length); in put() 173 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() 174 hb, ix(position()), n); in put() 181 src.get(hb, ix(position()), n); in put() [all …]
|
D | HeapFloatBuffer.java | 104 protected int ix(int i) { in ix() method in HeapFloatBuffer 109 return hb[ix(nextGetIndex())]; in get() 113 return hb[ix(checkIndex(i))]; in get() 120 System.arraycopy(hb, ix(position()), dst, offset, length); in get() 137 hb[ix(nextPutIndex())] = x; in put() 145 hb[ix(checkIndex(i))] = x; in put() 156 System.arraycopy(src, offset, hb, ix(position()), length); in put() 172 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() 173 hb, ix(position()), n); in put() 180 src.get(hb, ix(position()), n); in put() [all …]
|
D | HeapIntBuffer.java | 105 protected int ix(int i) { in ix() method in HeapIntBuffer 110 return hb[ix(nextGetIndex())]; in get() 114 return hb[ix(checkIndex(i))]; in get() 121 System.arraycopy(hb, ix(position()), dst, offset, length); in get() 138 hb[ix(nextPutIndex())] = x; in put() 146 hb[ix(checkIndex(i))] = x; in put() 157 System.arraycopy(src, offset, hb, ix(position()), length); in put() 173 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() 174 hb, ix(position()), n); in put() 181 src.get(hb, ix(position()), n); in put() [all …]
|
D | HeapShortBuffer.java | 105 protected int ix(int i) { in ix() method in HeapShortBuffer 110 return hb[ix(nextGetIndex())]; in get() 114 return hb[ix(checkIndex(i))]; in get() 121 System.arraycopy(hb, ix(position()), dst, offset, length); in get() 138 hb[ix(nextPutIndex())] = x; in put() 146 hb[ix(checkIndex(i))] = x; in put() 157 System.arraycopy(src, offset, hb, ix(position()), length); in put() 173 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() 174 hb, ix(position()), n); in put() 181 src.get(hb, ix(position()), n); in put() [all …]
|
D | HeapCharBuffer.java | 106 protected int ix(int i) { in ix() method in HeapCharBuffer 111 return hb[ix(nextGetIndex())]; in get() 115 return hb[ix(checkIndex(i))]; in get() 119 return hb[ix(i)]; in getUnchecked() 126 System.arraycopy(hb, ix(position()), dst, offset, length); in get() 143 hb[ix(nextPutIndex())] = x; in put() 151 hb[ix(checkIndex(i))] = x; in put() 162 System.arraycopy(src, offset, hb, ix(position()), length); in put() 178 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() 179 hb, ix(position()), n); in put() [all …]
|
D | ByteBufferAsShortBuffer.java | 84 protected int ix(int i) { in ix() method in ByteBufferAsShortBuffer 93 return bb.getShortUnchecked(ix(checkIndex(i))); in get() 101 bb.getUnchecked(ix(position), dst, offset, length); in get() 115 bb.putShortUnchecked(ix(checkIndex(i)), x); in put() 123 bb.putUnchecked(ix(position), src, offset, length); in put() 137 System.arraycopy(bb.array(), ix(pos), bb.array(), ix(0), rem << 1); in compact() 139 Memory.memmove(this, ix(0), this, ix(pos), rem << 1); in compact()
|
D | ByteBufferAsLongBuffer.java | 86 protected int ix(int i) { in ix() method in ByteBufferAsLongBuffer 95 return bb.getLongUnchecked(ix(checkIndex(i))); in get() 102 bb.getUnchecked(ix(position), dst, offset, length); in get() 116 bb.putLongUnchecked(ix(checkIndex(i)), x); in put() 124 bb.putUnchecked(ix(position), src, offset, length); in put() 138 System.arraycopy(bb.array(), ix(pos), bb.array(), ix(0), rem << 3); in compact() 140 Memory.memmove(this, ix(0), this, ix(pos), rem << 3); in compact()
|
D | ByteBufferAsDoubleBuffer.java | 87 protected int ix(int i) { in ix() method in ByteBufferAsDoubleBuffer 96 return bb.getDoubleUnchecked(ix(checkIndex(i))); in get() 103 bb.getUnchecked(ix(position), dst, offset, length); in get() 117 bb.putDoubleUnchecked(ix(checkIndex(i)), x); in put() 125 bb.putUnchecked(ix(position), src, offset, length); in put() 139 System.arraycopy(bb.array(), ix(pos), bb.array(), ix(0), rem << 3); in compact() 141 Memory.memmove(this, ix(0), this, ix(pos), rem << 3); in compact()
|
D | ByteBufferAsIntBuffer.java | 86 protected int ix(int i) { in ix() method in ByteBufferAsIntBuffer 95 return bb.getIntUnchecked(ix(checkIndex(i))); in get() 102 bb.getUnchecked(ix(position), dst, offset, length); in get() 116 bb.putIntUnchecked(ix(checkIndex(i)), x); in put() 124 bb.putUnchecked(ix(position), src, offset, length); in put() 138 System.arraycopy(bb.array(), ix(pos), bb.array(), ix(0), rem << 2); in compact() 140 Memory.memmove(this, ix(0), this, ix(pos), rem << 2); in compact()
|
D | ByteBufferAsFloatBuffer.java | 86 protected int ix(int i) { in ix() method in ByteBufferAsFloatBuffer 95 return bb.getFloatUnchecked(ix(checkIndex(i))); in get() 102 bb.getUnchecked(ix(position), dst, offset, length); in get() 116 bb.putFloatUnchecked(ix(checkIndex(i)), x); in put() 124 bb.putUnchecked(ix(position), src, offset, length); in put() 138 System.arraycopy(bb.array(), ix(pos), bb.array(), ix(0), rem << 2); in compact() 140 Memory.memmove(this, ix(0), this, ix(pos), rem << 2); in compact()
|
D | ByteBufferAsCharBuffer.java | 86 protected int ix(int i) { in ix() method in ByteBufferAsCharBuffer 95 return bb.getCharUnchecked(ix(checkIndex(i))); in get() 102 bb.getUnchecked(ix(position), dst, offset, length); in get() 108 return bb.getCharUnchecked(ix(i)); in getUnchecked() 120 bb.putCharUnchecked(ix(checkIndex(i)), x); in put() 128 bb.putUnchecked(ix(position), src, offset, length); in put() 142 System.arraycopy(bb.array(), ix(pos), bb.array(), ix(0), rem << 1); in compact() 144 Memory.memmove(this, ix(0), this, ix(pos), rem << 1); in compact()
|
/libcore/ojluni/src/main/native/ |
D | canonicalize_md.c | 78 splitNames(char *names, char **ix) in splitNames() argument 84 ix[i++] = p++; in splitNames() 100 joinNames(char *names, int nc, char **ix) in joinNames() argument 106 if (!ix[i]) continue; in joinNames() 110 if (p == ix[i]) { in joinNames() 113 char *q = ix[i]; in joinNames() 132 char **ix; in collapse() local 138 ix = (char **)alloca(nc * sizeof(char *)); in collapse() 139 splitNames(names, ix); in collapse() 146 char *p = ix[i]; in collapse() [all …]
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | FileHandler.java | 408 } catch (IOException ix) { in openFiles() 417 } catch (IOException ix) { in openFiles() 467 int ix = 0; in generate() local 470 while (ix < pattern.length()) { in generate() 471 char ch = pattern.charAt(ix); in generate() 472 ix++; in generate() 474 if (ix < pattern.length()) { in generate() 475 ch2 = Character.toLowerCase(pattern.charAt(ix)); in generate() 492 ix++; in generate() 504 ix++; in generate() [all …]
|
D | MemoryHandler.java | 185 int ix = (start+count)%buffer.length; in publish() local 186 buffer[ix] = record; in publish() 205 int ix = (start+i)%buffer.length; in push() local 206 LogRecord record = buffer[ix]; in push()
|
D | SocketHandler.java | 115 } catch (IOException ix) { in SocketHandler() 117 throw ix; in SocketHandler() 177 } catch (IOException ix) { in close()
|
D | LogManager.java | 677 int ix = 1; in processParentHandlers() local 679 int ix2 = name.indexOf(".", ix); in processParentHandlers() 690 ix = ix2+1; in processParentHandlers() 702 int ix = name.indexOf("."); in getNode() local 704 if (ix > 0) { in getNode() 705 head = name.substring(0, ix); in getNode() 706 name = name.substring(ix + 1); in getNode() 1151 int ix = 0; in parseClassNames() local 1153 while (ix < hands.length()) { in parseClassNames() 1154 int end = ix; in parseClassNames() [all …]
|
D | LogRecord.java | 536 for (int ix = 0; ix < depth; ix++) { in inferCaller() 541 StackTraceElement frame = stack[ix]; in inferCaller()
|
D | Logger.java | 1482 for (int ix = 0; ; ix++) { 1485 clz = Class.forName(stack[ix].getClassName());
|