HomeSort by relevance Sort by last modified time
    Searched full:bufferlength (Results 1 - 25 of 79) sorted by null

1 2 3 4

  /external/webkit/Source/WebCore/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;
  /external/webkit/Source/WebCore/webaudio/
DelayDSPKernel.cpp 67 size_t bufferLength = static_cast<size_t>(sampleRate * maxDelayTime);
68 ASSERT(bufferLength);
69 if (!bufferLength)
72 m_buffer.resize(bufferLength);
80 size_t bufferLength = m_buffer.size();
83 ASSERT(bufferLength);
84 if (!bufferLength)
110 double readPosition = m_writeIndex + bufferLength - desiredDelayFrames;
111 if (readPosition > bufferLength)
112 readPosition -= bufferLength;
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/android/fonts/
GlyphMapAndroid.cpp 47 static HB_Error substituteWithVerticalGlyphs(const FontPlatformData& platformData, uint16_t* glyphs, unsigned bufferLength)
57 for (unsigned i = 0; i < bufferLength; ++i)
77 for (unsigned i = 0; i < bufferLength; ++i)
83 static void convertToVerticalForms(UChar* src, UChar* dest, unsigned bufferLength) {
84 for (unsigned i = 0; i < bufferLength; ++i) {
91 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)
93 if (SkUTF16_IsHighSurrogate(buffer[bufferLength-1])) {
105 UChar vTextBuffer[bufferLength];
109 convertToVerticalForms(buffer, vTextBuffer, bufferLength);
113 unsigned count = paint.textToGlyphs(textBuffer, bufferLength << 1, glyphs)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/skia/
GlyphPageTreeNodeSkia.cpp 44 static int substituteWithVerticalGlyphs(const SimpleFontData* fontData, uint16_t* glyphs, unsigned bufferLength)
54 for (unsigned i = 0; i < bufferLength; ++i)
68 for (unsigned i = 0; i < bufferLength; ++i)
74 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)
76 if (SkUTF16_IsHighSurrogate(buffer[bufferLength-1])) {
88 unsigned count = paint.textToGlyphs(buffer, bufferLength * 2, glyphs);
96 for (unsigned i = 0; i < bufferLength; ++i) {
103 substituteWithVerticalGlyphs(fontData, glyphs, bufferLength);
  /external/quake/quake/src/WinQuake/
net_loop.cpp 157 int *bufferLength;
162 bufferLength = &((qsocket_t *)sock->driverdata)->receiveMessageLength;
164 if ((*bufferLength + data->cursize + 4) > NET_MAXMESSAGE)
167 buffer = ((qsocket_t *)sock->driverdata)->receiveMessage + *bufferLength;
181 *bufferLength = IntAlign(*bufferLength + data->cursize + 4);
191 int *bufferLength;
196 bufferLength = &((qsocket_t *)sock->driverdata)->receiveMessageLength;
198 if ((*bufferLength + data->cursize + sizeof(byte) + sizeof(short)) > NET_MAXMESSAGE)
201 buffer = ((qsocket_t *)sock->driverdata)->receiveMessage + *bufferLength;
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/win/
GlyphPageTreeNodeCairoWin.cpp 36 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)
38 // bufferLength will be greater than the requested number of glyphs if the buffer contains surrogate pairs.
40 if (bufferLength > length)
53 DWORD result = GetGlyphIndices(dc, buffer, bufferLength, localGlyphBuffer, 0);
54 bool success = result != GDI_ERROR && static_cast<unsigned>(result) == bufferLength;
GlyphPageTreeNodeCGWin.cpp 37 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)
39 // bufferLength will be greater than the requested number of glyphs if the buffer contains surrogate pairs.
41 if (bufferLength > length)
46 wkGetGlyphs(fontData->platformData().cgFont(), buffer, localGlyphBuffer, bufferLength);
DIBPixelData.cpp 72 info.biSizeImage = bufferLength();
81 ::WriteFile(hFile, buffer(), bufferLength(), &bytesWritten, 0);
  /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/webkit/Source/WebKit2/Shared/
WebString.h 62 size_t getCharacters(UChar* buffer, size_t bufferLength) const
64 if (!bufferLength)
66 bufferLength = std::min(bufferLength, static_cast<size_t>(m_string.length()));
67 memcpy(buffer, m_string.characters(), bufferLength * sizeof(UChar));
68 return bufferLength;
  /external/webkit/Source/WebCore/platform/graphics/wince/
GlyphPageTreeNodeWinCE.cpp 36 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)
38 if (length != bufferLength)
46 for (unsigned i = 0; i < bufferLength; ++i) {
59 for (unsigned i = 0; i < bufferLength; ++i) {
  /external/webkit/Source/WebCore/platform/graphics/mac/
GlyphPageTreeNodeMac.cpp 40 static bool shouldUseCoreText(UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)
44 for (unsigned i = 0; i < bufferLength; ++i) {
54 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)
59 if (!shouldUseCoreText(buffer, bufferLength, fontData)) {
60 Vector<CGGlyph, 512> glyphs(bufferLength);
61 wkGetGlyphsForCharacters(fontData->platformData().cgFont(), buffer, glyphs.data(), bufferLength);
72 RetainPtr<CFStringRef> string(AdoptCF, CFStringCreateWithCharactersNoCopy(kCFAllocatorDefault, buffer, bufferLength, kCFAllocatorNull));
140 wkConvertCharToGlyphs(fontData->m_styleGroup, buffer, bufferLength, &glyphVector);
  /external/webkit/Source/WebCore/platform/haiku/
PasteboardHaiku.cpp 144 ssize_t bufferLength;
146 if (data->FindData("text/plain", B_MIME_TYPE, reinterpret_cast<const void**>(&buffer), &bufferLength) == B_OK)
147 string.Append(buffer, bufferLength);
166 ssize_t bufferLength;
167 if (data->FindData("text/html", B_MIME_TYPE, reinterpret_cast<const void**>(&buffer), &bufferLength) == B_OK) {
169 String html = decoder->decode(buffer, bufferLength);
182 if (data->FindData("text/plain", B_MIME_TYPE, reinterpret_cast<const void**>(&buffer), &bufferLength) == B_OK) {
183 BString plainText(buffer, bufferLength);
  /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/webkit/Source/WebCore/platform/graphics/freetype/
GlyphPageTreeNodeFreeType.cpp 41 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)
43 // The bufferLength will be greater than the glyph page size if the buffer has Unicode supplementary characters.
45 if (bufferLength > GlyphPage::size)
  /external/webkit/Source/WebKit2/Shared/Plugins/Netscape/win/
NetscapePluginModuleWin.cpp 39 UINT bufferLength;
41 if (!::VerQueryValueW(versionInfoData, const_cast<UChar*>(subInfo.charactersWithNullTermination()), &buffer, &bufferLength) || !bufferLength)
45 return String(reinterpret_cast<UChar*>(buffer), bufferLength - 1);
  /frameworks/av/media/mtp/
MtpUtils.h 25 void formatDateTime(time_t seconds, char* buffer, int bufferLength);
  /external/webkit/Source/WebCore/platform/graphics/wx/
GlyphMapWx.cpp 38 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)
40 bool isUtf16 = bufferLength != length;
  /external/webkit/Source/JavaScriptCore/wtf/
DecimalNumber.cpp 102 unsigned DecimalNumber::toStringDecimal(UChar* buffer, unsigned bufferLength) const
104 ASSERT_UNUSED(bufferLength, bufferLength >= bufferLengthForStringDecimal());
158 unsigned DecimalNumber::toStringExponential(UChar* buffer, unsigned bufferLength) const
160 ASSERT_UNUSED(bufferLength, bufferLength >= bufferLengthForStringExponential());
  /external/webkit/Source/WebCore/platform/graphics/pango/
GlyphPageTreeNodePango.cpp 74 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)
76 // The bufferLength will be greater than the glyph page size if the buffer has Unicode supplementary characters.
78 if (bufferLength > GlyphPage::size)
  /external/webkit/Source/WebCore/platform/graphics/haiku/
GlyphPageTreeNodeHaiku.cpp 41 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* characterBuffer, unsigned bufferLength, const SimpleFontData* fontData)
43 bool isUtf16 = bufferLength != GlyphPage::size;
  /external/webkit/Source/WebKit2/Shared/API/c/
WKString.cpp 55 size_t WKStringGetCharacters(WKStringRef stringRef, WKChar* buffer, size_t bufferLength)
58 return (toImpl(stringRef)->getCharacters(static_cast<UChar*>(buffer), bufferLength));
  /external/webkit/Source/WebCore/bindings/v8/
V8NPUtils.cpp 114 int bufferLength = str->Utf8Length() + 1;
115 if (bufferLength <= kStackBufferSize) {
119 // WriteUtf8 is guaranteed to generate a null-terminated string because bufferLength is constructed to be one greater
122 str->WriteUtf8(stackBuffer, bufferLength);

Completed in 669 milliseconds

1 2 3 4