/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. Validity must be checked 56 m_buffer = ArrayBuffer::create(capacity, 1); 67 // Returns the accumulated data as an ArrayBuffer instance. If needed, 68 // creates a new ArrayBuffer instance and copies contents from the internal 71 PassRefPtr<ArrayBuffer> toArrayBuffer(); 110 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) 36 RefPtr<ArrayBuffer> keepAlive(this); 69 void ArrayBuffer::addView(ArrayBufferView* view) 79 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()
|
/external/chromium_org/gin/ |
array_buffer.h | 17 class ArrayBufferAllocator : public v8::ArrayBuffer::Allocator { 26 class GIN_EXPORT ArrayBuffer { 28 ArrayBuffer(); 29 ArrayBuffer(v8::Isolate* isolate, v8::Handle<v8::ArrayBuffer> buffer); 30 ~ArrayBuffer(); 31 ArrayBuffer& operator=(const ArrayBuffer& other); 43 DISALLOW_COPY(ArrayBuffer); 47 struct GIN_EXPORT Converter<ArrayBuffer> { [all...] |
array_buffer.cc | 41 // ArrayBuffer::Private ------------------------------------------------------- 51 // the array buffer takes a reference to the ArrayBuffer::Private object that 53 // open a weak handle to the ArrayBuffer object. When we receive the weak 57 // The final subtlety is that we need every ArrayBuffer into the same array 58 // buffer to AddRef the same ArrayBuffer::Private. To make that work, we store 59 // a pointer to the ArrayBuffer::Private object in an internal field of the 60 // ArrayBuffer object. 62 class ArrayBuffer::Private : public base::RefCounted<ArrayBuffer::Private> { 65 v8::Handle<v8::ArrayBuffer> array) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebArrayBuffer.cpp | 34 #include "wtf/ArrayBuffer.h" 41 RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(numElements, elementByteSize); 69 WebArrayBuffer::WebArrayBuffer(const PassRefPtr<ArrayBuffer>& blob) 74 WebArrayBuffer& WebArrayBuffer::operator=(const PassRefPtr<ArrayBuffer>& blob) 80 WebArrayBuffer::operator PassRefPtr<ArrayBuffer>() const
|
/external/deqp/framework/delibs/decpp/ |
deArrayBuffer.hpp | 48 class ArrayBuffer 51 ArrayBuffer (void) throw(); 52 ArrayBuffer (size_t numElements); 53 ArrayBuffer (const ArrayBuffer& other); 54 ~ArrayBuffer (void) throw(); 55 ArrayBuffer& operator= (const ArrayBuffer& other); 59 void swap (ArrayBuffer& other) throw(); 74 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (void) throw( [all...] |
deArrayBuffer.cpp | 71 de::ArrayBuffer<int> buf; 78 de::ArrayBuffer<int> buf(4); 85 de::ArrayBuffer<int> originalBuf(4); 91 de::ArrayBuffer<int> targetBuf(originalBuf); 106 de::ArrayBuffer<int> originalBuf(4); 112 de::ArrayBuffer<int> targetBuf(1); 129 de::ArrayBuffer<int> buf(4); 137 de::ArrayBuffer<int> buf(4); 145 de::ArrayBuffer<int> buf(4); 171 de::ArrayBuffer<int> buf [all...] |
/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; } 72 BLINK_PLATFORM_EXPORT WebArrayBuffer(const WTF::PassRefPtr<WTF::ArrayBuffer>&); 73 BLINK_PLATFORM_EXPORT WebArrayBuffer& operator=(const WTF::PassRefPtr<WTF::ArrayBuffer>&); 74 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<WTF::ArrayBuffer>() const; 78 WebPrivatePtr<WTF::ArrayBuffer> m_private;
|
/external/chromium_org/v8/src/ |
arraybuffer.js | 7 var $ArrayBuffer = global.ArrayBuffer; 16 throw MakeTypeError('constructor_not_function', ["ArrayBuffer"]); 23 ['ArrayBuffer.prototype.byteLength', this]); 32 ['ArrayBuffer.prototype.slice', this]); 59 var result = new $ArrayBuffer(newLen); 72 // Set up the ArrayBuffer constructor function. 73 %SetCode($ArrayBuffer, ArrayBufferConstructor); 74 %FunctionSetPrototype($ArrayBuffer, new $Object()); 76 // Set up the constructor property on the ArrayBuffer prototype object [all...] |
v8.h | 78 static v8::ArrayBuffer::Allocator* ArrayBufferAllocator() { 82 static void SetArrayBufferAllocator(v8::ArrayBuffer::Allocator *allocator) { 96 static v8::ArrayBuffer::Allocator* array_buffer_allocator_;
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8ArrayBufferCustom.cpp | 35 #include "wtf/ArrayBuffer.h" 61 static_cast<ArrayBuffer*>(object)->deref(); 64 v8::Handle<v8::Object> V8ArrayBuffer::createWrapper(PassRefPtr<ArrayBuffer> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 69 v8::Handle<v8::Object> wrapper = v8::ArrayBuffer::New(isolate, impl->data(), impl->byteLength()); 76 ArrayBuffer* V8ArrayBuffer::toNative(v8::Handle<v8::Object> object) 79 v8::Local<v8::ArrayBuffer> v8buffer = object.As<v8::ArrayBuffer>(); 82 return reinterpret_cast<ArrayBuffer*>(WebCore::toNative(object)); 85 v8::ArrayBuffer::Contents v8Contents = v8buffer->Externalize(); 88 RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(contents) [all...] |
V8ArrayBufferCustom.h | 32 #include "wtf/ArrayBuffer.h" 55 static ArrayBuffer* toNative(v8::Handle<v8::Object>); 56 static ArrayBuffer* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>); 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*); 78 inline v8::Handle<v8::Object> wrap(ArrayBuffer* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
AsyncAudioDecoder.h | 39 // AsyncAudioDecoder asynchronously decodes audio file data from an ArrayBuffer in a worker thread. 49 void decodeAsync(ArrayBuffer* audioData, float sampleRate, PassOwnPtr<AudioBufferCallback> successCallback, PassOwnPtr<AudioBufferCallback> errorCallback); 53 static void decode(ArrayBuffer* audioData, float sampleRate, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback); 54 static void notifyComplete(ArrayBuffer* audioData, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback, AudioBus*);
|
AsyncAudioDecoder.cpp | 37 #include "wtf/ArrayBuffer.h" 52 void AsyncAudioDecoder::decodeAsync(ArrayBuffer* audioData, float sampleRate, PassOwnPtr<AudioBufferCallback> successCallback, PassOwnPtr<AudioBufferCallback> errorCallback) 60 RefPtr<ArrayBuffer> audioDataRef(audioData); 66 void AsyncAudioDecoder::decode(ArrayBuffer* audioData, float sampleRate, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback) 75 void AsyncAudioDecoder::notifyComplete(ArrayBuffer* audioData, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback, AudioBus* audioBus) 78 RefPtr<ArrayBuffer> audioDataRef = adoptRef(audioData);
|
/external/chromium_org/v8/src/extensions/ |
free-buffer-extension.cc | 22 v8::Handle<v8::ArrayBuffer> arrayBuffer = args[0].As<v8::ArrayBuffer>(); 23 v8::ArrayBuffer::Contents contents = arrayBuffer->Externalize();
|
/external/chromium_org/v8/test/mjsunit/runtime-gen/ |
arraybuffersliceimpl.js | 4 var _source = new ArrayBuffer(8); 5 var _target = new ArrayBuffer(8);
|
/external/chromium_org/gin/public/ |
isolate_holder.h | 36 IsolateHolder(v8::Isolate* isolate, v8::ArrayBuffer::Allocator* allocator); 43 void Init(v8::ArrayBuffer::Allocator* allocator);
|