Home
last modified time | relevance | path

Searched refs:ArrayBuffer (Results 1 – 25 of 69) sorted by relevance

123

/external/webkit/Source/WebCore/html/canvas/
DArrayBuffer.cpp33 PassRefPtr<ArrayBuffer> ArrayBuffer::create(unsigned numElements, unsigned elementByteSize) in create()
38 return adoptRef(new ArrayBuffer(data, numElements * elementByteSize)); in create()
41 PassRefPtr<ArrayBuffer> ArrayBuffer::create(ArrayBuffer* other) in create()
43 return ArrayBuffer::create(other->data(), other->byteLength()); in create()
46 PassRefPtr<ArrayBuffer> ArrayBuffer::create(void* source, unsigned byteLength) in create()
51 RefPtr<ArrayBuffer> buffer = adoptRef(new ArrayBuffer(data, byteLength)); in create()
56 ArrayBuffer::ArrayBuffer(void* data, unsigned sizeInBytes) in ArrayBuffer() function in WebCore::ArrayBuffer
62 void* ArrayBuffer::data() in data()
67 const void* ArrayBuffer::data() const in data()
72 unsigned ArrayBuffer::byteLength() const in byteLength()
[all …]
DArrayBuffer.h34 class ArrayBuffer : public RefCounted<ArrayBuffer> {
36 static PassRefPtr<ArrayBuffer> create(unsigned numElements, unsigned elementByteSize);
37 static PassRefPtr<ArrayBuffer> create(ArrayBuffer*);
38 static PassRefPtr<ArrayBuffer> create(void* source, unsigned byteLength);
44 ~ArrayBuffer();
47 ArrayBuffer(void* data, unsigned sizeInBytes);
48 ArrayBuffer(unsigned numElements, unsigned elementByteSize);
DWebGLBuffer.h45 bool associateBufferData(ArrayBuffer*);
47 bool associateBufferSubData(GC3Dintptr offset, ArrayBuffer*);
51 const ArrayBuffer* elementArrayBuffer() const { return m_elementArrayBuffer.get(); } in elementArrayBuffer()
74 RefPtr<ArrayBuffer> m_elementArrayBuffer;
98 … bool associateBufferDataImpl(ArrayBuffer* array, GC3Dintptr byteOffset, GC3Dsizeiptr byteLength);
100 …bool associateBufferSubDataImpl(GC3Dintptr offset, ArrayBuffer* array, GC3Dintptr arrayByteOffset,…
DArrayBufferView.h51 PassRefPtr<ArrayBuffer> buffer() const in buffer()
71 ArrayBufferView(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset);
85 static bool verifySubRange(PassRefPtr<ArrayBuffer> buffer, in verifySubRange()
104 static void clampOffsetAndNumElements(PassRefPtr<ArrayBuffer> buffer, in clampOffsetAndNumElements()
127 RefPtr<ArrayBuffer> m_buffer;
DTypedArrayBase.h69 TypedArrayBase(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in TypedArrayBase()
78 RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(length, sizeof(T)); in create()
95 static PassRefPtr<Subclass> create(PassRefPtr<ArrayBuffer> buffer, in create()
99 RefPtr<ArrayBuffer> buf(buffer); in create()
DInt16Array.h33 class ArrayBuffer; variable
39 …static PassRefPtr<Int16Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned…
48 Int16Array(PassRefPtr<ArrayBuffer> buffer,
DUint8Array.h34 class ArrayBuffer; variable
40 …static PassRefPtr<Uint8Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned…
50 Uint8Array(PassRefPtr<ArrayBuffer> buffer,
DUint16Array.h34 class ArrayBuffer; variable
40 …static PassRefPtr<Uint16Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigne…
50 Uint16Array(PassRefPtr<ArrayBuffer> buffer,
DUint32Array.h34 class ArrayBuffer; variable
40 …static PassRefPtr<Uint32Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigne…
50 Uint32Array(PassRefPtr<ArrayBuffer> buffer,
DInt8Array.h34 class ArrayBuffer; variable
40 …static PassRefPtr<Int8Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned …
50 Int8Array(PassRefPtr<ArrayBuffer> buffer,
DWebGLBuffer.cpp58 bool WebGLBuffer::associateBufferDataImpl(ArrayBuffer* array, GC3Dintptr byteOffset, GC3Dsizeiptr b… in associateBufferDataImpl()
76 m_elementArrayBuffer = ArrayBuffer::create(byteLength, 1); in associateBufferDataImpl()
107 bool WebGLBuffer::associateBufferData(ArrayBuffer* array) in associateBufferData()
121 bool WebGLBuffer::associateBufferSubDataImpl(GC3Dintptr offset, ArrayBuffer* array, GC3Dintptr arra… in associateBufferSubDataImpl()
154 bool WebGLBuffer::associateBufferSubData(GC3Dintptr offset, ArrayBuffer* array) in associateBufferSubData()
DUint8Array.cpp42 PassRefPtr<Uint8Array> Uint8Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsi… in create()
47 Uint8Array::Uint8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in Uint8Array()
DUint16Array.cpp42 PassRefPtr<Uint16Array> Uint16Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, un… in create()
47 Uint16Array::Uint16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in Uint16Array()
DUint32Array.cpp42 PassRefPtr<Uint32Array> Uint32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, un… in create()
47 Uint32Array::Uint32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in Uint32Array()
DInt32Array.cpp42 PassRefPtr<Int32Array> Int32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsi… in create()
47 Int32Array::Int32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in Int32Array()
DInt16Array.cpp41 PassRefPtr<Int16Array> Int16Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsi… in create()
46 Int16Array::Int16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in Int16Array()
DFloat32Array.cpp42 PassRefPtr<Float32Array> Float32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, … in create()
47 Float32Array::Float32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in Float32Array()
DInt8Array.cpp42 PassRefPtr<Int8Array> Int8Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsign… in create()
47 Int8Array::Int8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in Int8Array()
DInt32Array.h38 …static PassRefPtr<Int32Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned…
48 Int32Array(PassRefPtr<ArrayBuffer> buffer,
/external/webkit/Source/WebCore/fileapi/
DFileReaderLoader.h45 class ArrayBuffer; variable
75 PassRefPtr<ArrayBuffer> arrayBufferResult() const;
102 RefPtr<ArrayBuffer> m_rawData;
DWebKitBlobBuilder.h40 class ArrayBuffer; variable
54 void append(ArrayBuffer*);
DFileReaderSync.h43 class ArrayBuffer; variable
57 PassRefPtr<ArrayBuffer> readAsArrayBuffer(ScriptExecutionContext*, Blob*, ExceptionCode&);
/external/webkit/Source/WebCore/xml/
DXMLHttpRequest.h37 class ArrayBuffer; variable
98 void send(ArrayBuffer*, ExceptionCode&);
117 ArrayBuffer* responseArrayBuffer(ExceptionCode&);
118 ArrayBuffer* optionalResponseArrayBuffer() const { return m_responseArrayBuffer.get(); } in optionalResponseArrayBuffer()
207 mutable RefPtr<ArrayBuffer> m_responseArrayBuffer;
/external/webkit/Source/WebCore/bindings/js/
DJSArrayBufferCustom.cpp44 RefPtr<ArrayBuffer> buffer; in constructJSArrayBuffer()
46 buffer = ArrayBuffer::create(static_cast<unsigned>(length), 1); in constructJSArrayBuffer()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8ArrayBufferCustom.cpp66 RefPtr<ArrayBuffer> buffer; in constructorCallback()
68 buffer = ArrayBuffer::create(static_cast<unsigned>(length), 1); in constructorCallback()

123