Home
last modified time | relevance | path

Searched refs:buffers (Results 1 – 25 of 153) sorted by relevance

1234567

/external/qemu/audio/
Dwinaudio.c96 WAVEHDR buffers[ NUM_OUT_BUFFERS ]; member
139 if ( s->buffers[i].dwUser != 0xFFFF ) { in winaudio_out_fini()
141 s->waveout, &s->buffers[i], sizeof(s->buffers[i]) ); in winaudio_out_fini()
142 s->buffers[i].dwUser = 0xFFFF; in winaudio_out_fini()
169 s->buffers[i].dwUser = 0xFFFF; in winaudio_out_init()
216 memset( &s->buffers[i], 0, sizeof(s->buffers[i]) ); in winaudio_out_init()
217 s->buffers[i].lpData = (LPSTR)(s->buffer_bytes + i*samples_size); in winaudio_out_init()
218 s->buffers[i].dwBufferLength = samples_size; in winaudio_out_init()
219 s->buffers[i].dwFlags = WHDR_DONE; in winaudio_out_init()
221 result = waveOutPrepareHeader( s->waveout, &s->buffers[i], in winaudio_out_init()
[all …]
/external/qemu/hw/
Dgoldfish_pipe.c347 pipeConnector_sendBuffers( void* opaque, const GoldfishPipeBuffer* buffers, int numBuffers ) in pipeConnector_sendBuffers() argument
350 const GoldfishPipeBuffer* buffers_limit = buffers + numBuffers; in pipeConnector_sendBuffers()
357 while (buffers < buffers_limit) { in pipeConnector_sendBuffers()
361 buffers[0].size, buffers[0].size, buffers[0].data); in pipeConnector_sendBuffers()
363 if (buffers[0].size == 0) { in pipeConnector_sendBuffers()
364 buffers++; in pipeConnector_sendBuffers()
369 if (avail > buffers[0].size) in pipeConnector_sendBuffers()
370 avail = buffers[0].size; in pipeConnector_sendBuffers()
373 memcpy(pcon->buffer + pcon->buffpos, buffers[0].data, avail); in pipeConnector_sendBuffers()
377 buffers++; in pipeConnector_sendBuffers()
[all …]
Dgoldfish_pipe.h82 int (*sendBuffers)( void* pipe, const GoldfishPipeBuffer* buffers, int numBuffers );
85 int (*recvBuffers)( void* pipe, GoldfishPipeBuffer* buffers, int numBuffers );
/external/chromium/net/socket/
Dssl_client_socket_win.cc1256 SecBuffer buffers[4]; in DoPayloadDecrypt() local
1257 buffers[0].pvBuffer = recv_buffer_.get(); in DoPayloadDecrypt()
1258 buffers[0].cbBuffer = bytes_received_; in DoPayloadDecrypt()
1259 buffers[0].BufferType = SECBUFFER_DATA; in DoPayloadDecrypt()
1261 buffers[1].BufferType = SECBUFFER_EMPTY; in DoPayloadDecrypt()
1262 buffers[2].BufferType = SECBUFFER_EMPTY; in DoPayloadDecrypt()
1263 buffers[3].BufferType = SECBUFFER_EMPTY; in DoPayloadDecrypt()
1267 buffer_desc.pBuffers = buffers; in DoPayloadDecrypt()
1298 switch (buffers[i].BufferType) { in DoPayloadDecrypt()
1301 decrypted_ptr_ = static_cast<char*>(buffers[i].pvBuffer); in DoPayloadDecrypt()
[all …]
/external/smack/src/org/xbill/DNS/
DTCPClient.java48 ByteBuffer [] buffers = new ByteBuffer[2]; in send() local
49 buffers[0] = ByteBuffer.wrap(lengthArray); in send()
50 buffers[1] = ByteBuffer.wrap(data); in send()
56 long n = channel.write(buffers); in send()
/external/webkit/Source/WebCore/platform/network/win/
DResourceHandleWin.cpp210 INTERNET_BUFFERSA buffers; in onRequestComplete() local
211 buffers.dwStructSize = sizeof(INTERNET_BUFFERSA); in onRequestComplete()
212 buffers.lpvBuffer = buffer; in onRequestComplete()
213 buffers.dwBufferLength = bufferSize; in onRequestComplete()
216 …ileExA(d->m_requestHandle, &buffers, d->m_loadSynchronously ? 0 : IRF_NO_WAIT, reinterpret_cast<DW… in onRequestComplete()
249 resourceHandleClient->didReceiveData(this, buffer, buffers.dwBufferLength, -1); in onRequestComplete()
250 buffers.dwBufferLength = bufferSize; in onRequestComplete()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DMesh.java169 private IntMap<VertexBuffer> buffers = new IntMap<VertexBuffer>(); field in Mesh
204 clone.buffers = buffers.clone(); in clone()
235 clone.buffers = new IntMap<VertexBuffer>(); in deepClone()
239 clone.buffers.put(vb.getBufferType().ordinal(), bufClone); in deepClone()
597 buffers.put(Type.InterleavedData.ordinal(), allData); in setInterleaved()
867 if (buffers.containsKey(vb.getBufferType().ordinal())) in setBuffer()
870 buffers.put(vb.getBufferType().ordinal(), vb); in setBuffer()
883 VertexBuffer vb = buffers.remove(type.ordinal()); in clearBuffer()
903 VertexBuffer vb = buffers.get(type.ordinal()); in setBuffer()
969 return buffers.get(type.ordinal()); in getBuffer()
[all …]
/external/qemu/android/
Dhw-pipe-net.c249 netPipe_sendBuffers( void* opaque, const GoldfishPipeBuffer* buffers, int numBuffers ) in netPipe_sendBuffers() argument
255 const GoldfishPipeBuffer* buff = buffers; in netPipe_sendBuffers()
265 buff = buffers; in netPipe_sendBuffers()
307 netPipe_recvBuffers( void* opaque, GoldfishPipeBuffer* buffers, int numBuffers ) in netPipe_recvBuffers() argument
313 GoldfishPipeBuffer* buff = buffers; in netPipe_recvBuffers()
319 buff = buffers; in netPipe_recvBuffers()
Dhw-qemud.c1975 const GoldfishPipeBuffer* buffers, in _qemudPipe_sendBuffers() argument
1989 D("%s: %s", __FUNCTION__, quote_bytes((char*)buffers->data, buffers->size)); in _qemudPipe_sendBuffers()
1990 qemud_client_recv(client, buffers->data, buffers->size); in _qemudPipe_sendBuffers()
1991 transferred = buffers->size; in _qemudPipe_sendBuffers()
1998 transferred += buffers[n].size; in _qemudPipe_sendBuffers()
2003 memcpy(wrk, buffers[n].data, buffers[n].size); in _qemudPipe_sendBuffers()
2004 wrk += buffers[n].size; in _qemudPipe_sendBuffers()
2017 _qemudPipe_recvBuffers(void* opaque, GoldfishPipeBuffer* buffers, int numBuffers) in _qemudPipe_recvBuffers() argument
2022 GoldfishPipeBuffer* buff = buffers; in _qemudPipe_recvBuffers()
2023 GoldfishPipeBuffer* endbuff = buffers + numBuffers; in _qemudPipe_recvBuffers()
[all …]
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
DSocketChannelTest.java2845 ByteBuffer[] buffers = new ByteBuffer[3]; in test_write$LByteBuffer2() local
2846 buffers[0] = ByteBuffer.wrap(data, 0, 6); in test_write$LByteBuffer2()
2847 buffers[1] = ByteBuffer.wrap(data, 6, data.length - 6); in test_write$LByteBuffer2()
2848 buffers[2] = ByteBuffer.wrap(data); in test_write$LByteBuffer2()
2851 client.write(buffers); in test_write$LByteBuffer2()
2877 ByteBuffer[] buffers = new ByteBuffer[3]; in test_write$LByteBuffer_buffers() local
2878 buffers[0] = ByteBuffer.wrap(data, 0, 2); in test_write$LByteBuffer_buffers()
2879 assertFalse(buffers[0].isDirect()); in test_write$LByteBuffer_buffers()
2880 assertTrue(buffers[0].hasArray()); in test_write$LByteBuffer_buffers()
2882 buffers[1] = ByteBuffer.wrap(data, 2, 4).asReadOnlyBuffer(); in test_write$LByteBuffer_buffers()
[all …]
/external/chromium/net/spdy/
Dspdy_stream.cc96 std::vector<scoped_refptr<IOBufferWithSize> > buffers; in PushedStreamReplayData() local
97 buffers.swap(pending_buffers_); in PushedStreamReplayData()
98 for (size_t i = 0; i < buffers.size(); ++i) { in PushedStreamReplayData()
103 if (buffers[i]) { in PushedStreamReplayData()
104 delegate_->OnDataReceived(buffers[i]->data(), buffers[i]->size()); in PushedStreamReplayData()
109 DCHECK_EQ(buffers.size() - 1, i); in PushedStreamReplayData()
Dspdy_session_unittest.cc83 IOBufferWithSize* buffers[kNumDuplicates]; in TEST_F() local
85 buffers[index] = new IOBufferWithSize(index+1); in TEST_F()
86 queue_.push(SpdyIOBuffer(buffers[index], buffers[index]->size(), 0, NULL)); in TEST_F()
/external/webkit/Source/WebCore/platform/audio/mac/
DAudioDestinationMac.cpp153 AudioBuffer* buffers = ioData->mBuffers; in render() local
154 m_renderBus.setChannelMemory(0, (float*)buffers[0].mData, numberOfFrames); in render()
155 m_renderBus.setChannelMemory(1, (float*)buffers[1].mData, numberOfFrames); in render()
/external/objenesis/main/src/org/objenesis/instantiator/basic/
DObjectInputStreamInstantiator.java48 private byte[][] buffers; field in ObjectInputStreamInstantiator.MockStream
110 buffers = new byte[][] {HEADER, FIRST_DATA, REPEATING_DATA}; in MockStream()
116 data = buffers[sequence]; in advanceBuffer()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/
DDB_Results.java292 StringBuffer[] buffers = new StringBuffer[10]; field in DB_Results.LogWriter
298 if (++this.depth >= this.buffers.length) { in starts()
300 … System.arraycopy(this.buffers, 0, this.buffers= new StringBuffer[this.depth+10], 0, this.depth); in starts()
302 StringBuffer buffer = this.buffers[this.depth]; in starts()
303 if (this.buffers[this.depth] == null) buffer = this.buffers[this.depth] = new StringBuffer(); in starts()
311 this.buffers[this.depth].append(log); in ends()
318 print(this.buffers[i].toString()); in ends()
326 this.buffers = new StringBuffer[10]; in ends()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DH264TrackImpl.java309 private ByteBuffer createSample(List<byte[]> buffers) { in createSample() argument
311 for (int i = 0; i < buffers.size(); i++) { in createSample()
312 outsize += buffers.get(i).length + 4; in createSample()
317 for (int i = 0; i < buffers.size(); i++) { in createSample()
318 bb.putInt(buffers.get(i).length); in createSample()
319 bb.put(buffers.get(i)); in createSample()
/external/oprofile/doc/
DMakefile.am50 cp ${top_srcdir}/doc/buffers.png doc/internals/
86 buffers.png \
/external/llvm/test/Transforms/SimplifyCFG/
Dvolatile-phioper.ll44 … "no-frame-pointer-elim-non-leaf" "realign-stack" "relocation-model"="pic" "ssp-buffers-size"="8" }
45 … "no-frame-pointer-elim-non-leaf" "realign-stack" "relocation-model"="pic" "ssp-buffers-size"="8" }
/external/qemu/docs/
DAUDIO.TXT43 buffer and write into a platform-specific sound buffers (e.g. WinWave-managed buffers
121 buffers.
125 SWVoiceOut: emulated hardware sound buffers:
137 backend-specific sound buffers
/external/oprofile/events/avr32/
Devents11 event:0x08 counters:1,2 um:zero minimum:500 name:DCACHE_WBUF_FULL : data cache write buffers full
12 …zero minimum:500 name:CYCLES_DCACHE_WBUF_FULL : cycles stalled due to data cache write buffers full
/external/libyuv/files/source/
Dmjpeg_decoder.cc69 buf_vec_.buffers = &buf_; in MJpegDecoder()
443 cinfo->src->next_input_byte = buf_vec->buffers[buf_vec->pos].data; in fill_input_buffer()
444 cinfo->src->bytes_in_buffer = buf_vec->buffers[buf_vec->pos].len; in fill_input_buffer()
/external/quake/quake/src/WinQuake/
Dsnd_dma.cpp820 static int buffers; in GetSoundtime() local
836 buffers++; // buffer wrapped in GetSoundtime()
840 buffers = 0; in GetSoundtime()
847 soundtime = buffers*fullsamples + samplepos/shm->channels; in GetSoundtime()
/external/quake/quake/src/QW/client/
Dsnd_dma.c816 static int buffers; in GetSoundtime() local
828 buffers++; // buffer wrapped in GetSoundtime()
832 buffers = 0; in GetSoundtime()
839 soundtime = buffers*fullsamples + samplepos/shm->channels; in GetSoundtime()
/external/replicaisland/src/com/replica/replicaisland/
DGLErrorLogger.java753 public void glDeleteBuffers(int n, IntBuffer buffers) { in glDeleteBuffers() argument
754 ((GL11)mGL).glDeleteBuffers(n, buffers); in glDeleteBuffers()
758 public void glDeleteBuffers(int n, int[] buffers, int offset) { in glDeleteBuffers() argument
759 ((GL11)mGL).glDeleteBuffers(n, buffers, offset); in glDeleteBuffers()
768 public void glGenBuffers(int n, IntBuffer buffers) { in glGenBuffers() argument
769 ((GL11)mGL).glGenBuffers(n, buffers); in glGenBuffers()
773 public void glGenBuffers(int n, int[] buffers, int offset) { in glGenBuffers() argument
774 ((GL11)mGL).glGenBuffers(n, buffers, offset); in glGenBuffers()
/external/libyuv/files/include/libyuv/
Dmjpeg_decoder.h139 Buffer* buffers; member

1234567