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

<<11121314151617181920>>

/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DSandboxFlags.cpp40 unsigned length = policy.length(); local
45 while (start < length && isHTMLSpace<UChar>(policy[start]))
47 if (start >= length)
50 while (end < length && !isHTMLSpace<UChar>(policy[end]))
H A DTouchList.h50 unsigned length() const { return m_values.size(); } function in class:blink::FINAL
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DPlainTextRange.h49 size_t length() const { ASSERT(!isNull()); return m_end - m_start; } function in class:blink::PlainTextRange
H A DTextInsertionBaseCommand.h61 operation(0, string.length(), true);
63 unsigned length = string.length(); local
64 if (length != offset)
65 operation(offset, length - offset, true);
/external/chromium_org/third_party/WebKit/Source/core/fetch/
H A DScriptResource.cpp58 void ScriptResource::appendData(const char* data, int length) argument
60 Resource::appendData(data, length);
/external/chromium_org/third_party/WebKit/Source/core/fileapi/
H A DFileList.h47 unsigned length() const { return m_files.size(); } function in class:blink::FINAL
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DClassList.cpp48 unsigned ClassList::length() const function in class:blink::ClassList
55 if (index >= length())
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DHTMLMetaCharsetParser.cpp70 bool HTMLMetaCharsetParser::checkForMetaCharset(const char* data, size_t length) argument
95 m_input.append(SegmentedString(m_assumedCodec->decode(data, length)));
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
H A DVTTRegionList.cpp35 unsigned long VTTRegionList::length() const function in class:blink::VTTRegionList
/external/chromium_org/third_party/WebKit/Source/core/plugins/
H A DDOMMimeTypeArray.cpp41 unsigned DOMMimeTypeArray::length() const function in class:blink::DOMMimeTypeArray
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DBorderImageLength.h50 BorderImageLength(const Length& length) argument
51 : m_length(length)
60 const Length& length() const { ASSERT(isLength()); return m_length; } function in class:blink::BorderImageLength
61 Length& length() { ASSERT(isLength()); return m_length; } function in class:blink::BorderImageLength
H A DStyleBoxData.cpp30 Length length[7]; member in struct:blink::SameSizeAsStyleBoxData
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGTextChunk.cpp35 void SVGTextChunk::calculateLength(float& length, unsigned& characters) const argument
50 characters += fragment.length;
53 length += fragment.height;
55 length += fragment.width;
64 length += fragment.y - (lastFragment->y + lastFragment->height);
66 length += fragment.x - (lastFragment->x + lastFragment->width);
73 float SVGTextChunk::calculateTextAnchorShift(float length) const
76 return -length / 2;
78 return m_chunkStyle & RightToLeftText ? 0 : -length;
79 return m_chunkStyle & RightToLeftText ? -length
[all...]
H A DSVGTextLayoutAttributesBuilder.h59 , length(newLength)
65 unsigned length; member in struct:blink::SVGTextLayoutAttributesBuilder::TextPosition
H A DSVGTextMetrics.h40 SVGTextMetrics(RenderSVGInlineText*, unsigned position, unsigned length, float width, Glyph glyphNameGlyphId);
43 static SVGTextMetrics measureCharacterRange(RenderSVGInlineText*, unsigned position, unsigned length);
44 static TextRun constructTextRun(RenderSVGInlineText*, unsigned position, unsigned length);
46 static SVGTextMetrics measureCharacterRange(RenderSVGInlineText*, unsigned position, unsigned length, TextDirection);
47 static TextRun constructTextRun(RenderSVGInlineText*, unsigned position, unsigned length, TextDirection);
55 unsigned length() const { return m_length; } function in class:blink::SVGTextMetrics
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGStringList.h67 unsigned long length() { return m_values.size(); } function in class:blink::FINAL
/external/chromium_org/third_party/WebKit/Source/core/testing/
H A DLayerRectList.cpp44 unsigned LayerRectList::length() const function in class:blink::LayerRectList
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/
H A DFileWriterBase.h45 void initialize(PassOwnPtr<WebFileWriter>, long long length);
51 long long length() const function in class:blink::FileWriterBase
71 void setLength(long long length) argument
73 m_length = length;
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/
H A DSourceBufferList.h54 unsigned long length() const { return m_list.size(); } function in class:blink::FINAL
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DAudioBuffer.h55 size_t length() const { return m_length; } function in class:blink::AudioBuffer
56 double duration() const { return length() / static_cast<double>(sampleRate()); }
/external/chromium_org/third_party/WebKit/Source/modules/webmidi/
H A DMIDIInput.cpp51 void MIDIInput::didReceiveMIDIData(unsigned portIndex, const unsigned char* data, size_t length, double timeStamp) argument
55 if (!length)
63 RefPtr<Uint8Array> array = Uint8Array::create(data, length);
/external/chromium_org/third_party/WebKit/Source/platform/
H A DCrypto.cpp32 bool computeDigest(HashAlgorithm algorithm, const char* digestable, size_t length, DigestValue& digestResult) argument
42 if (!digestor.get() || !digestor->consume(reinterpret_cast<const unsigned char*>(digestable), length) || !digestor->finish(result, resultSize))
H A DFileMetadata.h50 // The length of the file in bytes.
51 // The value -1 means that the length is not set.
52 long long length; member in struct:blink::FileMetadata
63 FileMetadata() : modificationTime(invalidFileTime()), length(-1), type(TypeUnknown) { }
H A DLengthFunctions.cpp32 int intValueForLength(const Length& length, LayoutUnit maximumValue) argument
34 return static_cast<int>(valueForLength(length, maximumValue));
37 float floatValueForLength(const Length& length, float maximumValue) argument
39 switch (length.type()) {
41 return length.getFloatValue();
43 return static_cast<float>(maximumValue * length.percent() / 100.0f);
48 return length.nonNanCalculatedValue(maximumValue);
65 LayoutUnit minimumValueForLength(const Length& length, LayoutUnit maximumValue) argument
67 switch (length.type()) {
69 return length
94 roundedMinimumValueForLength(const Length& length, LayoutUnit maximumValue) argument
101 valueForLength(const Length& length, LayoutUnit maximumValue) argument
[all...]
H A DSharedBufferTest.cpp105 unsigned length = testData.size(); local
106 RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(testData.data(), length);
107 sharedBuffer->append(testData.data(), length);
108 sharedBuffer->append(testData.data(), length);
109 sharedBuffer->append(testData.data(), length);
111 ASSERT_EQ(length * 4, sharedBuffer->size());
114 ASSERT_EQ(length * 4, clone->size());
117 clone->append(testData.data(), length);
118 ASSERT_EQ(length * 5, clone->size());
123 unsigned length local
142 unsigned length = testData.size(); local
[all...]

Completed in 3588 milliseconds

<<11121314151617181920>>