Searched refs:ix (Results 1 - 20 of 20) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/
H A DHeapByteBuffer.java105 protected int ix(int i) { method in class:HeapByteBuffer
111 return hb[ix(nextGetIndex())];
116 return hb[ix(checkIndex(i))];
124 System.arraycopy(hb, ix(position()), dst, offset, length);
144 hb[ix(nextPutIndex())] = x;
153 hb[ix(checkIndex(i))] = x;
165 System.arraycopy(src, offset, hb, ix(position()), length);
175 System.arraycopy(hb, ix(position()), hb, ix(0), remaining());
197 return Bits.getChar(this, ix(nextGetInde
[all...]
H A DHeapCharBuffer.java106 protected int ix(int i) { method in class:HeapCharBuffer
111 return hb[ix(nextGetIndex())];
115 return hb[ix(checkIndex(i))];
119 return hb[ix(i)];
126 System.arraycopy(hb, ix(position()), dst, offset, length);
143 hb[ix(nextPutIndex())] = x;
151 hb[ix(checkIndex(i))] = x;
162 System.arraycopy(src, offset, hb, ix(position()), length);
179 System.arraycopy(sb.hb, sb.ix(sb.position()),
180 hb, ix(positio
[all...]
H A DByteBufferAsDoubleBuffer.java88 protected int ix(int i) { method in class:ByteBufferAsDoubleBuffer
97 return bb.getDoubleUnchecked(ix(checkIndex(i)));
104 bb.getUnchecked(ix(position), dst, offset, length);
118 bb.putDoubleUnchecked(ix(checkIndex(i)), x);
126 bb.putUnchecked(ix(position), src, offset, length);
140 System.arraycopy(bb.array(), ix(pos), bb.array(), ix(0), rem << 3);
142 Memory.memmove(this, ix(0), this, ix(pos), rem << 3);
H A DByteBufferAsFloatBuffer.java87 protected int ix(int i) { method in class:ByteBufferAsFloatBuffer
96 return bb.getFloatUnchecked(ix(checkIndex(i)));
103 bb.getUnchecked(ix(position), dst, offset, length);
117 bb.putFloatUnchecked(ix(checkIndex(i)), x);
125 bb.putUnchecked(ix(position), src, offset, length);
139 System.arraycopy(bb.array(), ix(pos), bb.array(), ix(0), rem << 2);
141 Memory.memmove(this, ix(0), this, ix(pos), rem << 2);
H A DByteBufferAsIntBuffer.java87 protected int ix(int i) { method in class:ByteBufferAsIntBuffer
96 return bb.getIntUnchecked(ix(checkIndex(i)));
103 bb.getUnchecked(ix(position), dst, offset, length);
117 bb.putIntUnchecked(ix(checkIndex(i)), x);
125 bb.putUnchecked(ix(position), src, offset, length);
139 System.arraycopy(bb.array(), ix(pos), bb.array(), ix(0), rem << 2);
141 Memory.memmove(this, ix(0), this, ix(pos), rem << 2);
H A DByteBufferAsLongBuffer.java87 protected int ix(int i) { method in class:ByteBufferAsLongBuffer
96 return bb.getLongUnchecked(ix(checkIndex(i)));
103 bb.getUnchecked(ix(position), dst, offset, length);
117 bb.putLongUnchecked(ix(checkIndex(i)), x);
125 bb.putUnchecked(ix(position), src, offset, length);
139 System.arraycopy(bb.array(), ix(pos), bb.array(), ix(0), rem << 3);
141 Memory.memmove(this, ix(0), this, ix(pos), rem << 3);
H A DByteBufferAsShortBuffer.java85 protected int ix(int i) { method in class:ByteBufferAsShortBuffer
94 return bb.getShortUnchecked(ix(checkIndex(i)));
102 bb.getUnchecked(ix(position), dst, offset, length);
116 bb.putShortUnchecked(ix(checkIndex(i)), x);
124 bb.putUnchecked(ix(position), src, offset, length);
138 System.arraycopy(bb.array(), ix(pos), bb.array(), ix(0), rem << 1);
140 Memory.memmove(this, ix(0), this, ix(pos), rem << 1);
H A DHeapDoubleBuffer.java105 protected int ix(int i) { method in class:HeapDoubleBuffer
110 return hb[ix(nextGetIndex())];
114 return hb[ix(checkIndex(i))];
121 System.arraycopy(hb, ix(position()), dst, offset, length);
138 hb[ix(nextPutIndex())] = x;
146 hb[ix(checkIndex(i))] = x;
157 System.arraycopy(src, offset, hb, ix(position()), length);
174 System.arraycopy(sb.hb, sb.ix(sb.position()),
175 hb, ix(position()), n);
182 src.get(hb, ix(positio
[all...]
H A DHeapFloatBuffer.java104 protected int ix(int i) { method in class:HeapFloatBuffer
109 return hb[ix(nextGetIndex())];
113 return hb[ix(checkIndex(i))];
120 System.arraycopy(hb, ix(position()), dst, offset, length);
137 hb[ix(nextPutIndex())] = x;
145 hb[ix(checkIndex(i))] = x;
156 System.arraycopy(src, offset, hb, ix(position()), length);
173 System.arraycopy(sb.hb, sb.ix(sb.position()),
174 hb, ix(position()), n);
181 src.get(hb, ix(positio
[all...]
H A DHeapIntBuffer.java105 protected int ix(int i) { method in class:HeapIntBuffer
110 return hb[ix(nextGetIndex())];
114 return hb[ix(checkIndex(i))];
121 System.arraycopy(hb, ix(position()), dst, offset, length);
138 hb[ix(nextPutIndex())] = x;
146 hb[ix(checkIndex(i))] = x;
157 System.arraycopy(src, offset, hb, ix(position()), length);
174 System.arraycopy(sb.hb, sb.ix(sb.position()),
175 hb, ix(position()), n);
182 src.get(hb, ix(positio
[all...]
H A DHeapLongBuffer.java106 protected int ix(int i) { method in class:HeapLongBuffer
111 return hb[ix(nextGetIndex())];
115 return hb[ix(checkIndex(i))];
122 System.arraycopy(hb, ix(position()), dst, offset, length);
139 hb[ix(nextPutIndex())] = x;
147 hb[ix(checkIndex(i))] = x;
158 System.arraycopy(src, offset, hb, ix(position()), length);
175 System.arraycopy(sb.hb, sb.ix(sb.position()),
176 hb, ix(position()), n);
183 src.get(hb, ix(positio
[all...]
H A DHeapShortBuffer.java105 protected int ix(int i) { method in class:HeapShortBuffer
110 return hb[ix(nextGetIndex())];
114 return hb[ix(checkIndex(i))];
121 System.arraycopy(hb, ix(position()), dst, offset, length);
138 hb[ix(nextPutIndex())] = x;
146 hb[ix(checkIndex(i))] = x;
157 System.arraycopy(src, offset, hb, ix(position()), length);
174 System.arraycopy(sb.hb, sb.ix(sb.position()),
175 hb, ix(position()), n);
182 src.get(hb, ix(positio
[all...]
H A DByteBufferAsCharBuffer.java87 protected int ix(int i) { method in class:ByteBufferAsCharBuffer
96 return bb.getCharUnchecked(ix(checkIndex(i)));
103 bb.getUnchecked(ix(position), dst, offset, length);
109 return bb.getCharUnchecked(ix(i));
121 bb.putCharUnchecked(ix(checkIndex(i)), x);
129 bb.putUnchecked(ix(position), src, offset, length);
143 System.arraycopy(bb.array(), ix(pos), bb.array(), ix(0), rem << 1);
145 Memory.memmove(this, ix(0), this, ix(po
[all...]
H A DDirectByteBuffer.java204 private long ix(int i) { method in class:DirectByteBuffer
217 return get(ix(nextGetIndex()));
225 return get(ix(checkIndex(i)));
241 Memory.peekByteArray(ix(pos),
260 put(ix(nextPutIndex()), x);
272 put(ix(checkIndex(i)), x);
292 Memory.pokeByteArray(ix(pos),
348 char x = (char) Memory.peekShort(ix(position), !nativeByteOrder);
359 return (char) Memory.peekShort(ix(i), !nativeByteOrder);
367 return (char) Memory.peekShort(ix(
[all...]
/libcore/ojluni/src/main/native/
H A Dcanonicalize_md.c78 splitNames(char *names, char **ix) argument
84 ix[i++] = p++;
100 joinNames(char *names, int nc, char **ix) argument
106 if (!ix[i]) continue;
110 if (p == ix[i]) {
113 char *q = ix[i];
132 char **ix; local
138 ix = (char **)alloca(nc * sizeof(char *));
139 splitNames(names, ix);
146 char *p = ix[
[all...]
/libcore/ojluni/src/main/java/java/util/logging/
H A DFileHandler.java463 } catch (FileAlreadyExistsException ix) {
505 } catch (IOException ix) {
571 int ix = 0;
574 while (ix < pattern.length()) {
575 char ch = pattern.charAt(ix);
576 ix++;
578 if (ix < pattern.length()) {
579 ch2 = Character.toLowerCase(pattern.charAt(ix));
596 ix++;
608 ix
[all...]
H A DSocketHandler.java128 } catch (IOException ix) {
130 throw ix;
191 } catch (IOException ix) {
H A DMemoryHandler.java206 int ix = (start+count)%buffer.length;
207 buffer[ix] = record;
226 int ix = (start+i)%buffer.length;
227 LogRecord record = buffer[ix];
H A DLogRecord.java553 for (int ix = 0; ix < depth; ix++) {
558 StackTraceElement frame = stack[ix];
H A DLogManager.java862 int ix = 1;
864 int ix2 = name.indexOf(".", ix);
875 ix = ix2+1;
887 int ix = name.indexOf(".");
889 if (ix > 0) {
890 head = name.substring(0, ix);
891 name = name.substring(ix + 1);
1373 int ix = 0;
1375 while (ix < hands.length()) {
1376 int end = ix;
[all...]

Completed in 2729 milliseconds