/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
ReverbAccumulationBuffer.cpp | 50 size_t bufferLength = m_buffer.size(); 51 bool isCopySafe = m_readIndex <= bufferLength && numberOfFrames <= bufferLength; 57 size_t framesAvailable = bufferLength - m_readIndex; 71 m_readIndex = (m_readIndex + numberOfFrames) % bufferLength; 83 size_t bufferLength = m_buffer.size(); 85 size_t writeIndex = (*readIndex + delayFrames) % bufferLength; 88 *readIndex = (*readIndex + numberOfFrames) % bufferLength; 90 size_t framesAvailable = bufferLength - writeIndex; 96 bool isSafe = writeIndex <= bufferLength && numberOfFrames1 + writeIndex <= bufferLength && numberOfFrames2 <= bufferLength [all...] |
ReverbInputBuffer.cpp | 45 size_t bufferLength = m_buffer.size(); 46 bool isCopySafe = m_writeIndex + numberOfFrames <= bufferLength; 54 ASSERT(m_writeIndex <= bufferLength); 56 if (m_writeIndex >= bufferLength) 62 size_t bufferLength = m_buffer.size(); 63 bool isPointerGood = readIndex && *readIndex >= 0 && *readIndex + numberOfFrames <= bufferLength; 76 *readIndex = (*readIndex + numberOfFrames) % bufferLength;
|
AudioDelayDSPKernel.cpp | 58 size_t bufferLength = bufferLengthForDelay(maxDelayTime, sampleRate); 59 ASSERT(bufferLength); 60 if (!bufferLength) 63 m_buffer.allocate(bufferLength); 93 size_t bufferLength = m_buffer.size(); 96 ASSERT(bufferLength); 97 if (!bufferLength) 139 double readPosition = m_writeIndex + bufferLength - desiredDelayFrames; 140 if (readPosition >= bufferLength) 141 readPosition -= bufferLength; [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
StringSerializer.java | 80 int bufferLength = stringBytes.length; 83 if (bufferLength <= Byte.MAX_VALUE) { 85 buffer.put((byte)bufferLength); 86 } else if (bufferLength <= Short.MAX_VALUE) { 88 buffer.putShort((short)bufferLength); 91 buffer.putInt(bufferLength);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
GlyphPageTreeNodeMac.cpp | 44 static bool shouldUseCoreText(UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) 50 for (unsigned i = 0; i < bufferLength; ++i) { 59 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) 63 Vector<CGGlyph, 512> glyphs(bufferLength); 64 if (!shouldUseCoreText(buffer, bufferLength, fontData)) { 65 CGFontGetGlyphsForUnichars(fontData->platformData().cgFont(), buffer, glyphs.data(), bufferLength); 75 && CTFontGetGlyphsForCharacters(fontData->platformData().ctFont(), buffer, glyphs.data(), bufferLength)) { 78 unsigned glyphStep = bufferLength / length; 89 RetainPtr<CFStringRef> string(AdoptCF, CFStringCreateWithCharactersNoCopy(kCFAllocatorDefault, buffer, bufferLength, kCFAllocatorNull));
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
LVPSA_Memory.c | 55 LVM_UINT32 BufferLength; 119 BufferLength=(LVM_UINT32)BL; 123 if((BufferLength * LVPSA_InternalRefreshTime) != pInitParams->SpectralDataBufferDuration) 125 BufferLength++; 127 InstAlloc_AddMember( &Instance, pInitParams->nBands * BufferLength * sizeof(LVM_UINT8) );
|
LVPSA_Init.c | 51 LVM_UINT32 BufferLength = 0; 130 BufferLength=(LVM_UINT32)BL; 133 if((BufferLength * LVPSA_InternalRefreshTime) != pLVPSA_Inst->SpectralDataBufferDuration) 135 pLVPSA_Inst->SpectralDataBufferLength = BufferLength + 1; 139 pLVPSA_Inst->SpectralDataBufferLength = BufferLength;
|
/external/chromium_org/third_party/WebKit/Source/testing/plugin/Tests/ |
PluginScriptableObjectOverridesAllProperties.cpp | 61 int bufferLength = strlen(propertyString) + strlen(message) + 1; 62 char* resultBuffer = static_cast<char*>(pluginTest()->NPN_MemAlloc(bufferLength)); 63 snprintf(resultBuffer, bufferLength, "%s%s", message, propertyString);
|
SlowNPPNew.cpp | 60 int bufferLength = strlen(propertyString) + strlen(message) + 1; 61 char* resultBuffer = static_cast<char*>(pluginTest()->NPN_MemAlloc(bufferLength)); 62 snprintf(resultBuffer, bufferLength, "%s%s", message, propertyString);
|
/frameworks/av/media/mtp/ |
MtpUtils.h | 25 void formatDateTime(time_t seconds, char* buffer, int bufferLength);
|
MtpUtils.cpp | 70 void formatDateTime(time_t seconds, char* buffer, int bufferLength) { 74 snprintf(buffer, bufferLength, "%04d%02d%02dT%02d%02d%02d",
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
DecimalNumber.cpp | 99 unsigned DecimalNumber::toStringDecimal(LChar* buffer, unsigned bufferLength) const 101 ASSERT_UNUSED(bufferLength, bufferLength >= bufferLengthForStringDecimal()); 155 unsigned DecimalNumber::toStringExponential(LChar* buffer, unsigned bufferLength) const 157 ASSERT_UNUSED(bufferLength, bufferLength >= bufferLengthForStringExponential());
|
DecimalNumber.h | 88 unsigned toStringDecimal(LChar* buffer, unsigned bufferLength) const; 89 unsigned toStringExponential(LChar* buffer, unsigned bufferLength) const;
|
StringExtras.h | 96 inline char* strnstr(const char* buffer, const char* target, size_t bufferLength) 101 for (const char* start = buffer; *start && start + targetLength <= buffer + bufferLength; start++) {
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
GlyphPageTreeNodeSkia.cpp | 43 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) 45 if (SkUTF16_IsHighSurrogate(buffer[bufferLength-1])) {
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
V8NPUtils.cpp | 115 int bufferLength = str->Utf8Length() + 1; 116 if (bufferLength <= kStackBufferSize) { 120 // WriteUtf8 is guaranteed to generate a null-terminated string because bufferLength is constructed to be one greater 123 str->WriteUtf8(stackBuffer, bufferLength);
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
ConvolverNode.cpp | 125 size_t bufferLength = buffer->length(); 128 bool isBufferGood = numberOfChannels > 0 && numberOfChannels <= 4 && bufferLength; 135 RefPtr<AudioBus> bufferBus = AudioBus::create(numberOfChannels, bufferLength, false); 137 bufferBus->setChannelMemory(i, buffer->getChannelData(i)->data(), bufferLength);
|
AudioBufferSourceNode.cpp | 205 size_t bufferLength = buffer()->length(); 210 unsigned endFrame = m_isGrain ? AudioUtilities::timeToSampleFrame(m_grainOffset + m_grainDuration, bufferSampleRate) : bufferLength; 219 if (endFrame > bufferLength) 220 endFrame = bufferLength; 289 if (readIndex2 >= bufferLength) { 299 if (readIndex >= bufferLength || readIndex2 >= bufferLength)
|
/external/lzma/CPP/Windows/ |
MemoryLock.cpp | 14 PTOKEN_PRIVILEGES NewState, DWORD BufferLength, PTOKEN_PRIVILEGES PreviousState,PDWORD ReturnLength);
|
/frameworks/base/core/jni/ |
android_nfc.h | 48 uint32_t BufferLength,
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
PipedInputStreamTest.java | 414 int bufferLength = mpis.bufferLength(); 415 assertEquals(100, bufferLength); 439 int bufferLength = mpis.bufferLength(); 440 assertEquals(100, bufferLength); 468 public int bufferLength() {
|
/external/chromium_org/third_party/icu/source/common/ |
unames.c | 236 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) { \ 237 if((bufferLength)>0) { \ 239 --(bufferLength); \ 261 char *buffer, uint16_t bufferLength) { 300 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 315 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 332 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 339 if(bufferLength>0) { 469 static uint16_t getExtName(uint32_t code, char *buffer, uint16_t bufferLength) { 476 WRITE_CHAR(buffer, bufferLength, length, '<') [all...] |
/external/icu4c/common/ |
unames.cpp | 238 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) { \ 239 if((bufferLength)>0) { \ 241 --(bufferLength); \ 263 char *buffer, uint16_t bufferLength) { 302 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 317 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 334 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 341 if(bufferLength>0) { 471 static uint16_t getExtName(uint32_t code, char *buffer, uint16_t bufferLength) { 478 WRITE_CHAR(buffer, bufferLength, length, '<') [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
LocaleICU.cpp | 81 int32_t bufferLength = unum_getSymbol(m_numberFormat, symbol, 0, 0, &status); 85 StringBuffer<UChar> buffer(bufferLength); 87 unum_getSymbol(m_numberFormat, symbol, buffer.characters(), bufferLength, &status); 96 int32_t bufferLength = unum_getTextAttribute(m_numberFormat, tag, 0, 0, &status); 100 StringBuffer<UChar> buffer(bufferLength); 102 unum_getTextAttribute(m_numberFormat, tag, buffer.characters(), bufferLength, &status);
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ |
ImageDecoder.cpp | 34 static unsigned copyFromSharedBuffer(char* buffer, unsigned bufferLength, const SharedBuffer& sharedBuffer, unsigned offset) 39 unsigned bytesToCopy = std::min(bufferLength - bytesExtracted, moreDataLength); 42 if (bytesExtracted == bufferLength)
|