/external/webkit/Source/WebCore/platform/audio/ |
H A D | AudioChannel.h | 45 AudioChannel(float* storage, size_t length) argument 46 : m_length(length), m_rawPointer(storage) { } 49 explicit AudioChannel(size_t length) argument 50 : m_length(length) 53 m_memBuffer = adoptPtr(new AudioFloatArray(length)); 65 void set(float* storage, size_t length) argument 69 m_length = length; 73 size_t length() const { return m_length; } function in class:WebCore::AudioChannel
|
H A D | ReverbInputBuffer.cpp | 37 ReverbInputBuffer::ReverbInputBuffer(size_t length) argument 38 : m_buffer(length)
|
/external/webkit/Source/WebCore/platform/chromium/ |
H A D | DataTransferItemsChromium.cpp | 53 unsigned long DataTransferItemsChromium::length() const function in class:WebCore::DataTransferItemsChromium 62 if (m_owner->policy() == ClipboardNumb || index >= length()) 74 if (index >= length())
|
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | StringTruncator.cpp | 43 typedef unsigned TruncationFunction(const String&, unsigned length, unsigned keepCount, UChar* buffer); 54 static inline int boundedTextBreakFollowing(TextBreakIterator* it, int offset, int length) argument 57 return result == TextBreakDone ? length : result; 60 static unsigned centerTruncateToBuffer(const String& string, unsigned length, unsigned keepCount, UChar* buffer) argument 62 ASSERT(keepCount < length); 66 TextBreakIterator* it = characterBreakIterator(string.characters(), length); 67 unsigned omitEnd = boundedTextBreakFollowing(it, omitStart + (length - keepCount) - 1, length); 70 unsigned truncatedLength = omitStart + 1 + (length - omitEnd); 71 ASSERT(truncatedLength <= length); [all...] |
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
H A D | FontCacheHaiku.cpp | 49 const SimpleFontData* FontCache::getFontDataForCharacters(const Font& font, const UChar* characters, int length) argument
|
H A D | GlyphPageTreeNodeHaiku.cpp | 41 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* characterBuffer, unsigned bufferLength, const SimpleFontData* fontData) argument
|
/external/webkit/Source/WebCore/platform/graphics/pango/ |
H A D | FontCachePango.cpp | 38 const SimpleFontData* FontCache::getFontDataForCharacters(const Font& font, const UChar* characters, int length) argument
|
/external/webkit/Source/WebCore/platform/graphics/transforms/ |
H A D | RotateTransformOperation.cpp | 79 double length = sqrt(x * x + y * y + z * z); local 82 if (length > 0.00001) { 83 x /= length; 84 y /= length; 85 z /= length;
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | GlyphPageTreeNodeCairoWin.cpp | 36 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument 40 if (bufferLength > length) 56 for (unsigned i = 0; i < length; i++) {
|
/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) 72 for (unsigned i = 0; i < length; ++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; 42 for (unsigned i = 0; i < length; i++) {
|
/external/webkit/Source/WebCore/platform/network/ |
H A D | SocketStreamHandleBase.cpp | 53 bool SocketStreamHandleBase::send(const char* data, int length) argument 58 if (m_buffer.size() + length > bufferSize) { 62 m_buffer.append(data, length); 67 bytesWritten = platformSend(data, length); 70 if (m_buffer.size() + length - bytesWritten > bufferSize) { 74 if (bytesWritten < length) 75 m_buffer.append(data + bytesWritten, length - bytesWritten);
|
/external/webkit/Source/WebCore/platform/text/ |
H A D | String.cpp | 38 const int length = string.length(); local 39 Vector<char> buffer(length * 3); 44 ConversionResult result = convertUTF16ToUTF8(&d, d + length, &p, p + buffer.size(), true); 54 TextBreakIterator* it = characterBreakIterator(s.characters(), s.length()); 56 return s.length(); 66 TextBreakIterator* it = characterBreakIterator(s.characters(), s.length()); 68 return min(s.length(), numGraphemeClusters); 72 return s.length();
|
H A D | TextBreakIterator.h | 37 TextBreakIterator* characterBreakIterator(const UChar*, int length); 43 TextBreakIterator* cursorMovementIterator(const UChar*, int length); 45 TextBreakIterator* wordBreakIterator(const UChar*, int length); 46 TextBreakIterator* acquireLineBreakIterator(const UChar*, int length); 48 TextBreakIterator* sentenceBreakIterator(const UChar*, int length); 63 LazyLineBreakIterator(const UChar* string = 0, int length = 0) 65 , m_length(length) 77 int length() const { return m_length; } function in class:WebCore::LazyLineBreakIterator 86 void reset(const UChar* string, int length) argument 92 m_length = length; [all...] |
H A D | TextCheckerClient.h | 43 int length; member in struct:WebCore::GrammarDetail 51 int length; member in struct:WebCore::TextCheckingResult 62 virtual void checkSpellingOfString(const UChar*, int length, int* misspellingLocation, int* misspellingLength) = 0; 64 virtual void checkGrammarOfString(const UChar*, int length, Vector<GrammarDetail>&, int* badGrammarLocation, int* badGrammarLength) = 0; 67 virtual void checkTextOfParagraph(const UChar* text, int length, TextCheckingTypeMask checkingTypes, Vector<TextCheckingResult>& results) = 0;
|
/external/webkit/Source/WebCore/platform/text/cf/ |
H A D | HyphenationCF.cpp | 68 size_t lastHyphenLocation(const UChar* characters, size_t length, size_t beforeIndex, const AtomicString& localeIdentifier) argument 70 RetainPtr<CFStringRef> string(AdoptCF, CFStringCreateWithCharactersNoCopy(kCFAllocatorDefault, reinterpret_cast<const UniChar*>(characters), length, kCFAllocatorNull)); 75 CFIndex result = CFStringGetHyphenationLocationBeforeIndex(string.get(), beforeIndex, CFRangeMake(0, length), 0, locale.get(), 0);
|
/external/webkit/Source/WebCore/plugins/ |
H A D | DOMMimeTypeArray.cpp | 40 unsigned DOMMimeTypeArray::length() const function in class:WebCore::DOMMimeTypeArray
|
/external/webkit/Source/WebCore/rendering/svg/ |
H A D | SVGTextChunk.cpp | 36 void SVGTextChunk::calculateLength(float& length, unsigned& characters) const argument 51 characters += fragment.length; 54 length += fragment.height; 56 length += fragment.width; 65 length += fragment.y - (lastFragment->y + lastFragment->height); 67 length += fragment.x - (lastFragment->x + lastFragment->width); 74 float SVGTextChunk::calculateTextAnchorShift(float length) const 77 return -length / 2; 79 return m_chunkStyle & RightToLeftText ? 0 : -length; 80 return m_chunkStyle & RightToLeftText ? -length [all...] |
/external/webkit/Source/WebCore/svg/ |
H A D | SVGElementInstanceList.cpp | 36 unsigned SVGElementInstanceList::length() const function in class:WebCore::SVGElementInstanceList 39 unsigned length = 0; local 41 length++; 42 return length;
|
/external/webkit/Source/WebCore/webaudio/ |
H A D | AudioBuffer.h | 50 size_t length() const { return m_length; } function in class:WebCore::AudioBuffer 51 double duration() const { return length() / sampleRate(); }
|
/external/webkit/Source/WebCore/wml/ |
H A D | WMLPElement.cpp | 97 unsigned length = nodeList->length(); local 98 if (length < 2) 103 if (nodeList->item(length - 1) != this) 106 WMLPElement* lastParagraph = static_cast<WMLPElement*>(nodeList->item(length - 2));
|
/external/webkit/Source/WebKit/chromium/public/ |
H A D | WebFileInfo.h | 43 // The length of the file in bytes. 44 // The value -1 means that the length is not set. 45 long long length; member in struct:WebKit::WebFileInfo 57 WebFileInfo() : modificationTime(0.0), length(-1), type(TypeUnknown) { }
|
/external/webkit/Source/WebKit/chromium/src/ |
H A D | WebAudioBus.cpp | 47 void WebAudioBus::initialize(unsigned numberOfChannels, size_t length, double sampleRate) argument 50 AudioBus* audioBus = new AudioBus(numberOfChannels, length); 83 size_t WebAudioBus::length() const function in class:WebKit::WebAudioBus 88 return m_private->length();
|
H A D | WebDOMStringList.cpp | 61 unsigned WebDOMStringList::length() const function in class:WebKit::WebDOMStringList 65 return m_private->length();
|
H A D | WebNodeCollection.cpp | 70 unsigned WebNodeCollection::length() const function in class:WebKit::WebNodeCollection 72 return m_private->length();
|