OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ArrayBuffer
(Results
1 - 3
of
3
) sorted by null
/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);
/external/v8/src/
d8.cc
344
// TypedArray(
ArrayBuffer
buffer,
349
String::New("Array constructor from
ArrayBuffer
must "
376
String::New("
ArrayBuffer
doesn't have data"));
393
String::New("byteOffset must be less than
ArrayBuffer
length."));
397
// If length is not explicitly specified, the length of the
ArrayBuffer
406
String::New("
ArrayBuffer
length minus the byteOffset must be a "
413
// the
ArrayBuffer
an exception is raised.
417
"
ArrayBuffer
"));
420
// Hold a reference to the
ArrayBuffer
so its buffer doesn't get collected.
461
Handle<Value> Shell::
ArrayBuffer
(const Arguments& args)
[
all
...]
Completed in 68 milliseconds