HomeSort by relevance Sort by last modified time
    Searched refs:ArrayBuffer (Results 1 - 25 of 143) sorted by null

1 2 3 4 5 6

  /external/chromium_org/third_party/WebKit/Source/wtf/
ArrayBuffer.h 38 class ArrayBuffer;
41 class WTF_EXPORT ArrayBuffer : public RefCounted<ArrayBuffer> {
43 static inline PassRefPtr<ArrayBuffer> create(unsigned numElements, unsigned elementByteSize);
44 static inline PassRefPtr<ArrayBuffer> create(ArrayBuffer*);
45 static inline PassRefPtr<ArrayBuffer> create(const void* source, unsigned byteLength);
46 static inline PassRefPtr<ArrayBuffer> create(ArrayBufferContents&);
49 static inline PassRefPtr<ArrayBuffer> createUninitialized(unsigned numElements, unsigned elementByteSize);
55 // Creates a new ArrayBuffer object with copy of bytes in this objec
    [all...]
ArrayBufferBuilder.h 34 #include "wtf/ArrayBuffer.h"
41 // A utility class to build an ArrayBuffer instance.
55 m_buffer = ArrayBuffer::create(capacity, 1);
60 // Returns the accumulated data as an ArrayBuffer instance. If needed,
61 // creates a new ArrayBuffer instance and copies contents from the internal
64 PassRefPtr<ArrayBuffer> toArrayBuffer();
103 RefPtr<ArrayBuffer> m_buffer;
Int16Array.h 33 class ArrayBuffer;
39 static inline PassRefPtr<Int16Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
57 inline Int16Array(PassRefPtr<ArrayBuffer>,
74 PassRefPtr<Int16Array> Int16Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
84 Int16Array::Int16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
Int8Array.h 34 class ArrayBuffer;
40 static inline PassRefPtr<Int8Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
58 inline Int8Array(PassRefPtr<ArrayBuffer>,
75 PassRefPtr<Int8Array> Int8Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
85 Int8Array::Int8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
Uint16Array.h 34 class ArrayBuffer;
40 static inline PassRefPtr<Uint16Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
58 inline Uint16Array(PassRefPtr<ArrayBuffer>,
75 PassRefPtr<Uint16Array> Uint16Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
85 Uint16Array::Uint16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
Uint32Array.h 34 class ArrayBuffer;
40 static inline PassRefPtr<Uint32Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
58 inline Uint32Array(PassRefPtr<ArrayBuffer>,
75 PassRefPtr<Uint32Array> Uint32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
85 Uint32Array::Uint32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
Uint8Array.h 34 class ArrayBuffer;
40 static inline PassRefPtr<Uint8Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
58 inline Uint8Array(PassRefPtr<ArrayBuffer>,
75 PassRefPtr<Uint8Array> Uint8Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
85 Uint8Array::Uint8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
ArrayBuffer.cpp 27 #include "wtf/ArrayBuffer.h"
34 bool ArrayBuffer::transfer(ArrayBufferContents& result, Vector<RefPtr<ArrayBufferView> >& neuteredViews)
36 RefPtr<ArrayBuffer> keepAlive(this);
70 void ArrayBuffer::addView(ArrayBufferView* view)
80 void ArrayBuffer::removeView(ArrayBufferView* view)
ArrayBufferBuilder.cpp 45 m_buffer = ArrayBuffer::create(defaultBufferCapacity, 1);
67 RefPtr<ArrayBuffer> newBuffer = ArrayBuffer::create(newBufferSize, 1);
103 PassRefPtr<ArrayBuffer> ArrayBufferBuilder::toArrayBuffer()
Int32Array.h 38 static inline PassRefPtr<Int32Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
56 inline Int32Array(PassRefPtr<ArrayBuffer>,
73 PassRefPtr<Int32Array> Int32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
83 Int32Array::Int32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
TypedArrayBase.h 30 #include "wtf/ArrayBuffer.h"
85 TypedArrayBase(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
94 RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(length, sizeof(T));
111 static PassRefPtr<Subclass> create(PassRefPtr<ArrayBuffer> buffer,
115 RefPtr<ArrayBuffer> buf(buffer);
125 RefPtr<ArrayBuffer> buffer = ArrayBuffer::createUninitialized(length, sizeof(T));
  /external/chromium_org/gin/
array_buffer.h 17 class ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {
26 class GIN_EXPORT ArrayBuffer {
28 ArrayBuffer();
29 explicit ArrayBuffer(v8::Isolate* isolate);
30 ArrayBuffer(v8::Isolate* isolate, v8::Handle<v8::ArrayBuffer> buffer);
31 ~ArrayBuffer();
32 ArrayBuffer& operator=(const ArrayBuffer& other);
44 DISALLOW_COPY(ArrayBuffer);
    [all...]
array_buffer.cc 35 // ArrayBuffer::Private -------------------------------------------------------
45 // the array buffer takes a reference to the ArrayBuffer::Private object that
47 // open a weak handle to the ArrayBuffer object. When we receive the weak
51 // The final subtlety is that we need every ArrayBuffer into the same array
52 // buffer to AddRef the same ArrayBuffer::Private. To make that work, we store
53 // a pointer to the ArrayBuffer::Private object in an internal field of the
54 // ArrayBuffer object.
56 class ArrayBuffer::Private : public base::RefCounted<ArrayBuffer::Private> {
59 v8::Handle<v8::ArrayBuffer> array)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/webaudio/
AsyncAudioDecoder.h 37 // AsyncAudioDecoder asynchronously decodes audio file data from an ArrayBuffer in a worker thread.
47 void decodeAsync(ArrayBuffer* audioData, float sampleRate, PassOwnPtr<AudioBufferCallback> successCallback, PassOwnPtr<AudioBufferCallback> errorCallback);
50 static void decode(ArrayBuffer* audioData, float sampleRate, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback);
51 static void notifyComplete(ArrayBuffer* audioData, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback, AudioBuffer*);
AsyncAudioDecoder.cpp 35 #include "wtf/ArrayBuffer.h"
50 void AsyncAudioDecoder::decodeAsync(ArrayBuffer* audioData, float sampleRate, PassOwnPtr<AudioBufferCallback> successCallback, PassOwnPtr<AudioBufferCallback> errorCallback)
58 RefPtr<ArrayBuffer> audioDataRef(audioData);
64 void AsyncAudioDecoder::decode(ArrayBuffer* audioData, float sampleRate, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback)
74 void AsyncAudioDecoder::notifyComplete(ArrayBuffer* audioData, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback, AudioBuffer* audioBuffer)
77 RefPtr<ArrayBuffer> audioDataRef = adoptRef(audioData);
  /external/chromium_org/third_party/WebKit/Source/bindings/tests/idls/
TestOverloadedConstructors.idl 29 Constructor(ArrayBuffer arrayBuffer),
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
ArrayBufferView.idl 30 readonly attribute ArrayBuffer buffer;
  /external/chromium_org/third_party/WebKit/public/platform/
WebArrayBuffer.h 42 namespace WTF { class ArrayBuffer; }
71 WebArrayBuffer(const WTF::PassRefPtr<WTF::ArrayBuffer>&);
72 WebArrayBuffer& operator=(const PassRefPtr<WTF::ArrayBuffer>&);
73 operator WTF::PassRefPtr<WTF::ArrayBuffer>() const;
77 WebPrivatePtr<WTF::ArrayBuffer> m_private;
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8ArrayBufferCustom.cpp 36 #include "wtf/ArrayBuffer.h"
67 static_cast<ArrayBuffer*>(object)->deref();
70 v8::Handle<v8::Object> V8ArrayBuffer::createWrapper(PassRefPtr<ArrayBuffer> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
75 v8::Handle<v8::Object> wrapper = v8::ArrayBuffer::New(isolate, impl->data(), impl->byteLength());
82 ArrayBuffer* V8ArrayBuffer::toNative(v8::Handle<v8::Object> object)
87 return reinterpret_cast<ArrayBuffer*>(arraybufferPtr);
89 v8::Local<v8::ArrayBuffer> v8buffer = object.As<v8::ArrayBuffer>();
92 v8::ArrayBuffer::Contents v8Contents = v8buffer->Externalize();
95 RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(contents)
    [all...]
V8ArrayBufferCustom.h 32 #include "wtf/ArrayBuffer.h"
56 static ArrayBuffer* toNative(v8::Handle<v8::Object>);
60 static void installPerContextEnabledProperties(v8::Handle<v8::Object>, ArrayBuffer*, v8::Isolate*) { }
63 static inline void* toInternalPointer(ArrayBuffer* impl)
68 static inline ArrayBuffer* fromInternalPointer(void* impl)
70 return static_cast<ArrayBuffer*>(impl);
74 friend v8::Handle<v8::Object> wrap(ArrayBuffer*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
75 static v8::Handle<v8::Object> createWrapper(PassRefPtr<ArrayBuffer>, v8::Handle<v8::Object> creationContext, v8::Isolate*);
79 class WrapperTypeTraits<ArrayBuffer > {
85 inline v8::Handle<v8::Object> wrap(ArrayBuffer* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/chromium/support/
WebArrayBuffer.cpp 35 #include "wtf/ArrayBuffer.h"
44 RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(numElements, elementByteSize);
83 WTF::ArrayBuffer* buffer = V8ArrayBuffer::toNative(value->ToObject());
87 WebArrayBuffer::WebArrayBuffer(const WTF::PassRefPtr<WTF::ArrayBuffer>& blob)
92 WebArrayBuffer& WebArrayBuffer::operator=(const WTF::PassRefPtr<WTF::ArrayBuffer>& blob)
98 WebArrayBuffer::operator WTF::PassRefPtr<WTF::ArrayBuffer>() const
  /external/chromium_org/v8/src/extensions/
free-buffer-extension.cc 45 v8::Handle<v8::ArrayBuffer> arrayBuffer = args[0].As<v8::ArrayBuffer>();
46 v8::ArrayBuffer::Contents contents = arrayBuffer->Externalize();
  /external/chromium_org/v8/src/
arraybuffer.js 30 var $ArrayBuffer = global.ArrayBuffer;
39 throw MakeTypeError('constructor_not_function', ["ArrayBuffer"]);
46 ['ArrayBuffer.prototype.byteLength', this]);
55 ['ArrayBuffer.prototype.slice', this]);
79 var result = new $ArrayBuffer(newLen);
92 // Set up the ArrayBuffer constructor function.
93 %SetCode($ArrayBuffer, ArrayBufferConstructor);
94 %FunctionSetPrototype($ArrayBuffer, new $Object());
96 // Set up the constructor property on the ArrayBuffer prototype object
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/fileapi/
FileReaderSync.idl 35 [CallWith=ExecutionContext, RaisesException] ArrayBuffer readAsArrayBuffer(Blob blob);
BlobBuilder.h 48 void append(ArrayBuffer*);

Completed in 743 milliseconds

1 2 3 4 5 6