OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:arraybuffer
(Results
1 - 25
of
79
) sorted by null
1
2
3
4
/external/webkit/Source/WebCore/html/canvas/
ArrayBuffer.cpp
27
#include "
ArrayBuffer
.h"
33
PassRefPtr<
ArrayBuffer
>
ArrayBuffer
::create(unsigned numElements, unsigned elementByteSize)
38
return adoptRef(new
ArrayBuffer
(data, numElements * elementByteSize));
41
PassRefPtr<
ArrayBuffer
>
ArrayBuffer
::create(
ArrayBuffer
* other)
43
return
ArrayBuffer
::create(other->data(), other->byteLength());
46
PassRefPtr<
ArrayBuffer
>
ArrayBuffer
::create(void* source, unsigned byteLength
[
all
...]
ArrayBuffer.h
34
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);
ArrayBufferView.h
29
#include "
ArrayBuffer
.h"
51
PassRefPtr<
ArrayBuffer
> buffer() const
71
ArrayBufferView(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset);
82
// Helper to verify that a given sub-range of an
ArrayBuffer
is
85
static bool verifySubRange(PassRefPtr<
ArrayBuffer
> buffer,
104
static void clampOffsetAndNumElements(PassRefPtr<
ArrayBuffer
> buffer,
121
// This is the address of the
ArrayBuffer
's storage, plus the byte offset.
127
RefPtr<
ArrayBuffer
> m_buffer;
WebGLBuffer.h
29
#include "
ArrayBuffer
.h"
45
bool associateBufferData(
ArrayBuffer
*);
47
bool associateBufferSubData(GC3Dintptr offset,
ArrayBuffer
*);
51
const
ArrayBuffer
* elementArrayBuffer() const { return m_elementArrayBuffer.get(); }
74
RefPtr<
ArrayBuffer
> m_elementArrayBuffer;
98
bool associateBufferDataImpl(
ArrayBuffer
* array, GC3Dintptr byteOffset, GC3Dsizeiptr byteLength);
100
bool associateBufferSubDataImpl(GC3Dintptr offset,
ArrayBuffer
* array, GC3Dintptr arrayByteOffset, GC3Dsizeiptr byteLength);
TypedArrayBase.h
30
#include "
ArrayBuffer
.h"
69
TypedArrayBase(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
78
RefPtr<
ArrayBuffer
> buffer =
ArrayBuffer
::create(length, sizeof(T));
95
static PassRefPtr<Subclass> create(PassRefPtr<
ArrayBuffer
> buffer,
99
RefPtr<
ArrayBuffer
> buf(buffer);
Int16Array.h
33
class
ArrayBuffer
;
39
static PassRefPtr<Int16Array> create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length);
48
Int16Array(PassRefPtr<
ArrayBuffer
> buffer,
Int8Array.h
34
class
ArrayBuffer
;
40
static PassRefPtr<Int8Array> create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length);
50
Int8Array(PassRefPtr<
ArrayBuffer
> buffer,
Uint16Array.h
34
class
ArrayBuffer
;
40
static PassRefPtr<Uint16Array> create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length);
50
Uint16Array(PassRefPtr<
ArrayBuffer
> buffer,
Uint32Array.h
34
class
ArrayBuffer
;
40
static PassRefPtr<Uint32Array> create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length);
50
Uint32Array(PassRefPtr<
ArrayBuffer
> buffer,
Uint8Array.h
34
class
ArrayBuffer
;
40
static PassRefPtr<Uint8Array> create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length);
50
Uint8Array(PassRefPtr<
ArrayBuffer
> buffer,
Float32Array.cpp
42
PassRefPtr<Float32Array> Float32Array::create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
47
Float32Array::Float32Array(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
Int16Array.cpp
41
PassRefPtr<Int16Array> Int16Array::create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
46
Int16Array::Int16Array(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
Int32Array.cpp
42
PassRefPtr<Int32Array> Int32Array::create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
47
Int32Array::Int32Array(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
Int8Array.cpp
42
PassRefPtr<Int8Array> Int8Array::create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
47
Int8Array::Int8Array(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
Uint16Array.cpp
42
PassRefPtr<Uint16Array> Uint16Array::create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
47
Uint16Array::Uint16Array(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
Uint32Array.cpp
42
PassRefPtr<Uint32Array> Uint32Array::create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
47
Uint32Array::Uint32Array(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
Uint8Array.cpp
42
PassRefPtr<Uint8Array> Uint8Array::create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
47
Uint8Array::Uint8Array(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
/external/webkit/Source/WebCore/bindings/v8/custom/
V8ArrayBufferCustom.cpp
32
#include "
ArrayBuffer
.h"
43
INC_STATS("DOM.
ArrayBuffer
.Constructor");
48
// If we return a previously constructed
ArrayBuffer
,
54
//
ArrayBuffer
()" from JavaScript. To guard against problems,
55
// we always create at least a zero-length
ArrayBuffer
, even
59
//
ArrayBuffer
(n) where n is an integer:
66
RefPtr<
ArrayBuffer
> buffer;
68
buffer =
ArrayBuffer
::create(static_cast<unsigned>(length), 1);
70
return throwError("
ArrayBuffer
size is not a small enough positive integer.", V8Proxy::RangeError);
V8AudioContextCustom.cpp
31
#include "
ArrayBuffer
.h"
100
// AudioBuffer createBuffer(in
ArrayBuffer
buffer, in boolean mixToMono);
103
ArrayBuffer
*
arrayBuffer
= V8ArrayBuffer::toNative(object);
104
ASSERT(
arrayBuffer
);
106
if (
arrayBuffer
) {
109
RefPtr<AudioBuffer> audioBuffer = audioContext->createBuffer(
arrayBuffer
, mixToMono);
V8XMLHttpRequestCustom.cpp
34
#include "
ArrayBuffer
.h"
102
ArrayBuffer
*
arrayBuffer
= xmlHttpRequest->responseArrayBuffer(ec);
107
return toV8(
arrayBuffer
);
199
ArrayBuffer
*
arrayBuffer
= V8ArrayBuffer::toNative(object);
200
ASSERT(
arrayBuffer
);
201
xmlHttpRequest->send(
arrayBuffer
, ec);
/external/webkit/Source/WebCore/bindings/js/
JSArrayBufferCustom.cpp
29
#include "
ArrayBuffer
.h"
44
RefPtr<
ArrayBuffer
> buffer;
46
buffer =
ArrayBuffer
::create(static_cast<unsigned>(length), 1);
48
return throwVMError(exec, createRangeError(exec, "
ArrayBuffer
size is not a small enough positive integer."));
JSAudioContextCustom.cpp
31
#include "
ArrayBuffer
.h"
89
// AudioBuffer createBuffer(in
ArrayBuffer
buffer, in boolean mixToMono);
92
ArrayBuffer
*
arrayBuffer
= toArrayBuffer(val);
93
ASSERT(
arrayBuffer
);
94
if (
arrayBuffer
) {
97
RefPtr<AudioBuffer> audioBuffer = audioContext->createBuffer(
arrayBuffer
, mixToMono);
/external/webkit/Source/WebCore/fileapi/
FileReaderLoader.h
45
class
ArrayBuffer
;
75
PassRefPtr<
ArrayBuffer
> arrayBufferResult() const;
102
RefPtr<
ArrayBuffer
> m_rawData;
WebKitBlobBuilder.h
40
class
ArrayBuffer
;
54
void append(
ArrayBuffer
*);
WebKitBlobBuilder.idl
42
void append(in
ArrayBuffer
arrayBuffer
);
Completed in 1281 milliseconds
1
2
3
4