Home
last modified time | relevance | path

Searched refs:writeIndex (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DAudioParamTimeline.cpp196 unsigned writeIndex = 0; in valuesForTimeRangeImpl() local
205 for (; writeIndex < fillToFrame; ++writeIndex) in valuesForTimeRangeImpl()
206 values[writeIndex] = defaultValue; in valuesForTimeRangeImpl()
218 for (int i = 0; i < n && writeIndex < numberOfValues; ++i) { in valuesForTimeRangeImpl()
243 for (; writeIndex < fillToFrame; ++writeIndex) { in valuesForTimeRangeImpl()
246 values[writeIndex] = value; in valuesForTimeRangeImpl()
252 for (; writeIndex < fillToFrame; ++writeIndex) in valuesForTimeRangeImpl()
253 values[writeIndex] = value; in valuesForTimeRangeImpl()
266 for (; writeIndex < fillToFrame; ++writeIndex) { in valuesForTimeRangeImpl()
267 values[writeIndex] = value; in valuesForTimeRangeImpl()
[all …]
DRealtimeAnalyser.cpp159 unsigned writeIndex = m_writeIndex; in doFFTAnalysis() local
160 if (writeIndex < fftSize) { in doFFTAnalysis()
161 …memcpy(tempP, inputBuffer + writeIndex - fftSize + InputBufferSize, sizeof(*tempP) * (fftSize - wr… in doFFTAnalysis()
162 memcpy(tempP + fftSize - writeIndex, inputBuffer, sizeof(*tempP) * writeIndex); in doFFTAnalysis()
164 memcpy(tempP, inputBuffer + writeIndex - fftSize, sizeof(*tempP) * fftSize); in doFFTAnalysis()
277 unsigned writeIndex = m_writeIndex; in getFloatTimeDomainData() local
281 … float value = inputBuffer[(i + writeIndex - fftSize + InputBufferSize) % InputBufferSize]; in getFloatTimeDomainData()
306 unsigned writeIndex = m_writeIndex; in getByteTimeDomainData() local
310 … float value = inputBuffer[(i + writeIndex - fftSize + InputBufferSize) % InputBufferSize]; in getByteTimeDomainData()
DAudioBufferSourceNode.cpp197 unsigned writeIndex = destinationFrameOffset; in renderFromBuffer() local
262 …memcpy(destinationChannels[i] + writeIndex, sourceChannels[i] + readIndex, sizeof(float) * framesT… in renderFromBuffer()
264 writeIndex += framesThisTime; in renderFromBuffer()
271 if (renderSilenceAndFinishIfNotLooping(bus, writeIndex, framesToProcess)) in renderFromBuffer()
305 destination[writeIndex] = narrowPrecisionToFloat(sample); in renderFromBuffer()
307 writeIndex++; in renderFromBuffer()
314 if (renderSilenceAndFinishIfNotLooping(bus, writeIndex, framesToProcess)) in renderFromBuffer()
/external/chromium_org/third_party/WebKit/Source/platform/audio/
DReverbAccumulationBuffer.cpp85 size_t writeIndex = (*readIndex + delayFrames) % bufferLength; in accumulate() local
90 size_t framesAvailable = bufferLength - writeIndex; in accumulate()
96 …bool isSafe = writeIndex <= bufferLength && numberOfFrames1 + writeIndex <= bufferLength && number… in accumulate()
101 vadd(source, 1, destination + writeIndex, 1, destination + writeIndex, 1, numberOfFrames1); in accumulate()
107 return writeIndex; in accumulate()
DReverbConvolver.cpp137 int writeIndex = m_inputBuffer.writeIndex(); in processInBackground() local
143 …while ((readIndex = m_backgroundStages[0]->inputReadIndex()) != writeIndex) { // FIXME: do better … in processInBackground()
DReverbInputBuffer.h48 size_t writeIndex() const { return m_writeIndex; } in writeIndex() function
/external/chromium_org/third_party/webrtc/modules/audio_device/mac/portaudio/
Dpa_ringbuffer.c83 return ( (rbuf->writeIndex - rbuf->readIndex) & rbuf->bigMask ); in PaUtil_GetRingBufferReadAvailable()
97 rbuf->writeIndex = rbuf->readIndex = 0; in PaUtil_FlushRingBuffer()
114 index = rbuf->writeIndex & rbuf->smallMask; in PaUtil_GetRingBufferWriteRegions()
141 return rbuf->writeIndex = (rbuf->writeIndex + elementCount) & rbuf->bigMask; in PaUtil_AdvanceRingBufferWriteIndex()
Dpa_ringbuffer.h93 …ring_buffer_size_t writeIndex; /**< Index of next writable element. Set by PaUtil_AdvanceRingBuff… member
/external/libnfc-nxp/src/
DphFriNfc_LlcpTransport_Connectionless.c75 uint8_t writeIndex; in Handle_Connectionless_IncommingFrame() local
106 writeIndex = pSocket->indexRwWrite % pSocket->localRW; in Handle_Connectionless_IncommingFrame()
108 pSocket->sSocketRwBufferTable[writeIndex].buffer[0] = ssap; in Handle_Connectionless_IncommingFrame()
110 memcpy(pSocket->sSocketRwBufferTable[writeIndex].buffer + 1, in Handle_Connectionless_IncommingFrame()
113 pSocket->sSocketRwBufferTable[writeIndex].length = psData->length; in Handle_Connectionless_IncommingFrame()
/external/icu/icu4c/source/common/
Duts46.cpp606 int32_t readIndex=mappingStart, writeIndex=mappingStart; in mapDevChars() local
613 s[writeIndex++]=0x73; // Replace sharp s with first s. in mapDevChars()
615 if(writeIndex==readIndex) { in mapDevChars()
625 u_memmove(s+writeIndex+1, s+writeIndex, length-writeIndex); in mapDevChars()
628 s[writeIndex++]=0x73; in mapDevChars()
633 s[writeIndex++]=0x3c3; in mapDevChars()
642 s[writeIndex++]=c; in mapDevChars()
645 } while(writeIndex<length); in mapDevChars()
/external/chromium_org/third_party/icu/source/common/
Duts46.cpp602 int32_t readIndex=mappingStart, writeIndex=mappingStart; in mapDevChars() local
609 s[writeIndex++]=0x73; // Replace sharp s with first s. in mapDevChars()
611 if(writeIndex==readIndex) { in mapDevChars()
621 u_memmove(s+writeIndex+1, s+writeIndex, length-writeIndex); in mapDevChars()
624 s[writeIndex++]=0x73; in mapDevChars()
629 s[writeIndex++]=0x3c3; in mapDevChars()
638 s[writeIndex++]=c; in mapDevChars()
641 } while(writeIndex<length); in mapDevChars()
/external/clang/include/clang/Serialization/
DGlobalModuleIndex.h198 static ErrorCode writeIndex(FileManager &FileMgr, StringRef Path);
/external/clang/lib/Serialization/
DGlobalModuleIndex.cpp428 void writeIndex(llvm::BitstreamWriter &Stream);
685 void GlobalModuleIndexBuilder::writeIndex(llvm::BitstreamWriter &Stream) { in writeIndex() function in GlobalModuleIndexBuilder
766 GlobalModuleIndex::writeIndex(FileManager &FileMgr, StringRef Path) { in writeIndex() function in GlobalModuleIndex
821 Builder.writeIndex(OutputStream); in writeIndex()
/external/sonivox/arm-wt-22k/lib_src/
Djet.c126 EAS_INLINE EAS_BOOL JET_ReadQueue (EAS_U32 *pEventQueue, EAS_U8 *pReadIndex, EAS_U8 writeIndex, EAS… in JET_ReadQueue() argument
130 if (*pReadIndex == writeIndex) in JET_ReadQueue()
/external/clang/lib/Frontend/
DFrontendAction.cpp419 GlobalModuleIndex::writeIndex( in Execute()
DCompilerInstance.cpp1532 GlobalModuleIndex::writeIndex( in loadGlobalModuleIndex()
1560 GlobalModuleIndex::writeIndex( in loadGlobalModuleIndex()
/external/doclava/src/com/google/doclava/
DDoclava.java380 writeIndex(); in start()
407 private static void writeIndex() { in writeIndex() method in Doclava