OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ArrayBuffer
(Results
1 - 25
of
59
) sorted by null
1
2
3
/external/webkit/Source/WebCore/html/canvas/
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);
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.idl
33
]
ArrayBuffer
{
Int16Array.h
33
class
ArrayBuffer
;
39
static PassRefPtr<Int16Array> create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length);
48
Int16Array(PassRefPtr<
ArrayBuffer
> buffer,
ArrayBufferView.idl
28
readonly attribute
ArrayBuffer
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);
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,
ArrayBufferView.h
29
#include "
ArrayBuffer
.h"
52
PassRefPtr<
ArrayBuffer
> buffer() const
72
ArrayBufferView(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset);
83
// Helper to verify that a given sub-range of an
ArrayBuffer
is
86
static bool verifySubRange(PassRefPtr<
ArrayBuffer
> buffer,
105
static void clampOffsetAndNumElements(PassRefPtr<
ArrayBuffer
> buffer,
122
// This is the address of the
ArrayBuffer
's storage, plus the byte offset.
128
RefPtr<
ArrayBuffer
> m_buffer;
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);
Float32Array.cpp
42
PassRefPtr<Float32Array> Float32Array::create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
47
Float32Array::Float32Array(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
Float32Array.h
39
static PassRefPtr<Float32Array> create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length);
63
Float32Array(PassRefPtr<
ArrayBuffer
> buffer,
Float64Array.cpp
42
PassRefPtr<Float64Array> Float64Array::create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
47
Float64Array::Float64Array(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
Float64Array.h
39
static PassRefPtr<Float64Array> create(PassRefPtr<
ArrayBuffer
>, unsigned byteOffset, unsigned length);
63
Float64Array(PassRefPtr<
ArrayBuffer
>,
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)
Int32Array.h
38
static PassRefPtr<Int32Array> create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length);
48
Int32Array(PassRefPtr<
ArrayBuffer
> buffer,
Int8Array.cpp
42
PassRefPtr<Int8Array> Int8Array::create(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
47
Int8Array::Int8Array(PassRefPtr<
ArrayBuffer
> buffer, unsigned byteOffset, unsigned length)
/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."));
/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);
/external/webkit/Source/WebCore/fileapi/
WebKitBlobBuilder.h
40
class
ArrayBuffer
;
54
void append(
ArrayBuffer
*);
FileReaderSync.h
43
class
ArrayBuffer
;
57
PassRefPtr<
ArrayBuffer
> readAsArrayBuffer(ScriptExecutionContext*, Blob*, ExceptionCode&);
WebKitBlobBuilder.idl
42
void append(in
ArrayBuffer
arrayBuffer
);
Completed in 247 milliseconds
1
2
3