/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/ |
H A D | DuplicateDirectByteBufferTest.java | 24 buf = buf.duplicate();
|
H A D | DuplicateHeapByteBufferTest.java | 24 buf = buf.duplicate();
|
H A D | DuplicateWrappedByteBufferTest.java | 24 buf = buf.duplicate();
|
H A D | CharBufferTest.java | 220 // duplicate's contents should be the same as buf 221 CharBuffer duplicate = buf.duplicate(); 222 assertNotSame(buf, duplicate); 223 assertEquals(buf.position(), duplicate.position()); 224 assertEquals(buf.limit(), duplicate.limit()); 225 assertEquals(buf.isReadOnly(), duplicate.isReadOnly()); 226 assertEquals(buf.isDirect(), duplicate.isDirect()); 227 assertEquals(buf.order(), duplicate.order()); 228 assertEquals(buf.capacity(), duplicate [all...] |
H A D | DoubleBufferTest.java | 216 // duplicate's contents should be the same as buf 217 DoubleBuffer duplicate = buf.duplicate(); 218 assertNotSame(buf, duplicate); 219 assertEquals(buf.position(), duplicate.position()); 220 assertEquals(buf.limit(), duplicate.limit()); 221 assertEquals(buf.isReadOnly(), duplicate.isReadOnly()); 222 assertEquals(buf.isDirect(), duplicate.isDirect()); 223 assertEquals(buf.order(), duplicate.order()); 224 assertContentEquals(buf, duplicate); [all...] |
H A D | FloatBufferTest.java | 207 // duplicate's contents should be the same as buf 208 FloatBuffer duplicate = buf.duplicate(); 209 assertNotSame(buf, duplicate); 210 assertEquals(buf.position(), duplicate.position()); 211 assertEquals(buf.limit(), duplicate.limit()); 212 assertEquals(buf.isReadOnly(), duplicate.isReadOnly()); 213 assertEquals(buf.isDirect(), duplicate.isDirect()); 214 assertEquals(buf.order(), duplicate.order()); 215 assertContentEquals(buf, duplicate); [all...] |
H A D | IntBufferTest.java | 187 // duplicate's contents should be the same as buf 188 IntBuffer duplicate = buf.duplicate(); 189 assertNotSame(buf, duplicate); 190 assertEquals(buf.position(), duplicate.position()); 191 assertEquals(buf.limit(), duplicate.limit()); 192 assertEquals(buf.isReadOnly(), duplicate.isReadOnly()); 193 assertEquals(buf.isDirect(), duplicate.isDirect()); 194 assertEquals(buf.order(), duplicate.order()); 195 assertContentEquals(buf, duplicate); [all...] |
H A D | LongBufferTest.java | 187 // duplicate's contents should be the same as buf 188 LongBuffer duplicate = buf.duplicate(); 189 assertNotSame(buf, duplicate); 190 assertEquals(buf.position(), duplicate.position()); 191 assertEquals(buf.limit(), duplicate.limit()); 192 assertEquals(buf.isReadOnly(), duplicate.isReadOnly()); 193 assertEquals(buf.isDirect(), duplicate.isDirect()); 194 assertEquals(buf.order(), duplicate.order()); 195 assertContentEquals(buf, duplicate); [all...] |
H A D | ShortBufferTest.java | 186 // duplicate's contents should be the same as buf 187 ShortBuffer duplicate = buf.duplicate(); 188 assertNotSame(buf, duplicate); 189 assertEquals(buf.position(), duplicate.position()); 190 assertEquals(buf.limit(), duplicate.limit()); 191 assertEquals(buf.isReadOnly(), duplicate.isReadOnly()); 192 assertEquals(buf.isDirect(), duplicate.isDirect()); 193 assertEquals(buf.order(), duplicate.order()); 194 assertContentEquals(buf, duplicate); [all...] |
H A D | ReadOnlyDoubleBufferTest.java | 50 DoubleBuffer duplicate = buf.duplicate(); 51 assertEquals(buf.hashCode(), duplicate.hashCode());
|
H A D | ReadOnlyFloatBufferTest.java | 50 FloatBuffer duplicate = buf.duplicate(); 51 assertEquals(buf.hashCode(), duplicate.hashCode());
|
H A D | ReadOnlyIntBufferTest.java | 50 IntBuffer duplicate = buf.duplicate(); 51 assertEquals(buf.hashCode(), duplicate.hashCode());
|
H A D | ReadOnlyLongBufferTest.java | 50 LongBuffer duplicate = buf.duplicate(); 51 assertEquals(buf.hashCode(), duplicate.hashCode());
|
H A D | ReadOnlyShortBufferTest.java | 50 ShortBuffer duplicate = buf.duplicate(); 51 assertEquals(buf.hashCode(), duplicate.hashCode());
|
H A D | ReadOnlyCharBufferTest.java | 53 CharBuffer duplicate = buf.duplicate(); 54 assertEquals(buf.hashCode(), duplicate.hashCode());
|
/external/icu4c/common/ |
H A D | mutex.h | 98 * created yet. In a race condition, the duplicate may not be NULL. 99 * The caller must delete the duplicate. 100 * The caller need not initialize the duplicate before the call. 103 void *&duplicate, 118 * Takes care of the duplicate deletion and type casting. 130 void *duplicate; local 131 T *instance=(T *)singleton.getInstance(instantiator, context, duplicate, errorCode); 132 delete (T *)duplicate; 152 * created yet. In a race condition, the duplicate may not be NULL. 153 * The caller must delete the duplicate 186 void *duplicate; local [all...] |
H A D | mutex.cpp | 21 void *&duplicate, 23 duplicate=NULL; 38 // to the "duplicate" parameter, and the caller deletes it. 49 duplicate=instance; 71 void *&duplicate, 73 duplicate=NULL; 99 // to the "duplicate" parameter, and the caller deletes it. 114 // Record a duplicate if we lost the race, or 116 duplicate=instance; 20 getInstance(InstantiatorFn *instantiator, const void *context, void *&duplicate, UErrorCode &errorCode) argument 70 getInstance(InstantiatorFn *instantiator, const void *context, void *&duplicate, UErrorCode &errorCode) argument
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
H A D | ListRemoveTester.java | 41 E duplicate = arrayAndDuplicate.duplicate; 43 int firstIndex = getList().indexOf(duplicate); 46 getList().remove(duplicate)); 47 assertTrue("After remove(duplicate), a list should still contain " 48 + "the duplicate element", getList().contains(duplicate)); 49 assertFalse("remove(duplicate) should remove the first instance of the " 50 + "duplicate element in the list", 51 firstIndex == getList().indexOf(duplicate)); [all...] |
H A D | ListRemoveAllTester.java | 43 E duplicate = arrayAndDuplicate.duplicate; 46 getList().removeAll(MinimalCollection.of(duplicate))); 49 getList().contains(duplicate));
|
/external/javassist/sample/duplicate/ |
H A D | Main.java | 1 package sample.duplicate;
21 First, run sample.duplicate.Viewer without a metaobject.
23 % java sample.duplicate.Viewer
28 of sample.duplicate.DuplicatedObject.
30 % java sample.duplicate.Main
33 sample.duplicate.Viewer is loaded by javassist.tools.reflect.Loader so that
39 cl.makeReflective("sample.duplicate.Ball",
40 "sample.duplicate.DuplicatedObject",
42 cl.run("sample.duplicate.Viewer", args);
|
H A D | Ball.java | 1 package sample.duplicate;
|
H A D | DuplicatedObject.java | 1 package sample.duplicate;
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/ |
H A D | UnknownEntry.java | 37 this.content = (ByteBuffer) content.duplicate().rewind(); 42 this.content = (ByteBuffer) byteBuffer.duplicate().rewind(); 47 return content.duplicate(); 52 ByteBuffer bb = content.duplicate();
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
H A D | AbstractContainerTester.java | 175 public final E duplicate; field in class:AbstractContainerTester.ArrayWithDuplicate 177 private ArrayWithDuplicate(E[] elements, E duplicate) { argument 179 this.duplicate = duplicate; 184 * @return an array of the proper size with a duplicate element. 189 E duplicate = elements[(elements.length / 2) - 1]; 190 elements[(elements.length / 2) + 1] = duplicate; 191 return new ArrayWithDuplicate<E>(elements, duplicate);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/String/ |
H A D | regress-179068.js | 52 * > var long_str = duplicate(LONG_STR_SEED, N); 64 * > var long_str = duplicate(LONG_STR_SEED, N); 86 * duplicate function and this is faster then doing recursion like in the 106 var long_str = duplicate(LONG_STR_SEED, N); 122 function duplicate(str, count) function
|