| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
| 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/guava/guava-testlib/src/com/google/common/collect/testing/ |
| AbstractContainerTester.java | 182 public final E duplicate; field in class:AbstractContainerTester.ArrayWithDuplicate 184 private ArrayWithDuplicate(E[] elements, E duplicate) { 186 this.duplicate = duplicate; 191 * @return an array of the proper size with a duplicate element. 196 E duplicate = elements[(elements.length / 2) - 1]; local 197 elements[(elements.length / 2) + 1] = duplicate; 198 return new ArrayWithDuplicate<E>(elements, duplicate);
|
| /external/javassist/sample/duplicate/ |
| Viewer.java | 1 package sample.duplicate;
|
| /external/libchrome/base/metrics/ |
| sparse_histogram_unittest.cc | 227 // Create a histogram that we will later duplicate. 234 // Create a duplicate. This has to happen differently depending on where the 239 // the just-created histogram which will then be released as a duplicate. 255 HistogramBase* duplicate = local 257 DCHECK_EQ(original, duplicate); 259 duplicate->Add(2); 263 duplicate->Add(1); 265 std::unique_ptr<HistogramSamples> snapshot_dup = duplicate->SnapshotSamples();
|
| /external/libmojo/mojo/public/java/system/src/org/chromium/mojo/system/ |
| InvalidHandle.java | 121 * @see SharedBufferHandle#duplicate(SharedBufferHandle.DuplicateOptions) 124 public SharedBufferHandle duplicate(DuplicateOptions options) { method in class:InvalidHandle
|
| /external/python/cpython2/Lib/multiprocessing/ |
| forking.py | 42 __all__ = ['Popen', 'assert_spawning', 'exit', 'duplicate', 'close', 'ForkingPickler'] 106 duplicate = os.dup variable 230 def duplicate(handle, target_process=None, inheritable=False): function 254 rhandle = duplicate(msvcrt.get_osfhandle(rfd), inheritable=True) 288 return duplicate(handle, Popen._tls.process_handle)
|
| /external/v8/src/ast/ |
| modules.cc | 205 // has already checked for duplicate exports, so it's guaranteed that we 278 const ModuleDescriptor::Entry* duplicate = nullptr; local 282 duplicate = BetterDuplicate(elem.second, export_names, duplicate); 286 duplicate = BetterDuplicate(entry, export_names, duplicate); 288 return duplicate; 297 // Report error iff there are duplicate exports.
|
| /hardware/intel/common/libmix/mix_audio/src/ |
| mixacp.c | 100 * @returns: a newly allocated duplicate of the object. 102 * Copy duplicate of the object. 110 MixAudioConfigParams *duplicate = mix_acp_new(); local 111 if (mix_acp_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) 113 ret = MIX_PARAMS(duplicate); 117 mix_acp_unref(duplicate);
|
| mixacpaac.c | 102 * @returns: a newly allocated duplicate of the object. 104 * Copy duplicate of the object. 112 MixAudioConfigParamsAAC *duplicate = mix_acp_aac_new(); local 113 if (mix_acp_aac_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) 115 ret = MIX_PARAMS(duplicate); 119 mix_acp_aac_unref(duplicate);
|
| /hardware/intel/common/libmix/mix_video/src/ |
| mixbufferpool.c | 99 * @returns: a newly allocated duplicate of the object. 101 * Copy duplicate of the object. 111 MixBufferPool *duplicate = mix_bufferpool_new(); local 112 if (mix_bufferpool_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { 113 ret = MIX_PARAMS(duplicate); 115 mix_bufferpool_unref(duplicate); 146 // Duplicate string
|
| mixsurfacepool.c | 100 * @returns: a newly allocated duplicate of the object. 102 * Copy duplicate of the object. 112 MixSurfacePool *duplicate = mix_surfacepool_new(); local 113 if (mix_surfacepool_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { 114 ret = MIX_PARAMS(duplicate); 116 mix_surfacepool_unref(duplicate); 147 // Duplicate string
|
| mixvideoconfigparamsenc_h264.c | 119 * @returns: a newly allocated duplicate of the object. 121 * Copy duplicate of the object. 130 MixVideoConfigParamsEncH264 *duplicate = mix_videoconfigparamsenc_h264_new (); local 132 (MIX_PARAMS (duplicate), MIX_PARAMS (obj))) 134 ret = MIX_PARAMS (duplicate); 138 mix_videoconfigparamsenc_h264_unref (duplicate);
|
| mixvideoconfigparamsenc_mpeg4.c | 118 * @returns: a newly allocated duplicate of the object.
120 * Copy duplicate of the object.
129 MixVideoConfigParamsEncMPEG4 *duplicate = mix_videoconfigparamsenc_mpeg4_new ();
local 131 (MIX_PARAMS (duplicate), MIX_PARAMS (obj)))
133 ret = MIX_PARAMS (duplicate);
137 mix_videoconfigparamsenc_mpeg4_unref (duplicate);
|
| mixvideorenderparams.c | 122 * @returns: a newly allocated duplicate of the object. 124 * Copy duplicate of the object. 131 MixVideoRenderParams *duplicate = mix_videorenderparams_new(); local 132 if (mix_videorenderparams_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { 133 ret = MIX_PARAMS(duplicate); 135 mix_videorenderparams_unref(duplicate);
|
| /libcore/ojluni/src/main/java/java/nio/ |
| ByteBufferAsDoubleBuffer.java | 41 this.bb = bb.duplicate(); 68 public DoubleBuffer duplicate() { method in class:ByteBufferAsDoubleBuffer
|
| ByteBufferAsFloatBuffer.java | 40 this.bb = bb.duplicate(); 67 public FloatBuffer duplicate() { method in class:ByteBufferAsFloatBuffer
|
| ByteBufferAsIntBuffer.java | 40 this.bb = bb.duplicate(); 67 public IntBuffer duplicate() { method in class:ByteBufferAsIntBuffer
|
| ByteBufferAsLongBuffer.java | 40 this.bb = bb.duplicate(); 67 public LongBuffer duplicate() { method in class:ByteBufferAsLongBuffer
|
| ByteBufferAsShortBuffer.java | 40 this.bb = bb.duplicate(); 67 public ShortBuffer duplicate() { method in class:ByteBufferAsShortBuffer
|
| HeapCharBuffer.java | 85 public CharBuffer duplicate() { method in class:HeapCharBuffer
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/ |
| forking.py | 42 __all__ = ['Popen', 'assert_spawning', 'exit', 'duplicate', 'close', 'ForkingPickler'] 106 duplicate = os.dup variable 230 def duplicate(handle, target_process=None, inheritable=False): function 254 rhandle = duplicate(msvcrt.get_osfhandle(rfd), inheritable=True) 288 return duplicate(handle, Popen._tls.process_handle)
|
| /prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/ |
| forking.py | 42 __all__ = ['Popen', 'assert_spawning', 'exit', 'duplicate', 'close', 'ForkingPickler'] 106 duplicate = os.dup variable 230 def duplicate(handle, target_process=None, inheritable=False): function 254 rhandle = duplicate(msvcrt.get_osfhandle(rfd), inheritable=True) 288 return duplicate(handle, Popen._tls.process_handle)
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
| forking.py | 42 __all__ = ['Popen', 'assert_spawning', 'exit', 'duplicate', 'close', 'ForkingPickler'] 106 duplicate = os.dup variable 230 def duplicate(handle, target_process=None, inheritable=False): function 254 rhandle = duplicate(msvcrt.get_osfhandle(rfd), inheritable=True) 288 return duplicate(handle, Popen._tls.process_handle)
|