Searched defs:length (Results 276 - 300 of 4032) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DAudioChannel.h46 AudioChannel(float* storage, size_t length) argument
47 : m_length(length)
54 explicit AudioChannel(size_t length) argument
55 : m_length(length)
59 m_memBuffer = adoptPtr(new AudioFloatArray(length));
72 void set(float* storage, size_t length) argument
76 m_length = length;
81 size_t length() const { return m_length; } function in class:blink::AudioChannel
83 // resizeSmaller() can only be called with a new length <= the current length
[all...]
H A DReverbInputBuffer.cpp37 ReverbInputBuffer::ReverbInputBuffer(size_t length) argument
38 : m_buffer(length)
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebAudioBus.cpp47 void WebAudioBus::initialize(unsigned numberOfChannels, size_t length, double sampleRate) argument
50 RefPtr<AudioBus> audioBus = AudioBus::create(numberOfChannels, length);
68 ASSERT(newLength <= length());
100 size_t WebAudioBus::length() const function in class:blink::WebAudioBus
105 return m_private->length();
/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DStringTruncator.cpp42 typedef unsigned TruncationFunction(const String&, unsigned length, unsigned keepCount, UChar* buffer);
53 static inline int boundedTextBreakFollowing(const NonSharedCharacterBreakIterator& it, int offset, int length) argument
56 return result == TextBreakDone ? length : result;
59 static unsigned centerTruncateToBuffer(const String& string, unsigned length, unsigned keepCount, UChar* buffer) argument
61 ASSERT(keepCount < length);
66 unsigned omitEnd = boundedTextBreakFollowing(it, omitStart + (length - keepCount) - 1, length);
69 unsigned truncatedLength = omitStart + 1 + (length - omitEnd);
70 ASSERT(truncatedLength <= length);
74 string.copyTo(&buffer[omitStart + 1], omitEnd, length
[all...]
H A DTextEncodingDetector.cpp40 bool detectTextEncoding(const char* data, size_t length, argument
50 ucsdet_setText(detector, data, static_cast<int32_t>(length), &status);
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebElementCollection.cpp63 unsigned WebElementCollection::length() const function in class:blink::WebElementCollection
65 return m_private->length();
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DFloat32Array.h37 static inline PassRefPtr<Float32Array> create(unsigned length);
38 static inline PassRefPtr<Float32Array> create(const float* array, unsigned length);
39 static inline PassRefPtr<Float32Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
43 static inline PassRefPtr<Float32Array> createUninitialized(unsigned length);
65 unsigned length);
70 PassRefPtr<Float32Array> Float32Array::create(unsigned length) argument
72 return TypedArrayBase<float>::create<Float32Array>(length);
75 PassRefPtr<Float32Array> Float32Array::create(const float* array, unsigned length) argument
77 return TypedArrayBase<float>::create<Float32Array>(array, length);
80 PassRefPtr<Float32Array> Float32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
85 createUninitialized(unsigned length) argument
90 Float32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
[all...]
H A DFloat64Array.h37 static inline PassRefPtr<Float64Array> create(unsigned length);
38 static inline PassRefPtr<Float64Array> create(const double* array, unsigned length);
39 static inline PassRefPtr<Float64Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
43 static inline PassRefPtr<Float64Array> createUninitialized(unsigned length);
65 unsigned length);
70 PassRefPtr<Float64Array> Float64Array::create(unsigned length) argument
72 return TypedArrayBase<double>::create<Float64Array>(length);
75 PassRefPtr<Float64Array> Float64Array::create(const double* array, unsigned length) argument
77 return TypedArrayBase<double>::create<Float64Array>(array, length);
80 PassRefPtr<Float64Array> Float64Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
85 createUninitialized(unsigned length) argument
90 Float64Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
[all...]
H A DInt16Array.h37 static inline PassRefPtr<Int16Array> create(unsigned length);
38 static inline PassRefPtr<Int16Array> create(const short* array, unsigned length);
39 static inline PassRefPtr<Int16Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
43 static inline PassRefPtr<Int16Array> createUninitialized(unsigned length);
59 unsigned length);
64 PassRefPtr<Int16Array> Int16Array::create(unsigned length) argument
66 return TypedArrayBase<short>::create<Int16Array>(length);
69 PassRefPtr<Int16Array> Int16Array::create(const short* array, unsigned length) argument
71 return TypedArrayBase<short>::create<Int16Array>(array, length);
74 PassRefPtr<Int16Array> Int16Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
79 createUninitialized(unsigned length) argument
84 Int16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
[all...]
H A DInt32Array.h36 static inline PassRefPtr<Int32Array> create(unsigned length);
37 static inline PassRefPtr<Int32Array> create(const int* array, unsigned length);
38 static inline PassRefPtr<Int32Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
42 static inline PassRefPtr<Int32Array> createUninitialized(unsigned length);
58 unsigned length);
63 PassRefPtr<Int32Array> Int32Array::create(unsigned length) argument
65 return TypedArrayBase<int>::create<Int32Array>(length);
68 PassRefPtr<Int32Array> Int32Array::create(const int* array, unsigned length) argument
70 return TypedArrayBase<int>::create<Int32Array>(array, length);
73 PassRefPtr<Int32Array> Int32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
78 createUninitialized(unsigned length) argument
83 Int32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
[all...]
H A DInt8Array.h38 static inline PassRefPtr<Int8Array> create(unsigned length);
39 static inline PassRefPtr<Int8Array> create(const signed char* array, unsigned length);
40 static inline PassRefPtr<Int8Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
44 static inline PassRefPtr<Int8Array> createUninitialized(unsigned length);
60 unsigned length);
65 PassRefPtr<Int8Array> Int8Array::create(unsigned length) argument
67 return TypedArrayBase<signed char>::create<Int8Array>(length);
70 PassRefPtr<Int8Array> Int8Array::create(const signed char* array, unsigned length) argument
72 return TypedArrayBase<signed char>::create<Int8Array>(array, length);
75 PassRefPtr<Int8Array> Int8Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
80 createUninitialized(unsigned length) argument
85 Int8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
[all...]
H A DTypedArrayBase.h50 bool zeroRange(unsigned offset, size_t length) argument
52 return zeroRangeImpl(offset * sizeof(T), length * sizeof(T));
58 unsigned length() const function in class:WTF::TypedArrayBase
85 TypedArrayBase(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
87 , m_length(length)
92 static PassRefPtr<Subclass> create(unsigned length)
94 RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(length, sizeof(T));
97 return create<Subclass>(buffer, 0, length);
101 static PassRefPtr<Subclass> create(const T* array, unsigned length)
103 RefPtr<Subclass> a = create<Subclass>(length);
[all...]
H A DUint16Array.h38 static inline PassRefPtr<Uint16Array> create(unsigned length);
39 static inline PassRefPtr<Uint16Array> create(const unsigned short* array, unsigned length);
40 static inline PassRefPtr<Uint16Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
44 static inline PassRefPtr<Uint16Array> createUninitialized(unsigned length);
60 unsigned length);
65 PassRefPtr<Uint16Array> Uint16Array::create(unsigned length) argument
67 return TypedArrayBase<unsigned short>::create<Uint16Array>(length);
70 PassRefPtr<Uint16Array> Uint16Array::create(const unsigned short* array, unsigned length) argument
72 return TypedArrayBase<unsigned short>::create<Uint16Array>(array, length);
75 PassRefPtr<Uint16Array> Uint16Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
80 createUninitialized(unsigned length) argument
85 Uint16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
[all...]
H A DUint32Array.h38 static inline PassRefPtr<Uint32Array> create(unsigned length);
39 static inline PassRefPtr<Uint32Array> create(const unsigned* array, unsigned length);
40 static inline PassRefPtr<Uint32Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
44 static inline PassRefPtr<Uint32Array> createUninitialized(unsigned length);
60 unsigned length);
65 PassRefPtr<Uint32Array> Uint32Array::create(unsigned length) argument
67 return TypedArrayBase<unsigned>::create<Uint32Array>(length);
70 PassRefPtr<Uint32Array> Uint32Array::create(const unsigned int* array, unsigned length) argument
72 return TypedArrayBase<unsigned>::create<Uint32Array>(array, length);
75 PassRefPtr<Uint32Array> Uint32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
80 createUninitialized(unsigned length) argument
85 Uint32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
[all...]
H A DUint8Array.h38 static inline PassRefPtr<Uint8Array> create(unsigned length);
39 static inline PassRefPtr<Uint8Array> create(const unsigned char* array, unsigned length);
40 static inline PassRefPtr<Uint8Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
44 static inline PassRefPtr<Uint8Array> createUninitialized(unsigned length);
60 unsigned length);
65 PassRefPtr<Uint8Array> Uint8Array::create(unsigned length) argument
67 return TypedArrayBase<unsigned char>::create<Uint8Array>(length);
70 PassRefPtr<Uint8Array> Uint8Array::create(const unsigned char* array, unsigned length) argument
72 return TypedArrayBase<unsigned char>::create<Uint8Array>(array, length);
75 PassRefPtr<Uint8Array> Uint8Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
80 createUninitialized(unsigned length) argument
85 Uint8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument
[all...]
H A Ddtoa.h50 WTF_EXPORT double parseDouble(const LChar* string, size_t length, size_t& parsedLength);
51 WTF_EXPORT double parseDouble(const UChar* string, size_t length, size_t& parsedLength);
54 double parseDoubleFromLongString(const UChar* string, size_t length, size_t& parsedLength);
57 inline double parseDouble(const LChar* string, size_t length, size_t& parsedLength) argument
59 return double_conversion::StringToDoubleConverter::StringToDouble(reinterpret_cast<const char*>(string), length, &parsedLength);
62 inline double parseDouble(const UChar* string, size_t length, size_t& parsedLength) argument
65 if (length > conversionBufferSize)
66 return Internal::parseDoubleFromLongString(string, length, parsedLength);
68 for (int i = 0; i < static_cast<int>(length); ++i)
70 return parseDouble(conversionBuffer, length, parsedLengt
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DCString.cpp38 PassRefPtr<CStringBuffer> CStringBuffer::createUninitialized(size_t length) argument
40 RELEASE_ASSERT(length < (numeric_limits<unsigned>::max() - sizeof(CStringBuffer)));
43 size_t size = sizeof(CStringBuffer) + length + 1;
45 return adoptRef(new (stringBuffer) CStringBuffer(length));
61 CString::CString(const char* str, size_t length)
64 ASSERT(!length);
68 init(str, length);
71 void CString::init(const char* str, size_t length)
75 m_buffer = CStringBuffer::createUninitialized(length);
76 memcpy(m_buffer->mutableData(), str, length); local
88 newUninitialized(size_t length, char*& characterBuffer) argument
104 size_t length = buffer->length(); local
[all...]
H A DCStringTest.cpp38 ASSERT_EQ(string.length(), static_cast<size_t>(0));
43 ASSERT_EQ(stringFromCharPointer.length(), static_cast<size_t>(0));
48 ASSERT_EQ(stringFromCharAndLength.length(), static_cast<size_t>(0));
56 ASSERT_EQ(string.length(), static_cast<size_t>(0));
61 ASSERT_EQ(stringWithLength.length(), static_cast<size_t>(0));
71 ASSERT_EQ(string.length(), strlen(referenceString));
76 ASSERT_EQ(stringWithLength.length(), strlen(referenceString));
88 const size_t length = 25; local
89 CString uninitializedString = CString::newUninitialized(length, buffer);
92 ASSERT_EQ(uninitializedString.data()[length],
[all...]
H A DStringUTF8Adaptor.h62 m_length = string.length();
69 m_length = m_utf8Buffer.length();
74 size_t length() const { return m_length; } function in class:WTF::StringUTF8Adaptor
H A DStringView.h49 , m_length(m_impl->length())
53 StringView(PassRefPtr<StringImpl> impl, unsigned offset, unsigned length) argument
56 , m_length(length)
58 ASSERT_WITH_SECURITY_IMPLICATION(offset + length <= m_impl->length());
61 void narrow(unsigned offset, unsigned length) argument
63 ASSERT_WITH_SECURITY_IMPLICATION(offset + length <= m_length);
65 m_length = length;
69 unsigned length() const { return m_length; } function in class:WTF::StringView
/external/chromium_org/third_party/WebKit/public/platform/
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:blink::WebFileInfo
57 WebFileInfo() : modificationTime(0.0), length(-1), type(TypeUnknown) { }
H A DWebMIDIAccessor.h44 virtual void sendMIDIData(unsigned portIndex, const unsigned char* data, size_t length, double timeStamp) { } argument
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
H A DInput.h21 Input(size_t count, const char *const string[], const int length[]);
31 size_t length(size_t index) const function in class:pp::Input
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
H A DShaderExecutable9.cpp17 ShaderExecutable9::ShaderExecutable9(const void *function, size_t length, IDirect3DPixelShader9 *executable) argument
18 : ShaderExecutable(function, length)
24 ShaderExecutable9::ShaderExecutable9(const void *function, size_t length, IDirect3DVertexShader9 *executable) argument
25 : ShaderExecutable(function, length)
/external/chromium_org/third_party/angle/tests/preprocessor_tests/
H A Dlocation_test.cpp15 const int length[],
18 ASSERT_TRUE(mPreprocessor.init(count, string, length));
13 expectLocation(int count, const char* const string[], const int length[], const pp::SourceLocation& location) argument

Completed in 250 milliseconds

<<11121314151617181920>>