HomeSort by relevance Sort by last modified time
    Searched refs:duplicate (Results 1 - 25 of 343) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/
DuplicateDirectByteBufferTest.java 24 buf = buf.duplicate();
DuplicateHeapByteBufferTest.java 24 buf = buf.duplicate();
DuplicateWrappedByteBufferTest.java 24 buf = buf.duplicate();
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.capacity())
429 CharBuffer duplicate = buf.duplicate(); local
    [all...]
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);
400 DoubleBuffer duplicate = buf.duplicate(); local
    [all...]
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);
398 FloatBuffer duplicate = buf.duplicate(); local
    [all...]
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);
376 IntBuffer duplicate = buf.duplicate(); local
    [all...]
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);
377 LongBuffer duplicate = buf.duplicate(); local
    [all...]
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);
363 ShortBuffer duplicate = buf.duplicate(); local
    [all...]
ReadOnlyDoubleBufferTest.java 50 DoubleBuffer duplicate = buf.duplicate(); local
51 assertEquals(buf.hashCode(), duplicate.hashCode());
ReadOnlyFloatBufferTest.java 50 FloatBuffer duplicate = buf.duplicate(); local
51 assertEquals(buf.hashCode(), duplicate.hashCode());
ReadOnlyIntBufferTest.java 50 IntBuffer duplicate = buf.duplicate(); local
51 assertEquals(buf.hashCode(), duplicate.hashCode());
ReadOnlyLongBufferTest.java 50 LongBuffer duplicate = buf.duplicate(); local
51 assertEquals(buf.hashCode(), duplicate.hashCode());
ReadOnlyShortBufferTest.java 50 ShortBuffer duplicate = buf.duplicate(); local
51 assertEquals(buf.hashCode(), duplicate.hashCode());
  /external/chromium_org/third_party/icu/source/common/
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;
153 * created yet. In a race condition, the duplicate may not be NULL.
154 * The caller must delete the duplicate
187 void *duplicate; local
    [all...]
mutex.cpp 20 void *&duplicate,
22 duplicate=NULL;
36 duplicate=instance;
43 void *&duplicate,
45 duplicate=NULL;
71 duplicate=instance;
  /external/icu4c/common/
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...]
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;
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListRemoveTester.java 41 E duplicate = arrayAndDuplicate.duplicate; local
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...]
ListRemoveAllTester.java 43 E duplicate = arrayAndDuplicate.duplicate; local
46 getList().removeAll(MinimalCollection.of(duplicate)));
49 getList().contains(duplicate));
  /external/javassist/sample/duplicate/
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);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/
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();
  /frameworks/base/core/java/android/net/
LinkSocketNotifier.java 32 * If the duplicate socket is accepted, the original will be marked invalid
35 * @param duplicate the new LinkSocket that better meets the application
48 public boolean onBetterLinkAvailable(LinkSocket original, LinkSocket duplicate);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
AbstractContainerTester.java 175 public final E duplicate; field in class:AbstractContainerTester.ArrayWithDuplicate
177 private ArrayWithDuplicate(E[] elements, E duplicate) {
179 this.duplicate = duplicate;
184 * @return an array of the proper size with a duplicate element.
189 E duplicate = elements[(elements.length / 2) - 1]; local
190 elements[(elements.length / 2) + 1] = duplicate;
191 return new ArrayWithDuplicate<E>(elements, duplicate);
  /hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
ts_parser.cpp 213 timestamp *element = NULL,*duplicate = NULL; local
229 duplicate = NULL;
231 duplicate = &phead->input_timestamps[i];
242 if(is_interlaced && duplicate) {
244 duplicate->in_use = false;
250 if (!duplicate)
251 duplicate = &phead->input_timestamps[i];
253 if (duplicate->timestamps > phead->input_timestamps[i].timestamps)
254 duplicate = &phead->input_timestamps[i];
258 if (duplicate) {
    [all...]

Completed in 639 milliseconds

1 2 3 4 5 6 7 8 91011>>