Searched defs:length (Results 251 - 275 of 2288) sorted by relevance

<<11121314151617181920>>

/external/webkit/Source/WebCore/platform/audio/
H A DAudioChannel.h45 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 DReverbInputBuffer.cpp37 ReverbInputBuffer::ReverbInputBuffer(size_t length) argument
38 : m_buffer(length)
/external/webkit/Source/WebCore/platform/chromium/
H A DDataTransferItemsChromium.cpp53 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 DStringTruncator.cpp43 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 DFontCacheHaiku.cpp49 const SimpleFontData* FontCache::getFontDataForCharacters(const Font& font, const UChar* characters, int length) argument
H A DGlyphPageTreeNodeHaiku.cpp41 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* characterBuffer, unsigned bufferLength, const SimpleFontData* fontData) argument
/external/webkit/Source/WebCore/platform/graphics/pango/
H A DFontCachePango.cpp38 const SimpleFontData* FontCache::getFontDataForCharacters(const Font& font, const UChar* characters, int length) argument
/external/webkit/Source/WebCore/platform/graphics/transforms/
H A DRotateTransformOperation.cpp79 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 DGlyphPageTreeNodeCairoWin.cpp36 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 DGlyphPageTreeNodeWinCE.cpp36 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 DGlyphMapWx.cpp38 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 DSocketStreamHandleBase.cpp53 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 DString.cpp38 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 DTextBreakIterator.h37 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 DTextCheckerClient.h43 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 DHyphenationCF.cpp68 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 DDOMMimeTypeArray.cpp40 unsigned DOMMimeTypeArray::length() const function in class:WebCore::DOMMimeTypeArray
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGTextChunk.cpp36 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 DSVGElementInstanceList.cpp36 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 DAudioBuffer.h50 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 DWMLPElement.cpp97 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 DWebFileInfo.h43 // 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 DWebAudioBus.cpp47 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 DWebDOMStringList.cpp61 unsigned WebDOMStringList::length() const function in class:WebKit::WebDOMStringList
65 return m_private->length();
H A DWebNodeCollection.cpp70 unsigned WebNodeCollection::length() const function in class:WebKit::WebNodeCollection
72 return m_private->length();

Completed in 304 milliseconds

<<11121314151617181920>>