/external/webkit/Source/WebCore/platform/graphics/freetype/ |
H A D | GlyphPageTreeNodeFreeType.cpp | 41 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument 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/WebCore/platform/graphics/win/ |
H A D | GlyphPageTreeNodeCGWin.cpp | 37 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument 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);
|
H A D | DIBPixelData.h | 57 unsigned bufferLength() const { return m_bitmapBufferLength; } function in class:WebCore::DIBPixelData
|
H A D | GlyphPageTreeNodeCairoWin.cpp | 36 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument 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;
|
/external/webkit/Source/WebCore/platform/audio/ |
H A D | ReverbInputBuffer.cpp | 45 size_t bufferLength = m_buffer.size(); local 46 bool isCopySafe = m_writeIndex + numberOfFrames <= bufferLength; 54 ASSERT(m_writeIndex <= bufferLength); 56 if (m_writeIndex >= bufferLength) 62 size_t bufferLength = m_buffer.size(); local 63 bool isPointerGood = readIndex && *readIndex >= 0 && *readIndex + numberOfFrames <= bufferLength; 76 *readIndex = (*readIndex + numberOfFrames) % bufferLength;
|
H A D | ReverbAccumulationBuffer.cpp | 50 size_t bufferLength = m_buffer.size(); local 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(); local 85 size_t writeIndex = (*readIndex + delayFrames) % bufferLength; 88 *readIndex = (*readIndex + numberOfFrames) % bufferLength; 90 size_t framesAvailable = bufferLength - writeIndex; 96 bool isSafe = writeIndex <= bufferLength [all...] |
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
H A D | GlyphPageTreeNodeHaiku.cpp | 41 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* characterBuffer, unsigned bufferLength, const SimpleFontData* fontData) argument 43 bool isUtf16 = bufferLength != GlyphPage::size;
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
H A D | GlyphPageTreeNodeWinCE.cpp | 36 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument 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/wx/ |
H A D | GlyphMapWx.cpp | 38 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument 40 bool isUtf16 = bufferLength != length;
|
/external/webkit/Source/WebCore/platform/graphics/pango/ |
H A D | GlyphPageTreeNodePango.cpp | 74 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument 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/skia/ |
H A D | GlyphPageTreeNodeSkia.cpp | 44 static int substituteWithVerticalGlyphs(const SimpleFontData* fontData, uint16_t* glyphs, unsigned bufferLength) argument 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) argument 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/webkit/Source/WebCore/webaudio/ |
H A D | ConvolverNode.cpp | 120 size_t bufferLength = buffer->length(); local 123 bool isBufferGood = numberOfChannels > 0 && numberOfChannels <= 4 && bufferLength; 130 AudioBus bufferBus(numberOfChannels, bufferLength, false); 132 bufferBus.setChannelMemory(i, buffer->getChannelData(i)->data(), bufferLength);
|
H A D | 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(); local 83 ASSERT(bufferLength); 84 if (!bufferLength) 110 double readPosition = m_writeIndex + bufferLength - desiredDelayFrames; 111 if (readPosition > bufferLength) 112 readPosition -= bufferLength; [all...] |
/external/quake/quake/src/WinQuake/ |
H A D | net_loop.cpp | 157 int *bufferLength; local 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; local 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/JavaScriptCore/wtf/ |
H A D | StringExtras.h | 105 inline char* strnstr(const char* buffer, const char* target, size_t bufferLength) argument 110 for (const char* start = buffer; *start && start + targetLength <= buffer + bufferLength; start++) {
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
H A D | GlyphMapAndroid.cpp | 47 static HB_Error substituteWithVerticalGlyphs(const FontPlatformData& platformData, uint16_t* glyphs, unsigned bufferLength) argument 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) { argument 84 for (unsigned i = 0; i < bufferLength; ++i) { 91 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument 93 if (SkUTF16_IsHighSurrogate(buffer[bufferLength-1])) { 105 UChar vTextBuffer[bufferLength]; 109 convertToVerticalForms(buffer, vTextBuffer, bufferLength); 113 unsigned count = paint.textToGlyphs(textBuffer, bufferLength << [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | GlyphPageTreeNodeChromiumWin.cpp | 219 unsigned bufferLength, const SimpleFontData* fontData) 224 if (bufferLength == length) 227 if (bufferLength == 2 * length) { 218 fill(unsigned offset, unsigned length, UChar* characterBuffer, unsigned bufferLength, const SimpleFontData* fontData) argument
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
H A D | GlyphPageTreeNodeMac.cpp | 40 static bool shouldUseCoreText(UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument 44 for (unsigned i = 0; i < bufferLength; ++i) { 54 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument 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/plugins/win/ |
H A D | PluginPackageWin.cpp | 47 UINT bufferLength; local 51 &buffer, &bufferLength); 52 if (!retval || bufferLength == 0) 56 return String(reinterpret_cast<UChar*>(buffer), bufferLength - 1);
|
/external/webkit/Source/WebKit2/Shared/API/c/ |
H A D | WKString.cpp | 55 size_t WKStringGetCharacters(WKStringRef stringRef, WKChar* buffer, size_t bufferLength) argument 58 return (toImpl(stringRef)->getCharacters(static_cast<UChar*>(buffer), bufferLength));
|
/external/webkit/Source/WebKit2/Shared/Plugins/Netscape/win/ |
H A D | NetscapePluginModuleWin.cpp | 39 UINT bufferLength; local 41 if (!::VerQueryValueW(versionInfoData, const_cast<UChar*>(subInfo.charactersWithNullTermination()), &buffer, &bufferLength) || !bufferLength) 45 return String(reinterpret_cast<UChar*>(buffer), bufferLength - 1);
|
/external/aac/libSBRenc/src/ |
H A D | ton_corr.h | 118 INT bufferLength; /*!< Length of the r and i buffers. */ member in struct:__anon269
|
/external/webkit/Source/WebCore/bindings/v8/ |
H A D | V8NPUtils.cpp | 114 int bufferLength = str->Utf8Length() + 1; local 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);
|
/external/webkit/Source/WebCore/platform/haiku/ |
H A D | PasteboardHaiku.cpp | 144 ssize_t bufferLength; local 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; local 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);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
H A D | PipedInputStreamTest.java | 414 int bufferLength = mpis.bufferLength(); 415 assertEquals(100, bufferLength); 439 int bufferLength = mpis.bufferLength(); 440 assertEquals(100, bufferLength); 468 public int bufferLength() { method in class:PipedInputStreamTest.MockPipedInputStream
|