/openjdk7/jdk/test/java/nio/Buffer/ |
H A D | StringCharBufferSliceTest.java | 26 * @summary (bf) CharBuffer.slice() on wrapped CharSequence results in wrong position 34 ">>> StringCharBufferSliceTest-main: testing the slice method..."); 42 test(buff, buff.slice()); 48 test(buff, buff.slice()); 54 test(buff, buff.slice()); 57 ">>> StringCharBufferSliceTest-main: testing slice result with get()"); 60 CharBuffer slice = buff.slice(); 62 if (slice.get() != buff.get()) { 63 throw new RuntimeException("Wrong characters in slice resul 126 test(CharBuffer buff, CharBuffer slice) argument [all...] |
H A D | BasicByte.java | 182 private static void checkSlice(ByteBuffer b, ByteBuffer slice) { argument 183 ck(slice, 0, slice.position()); 184 ck(slice, b.remaining(), slice.limit()); 185 ck(slice, b.remaining(), slice.capacity()); 186 if (b.isDirect() != slice.isDirect()) 187 fail("Lost direction", slice); 188 if (b.isReadOnly() != slice [all...] |
H A D | BasicChar.java | 182 private static void checkSlice(CharBuffer b, CharBuffer slice) { argument 183 ck(slice, 0, slice.position()); 184 ck(slice, b.remaining(), slice.limit()); 185 ck(slice, b.remaining(), slice.capacity()); 186 if (b.isDirect() != slice.isDirect()) 187 fail("Lost direction", slice); 188 if (b.isReadOnly() != slice [all...] |
H A D | BasicDouble.java | 182 private static void checkSlice(DoubleBuffer b, DoubleBuffer slice) { argument 183 ck(slice, 0, slice.position()); 184 ck(slice, b.remaining(), slice.limit()); 185 ck(slice, b.remaining(), slice.capacity()); 186 if (b.isDirect() != slice.isDirect()) 187 fail("Lost direction", slice); 188 if (b.isReadOnly() != slice [all...] |
H A D | BasicFloat.java | 182 private static void checkSlice(FloatBuffer b, FloatBuffer slice) { argument 183 ck(slice, 0, slice.position()); 184 ck(slice, b.remaining(), slice.limit()); 185 ck(slice, b.remaining(), slice.capacity()); 186 if (b.isDirect() != slice.isDirect()) 187 fail("Lost direction", slice); 188 if (b.isReadOnly() != slice [all...] |
H A D | BasicInt.java | 182 private static void checkSlice(IntBuffer b, IntBuffer slice) { argument 183 ck(slice, 0, slice.position()); 184 ck(slice, b.remaining(), slice.limit()); 185 ck(slice, b.remaining(), slice.capacity()); 186 if (b.isDirect() != slice.isDirect()) 187 fail("Lost direction", slice); 188 if (b.isReadOnly() != slice [all...] |
H A D | BasicLong.java | 182 private static void checkSlice(LongBuffer b, LongBuffer slice) { argument 183 ck(slice, 0, slice.position()); 184 ck(slice, b.remaining(), slice.limit()); 185 ck(slice, b.remaining(), slice.capacity()); 186 if (b.isDirect() != slice.isDirect()) 187 fail("Lost direction", slice); 188 if (b.isReadOnly() != slice [all...] |
H A D | BasicShort.java | 182 private static void checkSlice(ShortBuffer b, ShortBuffer slice) { argument 183 ck(slice, 0, slice.position()); 184 ck(slice, b.remaining(), slice.limit()); 185 ck(slice, b.remaining(), slice.capacity()); 186 if (b.isDirect() != slice.isDirect()) 187 fail("Lost direction", slice); 188 if (b.isReadOnly() != slice [all...] |
/openjdk7/jdk/src/share/classes/java/nio/ |
H A D | StringCharBuffer.java | 44 public CharBuffer slice() { method in class:StringCharBuffer
|
/openjdk7/jdk/src/macosx/native/jobjc/src/core/java/com/apple/jobjc/ |
H A D | NativeBuffer.java | 80 public NativeBuffer slice(){ return new NativeBuffer(buffer.slice()); } method in class:NativeBuffer
|
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/ |
H A D | bytes.h | 62 bytes slice(size_t beg, size_t end) { function in struct:bytes
|
/openjdk7/jdk/test/java/util/regex/ |
H A D | RegExTest.java | 67 slice(); 331 // Must test a slice to see if it reports hitEnd correctly 1526 //slice 3079 private static void slice() throws Exception { method in class:RegExTest
|
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | superword.cpp | 51 _mem_slice_head(arena(), 8, 0, NULL), // memory slice heads 52 _mem_slice_tail(arena(), 8, 0, NULL), // memory slice tails 515 // For each memory slice, create the dependences 520 // Get slice in predecessor order (last is first) 523 // Make the slice dependent on the root 524 DepMem* slice = _dg.dep(n); local 525 _dg.make_edge(_dg.root(), slice); 527 // Create a sink for the slice 535 // If no dependency yet, use slice 537 _dg.make_edge(slice, s [all...] |